The invention discloses a data statistics method and device. The method comprises the following steps that when the current
system time reaches the time point for data statistics, collection data in the current data statistics time period is obtained; the current
system time is subjected to time point alignment
processing to obtain the earliest statistics time point and the latest statistics time point corresponding to the current data statistics time period; all collection data is screened according to the earliest statistics time point, the latest statistics time point and the generating time point corresponding to each collection datum, the completeness collection data is obtained, and the completeness collection data is output. When the technical scheme is adopted, the preset of the
delay time is not needed, when the current
system time reaches the data statistics time point, a
service system only carries out data completeness screening on the obtained collection data, and the data completeness statistics result of the current data in the statistics time period can be obtained, so that the accuracy of the statistics result can be ensured.