Gastroscopy and enteroscopy play a very important role in the diagnosis and treatment of gastrointestinal diseases. However, during gastric and enteroscopy examination or treatment, patients generally experience discomfort or pain such as nausea, dyspnea, abdominal pain, abdominal distension and so on. The introduction of painless technology into gastroenteroscopy or treatment can save patients from these discomforts or pains so that the examination or treatment can be completed successfully. Painless endoscopy examination or treatment is to give the patient an appropriate amount of short-acting anesthesia and sedation drugs, so that the patient can successfully complete the endoscopy examination and treatment under safe anesthesia and sedation. The patient can be awakened immediately after the completion of the examination and can go home safely after a short period of observation. Painless gastroscopy or enteroscopy is performed by endoscopists, anesthesiologists and specialized nurses. It is safe, fast, without toxic side effects, and does not affect intelligence or thinking ability. Indications for painless gastroenteroscopy technology are mainly patients who are afraid of gastroenteroscopy diagnosis and treatment. Contraindications are mainly severe lung disease, severe hypotension, drug allergies, psychiatric disorders, pregnancy and myasthenia gravis. The advantages of painless gastroenteroscopy are: 1, the doctor is not disturbed during the examination, the examination does not leave a dead angle, small damage, high diagnostic accuracy; 2, safe, comfortable, time-saving; 3 the patient is not tense before the examination, there is no discomfort during the examination, the examination recovers quickly, and there are no toxic side effects. The application of painless gastroenteroscopy technology enables patients who were afraid to do the examination before to complete the examination safely and smoothly. This anesthesia method is also applicable to fiber laryngoscopy or bronchoscopy, stone extraction via biliary drainage tube, etc.