The invention discloses a class of 2,5-dihydroxyterephthalamide compounds (I) and pharmaceutically acceptable salts thereof, their preparation methods, pharmaceutical compositions and preparations for treating and / or preventing nervous system-related diseases Use in pharmaceuticals, including but not limited to vascular dementia, Alzheimer's disease, Parkinson's disease, Huntington's disease, HIV-related dementia, multiple sclerosis, amyotrophic lateral sclerosis, neuropathic pain, Glaucoma, ischemic stroke, hemorrhagic stroke, and neurological damage caused by traumatic brain injury;