A method for preventing and treating viral infection and tumor using a drug composition having a benzophenone compound and analogues thereof having a symmetrical core structure and having same or different number of hydroxyl substitutions in benzene rings. The drug preparation for preventing and treating HIV, herpes virus and papillomavirus infection and the diseases induced thereby, wherein such viral infections include AIDS, genital warts, flat warts, common warts, herpes simplex, herpes zoster, vaginitis, cervicitis, cervical erosion and senile dementia, as well as cervical cancer, lung cancer, gastric cancer and colon cancer induced thereby. Preparation of hydroxy-substituted benzophenones and analogues thereof together with various compatible excipients into different medicaments or personal disinfected sanitary articles.