In many closed quantum systems, an interesting phenomenon, called quantum carpet, can be observed, where the evolution of wave function exhibits a carpet-like pattern. The mechanism of quantum carpet is similar to the classical interference pattern of light. Although the origin of quantum carpets has been studied previously, there are still many interesting details worth exploring. Here, we presented a unified framework for a simultaneous analyzing on three features of quantum carpets, namely full revival, fractional revival and diagonal canal. For fractional revival, a complete formula is presented to explain its generation through "Gaussian sum theory", in which all the essential features, including the phases and amplitudes, of this phenomenon could be captured analytically. Moreover, we also revealed the relations between the interference terms of the diagonal canals and their geometric interpretations, providing a better understanding in the formation of diagonal canals.