In recent years, lobectomy under VATS(Video-assisted thoracic surgery,VATS) has gradually emerged, but there is still a proportion of patients with postoperative pain that affects their postoperative recovery. Epidural analgesia (EA) , the gold standard for postoperative analgesia in thoracic surgery, is currently administered in two ways: 1) continuous epidural infusion 2) programmed intermittent epidural bolus. The former is currently the commonly used method of anesthetic infusion, while the latter has been better studied in obstetrics and major abdominal surgery, but is still unclear in thoracic medicine. This paper aims to investigate the impact of both drug delivery methods on the quality of postoperative recovery in patients undergoing lobectomy by VATS.