This method has become one of the most promising treatments for epilepsy at present, and mainly includes central nervous system electrical stimulation (deep brain stimulation, epileptic focus cortical stimulation, etc.) and peripheral nerve stimulation (vagus nerve stimulation, trigeminal nerve stimulation).