Network packet capture method, device, equipment and storage medium

The invention discloses a network packet capturing method and device, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: for any network interface of network equipment, capturing a message transmitted between the network interfa...

Full description

Saved in:
Bibliographic Details
Main Author JIANG YAFENG
Format Patent
LanguageChinese
English
Published 24.05.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a network packet capturing method and device, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: for any network interface of network equipment, capturing a message transmitted between the network interface and a service module of the network equipment; the captured messages are stored in a cache queue, and the cache queue is used for discarding the messages stored earliest in the cache queue and storing the new messages if the new messages are received after the number of the stored messages reaches the target number; and under the condition that the service module detects a fault, storing the message in the cache queue as packet capture information corresponding to the fault. According to the method, the message in the cache queue can be directly used as the packet capture information corresponding to the fault, so that the accuracy of the acquired packet capture information corresponding to the fault is ensured,
Bibliography:Application Number: CN202211467566