# US 2015/0149610 A1 · Method and system for adjusting heavy traffic loads between personal electronic devices and external services

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

- Number: US 2015/0149610 A1
- Document ID: US20150149610A1
- Status: Published application
- Kind: A1
- Application number: 14/088,545
- Filed: 2013-11-25
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Subir Jhanb; Tal Dayan
- Web page: https://patentgrep.com/patent/US20150149610A1

## CPC

- H04L 41/50: Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L 43/08: Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L 43/16: Threshold monitoring
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L 63/1458: {Denial of Service}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 43/0852: Delays
- H04L 43/0894: Packet rate
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network traffic monitoring system monitors communications that a large number of personal electronic devices will direct to various services via various proxies. When a detection system determines that the volume of requests directed to at least one of the services exceeds a capacity limit threshold, a control system will command the proxies to instruct the devices to slow or stop the service requests until the system determines that it is clear to resume communication.

## Claims

### Claim 1

A method of controlling traffic between a plurality of electronic devices and one or more services, the method comprising, by one or more processors:
monitoring information relating to communicated service requests that pass from a plurality of electronic devices to a service through each of a plurality of proxy units;
determining whether the information indicates that a volume of the service requests directed to the service violates a capacity limit rule; and
upon identifying that the volume violates the capacity limit rule:
identifying one or more of the service requests in the volume as a restricted service request,
determining which of the proxy units are affected proxy units,
generating instructions to send a first command to a plurality of the electronic devices to reduce a frequency of the restricted service requests to the service until a second command is received, and
sending the instructions to the affected proxy units.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining whether the volume of the service requests violates the capacity limit rule comprises one or more of the following:
determining whether at least a threshold number of the communicated service requests are directed to the service;
determining whether at least a threshold number of identical service requests are directed to the service and at least one additional service; or
determining whether at least a threshold number of identical service requests are directed to the service.

### Claim 3 (depends on 1)

The method of claim 1, wherein the determining whether the volume of the service requests violates the capacity limit rule comprises determining whether communications to the service are exhibiting at least a threshold latency level.

### Claim 4 (depends on 1)

The method of claim 1, further comprising, by each of the affected proxy units, in response to receiving the instructions:
sending the first command to the electronic devices, wherein the first command is to reduce the frequency of, but not to halt, the restricted service requests;
determining a maximum pass-through rate, and caching received instances of the restricted service requests so that a frequency of the restricted service requests passed through to the service does not exceed the maximum pass through-rate; and
in response to receipt of a resume communication message:
discontinuing the caching and delivering the cached service requests to the service,
generating a second command to resume delivery of the restricted service requests; and
sending the second command to the electronic devices.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, by each of the affected proxy units, in response to receiving the instructions:
sending the first command to the electronic devices, wherein the first command is to reduce the frequency to zero;
blocking all instances of the restricted service request until a resume communication message is received; and
upon receipt of the resume communication message:
discontinuing the blocking,
generating a second command to resume delivery of the restricted service requests, and
sending the second command to the electronic devices.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, by the electronic devices:
upon receipt of the first command, implement the first command by stopping or slowing delivery of the restricted service requests; and
resume normal communication of the restricted service requests upon receipt of a second command to resume normal communication.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first commands comprise one or more of the following:
an instruction to slow or stop the restricted service requests;
an error message that the electronic devices will recognize as corresponding to a command to slow or stop the restricted service requests; or
an altered handshake pattern that the electronic devices will recognize as corresponding to a command to slow or stop the restricted service requests.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
based on the monitoring, detecting both that the service requests are increasing in frequency and that responses from the service to the service requests are experiencing an increase in latency; and
in response to the detecting, adjusting the capacity limit rule to reduce a frequency threshold or a latency level threshold in the capacity limit rule.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
by each of the affected proxy units, in response to receiving the instructions, sending the first command to the personal electronic devices;
by the electronic devices in response to the first command, implement the first command by stopping or slowing delivery of the restricted service requests;
by each of the affected proxy units:
caching or blocking restricted service requests until a resume communications message is received, and
in response to receipt of a resume communication message, resuming delivery of the restricted service requests, and
sending the second command to the electronic devices, and
by the electronic devices in response to the second command, resuming normal communication of the restricted service requests.

### Claim 10

A system for controlling traffic between a plurality of electronic devices and one or more services, the system comprising:
a detection system comprising one or more detection system processors and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause one or more of the detection system processors to:
monitor information relating to communicated service requests that pass through each of a plurality of proxy units,
determine whether the information indicates that a volume of the service requests directed to one of the services violates a capacity limit rule, and
upon identifying that the volume violates the capacity limit rule, identify a set of the proxy units that are affected by the violation of the capacity limit rule, and generate an alert, wherein the alert comprises an identification of a restricted service request and an identification of the affected proxy units; and
a control system comprising one or more control system processors and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause one or more of the control system processors to:
upon receipt of the alert from the detection service, instruct the affected proxy units to send a first command to a group of the electronic devices to reduce a frequency of the restricted service requests to the service until a second command is received.

### Claim 11 (depends on 10)

The system of claim 10, wherein the instructions that cause one or more of the detection system processors to determine whether the volume of the service requests violates the capacity limit rule comprise instructions to determine one or more of the following:
whether at least a threshold number of service requests are directed to the service;
whether at least a threshold number of identical service requests are directed to the service and at least one additional service;
whether at least a threshold number of identical service requests are directed to the service; or
whether communications to the service are exhibiting at least a threshold latency level.

### Claim 12 (depends on 10)

The system of claim 10, further comprising the affected proxy units, each comprising a processor and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause the associated affected proxy unit to, in response to receiving the instructions:
send the first command to the group of electronic devices, wherein the first command is to reduce the frequency of, but not to halt, the restricted service requests;
determine a maximum pass-through rate, and cache received instances of the restricted service requests so that a frequency of the restricted service requests passed through to the service does not exceed the maximum pass through-rate; and
in response to receipt of a resume communication message:
discontinue the caching and deliver the cached service requests to the service,
generate a second command to resume delivery of the restricted service requests, and
send the second command to the group of electronic devices.

### Claim 13 (depends on 10)

The system of claim 10, further comprising the affected proxy units, each comprising a processor and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause the associated affected proxy unit to, in response to receiving the instructions:
send the first command to the group of electronic devices, wherein the first command is to reduce the frequency to zero;
block all instances of the restricted service request until a resume communication message is received from the control service; and
upon receipt of the resume communication message:
discontinue the blocking,
generate a second command to no longer reduce the frequency of the restricted service requests, and
send the second command to the group of electronic devices.

### Claim 14 (depends on 10)

The system of claim 10, wherein the instructions to generate the first commands comprise instructions to generate one or more of one or more of the following:
an instruction to slow or stop the restricted service requests;
an error message that the electronic devices will recognize as corresponding to a command to slow or stop the restricted service requests; or
an altered handshake pattern that the electronic devices will recognize as corresponding to a command to slow or stop the restricted service requests.

### Claim 15 (depends on 10)

The system of claim 10, further comprising the group of electronic devices, wherein each of the devices in the group comprises a device processor and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause the device processor to:
upon receipt of the first command, implement the stop command by stopping or slowing delivery of the restricted service requests; and
resume normal transmission of the restricted service requests upon receipt of the second command.

### Claim 16 (depends on 10)

The system of claim 10, further comprising additional instructions that cause the one or more detection system processors to:
based on the monitored information, detect when the service requests are increasing in frequency and responses from the service to the service requests are experiencing an increase in latency; and
in response to the detecting, adjust the capacity limit rule to reduce a frequency threshold or a latency level threshold in the capacity limit rule.

### Claim 17

A system for controlling traffic between a plurality of electronic devices and one or more services, the system comprising:
one or more processors and a non-transitory computer readable medium containing programming instructions that, when executed, are configured to cause one or more of the processors to:
monitor information relating to communicated service requests that pass through each of a plurality of proxy units,
determine whether the information indicates that a volume of the service requests directed to a service violates a capacity limit rule,
upon identifying that the volume violates the capacity limit rule, identify a set of the proxy units that are affected by the violation of the capacity limit rule, and generate an alert, wherein the alert comprises an identification of a restricted service request and an identification of the affected proxy units, and
instruct the affected proxy units to send a first command to a group of electronic devices to reduce a frequency of the restricted service requests to the service until a second command is received.

### Claim 18 (depends on 17)

The system of claim 17, further comprising additional programming instructions that, when executed, are configured to cause one or more of the processors to, in response to the instructions:
send the first command to the group of electronic devices, wherein the first command is to reduce the frequency of, but not to halt, the restricted service requests;
determine a maximum pass-through rate, and cause the affected proxy units to cache received instances of the restricted service requests so that a frequency of the restricted service requests passed through to the service does not exceed the maximum pass through-rate; and
in response a resume communication message:
cause the affected proxy units to discontinue the caching and deliver the cached service requests to the service,
generate a second command to resume delivery of the restricted service requests, and
send the second command to the group of electronic devices.

### Claim 19 (depends on 17)

The system of claim 17, further comprising additional programming instructions that, when executed, are configured to cause one or more of the processors to, in response to receiving the instructions:
send the first command to the group of electronic devices, wherein the first command is to reduce the frequency to zero;
cause the affected proxy units to block all instances of the restricted service request until a resume communication message is received from the control service; and
upon receipt of the resume communication message:
cause the affected proxy units to discontinue the blocking,
generate a second command to no longer reduce the frequency of the restricted service requests, and
send the second command to the group of electronic devices.

### Claim 20 (depends on 17)

The system of claim 17, further comprising additional instructions that, when executed, are configured to cause one or more of the processors to:
based on the monitored information, detect when the service requests are increasing in frequency and responses from the service to the service requests are experiencing an increase in latency; and
in response to the detecting, adjust the capacity limit rule to reduce a frequency threshold or a latency level threshold in the capacity limit rule.
