The present invention relates to a new compound and a preparation method thereof. The general structural formula of the compound is shown in Formula I. Animal experiments show that the compound has the effect of saving the memory of animal models. It is of high safety, has no mutagenicity, can remain in blood for several hours after oral or intravenous injection, and can enter the brain. The compound can be used for preparing a medicament for treating Alzheimer's disease.