# US 2018/0322538 A1 · Conditional removal of advertisements from web content

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

- Number: US 2018/0322538 A1
- Document ID: US20180322538A1
- Status: Published application
- Kind: A1
- Application number: 15/585,485
- Filed: 2017-05-03
- Published: 2018-11-08
- Earliest claimed: 2017-05-03
- Assignees: Ox Software GmbH
- Applicants: OX Software GmbH
- Inventors: Mikko Linnamäki; Peter Höbel
- Web page: https://patentgrep.com/patent/US20180322538A1

## CPC

- G06Q 30/0277: {Online advertisement}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Some embodiments include a method to determine whether to remove third party content in web content requested by a user. The method includes receiving a request for web content from a client device associated with an IP address. The method also includes determining whether an ISP associated with the IP address is known. In response to determining that the ISP is known, a contract status of the IP address is determined and the web content is processed to manage third party content based on the contract status of the IP address. The method also includes transmitting the web content with additional processing to the client device at the IP address.

## Claims

### Claim 1

A method comprising:
receiving a request for web content from a client device associated with an internet protocol (IP) address;
determining whether an Internet service provider (ISP) associated with the IP address is known;
in response to determining that the ISP is known, determining a contract status of the IP address, wherein the contract status indicates whether third party content is to be visible on the web content; and
processing the web content to manage the third party content based on the contract status of the IP address;
transmitting the web content with additional processing to the client device associated with the IP address; and
receiving a number of requests for web content from the client device associated with the IP address to determine a share of a subscription payment associated with the client device that is owed to a web host that maintains the web content.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the contract status of the IP address comprises:
requesting the contract status of the IP address from a web service end point that is associated with the ISP; and
receiving the contract status of the IP address from the web service end point.

### Claim 3 (depends on 2)

The method of claim 2, wherein requesting the contract status of the IP address from the web service end point associated with the ISP is performed according to Hypertext transfer protocol (HTTP) with certificate pinning.

### Claim 4 (depends on 2)

The method of claim 2, wherein requesting the contract status of the IP address from the web service end point associated with the ISP is performed according to Hypertext transfer protocol (HTTP) with DNS-based authentication of named entities (DANE).

### Claim 5 (depends on 1)

The method of claim 1, wherein processing the web content to manage the third party content comprises removing all third party content from the web content prior to transmitting the web content to the client device.

### Claim 6 (depends on 1)

The method of claim 1, wherein processing the web content to manage the third party content comprises adding third party content to the web content prior to transmitting the web content to the client device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising, in response to determining that the ISP is unknown, transmitting the web content without processing the web content to manage third party content.

### Claim 8 (depends on 1)

The method of claim 1, wherein processing the web content to manage the third party content comprises managing content associated with an iframe, a div, an image element, or an inline html algorithm.

### Claim 9 (depends on 1)

A non-transitory computer-readable medium having computer-readable instructions stored thereon that are executable by a processing device to perform or control performance of the method of claim 1.

### Claim 10

A method, comprising:
receiving a request for a contract status of an Internet protocol (IP) address from a remote server, wherein the request for the contract status includes a client identification and a receive keyed-hash message authentication code (HMAC);
obtaining the contract status for the IP address from a web service end point associated with an Internet service provider (ISP) associated with the IP address, wherein the contract status indicates whether third party content should be visible on web content requested by a client device associated with the IP address;
generating a transmit HMAC based on the client identification and a secret key associated with the client identification;
determining whether the receive HMAC and the transmit HMAC correspond;
in response to determining that the receive HMAC and the transmit HMAC correspond:
generating a status HMAC based on the contract status of the IP address; and
transmitting a contract status message to the remote server, the contract status message comprising the status HMAC;
tracking requests for web content from a client device associated with the IP address;
determining a number of requests for web content that were sent to the remote server from the client device; and
transmitting to the remote server the number of requests for web content that were sent to the remote server from the client device to determine a share of a subscription payment associated with the client device that is owed to a web host that maintains the web content.

### Claim 11 (depends on 10)

The method of claim 10, wherein the receive HMAC comprises a string with a base64 encoded HMAC hash of concatenated values of the IP address and a current time.

### Claim 12 (depends on 10)

The method of claim 10, wherein the status HMAC comprises a string with a base64 encoded HMAC hash of concatenated values of the IP address, a current time, a time to live (TTL) integer for an answer, and a contract status value wherein the contract status value indicates whether the third party content should be visible on the web content requested by the client device associated with the IP address.

### Claim 13 (depends on 10)

The method of claim 10, wherein determining whether the receive HMAC and the transmit HMAC correspond comprises determining whether the receive HMAC and the transmit HMAC are the same.

### Claim 14 (depends on 10)

The method of claim 10, wherein the request for contract status is a JavaScript Object Notation (JSON) object comprising the client identification, the receive HMAC, a current time, and the IP address.

### Claim 15 (depends on 10)

The method of claim 10, wherein the contract status message is a JavaScript Object Notation (JSON) object comprising the status HMAC, the IP address, a current time, a time to live (TTL) integer for an answer, and a contract status value wherein the contract status value indicates whether the third party content should be visible on the web content requested by the client device associated with the IP address.

### Claim 16 (depends on 15)

The method of claim 15, wherein the contract status value indicates that third party content should be removed from the requested web content.

### Claim 17 (depends on 15)

The method of claim 15, wherein the contract status value indicates that third party content should be visible on the requested web content.

### Claim 18

A non-transitory computer-readable medium having computer-readable instructions stored thereon that are executable by a processing device to perform or control performance of operations comprising:
receiving a request for a contract status of an Internet protocol (IP) address from a remote server, wherein the request for the contract status includes a client identification and a receive keyed-hash message authentication code (HMAC);
obtaining the contract status for the IP address from a web service end point associated with an Internet service protocol (ISP) associated with the IP address, wherein the contract status indicates whether third party content should be visible on web content requested by a client device associated with the IP address;
generating a transmit HMAC based on the client identification and a secret key associated with the client identification;
determining whether the receive HMAC and the transmit HMAC correspond;
in response to determining that the receive HMAC and the transmit HMAC correspond:
generating a status HMAC based on the contract status of the IP address; and
transmitting a contract status message to the remote server, the contract status message comprising the status HMAC;
tracking requests for web content from a client device associated with the IP address;
determining a number of requests for web content that were sent to the remote server from the client device; and
transmitting to the remote server the number of requests for web content that were sent to the remote server from the client device to determine a share of a subscription payment associated with the client device that is owed to a web host that maintains the web content.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein determining whether the receive HMAC and the transmit HMAC correspond comprises determining whether the receive HMAC and the transmit HMAC are the same.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the contract status message indicates that third party content should be removed from web content requested by a client device associated with the IP address.
