The invention discloses a preparation method of an organic fluorescent compound with a piezochromic characteristic, and belongs to the technical field of fluorescent material preparation. The method comprises the following steps: S1, dissolving an initial compound in an
acetonitrile solution, adding a first substance alkali, stirring, dropwise adding
bromoacetonitrile to
room temperature, and stirring overnight for reaction; s2, reserving filtrate after suction
filtration, performing rotary
evaporation to obtain a
solid crude product, and performing
column chromatography purification to obtain an intermediate compound; s3, dissolving the intermediate compound in absolute ethyl
alcohol, adding a second substance, stirring until the second substance is stable, adding 4-diphenylaminobenzaldehyde, and stirring and reacting at
room temperature; and S4, carrying out suction
filtration after the reaction is finished, leaching a
filter cake by using normal
hexane, and
drying to obtain the target compounds (E)-2-(4-
chlorine-1H-
pyrazole-1-yl)-3-(4-(diphenylamino) phenyl)
acrylonitrile, (E)-2-(4-bromo-1H-
pyrazole-1-yl)-3-(4-(diphenylamino) phenyl)
acrylonitrile and (E)-2-(4-
iodine-1H-
pyrazole-1-yl)-3-(4-(diphenylamino) phenyl)
acrylonitrile. The prepared compound has obvious piezochromic luminescent property, the raw materials are low in price, and the synthesis method is simple and easy to operate.