Disclosed are a quinazolinone derivative, a preparation method therefor, a pharmaceutical composition, and applications. Provided are a compound represented by formula I, a pharmaceutically acceptable salt, a solvate, a crystal form, a eutectic crystal, a stereoisomer, an isotope compound, a metabolite, or a prodrug thereof. Generation or activity of a cell factor can be regulated, and accordingly, cancers and inflammatory diseases can be effectively treated.