The invention discloses preparation of a
nitrogen-containing seven-membered
fluorine-
boron compound and application of the
nitrogen-containing seven-membered
fluorine-
boron compound to a fluorescent anti-counterfeiting film, the structure of the compound is as follows: # imgabs0, the dye takes 2, 3, 3-trimethylindole and dibromo-2-pyrrolecarboxaldehyde as raw materials, under the action of
acetic acid,
piperidine and methylbenzene, a
Knoevenagel condensation reaction is carried out, and the dibromo seven-membered
fluorine-
boron fluorescent dye is generated. The dibromo seven-membered fluorine boron fluorescent dye respectively reacts with
phenylboronic acid, 4-cyanophenylboronic acid, p-methoxyphenylboronic acid and
triphenylamine phenylboronic acid to obtain a final compound. The compound can act with
acrylic resin to form a film on a thin film, and can be
colored under natural light, and clear
fluorescence can be seen under an
ultraviolet lamp (365nm). The fluorescent dye is simple, easy to obtain, low in manufacturing cost, high in film forming speed with
acrylic resin or a
polyvinyl alcohol solution on a thin film, high in anti-counterfeiting coefficient, large in counterfeiting difficulty and huge in potential in the aspects of fluorescent anti-counterfeiting packaging films, OLDE and the like.