The invention relates to a method for restarting and restoring work of a charging gateway (CG), which comprises the following steps : after failing and being restarted, the CG judges different conditions when the fault occurs, and respectively executing corresponding operation according to the information stored at a working area before the fault occurs; and under the condition that the work can not restored by a fault-tolerant mechanism between SGSN or GGSN, firstly, reasonably selecting the retrospective analyses time starting from the time point when the fault occurs, then carrying out retrospective comparative analysis on an original
ticket and a final
ticket locally stored by the CG, reconstructing an original
ticket Hash table after discovering the uncombined original ticket and the final ticket and deleting the combined original ticket, and restoring normal work of the CG. The method comprises five operation steps of restarting the fault, judging the type of the fault, analyzing part of the ticket, reconstructing the
Hash table and restoring the normal operation. The method leads the CG to be capable of completing restarting and restoring the previous work when any fault occurs, improves work reliability and the accuracy of the charging ticket, and ensures that the
work performance of the whole charging gateway is not influenced obviously.