Intelligent grouping and precise intervention system for learning behavior data
By intercepting interaction timestamps and displacement data in the operating system and performing time-frequency transformation, combined with the phase-locked loop intervention module to adjust hardware output parameters, the signal distortion problem caused by thread scheduling delay in the learning behavior data system was solved, achieving stability and adaptive state recognition.
Patent Information
- Application Number
- CN202611130236.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing learning behavior data processing systems suffer from distortion of interaction timing signals due to operating system thread scheduling delays, making it difficult to guarantee the stability of underlying behavior data acquisition.
By registering a global hook function in the operating system to intercept the interaction timestamps and displacement data of the input device, integrating them into a continuous interactive time-series signal, and extracting the frequency domain energy centroid and bandwidth features through time-frequency transformation, the system combines the cognitive behavior phase-locked loop intervention module to generate a dynamic modulation signal to adjust the terminal hardware output parameters, thereby achieving state recognition and intervention.
It improved the stability of learning behavior data collection and the objectivity and adaptability of operational state recognition, thus enhancing the smoothness of the cognitive behavior intervention process.
Smart Images

Figure CN123157154A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of educational informatization and behavioral data analysis technology, specifically to an intelligent grouping and precise intervention system for learning behavior data. Background Technology
[0002] With the popularization of digital learning, analyzing users' interactive behavior on terminal devices to evaluate their operational status has become a research direction in the field of human-computer interaction. When learners use terminal input devices such as keyboards, mice, or touchpads, they generate interactive data containing timestamps and displacement information. Collecting these underlying operation signals and integrating them into continuous interactive time-series signals is the foundation for subsequent learning behavior pattern recognition, frequency domain feature extraction, and precise status intervention.
[0003] Existing learning behavior data processing systems are typically equipped with data acquisition modules to record user interaction trajectories. These systems obtain discrete action events generated by input devices and the specific time points of the operations by calling the interface of the terminal operating system. The acquired discrete interaction event sequences are then arranged in chronological order. The collected underlying data is processed by extracting the time intervals between adjacent input events, and organized into a raw data sequence reflecting the user's operation process. This sequence is then directly transmitted to the backend modules for analysis.
[0004] In the actual process of acquiring low-level interactive signals, the thread scheduling mechanism of the terminal operating system has its own inherent working logic. There is a time scheduling delay when executing input event distribution. This low-level scheduling delay will cause random abrupt changes in the time difference between adjacent input events extracted by the system, resulting in irregular data jump points in the time interval sequence data. These sudden interference information caused by system scheduling will be directly mixed into the original discrete input signal, resulting in glitches and distortions in the final generated continuous interactive timing signal, making it difficult to guarantee the stability of low-level behavioral data acquisition. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides an intelligent clustering and precise intervention system for learning behavior data, which solves the problems of distortion of interaction timing signals caused by operating system thread scheduling delays and difficulty in ensuring the stability of underlying behavior data collection.
[0006] To achieve the above objectives, the present invention provides the following technical solution: an intelligent clustering and precise intervention system for learning behavior data, comprising:
[0007] The underlying signal acquisition and preprocessing module is configured to acquire the interaction timestamps and displacement data of the terminal's input devices and integrate them into a continuous interactive timing signal.
[0008] The time-frequency transformation and energy feature extraction module is configured to perform time-frequency transformation on the continuous interactive time-series signal to generate a time-frequency distribution energy map, and extract the frequency domain energy centroid and the bandwidth feature of the current time based on the time-frequency distribution energy map;
[0009] The state intelligent clustering module is configured to compare the frequency domain energy centroid and the bandwidth feature of the current moment with a preset reference threshold, and output a clustering result indicating the current operating state.
[0010] The cognitive behavior phase-locked loop intervention module is configured to, when the clustering result meets the preset triggering conditions, establish in-phase lock between the virtual voltage-controlled oscillator set in the cognitive behavior phase-locked loop intervention module and the frequency domain energy centroid at the current moment, and within the set control time window, adjust the output frequency of the virtual voltage-controlled oscillator to gradually change towards the target frequency determined based on the preset reference threshold through feedback error, generate a dynamic modulation signal and map it to the hardware drive control parameters of the terminal to adjust the hardware output parameters of the terminal.
[0011] Preferably, the specific configuration for the underlying signal acquisition and preprocessing module to integrate the interaction timestamp and the displacement data into a continuous interaction time-series signal is as follows:
[0012] By registering a global hook function in the operating system of the terminal, the input events generated by the input device are intercepted, the interaction timestamp and the displacement data corresponding to the interaction timestamp are extracted from the input events, and the discrete interaction event sequence is generated by arranging them in chronological order.
[0013] Extract the time difference between adjacent input events in the discrete interactive event sequence to generate time interval sequence data;
[0014] A moving average filtering process is performed on the time interval sequence data. A fixed-length sliding data window is set and moves along the time axis of the time interval sequence data. The arithmetic mean of multiple consecutive time interval values within the sliding data window is calculated to obtain the smoothed value corresponding to each time moment. The smoothed values are then connected in chronological order to generate the continuous interactive time sequence signal.
[0015] Preferably, the specific configuration for the time-frequency transformation and energy feature extraction module to perform the time-frequency transformation and extract the frequency domain energy centroid and the bandwidth feature quantity at the current moment is as follows:
[0016] Perform a short-time Fourier transform on the continuous interactive time-series signal to generate a spectral function and the time-frequency distribution energy map containing the energy spectral density;
[0017] Within a preset effective interactive analysis frequency band, calculate the integral of the product of the frequency variable and the energy spectral density within the preset effective interactive analysis frequency band, divide it by the total integral of the energy spectral density within the preset effective interactive analysis frequency band, and obtain the frequency domain energy centroid at the current moment.
[0018] Within the preset effective interactive analysis frequency band, the integral of the product of the square of the difference between the frequency variable and the frequency domain energy centroid at the current moment and the energy spectral density is calculated, divided by the total integral of the energy spectral density within the preset effective interactive analysis frequency band, and the square root of the obtained quotient is calculated to obtain the bandwidth characteristic quantity at the current moment.
[0019] Preferably, the state intelligent grouping module is further configured to initiate a benchmark calibration program when the terminal is first run to generate the preset benchmark threshold, specifically configured as follows:
[0020] The initial preset continuous duration after the terminal is started is set as a preset reference time window;
[0021] The time-frequency transformation and energy feature extraction module receives multiple frequency domain energy centroids and multiple bandwidth feature quantities generated within the preset reference time window;
[0022] The arithmetic mean and standard deviation of the multiple frequency domain energy centroids are calculated to obtain the reference centroid average value and centroid distribution dispersion. The lower limit threshold of the focused frequency band is obtained by subtracting the centroid distribution dispersion and the preset first weighting coefficient from the reference centroid average value. The upper limit threshold of the focused frequency band is obtained by adding the centroid distribution dispersion and the preset first weighting coefficient to the reference centroid average value.
[0023] The arithmetic mean and standard deviation of the multiple bandwidth characteristics are calculated to obtain the reference bandwidth average value and bandwidth distribution dispersion. The product of the reference bandwidth average value and the bandwidth distribution dispersion and the preset second weighting coefficient is added to the bandwidth distribution dispersion to obtain the divergence bandwidth threshold.
[0024] The lower limit threshold of the focused frequency band, the upper limit threshold of the focused frequency band, and the divergence bandwidth threshold are integrated and saved as the preset benchmark threshold.
[0025] Preferably, the current operating state includes a focused state, a fatigued state, and a divergent state, and the preset trigger condition is that the clustering result indicates the fatigued state or the divergent state. The specific configuration for the state intelligent clustering module to perform the numerical comparison is as follows:
[0026] When the bandwidth feature value at the current moment is greater than or equal to the divergence bandwidth threshold, the current operating state is determined to be the divergence state.
[0027] When the bandwidth feature at the current moment is less than the divergence bandwidth threshold, if the frequency domain energy centroid at the current moment is greater than or equal to the lower limit threshold of the focus band and less than or equal to the upper limit threshold of the focus band, the current operation state is determined to be the focus state, and the hardware output parameters of the terminal are maintained.
[0028] If the frequency domain energy centroid at the current moment is less than the lower limit threshold of the focus frequency band, the current operating state is determined to be the fatigue state.
[0029] If the current frequency domain energy centroid is greater than the upper limit threshold of the focused frequency band, the current operating state is determined to be the divergent state.
[0030] Preferably, the specific configuration for establishing the in-phase lock in the cognitive behavioral phase-locked loop intervention module is as follows:
[0031] The initial frequency of the virtual voltage-controlled oscillator is set to be equal to the value of the frequency domain energy centroid at the current moment;
[0032] The spectrum function is obtained from the time-frequency transformation and energy feature extraction module, and the complex value of the spectrum function at the frequency domain energy centroid at the current time is extracted.
[0033] Calculate the arctangent of the ratio of the imaginary part to the real part of the complex value, and obtain the corresponding phase angle value;
[0034] The obtained phase angle value is set as the initial phase of the virtual voltage-controlled oscillator.
[0035] Preferably, the specific configuration for the cognitive behavioral phase-locked loop intervention module to generate the dynamic modulation signal is as follows:
[0036] Within the set control time window, the controlled output frequency of the virtual voltage-controlled oscillator is calculated in real time. The value of the controlled output frequency is equal to the sum of the first, second, and third terms. The first term is the initial frequency. The second term is the quotient obtained by dividing the difference between the target frequency and the initial frequency by the duration constant of the set control time window, and then multiplying it by the current running time calculated from the start time of the set control time window. The third term is the product of the preset proportional gain coefficient and the phase error at the current time.
[0037] The dynamic modulation signal is generated, the value of which is equal to the product of a preset modulation amplitude coefficient and a sine value. The phase angle corresponding to the sine value is equal to the sum of the initial phase and an intermediate phase. The intermediate phase is equal to the product of twice pi and a time integral value. The time integral value is the result obtained by integrating the controlled output frequency with the time integral variable as the independent variable within the integration interval from zero to the current running time.
[0038] Preferably, the specific configuration for the cognitive behavior phase-locked loop intervention module to obtain the phase error at the current moment is as follows:
[0039] Within the set control time window, the frequency domain energy centroid, which is updated and transmitted in real time by the time-frequency transformation and energy feature extraction module, is received as the real-time input centroid.
[0040] The real-time input centroid is integrated over time to obtain the real-time input phase;
[0041] The controlled output frequency is integrated over time to obtain the feedback phase;
[0042] Calculate the difference between the real-time input phase and the feedback phase to obtain the phase error at the current moment.
[0043] Preferably, the specific configuration for the cognitive behavioral phase-locked loop intervention module to adjust the hardware output parameters of the terminal includes:
[0044] Extract the real-time amplitude parameters of the dynamically modulated signal;
[0045] Read the movement acceleration reference value of the cursor driver in the operating system of the terminal;
[0046] The real-time amplitude parameter is multiplied by the moving acceleration reference value to obtain the real-time cursor acceleration gain coefficient;
[0047] The terminal's operating system's underlying application programming interface is invoked, and the real-time cursor acceleration gain coefficient is overwritten into the control parameters of the cursor driver through the underlying application programming interface, thereby updating the terminal's cursor physical movement parameters.
[0048] Preferably, the specific configuration for the cognitive behavioral phase-locked loop intervention module to adjust the hardware output parameters of the terminal further includes:
[0049] Read the pulse width modulation duty cycle reference value of the backlight control driver of the terminal's display;
[0050] Multiply the real-time amplitude parameter by a preset duty cycle scaling factor to obtain the duty cycle compensation amount;
[0051] The duty cycle compensation amount is added to the pulse width modulation duty cycle reference value to obtain the real-time backlight duty cycle parameter;
[0052] The real-time backlight duty cycle parameter is written into the control node of the backlight control driver of the terminal's display through the hardware control bus interface of the terminal, thereby adjusting the physical output brightness of the terminal's display.
[0053] This invention provides an intelligent clustering and precise intervention system for learning behavior data. It has the following beneficial effects:
[0054] 1. This invention intercepts the interaction timestamps and displacement data generated by the input device by registering a global hook function in the operating system, extracts the time interval sequence of adjacent input events, and performs moving average filtering on the time interval sequence using a fixed-length data window. This feature smooths out the data jump points caused by system thread scheduling delays and suppresses sudden interference in discrete input signals, thereby obtaining a denoised continuous interaction time sequence signal and improving the stability of the underlying behavioral data acquisition.
[0055] 2. This invention extracts the frequency domain energy centroid and bandwidth features by performing time-frequency transformation on continuous interactive time-series signals. During the initial operation phase of the terminal, a benchmark threshold is dynamically calculated based on the arithmetic mean and standard deviation of the features within the initial time window. This feature enables the system to automatically calibrate the judgment range of the focus frequency band and divergence bandwidth according to the user's individual initial situation. By comparing the real-time extracted multi-dimensional frequency domain features with the calibrated threshold values, the system distinguishes between focus, fatigue, or divergence states, thereby improving the objectivity and adaptability of operation state recognition.
[0056] 3. This invention establishes in-phase locking by extracting the current frequency domain energy centroid value and phase angle to set the initial frequency and phase of the virtual voltage-controlled oscillator during intervention in the triggered state. Within the control time window, a dynamic modulation signal is generated by calculating the drag output frequency based on the feedback error and mapping it to the cursor-driven movement acceleration and the display backlight duty cycle. This feature avoids the visual abruptness caused by directly modifying hardware parameters. By dragging towards the target frequency, the gradual fine-tuning of the hardware output characteristics is achieved, improving the smoothness of the cognitive behavior intervention process. Attached Figure Description
[0057] Figure 1 This is the overall modular structure frame of the present invention;
[0058] Figure 2 This is a block diagram of the terminal hardware structure of the present invention.
[0059] Among them, 100 is the underlying signal acquisition and preprocessing module; 200 is the time-frequency transformation and energy feature extraction module; 300 is the state intelligent grouping module; 400 is the cognitive behavior phase-locked loop intervention module; 501 is the processor; 502 is the memory; and 503 is the internal communication bus. Detailed Implementation
[0060] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0061] Example:
[0062] Please see the appendix Figure 1 - Appendix Figure 2 The present invention provides an intelligent clustering and precise intervention system for learning behavior data, which may include:
[0063] The module includes a low-level signal acquisition and preprocessing module 100, a time-frequency transformation and energy feature extraction module 200, a state intelligent grouping module 300, and a cognitive behavior phase-locked loop intervention module 400.
[0064] The underlying signal acquisition and preprocessing module 100 is configured to acquire the interaction timestamps and displacement data of the terminal's input device through the driver interface of the terminal's operating system, and integrate the interaction timestamps and displacement data into a discrete interaction event sequence.
[0065] The underlying signal acquisition and preprocessing module 100 further performs moving average filtering on the discrete interactive event sequence to smooth the signal jumps caused by system interruptions and outputs a continuous interactive time-series signal. The time-frequency transformation and energy feature extraction module 200 is communicatively connected to the underlying signal acquisition and preprocessing module 100. The time-frequency transformation and energy feature extraction module 200 receives the continuous interactive time-series signal and performs a short-time Fourier transform on the continuous interactive time-series signal to generate a time-frequency distribution energy spectrum reflecting the time and frequency distribution.
[0066] The time-frequency transformation and energy feature extraction module 200 calculates the frequency domain energy centroid and bandwidth feature quantity within the preset analysis frequency band based on the time-frequency distribution energy spectrum.
[0067] The state intelligent grouping module 300 is communicatively connected to the time-frequency transformation and energy feature extraction module 200. The state intelligent grouping module 300 receives the frequency domain energy centroid and bandwidth feature quantities.
[0068] The state intelligent grouping module 300 compares the acquired frequency domain energy centroid and bandwidth characteristics with a preset benchmark threshold. Based on the comparison results, the state intelligent grouping module 300 outputs the grouping results, which indicate the current operating state, specifically including focused state, fatigue state, and divergent state.
[0069] The cognitive behavior phase-locked loop intervention module 400 is communicatively connected to the state intelligent grouping module 300. The cognitive behavior phase-locked loop intervention module 400 is activated when the grouping results indicate a fatigue state or a divergent state.
[0070] The cognitive behavior phase-locked loop intervention module 400 acquires the frequency domain energy centroid that triggers the current state, and configures the initial frequency and initial phase of the virtual voltage-controlled oscillator set in the cognitive behavior phase-locked loop intervention module 400, so that the virtual voltage-controlled oscillator establishes in-phase lock with the dominant frequency and phase corresponding to the frequency domain energy centroid.
[0071] Within a set control time window, the cognitive behavior phase-locked loop intervention module 400 adjusts the control parameters of the virtual voltage-controlled oscillator through feedback error, so that the output frequency of the virtual voltage-controlled oscillator gradually changes from the initial frequency to the target frequency corresponding to the focused state, generating a dynamic modulation signal.
[0072] The cognitive behavioral phase-locked loop intervention module 400 maps the dynamic modulation signal to the hardware drive control parameters of the terminal, thereby adjusting the hardware output parameters of the terminal.
[0073] The operation steps of the underlying signal acquisition and preprocessing module 100 provided by the present invention may include:
[0074] The underlying signal acquisition and preprocessing module 100 calls the underlying driver interface of the terminal's operating system.
[0075] The underlying signal acquisition and preprocessing module 100 directly intercepts input events generated by the terminal's input devices at the hardware layer by registering global hook functions in the terminal's operating system. Input devices include keyboards, mice, or touchpads.
[0076] The underlying signal acquisition and preprocessing module 100 extracts the interaction timestamp and the displacement data corresponding to the interaction timestamp from the input event.
[0077] The underlying signal acquisition and preprocessing module 100 arranges the interaction timestamps and displacement data in chronological order of occurrence to generate a discrete interaction event sequence.
[0078] The underlying signal acquisition and preprocessing module 100 extracts the time difference between adjacent input events in the discrete interactive event sequence and generates time interval sequence data.
[0079] Due to the delay in the thread scheduling mechanism of the operating system, there are abrupt data jumps in the time interval sequence data. The underlying signal acquisition and preprocessing module 100 performs moving average filtering on the time interval sequence data to smooth out the data jumps.
[0080] The underlying signal acquisition and preprocessing module 100 sets a sliding data window of fixed length.
[0081] The underlying signal acquisition and preprocessing module 100 acquires multiple consecutive time interval values in the time interval sequence data located within the sliding data window, and calculates the arithmetic mean of the multiple consecutive time interval values.
[0082] The underlying signal acquisition and preprocessing module 100 uses the calculated arithmetic mean as the smoothed value of the corresponding time in the sliding data window.
[0083] The underlying signal acquisition and preprocessing module 100 moves the sliding data window along the time axis of the time interval sequence data according to the set single step size.
[0084] The underlying signal acquisition and preprocessing module 100 obtains the smoothed values corresponding to each moment by moving the sliding data window point by point and calculating.
[0085] The underlying signal acquisition and preprocessing module 100 connects the smoothed values in chronological order to generate a continuous interactive time-series signal.
[0086] The underlying signal acquisition and preprocessing module 100 transmits the continuous interactive time-series signal to the time-frequency conversion and energy feature extraction module 200.
[0087] The operation steps of the time-frequency transformation and energy feature extraction module 200 provided by the present invention may include:
[0088] The time-frequency conversion and energy feature extraction module 200 receives the continuous interactive time-series signal transmitted by the underlying signal acquisition and preprocessing module 100.
[0089] The time-frequency transformation and energy feature extraction module 200 performs short-time Fourier transform on continuous interactive time-series signals.
[0090] During the execution of the short-time Fourier transform, the time-frequency transformation and energy feature extraction module 200 uses the Hanning window function to truncate the continuous interactive time-series signal in order to suppress spectral leakage.
[0091] The time-frequency transformation and energy feature extraction module 200 transforms the continuous interactive time-series signal into a spectral function that reflects the joint distribution of time and frequency variables through short-time Fourier transform.
[0092] The time-frequency transformation and energy feature extraction module 200 calculates the square of the amplitude of the spectral function based on the spectral function, and generates a time-frequency distribution energy map containing the energy spectral density.
[0093] The time-frequency conversion and energy feature extraction module 200 reads the preset effective interactive analysis frequency band, which is defined by the set lower limit frequency and upper limit frequency.
[0094] The time-frequency transformation and energy feature extraction module 200 calculates the frequency domain energy centroid within the effective interactive analysis frequency band based on the time-frequency distribution energy spectrum.
[0095] The value of the energy centroid in the frequency domain is equal to the integral of the product of the frequency variable and the energy spectral density within the effective interactive analysis band, divided by the total integral of the energy spectral density within the effective interactive analysis band.
[0096] The time-frequency transformation and energy feature extraction module 200 calculates bandwidth features within the effective interactive analysis frequency band based on the time-frequency distribution energy map.
[0097] The value of the bandwidth characteristic is equal to the square of the difference between the frequency variable and the energy centroid in the frequency domain within the effective interactive analysis bandwidth, multiplied by the energy spectral density, and then divided by the total integral of the energy spectral density within the effective interactive analysis bandwidth. The square root of the resulting quotient is then calculated.
[0098] The time-frequency transformation and energy feature extraction module 200 transmits the calculated frequency domain energy centroid and bandwidth feature quantities to the state intelligent grouping module 300.
[0099] The baseline threshold calibration steps of a state intelligent grouping module 300 provided by the present invention may include:
[0100] The intelligent state grouping module 300 starts the benchmark calibration program during the initial operation phase of the terminal. The intelligent state grouping module 300 sets the initial preset continuous duration after the terminal starts as the preset benchmark time window.
[0101] The state intelligent clustering module 300 receives multiple frequency domain energy centroids and multiple bandwidth feature quantities generated within a preset reference time window from the time-frequency transformation and energy feature extraction module 200.
[0102] The state intelligent clustering module 300 performs an arithmetic average calculation on multiple frequency domain energy centroids within a preset reference time window to obtain the average value of the reference centroids.
[0103] The state intelligent clustering module 300 calculates the standard deviation of multiple frequency domain energy centroids within a preset reference time window to obtain the centroid distribution dispersion.
[0104] The state intelligent clustering module 300 calculates the lower limit threshold of the focus band by subtracting the product of the centroid distribution dispersion and the preset first weight coefficient from the average value of the reference centroid.
[0105] The state intelligent clustering module 300 calculates the upper limit threshold of the focused frequency band by adding the average value of the reference centroid to the product of the centroid distribution dispersion and the first weighting coefficient.
[0106] The state intelligent clustering module 300 extracts multiple bandwidth features within a preset reference time window and calculates the arithmetic mean of the multiple bandwidth features to obtain the reference bandwidth average.
[0107] The state intelligent clustering module 300 calculates the standard deviation of multiple bandwidth characteristics within a preset reference time window to obtain the bandwidth distribution dispersion.
[0108] The state intelligent clustering module 300 calculates the divergence bandwidth threshold by adding the average value of the baseline bandwidth to the product of the bandwidth distribution dispersion and the preset second weighting coefficient.
[0109] The state intelligent clustering module 300 integrates and saves the lower limit threshold of the focused frequency band, the upper limit threshold of the focused frequency band, and the divergence bandwidth threshold as a preset benchmark threshold.
[0110] The intelligent state grouping module 300 loads a preset benchmark threshold into the terminal's memory for use as a basis for comparing the state values of subsequent real-time data.
[0111] The multi-dimensional feature comparison and state determination steps of the state intelligent grouping module 300 provided by the present invention may include:
[0112] After completing the reference calibration procedure, the state intelligent clustering module 300 receives in real time the frequency domain energy centroid and the bandwidth feature quantity of the current moment transmitted by the time-frequency transformation and energy feature extraction module 200.
[0113] The state intelligent clustering module 300 reads preset benchmark thresholds from the terminal's memory. The preset benchmark thresholds include the lower limit threshold of the focused frequency band, the upper limit threshold of the focused frequency band, and the divergence bandwidth threshold.
[0114] The state intelligent clustering module 300 compares the current bandwidth feature with the divergence bandwidth threshold.
[0115] When the frequency bandwidth characteristic value at the current moment is greater than or equal to the divergence bandwidth threshold, the state intelligent grouping module 300 determines that the current operating state is a divergence state.
[0116] When the frequency bandwidth feature value at the current moment is less than the divergence bandwidth threshold, the state intelligent clustering module 300 further compares the current frequency domain energy centroid with the lower limit threshold and the upper limit threshold of the focused frequency band, respectively.
[0117] When the frequency domain energy centroid of the current moment is greater than or equal to the lower threshold of the focus frequency band and less than or equal to the upper threshold of the focus frequency band, the state intelligent grouping module 300 determines the current operation state as a focus state.
[0118] When the frequency domain energy centroid is less than the lower limit threshold of the focus frequency band at the current moment, the state intelligent grouping module 300 determines that the current operation state is a fatigue state.
[0119] When the frequency domain energy centroid is greater than the upper limit threshold of the focused frequency band at the current moment, the state intelligent clustering module 300 determines that the current operation state is a divergent state.
[0120] When the state intelligent grouping module 300 determines that the current operation state is a focused state, it maintains the hardware output parameters of the terminal and does not send an intervention trigger signal to the cognitive behavior phase-locked loop intervention module 400.
[0121] When the state intelligent grouping module 300 determines that the current operation state is a fatigue state or a divergent state, it generates a grouping result indicating the fatigue state or the divergent state.
[0122] The state intelligent clustering module 300 transmits the clustering results and the frequency domain energy centroid of the current moment that triggers the state determination to the cognitive behavior phase-locked loop intervention module 400 as input parameters of the cognitive behavior phase-locked loop intervention module 400.
[0123] The frequency in-phase locking step of a cognitive behavioral phase-locked loop intervention module 400 provided by the present invention may include:
[0124] The cognitive behavior phase-locked loop intervention module 400 receives the grouping results and the frequency domain energy centroid at the current moment transmitted by the state intelligent grouping module 300.
[0125] The cognitive-behavioral phase-locked loop intervention module 400 is activated when the clustering results indicate a state of fatigue or divergence.
[0126] The cognitive behavior phase-locked loop intervention module 400 initializes the virtual voltage-controlled oscillator within the cognitive behavior phase-locked loop intervention module 400.
[0127] The cognitive behavior phase-locked loop intervention module 400 reads the value of the frequency domain energy centroid at the current moment.
[0128] The cognitive behavior phase-locked loop intervention module 400 sets the initial frequency of the virtual voltage-controlled oscillator to be equal to the value of the frequency domain energy centroid at the current moment.
[0129] The cognitive behavior phase-locked loop intervention module 400 obtains the spectral function from the time-frequency transformation and energy feature extraction module 200.
[0130] The cognitive behavior phase-locked loop intervention module 400 extracts the complex value of the spectral function at the frequency domain energy centroid at the current moment.
[0131] The cognitive behavioral phase-locked loop intervention module 400 calculates the arctangent of the ratio of the imaginary part to the real part of the complex value and obtains the corresponding phase angle value.
[0132] The cognitive behavioral phase-locked loop intervention module 400 sets the extracted phase angle value as the initial phase of the virtual voltage-controlled oscillator.
[0133] The cognitive behavior phase-locked loop intervention module 400 establishes in-phase lock between the virtual voltage-controlled oscillator and the dominant frequency and phase corresponding to the current frequency domain energy centroid by configuring the initial frequency and initial phase.
[0134] After confirming the establishment of in-phase locking, the cognitive behavioral phase-locked loop intervention module 400 enters the set control time window.
[0135] The gradual dragging and traction steps of a cognitive behavior phase-locked loop intervention module 400 provided by the present invention may include:
[0136] After entering the set control time window, the cognitive behavioral phase-locked loop intervention module 400 starts the frequency gradual adjustment program.
[0137] The cognitive behavioral phase-locked loop intervention module 400 reads the lower limit threshold and the upper limit threshold of the focus band from the terminal's memory.
[0138] The cognitive-behavioral phase-locked loop intervention module 400 calculates the arithmetic mean of the lower threshold and the upper threshold of the focus frequency band to obtain the target center frequency. The cognitive-behavioral phase-locked loop intervention module 400 uses the target center frequency as the target frequency corresponding to the focus state.
[0139] The cognitive-behavioral phase-locked loop intervention module 400 acquires the duration constant of the set control time window and sets the time integral variable.
[0140] The cognitive behavioral phase-locked loop intervention module 400 calculates the controlled output frequency of the virtual voltage-controlled oscillator in real time within a set control time window. The formula for calculating the controlled output frequency is as follows:
[0141]
[0142] In the 400-prescribed formula of the cognitive-behavioral phase-locked loop intervention module, Indicates the controlled output frequency. Indicates the initial frequency. Indicates the target center frequency. Represents the duration constant. This indicates the current running time, calculated from the start time of the set control time window. This represents the preset proportional gain coefficient. This represents the phase error at the current moment.
[0143] The cognitive behavior phase-locked loop intervention module 400 receives the real-time frequency domain energy centroid transmitted by the time-frequency transformation and energy feature extraction module 200.
[0144] The cognitive-behavioral phase-locked loop intervention module 400 performs time integration calculation on the real-time frequency domain energy centroid to obtain the real-time input phase, and simultaneously performs time integration calculation on the controlled output frequency to obtain the feedback phase.
[0145] The cognitive behavioral phase-locked loop intervention module 400 calculates the difference between the real-time input phase and the feedback phase to obtain the phase error at the current moment.
[0146] The cognitive-behavioral phase-locked loop intervention module 400 generates a dynamic modulation signal based on the controlled output frequency. The calculation formula for the dynamic modulation signal is as follows:
[0147]
[0148] In the 400-prescribed formula of the cognitive-behavioral phase-locked loop intervention module, Indicates a dynamically modulated signal. This represents the preset modulation amplitude coefficient. Represents the time integral variable, Indicates the initial phase.
[0149] The cognitive behavioral phase-locked loop intervention module 400 maps the generated dynamic modulation signal to the hardware drive control parameters of the terminal, thereby adjusting the hardware output parameters of the terminal.
[0150] The underlying driver physical mapping execution steps of a cognitive behavior phase-locked loop intervention module 400 provided by this invention may include:
[0151] The cognitive behavioral phase-locked loop intervention module 400 extracts the real-time amplitude parameters of the dynamic modulation signal.
[0152] The cognitive behavioral phase-locked loop intervention module 400 reads the movement acceleration reference value of the cursor driver in the operating system of the terminal.
[0153] The cognitive behavior phase-locked loop intervention module 400 multiplies the real-time amplitude parameter with the motion acceleration reference value to obtain the real-time cursor acceleration gain coefficient.
[0154] The cognitive behavioral phase-locked loop intervention module 400 calls the terminal's operating system's underlying application programming interface.
[0155] The cognitive behavior phase-locked loop intervention module 400 overwrites the real-time cursor acceleration gain coefficient into the control parameters of the cursor driver through the underlying application programming interface.
[0156] The terminal's cursor driver updates the terminal's cursor physical movement parameters based on the real-time cursor acceleration gain coefficient.
[0157] The cognitive behavior phase-locked loop intervention module 400 reads the pulse width modulation duty cycle reference value driven by the backlight control of the terminal's display.
[0158] The cognitive behavior phase-locked loop intervention module 400 multiplies the real-time amplitude parameter by a preset duty cycle scaling factor to obtain the duty cycle compensation amount.
[0159] The cognitive behavior phase-locked loop intervention module 400 adds the duty cycle compensation amount to the pulse width modulation duty cycle reference value to obtain the real-time backlight duty cycle parameters.
[0160] The cognitive behavior phase-locked loop intervention module 400 writes the real-time backlight duty cycle parameters into the control node of the backlight control driver of the terminal's display through the terminal's hardware control bus interface.
[0161] The backlight control driver of the terminal's display adjusts the physical output brightness of the terminal's display based on the real-time backlight duty cycle parameters.
[0162] A working example of an intelligent clustering and precise intervention system for learning behavior data provided by this invention may include:
[0163] The state intelligent grouping module 300 runs a benchmark calibration program within an initial preset continuous duration after the terminal is started. The state intelligent grouping module 300 calculates and obtains a preset benchmark threshold and saves the preset benchmark threshold to the terminal's memory.
[0164] During the operation of the terminal, the underlying signal acquisition and preprocessing module 100 continuously intercepts input events generated by the terminal's input devices and converts the input events into continuous interactive timing signals.
[0165] The time-frequency transformation and energy feature extraction module 200 receives the continuous interactive time-series signal in real time and performs a short-time Fourier transform on the continuous interactive time-series signal to generate a time-frequency distribution energy map.
[0166] The time-frequency transformation and energy feature extraction module 200 calculates the frequency domain energy centroid and the bandwidth feature quantity at the current moment based on the time-frequency distribution energy spectrum.
[0167] The state intelligent clustering module 300 receives the frequency domain energy centroid and the bandwidth characteristic quantity at the current moment. The state intelligent clustering module 300 reads the preset reference threshold in the terminal's memory and performs numerical comparison.
[0168] When the bandwidth feature value at the current moment is less than the divergence bandwidth threshold, and the frequency domain energy centroid at the current moment is greater than or equal to the lower limit threshold of the focus band, and less than or equal to the upper limit threshold of the focus band, the state intelligent grouping module 300 determines that the current operation state is a focus state. The state intelligent grouping module 300 does not send a signal to the cognitive behavior phase-locked loop intervention module 400, and maintains the hardware output parameters of the terminal.
[0169] As the running time accumulates, the frequency domain energy centroid output by the time-frequency transformation and energy feature extraction module 200 decreases. The state intelligent grouping module 300 compares and determines that the frequency domain energy centroid at the current moment is less than the lower limit threshold of the focused frequency band, and the bandwidth feature quantity at the current moment is less than the divergence bandwidth threshold.
[0170] The state intelligent grouping module 300 determines that the current operation state is a fatigue state. The state intelligent grouping module 300 generates a grouping result indicating the fatigue state and transmits the grouping result and the frequency domain energy centroid at the current moment to the cognitive behavior phase-locked loop intervention module 400.
[0171] After receiving the clustering results, the cognitive behavior phase-locked loop intervention module 400 starts. The cognitive behavior phase-locked loop intervention module 400 extracts the value of the frequency domain energy centroid at the current moment and obtains the complex value of the spectral function at the frequency domain energy centroid at the current moment. By calculating the arctangent of the ratio of the imaginary part to the real part of the complex value, the corresponding phase angle value is obtained.
[0172] The cognitive behavior phase-locked loop intervention module 400 configures the initial frequency and initial phase of the virtual voltage-controlled oscillator within the cognitive behavior phase-locked loop intervention module 400 to establish in-phase locking.
[0173] The cognitive behavioral phase-locked loop intervention module 400 calculates the controlled output frequency within a set control time window and generates a dynamic modulation signal based on the controlled output frequency.
[0174] The cognitive behavior phase-locked loop intervention module 400 extracts the real-time amplitude parameters of the dynamic modulation signal and maps the real-time amplitude parameters to the control parameters of the cursor driver in the terminal's operating system, thereby updating the physical movement parameters of the cursor in the terminal.
[0175] The cognitive behavior phase-locked loop intervention module 400 synchronously maps the real-time amplitude parameters to the control node of the backlight control driver of the terminal's display, adjusts the physical output brightness of the terminal's display, and completes the adjustment of the terminal's physical output feedback characteristics.
[0176] The present invention provides a terminal that may include:
[0177] Processor 501, memory 502 and internal communication bus 503.
[0178] The processor 501 and the memory 502 are electrically connected through the internal communication bus 503.
[0179] Memory 502 is configured to store computer program instructions.
[0180] Processor 501 is configured to read and execute computer program instructions stored in memory 502.
[0181] When the processor 501 executes computer program instructions, it controls the terminal to implement each step in the aforementioned method of intelligent clustering and precise intervention of learning behavior data.
[0182] When executing computer program instructions, the processor 501 controls the operation of the underlying signal acquisition and preprocessing module 100, the time-frequency transformation and energy feature extraction module 200, the state intelligent grouping module 300, and the cognitive behavior phase-locked loop intervention module 400.
[0183] The present invention also provides a computer-readable storage medium configured to store computer program instructions.
[0184] When the computer program instructions are read and executed by the processor 501, each step in the aforementioned method for intelligent clustering and precise intervention of learning behavior data is implemented.
[0185] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. An intelligent grouping and precise intervention system for learning behavior data, characterized in that, include: The underlying signal acquisition and preprocessing module is configured to acquire the interaction timestamps and displacement data of the terminal's input devices and integrate them into a continuous interactive timing signal. The time-frequency transformation and energy feature extraction module is configured to perform time-frequency transformation on the continuous interactive time-series signal to generate a time-frequency distribution energy map, and extract the frequency domain energy centroid and the bandwidth feature of the current time based on the time-frequency distribution energy map; The state intelligent clustering module is configured to compare the frequency domain energy centroid and the bandwidth feature of the current moment with a preset reference threshold, and output a clustering result indicating the current operating state. The cognitive behavior phase-locked loop intervention module is configured to, when the clustering result meets the preset triggering conditions, establish in-phase lock between the virtual voltage-controlled oscillator set in the cognitive behavior phase-locked loop intervention module and the frequency domain energy centroid at the current moment, and within the set control time window, adjust the output frequency of the virtual voltage-controlled oscillator to gradually change towards the target frequency determined based on the preset reference threshold through feedback error, generate a dynamic modulation signal and map it to the hardware drive control parameters of the terminal to adjust the hardware output parameters of the terminal. 2.The intelligent grouping and precise intervention system for learning behavior data of claim 1, wherein, The specific configuration for the underlying signal acquisition and preprocessing module to integrate the interaction timestamp and the displacement data into a continuous interaction time-series signal is as follows: By registering a global hook function in the operating system of the terminal, the input events generated by the input device are intercepted, the interaction timestamp and the displacement data corresponding to the interaction timestamp are extracted from the input events, and the discrete interaction event sequence is generated by arranging them in chronological order. Extract the time difference between adjacent input events in the discrete interactive event sequence to generate time interval sequence data; A moving average filtering process is performed on the time interval sequence data. A fixed-length sliding data window is set and moves along the time axis of the time interval sequence data. The arithmetic mean of multiple consecutive time interval values within the sliding data window is calculated to obtain the smoothed value corresponding to each time moment. The smoothed values are then connected in chronological order to generate the continuous interactive time sequence signal.
3. The intelligent clustering and precise intervention system for learning behavior data according to claim 1, characterized in that, The specific configuration for the time-frequency transformation and energy feature extraction module to perform the time-frequency transformation and extract the frequency domain energy centroid and the bandwidth feature quantity at the current moment is as follows: Perform a short-time Fourier transform on the continuous interactive time-series signal to generate a spectral function and the time-frequency distribution energy map containing the energy spectral density; Within a preset effective interactive analysis frequency band, calculate the integral of the product of the frequency variable and the energy spectral density within the preset effective interactive analysis frequency band, divide it by the total integral of the energy spectral density within the preset effective interactive analysis frequency band, and obtain the frequency domain energy centroid at the current moment. Within the preset effective interactive analysis frequency band, the integral of the product of the square of the difference between the frequency variable and the frequency domain energy centroid at the current moment and the energy spectral density is calculated, divided by the total integral of the energy spectral density within the preset effective interactive analysis frequency band, and the square root of the obtained quotient is calculated to obtain the bandwidth characteristic quantity at the current moment.
4. The intelligent clustering and precise intervention system for learning behavior data according to claim 1, characterized in that, The state intelligent grouping module is also configured to initiate a benchmark calibration program when the terminal is first run to generate the preset benchmark threshold, specifically configured as follows: The initial preset continuous duration after the terminal is started is set as a preset reference time window; The time-frequency transformation and energy feature extraction module receives multiple frequency domain energy centroids and multiple bandwidth feature quantities generated within the preset reference time window; The arithmetic mean and standard deviation of the multiple frequency domain energy centroids are calculated to obtain the reference centroid average value and centroid distribution dispersion. The lower limit threshold of the focused frequency band is obtained by subtracting the centroid distribution dispersion and the preset first weighting coefficient from the reference centroid average value. The upper limit threshold of the focused frequency band is obtained by adding the centroid distribution dispersion and the preset first weighting coefficient to the reference centroid average value. The arithmetic mean and standard deviation of the multiple bandwidth characteristics are calculated to obtain the reference bandwidth average value and bandwidth distribution dispersion. The product of the reference bandwidth average value and the bandwidth distribution dispersion and the preset second weighting coefficient is added to the bandwidth distribution dispersion to obtain the divergence bandwidth threshold. The lower limit threshold of the focused frequency band, the upper limit threshold of the focused frequency band, and the divergence bandwidth threshold are integrated and saved as the preset benchmark threshold.
5. The intelligent clustering and precise intervention system for learning behavior data according to claim 4, characterized in that, The current operating state includes a focused state, a fatigued state, and a divergent state. The preset trigger condition is that the clustering result indicates either the fatigued state or the divergent state. The specific configuration for the state intelligent clustering module to perform the numerical comparison is as follows: When the bandwidth feature value at the current moment is greater than or equal to the divergence bandwidth threshold, the current operating state is determined to be the divergence state. When the bandwidth feature at the current moment is less than the divergence bandwidth threshold, if the frequency domain energy centroid at the current moment is greater than or equal to the lower limit threshold of the focus band and less than or equal to the upper limit threshold of the focus band, the current operation state is determined to be the focus state, and the hardware output parameters of the terminal are maintained. If the frequency domain energy centroid at the current moment is less than the lower limit threshold of the focus frequency band, the current operating state is determined to be the fatigue state. If the current frequency domain energy centroid is greater than the upper limit threshold of the focused frequency band, the current operating state is determined to be the divergent state.
6. The intelligent clustering and precise intervention system for learning behavior data according to claim 3, characterized in that, The specific configuration for establishing the in-phase lock in the cognitive behavioral phase-locked loop intervention module is as follows: The initial frequency of the virtual voltage-controlled oscillator is set to be equal to the value of the frequency domain energy centroid at the current moment; The spectrum function is obtained from the time-frequency transformation and energy feature extraction module, and the complex value of the spectrum function at the frequency domain energy centroid at the current time is extracted. Calculate the arctangent of the ratio of the imaginary part to the real part of the complex value, and obtain the corresponding phase angle value; The obtained phase angle value is set as the initial phase of the virtual voltage-controlled oscillator.
7. The intelligent clustering and precise intervention system for learning behavior data according to claim 6, characterized in that, The specific configuration for generating the dynamic modulation signal by the cognitive behavioral phase-locked loop intervention module is as follows: Within the set control time window, the controlled output frequency of the virtual voltage-controlled oscillator is calculated in real time. The value of the controlled output frequency is equal to the sum of the first, second, and third terms. The first term is the initial frequency. The second term is the quotient obtained by dividing the difference between the target frequency and the initial frequency by the duration constant of the set control time window, and then multiplying it by the current running time calculated from the start time of the set control time window. The third term is the product of the preset proportional gain coefficient and the phase error at the current time. The dynamic modulation signal is generated, the value of which is equal to the product of a preset modulation amplitude coefficient and a sine value. The phase angle corresponding to the sine value is equal to the sum of the initial phase and an intermediate phase. The intermediate phase is equal to the product of twice pi and a time integral value. The time integral value is the result obtained by integrating the controlled output frequency with the time integral variable as the independent variable within the integration interval from zero to the current running time.
8. The intelligent clustering and precise intervention system for learning behavior data according to claim 7, characterized in that, The specific configuration for the cognitive behavioral phase-locked loop intervention module to obtain the phase error at the current moment is as follows: Within the set control time window, the frequency domain energy centroid, which is updated and transmitted in real time by the time-frequency transformation and energy feature extraction module, is received as the real-time input centroid. The real-time input centroid is integrated over time to obtain the real-time input phase; The controlled output frequency is integrated over time to obtain the feedback phase; Calculate the difference between the real-time input phase and the feedback phase to obtain the phase error at the current moment.
9. The intelligent clustering and precise intervention system for learning behavior data according to claim 7, characterized in that, The specific configuration for adjusting the hardware output parameters of the terminal by the cognitive behavioral phase-locked loop intervention module includes: Extract the real-time amplitude parameters of the dynamically modulated signal; Read the movement acceleration reference value of the cursor driver in the operating system of the terminal; The real-time amplitude parameter is multiplied by the moving acceleration reference value to obtain the real-time cursor acceleration gain coefficient; The terminal's operating system's underlying application programming interface is invoked, and the real-time cursor acceleration gain coefficient is overwritten into the control parameters of the cursor driver through the underlying application programming interface, thereby updating the terminal's cursor physical movement parameters.
10. The intelligent clustering and precise intervention system for learning behavior data according to claim 9, characterized in that, The specific configuration for adjusting the hardware output parameters of the terminal by the cognitive behavioral phase-locked loop intervention module also includes: Read the pulse width modulation duty cycle reference value of the backlight control driver of the terminal's display; Multiply the real-time amplitude parameter by a preset duty cycle scaling factor to obtain the duty cycle compensation amount; The duty cycle compensation amount is added to the pulse width modulation duty cycle reference value to obtain the real-time backlight duty cycle parameter; The real-time backlight duty cycle parameter is written into the control node of the backlight control driver of the terminal's display through the hardware control bus interface of the terminal, thereby adjusting the physical output brightness of the terminal's display.
