Patent ID: 8086731

Claim:
A method for collecting statistics of a characteristic value with a threshold, comprising: determining, by a centralized statistics-collecting apparatus, according to a total threshold of a characteristic value whose statistics is to be collected, at least one sub-threshold corresponding to at least one application processing apparatus participating in the statistic-collection; issuing, by the centralized statistics-collecting apparatus, the at least one sub-threshold respectively to the at least one application processing apparatus, and notifying, by the centralized statistics-collecting apparatus, the at least one application processing apparatus to enter into a distributed statistic-collecting state; after receiving from anyone of the at least one application processing apparatus a notification which indicates that a current statistic value of the characteristic value in the application processing apparatus reaches the sub-threshold corresponding to the application processing apparatus, notifying, by the centralized statistics-collecting apparatus, the at least one application processing apparatus to enter into a centralized statistic-collecting state to collect the statistics of the characteristic value in a centralized mode; and comparing the total threshold with a threshold boundary set in advance; if the total threshold is larger than or equal to the threshold boundary, performing the step of determining the at least one sub-threshold corresponding to the at least one application processing apparatus participating in the statistic-collection according to the total threshold; otherwise, collecting the statistics of the characteristic value in the centralized mode.