# US 10,958,502 B2 · Port mapping

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

- Number: US 10,958,502 B2
- Document ID: US10958502B2
- Status: Granted
- Kind: B2
- Application number: 16/246,014
- Filed: 2019-01-11
- Published: 2019-07-11
- Granted: 2021-03-23
- Earliest claimed: 2018-01-11
- Assignees: Comcast Cable Communications, LLC
- Applicants: Comcast Cable Communications, LLC
- Inventors: Balasubramanian Ramachandran; Eric Frishman; Mannan Venkatesan
- Web page: https://patentgrep.com/patent/US10958502B2

## CPC

- H04L 69/162: {involving adaptations of sockets based mechanisms (secure socket layer H04L63/168)}
- H04L 61/2514: between local and global IP addresses
- H04L 61/2517: using port numbers
- H04L 67/04: specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
- H04L 67/566: Grouping or aggregating service requests, e.g. for unified processing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems, apparatuses, and methods are described for auto-discovery of port-to-port connectivity through correlative analysis on performance metrics. Statistical data corresponding to each port of routers and transport devices may be collected. The collected data may be processed such that missing data may be patched and time frames may be aligned. Statistical analysis may be performed on the collected data. Such statistical analysis may comprise generating a waveform based on the data and determining, e.g., correlations in the data. If the analyzed data of one port matches analyzed data of another port, the two ports may be determined to be connected to one another. A match may be based on meeting various criteria and/or thresholds.

## Claims

### Claim 1

A method comprising:
receiving, by a computing device and from a first routing device, a first set of average total packet counts collected over a time period at a first interval for a first port of the first routing device;
receiving, by the computing device and from a network server, a second set of average total packet counts collected over the time period at a second interval for a second port of a second routing device;
determining, by the computing device, a distance between the first set of average total packet counts and the second set of average total packet counts, wherein the distance is based on:
a delta sum based on a sum of the first set of average total packet counts and a sum of the second set of average total packet counts; and
a first delta percentile based on:
a first average total packet count, of the first set of average total packet counts, corresponding to a first percentile of the first set of average total packet counts; and
a second average total packet count, of the second set of average total packet counts, corresponding to the first percentile of the second set of average total packet counts; and
storing, by the computing device and based on the distance, a mapping of the first port to the second port.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, by the computing device, the delta sum by dividing a difference between the sum of the first set of average total packet counts and the sum of the second set of average total packet counts by the sum of the first set of average total packet counts.

### Claim 3 (depends on 1)

The method of claim 1, wherein storing the mapping of the first port to the second port comprises replacing a second mapping of the first port to a third port.

### Claim 4 (depends on 1)

The method of claim 1, wherein storing the mapping of the first port to the second port is further based on determining that a second mapping for the first port is missing.

### Claim 5 (depends on 1)

The method of claim 1, wherein the distance is further based on a second delta percentile based on:
a third average total packet count, of the first set of average total packet counts, corresponding to a second percentile of the first set of average total packet counts; and
a fourth average total packet count, of the second set of average total packet counts, corresponding to the second percentile of the second set of average total packet counts.

### Claim 6 (depends on 5)

The method of claim 5, wherein the determining the distance is determined by performing a square root of a sum of at least two of:
a square of the delta sum,
a square of the first delta percentile, or
a square of the second delta percentile.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
generating, by the computing device, a first waveform and a second waveform as a function of average total packet count and time, wherein the first waveform is based on the first set of average total packet counts and the second waveform is based on the second set of average total packet counts,
wherein the storing the mapping of the first port to the second port is further based on determining a correlation between the first waveform and the second waveform.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
grouping, by the computing device and based on the first interval and the second interval, one or more average total packet counts of the first set of average total packet counts to align with an average total packet count of the second set of average total packet counts.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, by the computing device and from the network server, a third set of average total packet counts collected over the time period at the second interval for a third port of the second routing device;
determining, by the computing device, that an average total packet count of the third set of average total packet counts is missing or a null value;
determining a corresponding port associated with the third port; and
adding an average total packet count associated with the corresponding port to the third set of average total packet counts.

### Claim 10

A method comprising:
receiving, by a computing device and from a first routing device, a first set of average total packet counts collected over a time period at a first interval for a first port of the first routing device;
receiving, by the computing device and from a network server, a second set of average total packet counts collected over the time period at a second interval for a second port of a second routing device;
grouping, by the computing device and based on the first interval and the second interval, one or more average total packet counts of the first set of average total packet counts to align with an average total packet count of the second set of average total packet counts;
determining, by the computing device, a delta sum by dividing a difference between a sum of the first set of average total packet counts and a sum of the second set of average total packet counts by the sum of the first set of average total packet counts;
determining, by the computing device and based on the delta sum, a distance between the first set of average total packet counts and the second set of average total packet counts; and
storing, by the computing device and based on the distance, a mapping of the first port to the second port.

### Claim 11 (depends on 10)

The method of claim 10, wherein storing the mapping of the first port to the second port comprises replacing a second mapping of the first port to a third port.

### Claim 12 (depends on 10)

The method of claim 10, wherein storing the mapping of the first port to the second port is further based on determining that a second mapping for the first port is missing.

### Claim 13 (depends on 10)

The method of claim 10, wherein the distance is further based on a first delta percentile based on:
a first average total packet count, of the first set of average total packet counts, corresponding to a first percentile of the first set of average total packet counts; and
a second average total packet count, of the second set of average total packet counts, corresponding to the first percentile of the second set of average total packet counts.

### Claim 14 (depends on 13)

The method of claim 13, wherein the determining the distance is determined by performing a square root of a sum of at least:
a square of the delta sum, and
a square of the first delta percentile.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
generating, by the computing device, a first waveform and a second waveform as a function of average total packet count and time, wherein the first waveform is based on the first set of average total packet counts and the second waveform is based on the second set of average total packet counts,
wherein the storing the mapping of the first port to the second port is further based on determining a correlation between the first waveform and the second waveform.

### Claim 16

A method comprising:
receiving, by a computing device and from a first routing device, a first set of average total packet counts collected over a time period at a first interval for a first port of the first routing device;
receiving, by the computing device and from a network server, a second set of average total packet counts collected over the time period at a second interval for a second port of a second routing device;
determining, by the computing device, a distance between the first set of average total packet counts and the second set of average total packet counts;
generating, by the computing device, a first waveform and a second waveform as a function of average total packet count and time, wherein the first waveform is based on the first set of average total packet counts and the second waveform is based on the second set of average total packet counts;
determining a correlation between the first waveform and the second waveform, wherein the correlation is based on a similarity of a shape of the first waveform with a shape of the second waveform; and
storing, by the computing device and based on the distance and the correlation, a mapping of the first port to the second port.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining, by the computing device, a delta sum by dividing a difference between a sum of the first set of average total packet counts and a sum of the second set of average total packet counts by the sum of the first set of average total packet counts,
wherein the distance is based on the delta sum.

### Claim 18 (depends on 16)

The method of claim 16, wherein storing the mapping of the first port to the second port comprises replacing a mapping of the first port to a third port.

### Claim 19 (depends on 16)

The method of claim 16, wherein storing the mapping of the first port to the second port is further based on determining that a second mapping for the first port is missing.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
receiving, by the computing device and from the network server, a third set of average total packet counts collected over the time period at the second interval for a third port of the second routing device;
determining, by the computing device, that an average total packet count of the third set of average total packet counts is missing or a null value;
determining a corresponding port associated with the third port; and
adding an average total packet count associated with the corresponding port to the third set of average total packet counts.
