Cyclic tertiary amine compounds such as N-methylimidazole, pyridine, N-methylmorphine, N-methylpyrrole, etc. (referred to as cyclic tertiary amines) were refluxed with an excess of chlorinated n-butane in toluene for 48 hours, and the chloride salts obtained were subjected to an ion-exchange reaction with potassium salts of KBF4, KPF6, CH3COOK, KHSO4, and potassium p-toluenesulfonate (p-TSAK), respectively, and the products obtained were subjected to filtration The products obtained were filtered, desolvated, extracted with CH2Cl2 and vacuum dried to obtain the ionic liquids IL1-IL13.