IP Library Granted Patent US 11,683,255
Granted Patent B2
US 11,683,255 · App. 17/604,943 · Granted Jun 20, 2023

Apparatus and method for capturing packets before and after network communication failure

Inventors: Shuhei Yoshida (Tokyo, JP); Yuta Ukon (Tokyo, JP); Shoko Oteru (Tokyo, JP); Namiko Ikeda (Tokyo, JP); Koyo Nitta (Tokyo, JP)
Assignee: Nippon Telegraph and Telephone Corporation
H04L43/12H04L43/0811H04L43/0829H04L43/0847H04L43/0882
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,683,255
App. No.
17/604,943
Granted
Jun 20, 2023
Kind
B2
Abstract

An embodiment packet capture device comprises: a packet receiver configured to receive a packet from a network; a packet retainer configured to store the received packet in a memory to temporarily retain the received packet; a failure detector configured to determine a communication failure is present in the network; a capture controller configured to determine an operation stop address such that retention of packets from the network in time periods before and after a detection time point of the communication failure is ensured when the communication failure is detected by the failure detector; and a capture data generator configured to output the packet stored in the memory as capture data when a storage destination address of the packet stored in the memory has reached the operation stop address or when at least a predetermined waiting time period has elapsed from the detection time point of the communication failure.

Claims (31)

1. A packet capture device comprising:

a packet receiver configured to receive a packet from a network;

a packet retainer configured to store the received packet in a memory to temporarily retain the received packet;

a failure detector configured to determine a communication failure is present in the network based on information of the received packet;

a capture controller configured to determine an operation stop address such that retention of packets from the network in time periods before and after a detection time point of the communication failure is ensured when the communication failure is determined present by the failure detector, wherein the capture controller is further configured to determine the operation stop address based on a storage destination address of the packet at the detection time point of the communication failure and a length of a preset ensuring time period in which retention of the packet before detection of the communication failure is ensured; and

a capture data generator configured to output the packet stored in the memory as capture data when the storage destination address of the packet stored in the memory has reached the operation stop address or when at least a predetermined waiting time period has elapsed from the detection time point of the communication failure.

2. The packet capture device of claim 1 , wherein the packet retainer comprises the memory, the memory having a ring buffer configuration, the packet retainer further configured to store the packet received by the packet receiver in an area of the storage destination address of the memory, and to update the storage destination address when the communication failure is not yet detected or when the storage destination address does not reach the operation stop address and an elapsed time period from the detection time point of the communication failure is less than the predetermined waiting time period when the packet is received by the packet receiver.

3. The packet capture device of claim 1 wherein the failure detector is further configured to determine that the communication failure is present in the network when a cumulative number of packets of the packet received by the packet receiver per predetermined time interval is more than a cumulative packet number upper limit threshold value, or when a cumulative number of bytes of the packet received by the packet receiver per predetermined time interval is more than a cumulative byte number upper limit threshold value.

4. The packet capture device of claim 1 , further comprising:

a flow identifier configured to identify a flow to which the packet received by the packet receiver belongs; and

a cumulative information retainer configured to retain a cumulative number of packets of the packet received by the packet receiver and a cumulative number of bytes of the packet received by the packet receiver for each flow, wherein the failure detector is configured to determine that the communication failure is present in the network when a cumulative number of packets of each flow per predetermined time interval is more than a cumulative packet number upper limit threshold value, or when a cumulative number of bytes of each flow per predetermined time interval is more than a cumulative byte number upper limit threshold value.

5. The packet capture device of claim 1 , wherein the capture data generator is configured to use the operation stop address as a start address, and to output the packet stored in an area of the memory to an address obtained by subtracting 1 from the storage destination address as the capture data.

6. The packet capture device of claim 1 , further comprising a parameter setter configured to set the predetermined waiting time period.

7. A packet capture method comprising:

receiving a packet from a network;

determining a communication failure is present in the network based on information of the received packet;

determining an operation stop address such that retention of packets from the network in time periods before and after a detection time point of the communication failure is ensured in response to the communication failure being determined present, wherein the operation stop address is determined based on a storage destination address of the packet at the detection time point of the communication failure and a length of a preset ensuring time period in which retention of the packet before detection of the communication failure is ensured;

storing the received packet in a memory to temporarily retain the received packet; and

outputting the packet stored in the memory as capture data in response to the storage destination address of the packet stored in the memory having reached the operation stop address or in response to at least a predetermined waiting time period having elapsed from the detection time point of the communication failure.

8. The packet capture method of claim 7 , wherein the memory has a ring buffer configuration, the method further comprising:

storing the received packet in an area of the storage destination address of the memory; and

updating the storage destination address in response to the communication failure being not yet detected or in response to the storage destination address not reaching the operation stop address and an elapsed time period from the detection time point of the communication failure is less than the predetermined waiting time period in response to the packet being received.

9. The packet capture method of claim 7 , wherein the communication failure is determined to be present in the network in response to a cumulative number of packets of the received packet per predetermined time interval being more than a cumulative packet number upper limit threshold value, or in response to a cumulative number of bytes of the received packet per predetermined time interval being more than a cumulative byte number upper limit threshold value.

10. The packet capture method of claim 7 , further comprising:

identifying a flow to which the received packet belongs; and

retaining a cumulative number of packets of the packet and a cumulative number of bytes of the packet for each flow, wherein the communication failure is determined to be present in the network in response to a cumulative number of packets of each flow per predetermined time interval being more than a cumulative packet number upper limit threshold value, or in response to a cumulative number of bytes of each flow per predetermined time interval being more than a cumulative byte number upper limit threshold value.

11. The packet capture method of claim 7 further comprising:

using the operation stop address as a start address; and

outputting the packet stored in an area of the memory to an address obtained by subtracting 1 from the storage destination address as the capture data.

12. The packet capture method of claim 7 further comprising:

setting the predetermined waiting time period.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 19, 2021
From: YOSHIDA, SHUHEI; UKON, YUTA; OTERU, SHOKO; IKEDA, NAMIKO; NITTA, KOYO
To: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Reel/Frame 057837/0438 →
Continuity (1)
Related Publication 20220217069A1 · Jul 7, 2022
Cited By (1)
US 12,381,801