A phthalazinone ketone derivative as represented by formula (I), a preparation method thereof, a pharmaceutical composition containing the derivative, a use thereof as a poly (ADP-ribose) polymerase (PARP) inhibitor, and a cancer treatment method thereof.