# US 2017/0288994 A1 · Packet transfer device and method for setting counter

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0288994 A1
- Document ID: US20170288994A1
- Status: Published application
- Kind: A1
- Application number: 15/437,800
- Filed: 2017-02-21
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Masahiko MATSUURA
- Web page: https://patentgrep.com/patent/US20170288994A1

## CPC

- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04L 43/08: Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L 43/18: Protocol analysers
- H04L 47/22: Traffic shaping
- H04L 47/31: by tagging of packets, e.g. using discard eligibility [DE] bits
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

There is provided a packet transfer device including a memory, and a processor coupled to the memory and the processor configured to detect a first packet of a predetermined size, detect a second packet whose data in a predetermined area matches a specific pattern, the second packet being included in a group of the first packet, and count a number of the second packet.

## Claims

### Claim 1

A packet transfer device comprising:
a memory; and
a processor coupled to the memory and the processor configured to:
detect a first packet of a predetermined size,
detect a second packet whose data in a predetermined area matches a specific pattern, the second packet being included in a group of the first packet, and
count a number of the second packet.

### Claim 2 (depends on 1)

The packet transfer device according to claim 1,
wherein path information of a path on which a packet is transferred is stored in the memory; and
wherein the processor sets a size of the first packet to be detected and a position of the area of the specific pattern included in the second packet to be detected, based on the path information.

### Claim 3 (depends on 2)

The packet transfer device according to claim 2,
wherein the path information indicates a presence or an absence of a predetermined tag added to the packet transferred on the path.

### Claim 4

A method for setting a counter, the method comprising:
setting, to a size detector, a size of a first packet to be detected by the size detector, based on path information of a path on which a packet is transferred; and
setting, to a pattern detector, a position of a data area of a specific pattern included in a second packet to be detected by the pattern detector, based on the path information, the second packet being included in a plurality of first packets detected by the size detector, by a processor.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
detecting the first packet of a predetermined size;
detecting the second packet whose data in a predetermined area matches a specific pattern; and
counting a number of the second packet, by the processor.

### Claim 6 (depends on 5)

The method according to claim 5,
wherein the path information indicates a presence or an absence of a predetermined tag added to the packet transferred on the path.

### Claim 7

A computer-readable non-transitory recording medium storing a program that causes a computer to execute a procedure, the procedure comprising:
setting, to a size detector, a size of a first packet to be detected by the size detector, based on path information of a path on which a packet is transferred; and
setting, to a pattern detector, a position of a data area of a specific pattern included in a second packet to be detected by the pattern detector, based on the path information, the second packet being included in a plurality of first packets detected by the size detector.

### Claim 8 (depends on 7)

The computer-readable non-transitory recording medium according to claim 7, wherein the procedure further comprising:
detecting the second packet whose data in a predetermined area matches a specific pattern; and
counting a number of the second packet.

### Claim 9 (depends on 8)

The computer-readable non-transitory recording medium according to claim 8,
wherein the path information indicates a presence or an absence of a predetermined tag added to the packet transferred on the path.
