-
公开(公告)号:US20160134496A1
公开(公告)日:2016-05-12
申请号:US14899681
申请日:2014-04-25
Applicant: ZTE CORPORATION
Inventor: Yinkui CHENG , Yong QIAN
IPC: H04L12/26
CPC classification number: H04L43/062 , H04L43/08 , H04L43/0894
Abstract: Provided by the present disclosure are a traffic statistics collection method and device. In the method, one and the same counter is adopted to set an input control parameter for each type of message in N types of messages respectively; N count values are acquired from the counter when a first preset moment is reached, wherein the N count values include: a total number count of the N types of messages and N−1 input control parameter counts, which are received by a preset port at the first preset moment; and statistics are collected for traffic, at the first preset moment, of the each type of message in the N types of messages through the N input control parameters and the N count values respectively, thereby saving counter resources.
Abstract translation: 通过本公开提供的是流量统计信息收集方法和装置。 在该方法中,采用同一个计数器分别为N类消息中的每种类型的消息设置输入控制参数; 当达到第一预设时刻时,从计数器获取N个计数值,其中N个计数值包括:N个类型的消息的总数量和N-1个输入控制参数计数,其由预设端口在 第一个预设时刻; 并且通过N个输入控制参数和N个计数值分别在N个消息类型的每个类型的消息的第一预设时刻收集统计信息,从而节省计数器资源。