The application discloses a
diarylethene polymer, and the structure is shown as (formula 1), wherein n is an integer of 2-20, R 1 independently H or F atom, R 2 independently substituted or unsubstituted
aryl, and represents cis-trans isomer form. The application further discloses a preparation method of the
diarylethene polymer, which comprises the following steps: (1) under the protection of
inert gas, carrying out click
polymerization of a binary acetylenic compound and a binary
mercapto compound in an
organic solvent, wherein the
polymerization temperature is 20-50 DEG C, the reaction time is 1-4 hours, and the
molar ratio of the binary acetylenic compound to the binary
mercapto compound is 1:(1-1.1); (2) after the reaction is completed, dissolving the product in an
organic solvent, then adding the product into n-
hexane to carry out
precipitation, collecting the precipitate, and
drying to constant weight, so as to obtain the
diarylethene polymer. The preparation method is high in efficiency, mild in condition, simple and easy to implement, and good in
atom economy, and the obtained diarylethene polymer can be used in anti-fake and copy materials.