Ambien is a general term for drugs with sedative and tranquilizing effects, different drugs, the effect is different, such as diazepam tablets and zopiclone tablets, belong to the medium and long-acting sedative-hypnotic drugs, generally take 1 tablet, the time can be maintained for 6-8 hours; short-acting preparations like triazolam, zolpidem tartrate, etc., generally maintain 3-4 hours; eszopiclone will maintain 5-6 hours. Therefore, sleeping pills are divided into short-acting, medium-acting and long-acting drugs. Short-acting drugs, such as zolpidem, triazolam, midazolam, etc. Medium-acting drugs are represented by the Valium class, Eszopiclone, Glaxoquine, and Diazepam tablets. Long-acting class, such as zopiclone tablets, clonazepam tablets, etc. Different drugs have different time points of action and are applied separately for different patients.