In this study, patients who meet the enrollment criteria will be randomized 1:1 to the unidirectional valve group or the closed lumen group.

After patients entered the operating room, their heart rate, mean arterial pressure, electrocardiogram, and pulse oxygen saturation were monitored. The electrodes of a bispectral index (BIS) Vista monitor were placed on the patient's forehead. The mask for oxygen inhalation at 6 L/min was then applied. Anesthesia was induced with 2mg midazolam, 0.3ug/kg sufentanil, 2-3mg/kg propofol and 0.3mg/kg cisatracurium using ideal body weight. Patients were intubated using a video double-lumen endotracheal tube \[Disposable sterile double-lumen tracheal intubation, Nortier\] by a senior anesthesiologist. Following confirmation of the double-lumen tube (DLT) placement position, two-lung ventilation was started at a respiratory rate of 15 breaths per minute, with an inspiratory to expiratory (I: E) ratio of 1:2, tidal volume of 8 ml/kg, and an inspired oxygen fraction (FiO2) of 0.8. Remifentanil (0.05-0.3 ug/kg/min) and propofol (4-12 mg/kg/h) were continuously infused to maintain anesthesia while the levels of BIS fluctuated between 40 and 60. The DLT placement location was verified again as soon as the disinfection and draping process started, and one-lung ventilation was initiated. In this study, we used a disposable plastic membrane glove and chopped off the fingers to create a unidirectional valve device. Our prior clinical experiment showed that this device permits gas in the non-ventilated lung to exit during exhalation, while ambient air could not enter via the collapsed cut hole during inhalation. In the unidirectional valve group, as soon as disinfection and draping began, the lumen of the Y-connector to the non-ventilated lung was clamped and the unidirectional valve device was fastened to the bronchoscope port of the tracheal lumen to initial the one-lung ventilation. In the closed lumen group, as soon as disinfection and draping began, the lumen of the Y-connector to the non-ventilated lung was clamped, and the bronchoscope port of the tracheal lumen was sealed off from the atmosphere until pleural opening. When the pleura opened, the bronchoscope port opened to the air for 30 seconds before closing once more until the one-lung ventilation was completed. The tidal volume was adjusted to 6 ml/kg during OLV, and the respiratory rate was set to 15 breaths per minute with a I:E ratio of 1:2 and FiO2 of 0.8. Positive expiratory pressure was not applied in this trial. After pleural opening, the thoracoscopic surgery procedure was captured on video using an electronic equipment. The anesthesiologist, who was blind to the specific lung collapse technique, watched the recordings after surgery and used a visual analogue scale to assess the quality of lung collapse at various time points. Bronchial suction was employed to foster lung collapse of the non-ventilated lung if there was no collapse or partial collapse of the lung during the surgical procedure. The number and timing of bronchial suction should be documented in detail. After surgery, patients were transferred to the post-anesthesia care unit (PACU) for continued monitoring. Throughout their hospital stay, the patients were visited daily, and any postoperative pulmonary issues were recorded in time until the patients were released from the hospital.