The embodiment of the invention discloses a preparation method of a
solid electrolyte containing porous polybromine
zinc ionic liquid, which comprises the following steps: reacting a
nitrogen-containing heterocyclic ring and bromobutane in an environment of 55-65 DEG C according to a
molar ratio of
tertiary amine
nitrogen to
halogen atoms of 1: (1-1.1), recrystallizing, removing impurities, washing, and
drying in vacuum to obtain
bromine ionic liquid; reacting the
bromine ionic liquid with
zinc bromide according to a
molar ratio of 2: 1 in an environment of 55-65 DEG C, recrystallizing, removing impurities, washing, and
drying in vacuum to obtain
bromine zinc ionic liquid; the preparation method comprises the following steps: polymerizing
melamine and bromine zinc ionic liquid to obtain porous polybromine zinc ionic liquid; the porous polybromine zinc ionic liquid is used as a filler to be added into an
electrolyte to prepare a
solid electrolyte. According to the technical scheme provided by the invention, through the structural design of the polyion liquid, different
nitrogen-containing heterocyclic rings and bromine zinc anions are introduced for in-situ growth of
lithium bromide and
lithium zinc
alloy, so that the interface stability of the electrolyte and a
lithium metal negative
electrode is improved, and meanwhile, the migration of lithium ions is promoted.