NOVELTY - 1-Methylimidazole and chlorobutan are mixed to obtain 1-butyl-3-methylimidazole chloride. Silver tetrafluoroborate is added to 1-butyl-3-methylimidazole chloride solution to obtain 1-butyl-3-methylimidazole bromide. Polyethylene glycol dimethacrylate is added to acrylonitrile, to obtain component (a). Ethylene carbonate and lithium perchlorate are added to component (a) to obtain component (b). 1-Butyl-3-methylimidazole bromide, component B and azodiisobutyronitrile are mixed and subjected to in-situ polymerization, to obtain ion liquid-type gel polymer electrolyte.    USE - Preparation of ion liquid-type gel polymer electrolyte used for preparing battery (claimed).    ADVANTAGE - The method provides ion liquid-type gel polymer electrolyte having electrical conductivity, favorable dimensional stability and mechanical property. The ion liquid-type gel polymer electrolyte improves safety of battery.    DETAILED DESCRIPTION - 1-Methylimidazole is mixed with chlorobutan and refluxed at 70-80 degrees C for 72 hours, to obtain reaction solution. The reaction solution is cooled to room temperature, washed with ether, and ether is removed by distilling at 50 degrees C, to obtain 1-butyl-3-methylimidazole chloride. Then, silver tetrafluoroborate is added into 1 mol/L of 1-butyl-3-methylimidazole chloride solution, filtered to remove silver chloride precipitate and water is removed by distilling at 70 degrees C, to obtain 1-butyl-3-methylimidazole bromide. Polyethylene glycol dimethacrylate is dissolved into acrylonitrile, to obtain component (a). Ethylene carbonate and lithium perchlorate are dissolved into component (a), to obtain component (b). Azodiisobutyronitrile is used as evocating agent. 1-Butyl-3-methylimidazole bromide, component B and azodiisobutyronitrile are mixed and stirred at 25 degrees C, to form uniform solution. The uniform solution is subjected to in-situ polymerization at 60 degrees C for 72 hours, to obtain ion liquid-type gel polymer electrolyte. An INDEPENDENT CLAIM is included for preparation of ion liquid-type gel polymer electrolyte battery. Acrylonitrile monomer, polyethylene glycol dimethacrylate monomer, plasticizer, ethylene carbonate, lithium perchlorate, and mixed solution of ionic liquid 1-butyl-3-methylimidazole bromide and azodiisobutyronitrile as ionic liquid-type gel polymer electrolyte precursor are injected into battery shell-containing film material and positive and negative poles compound material via vacuum injecting equipment. Then, the battery shell is heated at 60 degrees C, and heated solution is subjected to in-situ polymerization to gel state, to obtain ion liquid-type gel polymer electrolyte battery. The weight ratio of polyethylene glycol dimethacrylate and acrylonitrile in copolymer of acrylonitrile and polyethylene glycol dimethacrylate, is 5:95, 1-butyl-3-methylimidazole bromide and copolymer is 1:2, ethylene carbonate and copolymer is 1:2, and azodiisobutyronitrile and polymer is 1:200. The content of lithium perchlorate/kg of copolymer is 0-4 mol. The battery shell material is stainless steel or aluminum foil-plastic compound film. The positive pole active material is lithium-cobalt oxide. The negative pole active material is graphite.