In this study, patients with diabetes mellitus complicated with ketoacidosis pregnancy were treated with continuous subcutaneous injection of insulin analogues; it accelerates the negative conversion of urinary ketone body, reduces the occurrence of hypoglycemia and the dose of insulin, and shortens the duration of hospitalization and achieved good results. The gene discussed is INS; the disease is type 2 diabetes mellitus.