Compounds of formula (I), imidazopyrimidine ketones, as well as preparations and applications thereof. Compounds and pharmaceutically acceptable salts thereof which stimulate the body to produce tumor necrosis factor-related apoptosis-inducing ligands, while avoiding the drawbacks of existing cancer treatments based on recombinant proteins and antibodies. Thus, they can provide novel options for the treatment of related tumors.