Gastrointestinal endoscopy is one of the most important diagnostic and therapeutic tools in gastroenterology. Through gastroscopy, not only can the site, scope, nature and extent of lesions be directly observed, but also tissue biopsy can be taken for diagnosis and direct clamping or removal of lesions (such as polyps) and emergency endoscopic hemostasis. Although endoscopy is a non-invasive or minimally invasive technique, it can cause discomfort and even pain to patients due to the irritation of the endoscope on the throat and gastrointestinal cavity and the physiological reaction of the body. In addition, there are still a few elderly patients due to excessive tension, fear or inability to cooperate and induce myocardial infarction, stroke, gastrointestinal perforation and aspiration pneumonia. Based on the needs of patients and operators, the comfort technique was born. The painless technique uses the most commonly used drug for international anesthesia, propofol, which has a history of several decades and was initially expensive for patent protection by large foreign pharmaceutical companies, but now has passed the patent protection period domestic pharmaceutical companies can produce it and the price tends to be reasonable. This drug is fast-acting, fast metabolism, controllable, but requires a professional anesthesiologist to apply. On the basis of this drug, we can compound analgesic drugs with minimal effect on the body, so as to achieve the realm where patients can sleep without any pain (even beautiful dreams) and reduce the impact of stress on the body. Operation process: 1, oxygen 2, open intravenous access 3, oral cushion (gastroscopy) 4, injection of drugs to sleep 5, operation (the operator can concentrate more on the diagnosis and treatment – when awake need part of the energy to let the patient cooperate not to vomit on) 6, after the end of the patient lying flat and rehydration 7, observation and leave the hospital