Method and device for supporting high precision of IPFIX timestamp, and storage medium
The invention discloses a method and a device for supporting high precision by an IPFIX timestamp, and a storage medium. The method comprises the following steps: acquiring a chip timestamp firstly TimerTs, a chip flow table timestamp firstly HwTs and a software timestamp firstly SwTs when a new flo...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method and a device for supporting high precision by an IPFIX timestamp, and a storage medium. The method comprises the following steps: acquiring a chip timestamp firstly TimerTs, a chip flow table timestamp firstly HwTs and a software timestamp firstly SwTs when a new flow event message is received; the method comprises the following steps: acquiring a chip timestamp lastTimerTs and a chip flow table timestamp lastHwTs when a timeout event message is received; obtaining a timestamp lastPktHwTs of a last message recorded in a chip flow table during polling, wherein the timestamp is lastPktHwTs; and according to the timestamps, calculating the flow duration time durationFlow and the flow cut-off timestamp lastSwTs, and outputting the starting time and the ending time of the flow. According to the method, the nanosecond timestamp of the recording stream can be realized under the condition of not additionally increasing software cost.
本发明揭示了一种实现IPFIX时间戳支持高精度的方法及装置、存储介质,方法包括获取在收到新流事件消息时 |
---|