The invention discloses a
sleep monitoring and intervention method and
system based on electroencephalogram signals, and belongs to the technical field of
sleep monitoring and intervention. The method comprises the steps that electroencephalogram signals are collected through a dry
electrode worn on the head of a user; the signals are preprocessed; performing automatic
sleep staging on the pre-processed
signal based on a layered space-time joint modeling network, and outputting a waking period
label, an N1 period
label, an N2 period
label, an N3 period label and an REM period label; whether intervention conditions are met or not is judged based on the staging labels and the real-time electroencephalogram spectrum features; and if yes, generating and applying an
alternating current stimulation
signal for intervention. The
system comprises a wearable electroencephalogram acquisition device, a
signal analysis module and an intervention module. According to the method, the
deep learning model integrating front-end self-adaptive
processing, the graph neural network and Transform is adopted for
sleep staging, closed-loop phase synchronous stimulation driven by the digital phase-locked loop is combined on the basis, connection from
sleep monitoring to closed-loop intervention is achieved, and the sleep monitoring accuracy and the
intervention effect are effectively improved.