# US 2017/0293943 A1 · Advertisement targeting through embedded scripts in supply-side and demand-side platforms

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

- Number: US 2017/0293943 A1
- Document ID: US20170293943A1
- Status: Published application
- Kind: A1
- Application number: 15/499,927
- Filed: 2017-04-28
- Published: 2017-10-12
- Earliest claimed: 2008-11-26
- Assignees: Free Stream Media Corp.
- Inventors: David Harrison
- Web page: https://patentgrep.com/patent/US20170293943A1

## CPC

- H04L 65/1069: Session establishment or de-establishment
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06F 16/783: using metadata automatically derived from the content
- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06Q 30/0255: {based on user history}
- G06Q 30/0269: {based on user profile or attribute}
- G08C 17/02: using a radio link
- H04L 12/18: for broadcast or conference {, e.g. multicast}
- H04L 61/2514: between local and global IP addresses
- H04L 61/256: NAT traversal
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/102: {Entity profiles}
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- 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/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04N 21/23424: {involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement}
- H04N 21/2541: {Rights Management (protecting software against unauthorised usage in a vending or licensing environment G06F21/10; security in data switching network management H04L41/28; security management or policies for network security H04L63/20; access security in wireless networks H04W12/08)}
- H04N 21/278: Content descriptor database or directory service for end-user access {(details of content or meta data based information retrieval of video data in video databases G06F16/739)}
- H04N 21/4126: {The peripheral being portable, e.g. PDAs or mobile phones}
- H04N 21/41407: {embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop (constructional details of equipment or arrangements specially adapted for portable computer application G06F1/1626; arrangements specially adapted for mobile receivers in broadcast systems H04H20/57)}
- H04N 21/4147: PVR [Personal Video Recorder] (H04N5/76 takes precedence {; arrangements for broadcast with accumulation-type receivers H04H20/40})
- H04N 21/435: Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
- H04N 21/4415: using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning {(cryptography using biological data H04L9/3231; authentication in networks using biometric H04L63/0861)}
- H04N 21/466: Learning process for intelligent management, e.g. learning user preferences for recommending movies {(services using the results of monitoring in broadcast systems H04H60/61)}
- H04N 21/6175: {involving transmission via Internet (broadcast-related systems characterised by the transmission system being the Internet H04H60/82)}
- H04N 21/64322: {IP}
- H04N 21/812: {involving advertisement data (advertising per se G06Q30/02)}
- H04N 21/835: Generation of protective data, e.g. certificates {(protecting software against unauthorised usage in a vending or licensing environment G06F21/10)}
- H04N 21/8352: involving content or source identification data, e.g. Unique Material Identifier [UMID]
- H04N 21/8358: involving watermark {(protecting executable software by watermarking G06F21/16; image watermarking in general G06T1/0021; watermarks inserted in still images for transmission purposes H04N1/32144; inserting watermarks during video coding H04N19/467)}
- H04N 21/84: Generation or processing of descriptive data, e.g. content descriptors {(systems specially adapted for using meta-information in broadcast systems H04H60/73)}
- G06F 2221/033: Test or assess software
- H04L 61/2517: using port numbers
- H04L 61/2575: using address mapping retrieval, e.g. simple traversal of user datagram protocol through session traversal utilities for NAT [STUN]
- H04L 61/4511: using domain name system [DNS]
- H04L 61/4541: Directories for service discovery
- H04L 2101/668: Internet protocol [IP] address subnets
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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
- G08C: TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS (fluid pressure transmitting systems F15B; mechanical means for transferring the output of a sensing member into a different variable G01D5/00; mechanical control systems G05G)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An apparatus and a system of improvement of advertisement targeting through embedded scripts in supply-side and demand-side platforms are disclosed. In one embodiment, a method of a client device includes applying an automatic content recognition algorithm to determine a content identifier of an audio-visual data. The client device then associates the content identifier with an advertisement data based on a semantic correlation between a meta-data of the advertisement provided by a content provider and/or the content identifier. The advertisement targeting may be improved when a script is embedded in the client device, a supply-side platform, and/or a data provider integrated with the supply side platform, to execute arbitrary cross-site scripts in the sandboxed application of the client device. The content identifier may be obfuscated in a manner that it is relevant to a particular demand-side platform to eliminate a need to query the provider of the content identifier on a per ad-spot basis. The demand-side platform may submit requests to the advertising exchange based on a constraint type rather than through a bidding methodology on a per advertisement spot basis.

## Claims

### Claim 1

A method of a client device comprising:
applying an automatic content recognition algorithm to determine a content identifier of an audio-visual data; and
associating the content identifier with an advertisement data based on a semantic correlation between a meta-data of the advertisement data provided by a content provider and the content identifier,
wherein advertisement targeting is improved when a script is embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform, to execute arbitrary cross-site scripts in the sandboxed application of the client device,
wherein the content identifier is obfuscated in a manner that it is relevant to a particular demand-side platform to eliminate a need to query the provider of the content identifier on a per ad-spot basis, and
wherein the demand-side platform to submit requests to the advertising exchange based on a constraint type rather than through a bidding methodology on a per advertisement spot basis.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
wherein the advertisement data is generated through an advertising exchange server based on the content identifier of the audio-visual data and a public internet-protocol address associated with an application requesting the advertisement data.
wherein a provider of the content identifier receives a compensation when the advertisement data is associated with the audio-visual data based on the public internet protocol address associated with the application requesting the advertisement data,
wherein the provider of the content appends at least one of a set of content identifiers from associated clients and a viewing history from associated clients to a plurality of advertisements and resells the advertisement data back to the advertising exchange based on the appended content identifiers,
wherein a capture infrastructure annotates the audio-visual data with at least one of a brand name and a product name by comparing entries in the master database with at least one of a closed captioning data of the audio-visual data and through an application of an optical character recognition algorithm in the audio-visual data,
wherein a sandboxed application of the client device requests access to at least one of a microphone and a camera on the client device to capture a raw audio/video data,
wherein the capture infrastructure processes the raw audio/video data with at least one of the brand name and the product name by comparing entries in the master database with at least one of the raw audio/video data and through the application of a sensory recognition algorithm of the raw audio/video data,
wherein the content identifier is at least one of a music identification, an object identification, a facial identification, and a voice identification,
wherein a minimal functionality comprising accessing at least one of a tuner and a stream decoder that identifies at least one of a channel and a content is found in the networked media device,
wherein the networked media device produces at least one of an audio fingerprint and a video fingerprint that are communicated with the capture infrastructure,
wherein the capture infrastructure compares at least one of the audio fingerprint and the video fingerprint with a master database,
wherein the capture infrastructure annotates the audio-visual data with a logo name by comparing entries in the master database with a logo data of the audio-visual data identified using a logo detection algorithm,
wherein the capture infrastructure automatically divides the audio-visual data into a series of scenes based on a sematic grouping of actions in the audio-visual data,
wherein the audio-visual data is analyzed in advance of a broadcast to determine content identifiers associated with each commercial in the audio-visual data such that advertisements are pre-inserted into the audio-visual data prior to broadcast,
wherein the capture infrastructure applies a time-order algorithm to automatically match advertisements to the audio-visual data when a correlation pattern is identified by the capture infrastructure with other audio-visual content previously analyzed,
wherein the capture infrastructure includes a buffer that is saved to a persistent storage and for which a label is generated to facilitate identification of reoccurring sequences,
wherein a post processing operation is at least one of automated through a post-processing algorithm and a crowd-sourced operation using a plurality of users in which a turing test is applied to determine a veracity of an input,
wherein a device pairing algorithm is used in which a cookie data associated with a web page visited by the user stored on a browser on the client device is paired with the networked media device when the client device is communicatively coupled with the networked media device,
wherein a transitive public IP matching algorithm is utilized in which at least one of the client device and the networked media device communicates each public IP address with any paired entity to the capture infrastructure, and
wherein a tag that is unconstrained from a same-origin policy is used to automatically load the advertisement in the browser, wherein the tag is at least one of an image tag, a frame, a iframe, and a script tag.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
referencing an additional metadata comprising at least one of the content identifier and the advertisement based on a video processing algorithm,
wherein the additional meta data is at least one of a title, a description, a thumbnail, a name of an individual, and a historical data, and
wherein the additional metadata is determined from a browser history captured from the client device based on a capture policy, and correlating a relevance of the browser history with at least one of the content identifier and the advertisement;
constraining an executable environment in a security sandbox;
executing a sandboxed application in the executable environment using a processor and a memory;
automatically instantiating a connection between the sandboxed application and the unannounced device associated with the networked media device based on the determination that the internet protocol address of the port from the unannounced device is associated with the networked media device;
processing an identification data associated with the sandbox reachable service sharing a public address with the client device;
determining a private address pair of the sandbox reachable service based on the identification data;
establishing a communication session between the sandboxed application and the sandbox reachable service using a cross-site scripting technique of the security sandbox; and
appending a header of a hypertext transfer protocol to permit the networked media device to communicate with the sandboxed application as a permitted origin domain through a Cross-origin resource sharing (CORS) algorithm, wherein the header is either one of a origin header when the CORS algorithm is applied and a referrer header in an alternate algorithm,
wherein the sandboxed application queries a MAC address of the sandbox reachable service in a common private network,
wherein the sandbox reachable service optionally verifies that the sandboxed application is in the common private network,
wherein the sandbox reachable service communications a MAC address of the sandboxed application to the sandboxed application when the common private network is shared,
wherein the sandboxed application stores the MAC address of the sandboxed application and a unique identifier derived from the MAC address of the sandboxed application,
wherein the sandboxed application communicates the MAC address and the unique identifier to the pairing server, and
automatically regenerating a script embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform when the common private network is shared by the sandboxed application and sandboxed application based on the MAC address of the sandboxed application and the unique identifier communicated to the pairing server.

### Claim 4 (depends on 3)

The method of claim 3 further comprising:
accessing a pairing server when processing the identification data associated with the sandbox reachable service sharing the public address with the client device,
wherein the pairing server performs a discovery lookup of any device that has announced that it shares the public address associated with the client device, and
wherein the sandbox reachable service announces itself to the pairing server prior to the establishment of the communication session between the sandboxed application and the sandbox reachable service.

### Claim 5 (depends on 4)

The method of claim 4 further comprising at least one of:
wherein the sandbox reachable service announces an availability of the sandbox reachable service across a range of public addresses such that the sandboxed application communicates with the sandbox reachable service in any one of the range of the public addresses,
wherein the range of public addresses is known by the pairing server so that the announcement of the availability of the sandbox reachable service across the range of public addresses is unnecessary,
wherein the sandbox reachable service communicates at least one of a global unique identifier and an alphanumeric name to the pairing server along with the private address pair of the sandbox reachable service, and
wherein the private address pair includes a private IP address and a port number associated with the sandbox reachable service.

### Claim 6 (depends on 3)

The method of claim 3 further comprising:
eliminating a communication through a centralized infrastructure when the sandboxed application and the sandbox reachable service communicate in a shared network common to the client device and the networked media device when the connection is established, wherein the shared network is at least one of the local area network, a multicast network, an anycast network, and a multilan network;
minimizing a latency in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked media device when the connection is established; and
improving privacy in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked media device when the connection is established.

### Claim 7 (depends on 3)

The method of claim 3 further comprising:
wherein the sandboxed application is at least one of a web page, a script, a binary executable, an intermediate bytecode, an abstract syntax tree, and an executable application in the security sandbox,
wherein the sandboxed application comprises at least one of a markup language application such as a HyperText Markup Language 5 (HTML5) application, a Javascript® application, an Adobe® Flash® application, a Microsoft® Silverlight® application, a JQuery® application, and an Asynchronous Javascript® and a XML (AJAX) application, and
wherein an access control algorithm governs a policy through which a secondary authentication is required when establishing a communication between the sandboxed application and the networked media device.

### Claim 8 (depends on 7)

The method of claim 7 further comprising:
utilizing an exception to a same origin policy through a use of at least one of a hyperlink, a form, the script, a frame, a header, and an image when establishing the connection between the sandboxed application and the sandbox reachable service.

### Claim 9 (depends on 3)

The method of claim 3 further comprising:
extending the security sandbox with a discovery algorithm and a relay algorithm through a discovery module and a relay module added to the security sandbox; and
bypassing a pairing server having the discovery algorithm and the relay algorithm when establishing the connection between the sandboxed application and the sandbox reachable service when the security sandbox is extended with the discovery algorithm and the relay algorithm through the discovery module and the relay module added to the security sandbox.

### Claim 10 (depends on 9)

The method of claim 9 further comprising:
applying the discovery algorithm of the security sandbox to determine that the networked media device having the sandbox reachable service communicates in a shared network common to the client device and the networked media device; and
applying the relay algorithm of the security sandbox to establish the connection between the sandboxed application and the sandbox reachable service of the networked media device.

### Claim 11 (depends on 10)

The method of claim 10:
wherein the discovery algorithm utilizes a protocol comprising at least one of a Bonjour® protocol, a SSDP protocol, a LSD uTorrent® protocol, a multicast protocol, an anycast protocol, and another Local Area Network (LAN) based protocol that discovers services in a LAN based on a broadcast from any one of an operating system service, the security sandbox, the client device, the sandbox reachable service, and the networked media device.

### Claim 12 (depends on 3)

The method of claim 3:
wherein a cookie associated with the security sandbox is used to store a remote access token on a storage of the client device,
wherein the remote access token identifies at least one of a set of communicable private Internet Protocol (IP) addresses and hardware addresses associated with sandbox reachable services that previously operated on a common shared network with the client device, and
wherein the client device can communicate with the sandbox reachable services that previously operated on the common shared network through the remote access token.

### Claim 13 (depends on 3)

The method of claim 3:
wherein the client device and the networked media device reside on networks that are incommunicable with each other comprising at least one of a firewall separation, a different network separation, a physical separation, an unreachable connection separation, and
wherein the sandboxed application of the security sandbox of the client device and the sandbox reachable service of the networked media device communicate with each other through a relay service employed by a pairing server having a discovery module and a relay module to facilitate a trusted communication between the sandboxed application and the sandbox reachable service.

### Claim 14 (depends on 13)

The method of claim 13:
wherein the trusted communication is facilitated in a manner such that the sandboxed application never learns at least one of a private IP address and a hardware address of the networked media device when:
a first Network Address Translator (NAT) device coupled with a network on which the client device operates to receive communications from a public IP address of a different network on which the sandbox reachable service operates, and
wherein a second NAT device coupled with the different network on which the networked media device operates to translate the private IP address of the networked media device to the public IP address visible to the sandboxed application.

### Claim 15 (depends on 14)

The method of claim 14:
wherein the networked media device comprises a plurality of sandbox reachable applications including the sandbox reachable application, and wherein a service agent module of the networked media device coordinates communications with the discovery module of at least one of the security sandbox and the pairing server,
wherein the security sandbox is at least one of an operating system on which the sandboxed application is hosted and a browser application of the operating system, and
wherein the networked media device is at least one of a television, a projection screen, a multimedia display, a touchscreen display, an audio device, and a multidimensional visual presentation device.

### Claim 16 (depends on 15)

The method of claim 15 further comprising:
utilizing at least one of a WebSocket and a long polling service message query interface to reduce a latency of message delivery during the trusted communication between the sandboxed application and the sandbox reachable service; and
optimizing a polling period between polling such that it is less than a timeout period of a session through the relay service.

### Claim 17 (depends on 16)

The method of claim 16 further comprising:
initiating the relay service through at least one of a series of web pages where information is communicated using hyperlinks that point at the pairing server, and a form having a confirmation dialog that is submitted back to the pairing server, and
wherein a global unique identifier is masked through the pairing server when the confirmation dialog is served from the pairing server.

### Claim 18

A method of a networked device comprising:
applying an automatic content recognition algorithm to determine a content identifier of an audio-visual data; and
associating the content identifier with an advertisement data based on a semantic correlation between a meta-data of the advertisement provided by a content provider and the content identifier,
wherein advertisement targeting is improved when a script is embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform, to execute arbitrary cross-site scripts in the sandboxed application of the client device,
wherein the content identifier is obfuscated in a manner that it is relevant to a particular demand-side platform to eliminate a need to query the provider of the content identifier on a per ad-spot basis, and
wherein the demand-side platform to submit requests to the advertising exchange based on a constraint type rather than through a bidding methodology on a per advertisement spot basis.

### Claim 19 (depends on 18)

The method of claim 18 further comprising at least one of the following clauses:
wherein the advertisement data is generated through an advertising exchange server based on the content identifier of the audio-visual data and a public internet-protocol address associated with an application requesting the advertisement data.
wherein a provider of the content identifier receives a compensation when the advertisement data is associated with the audio-visual data based on the public internet protocol address associated with the application requesting the advertisement data,
wherein the provider of the content appends at least one of a set of content identifiers from associated clients and a viewing history from associated clients to a plurality of advertisements and resells the advertisement data back to the advertising exchange based on the appended content identifiers,
wherein a capture infrastructure annotates the audio-visual data with at least one of a brand name and a product name by comparing entries in the master database with at least one of a closed captioning data of the audio-visual data and through an application of an optical character recognition algorithm in the audio-visual data,
wherein a sandboxed application of the client device requests access to at least one of a microphone and a camera on the client device to capture a raw audio/video data,
wherein the capture infrastructure processes the raw audio/video data with at least one of the brand name and the product name by comparing entries in the master database with at least one of the raw audio/video data and through the application of a sensory recognition algorithm of the raw audio/video data,
wherein the content identifier is at least one of a music identification, an object identification, a facial identification, and a voice identification,
wherein a minimal functionality comprising accessing at least one of a tuner and a stream decoder that identifies at least one of a channel and a content is found in the networked device,
wherein the networked device produces at least one of an audio fingerprint and a video fingerprint that are communicated with the capture infrastructure,
wherein the capture infrastructure compares at least one of the audio fingerprint and the video fingerprint with a master database,
wherein the capture infrastructure annotates the audio-visual data with a logo name by comparing entries in the master database with a logo data of the audio-visual data identified using a logo detection algorithm,
wherein the capture infrastructure automatically divides the audio-visual data into a series of scenes based on a sematic grouping of actions in the audio-visual data,
wherein the audio-visual data is analyzed in advance of a broadcast to determine content identifiers associated with each commercial in the audio-visual data such that advertisements are pre-inserted into the audio-visual data prior to broadcast,
wherein the capture infrastructure applies a time-order algorithm to automatically match advertisements to the audio-visual data when a correlation pattern is identified by the capture infrastructure with other audio-visual content previously analyzed,
wherein the capture infrastructure includes a buffer that is saved to a persistent storage and for which a label is generated to facilitate identification of reoccurring sequences,
wherein a post processing operation is at least one of automated through a post-processing algorithm and a crowd-sourced operation using a plurality of users in which a turing test is applied to determine a veracity of an input,
wherein a device pairing algorithm is used in which a cookie data associated with a web page visited by the user stored on a browser on a client device is paired with the networked device when the client device is communicatively coupled with the networked device,
wherein a transitive public IP matching algorithm is utilized in which at least one of the client device and the networked device communicates each public IP address with any paired entity to the capture infrastructure,
wherein a tag that is unconstrained from a same-origin policy is used to automatically load the advertisement in the browser, wherein the tag is at least one of an image tag, a frame, a iframe, and a script tag.

### Claim 20 (depends on 19)

The method of claim 19 further comprising:
accessing a pairing server when processing an identification data associated with a sandbox reachable service of the networked device that shares a public address with a client device,
wherein the pairing server performs a discovery lookup of any device that has announced that it shares the public address associated with the client device, and
wherein the sandbox reachable service announces itself to the pairing server prior to the establishment of the communication session between the sandboxed application and the sandbox reachable service.
appending a header of a hypertext transfer protocol to permit the networked device to communicate with the sandboxed application as a permitted origin domain through a Cross-origin resource sharing (CORS) algorithm, wherein the header is either one of a origin header when the CORS algorithm is applied and a referrer header in an alternate algorithm, and
wherein the client device to operate in at least one manner such that the client device:
to process an identification data associated with the sandbox reachable service sharing a public address with the client device;
to determine a private address pair of the sandbox reachable service based on the identification data; and
to establish a communication session between the sandboxed application and the sandbox reachable service using a cross-site scripting technique of a security sandbox,
wherein the sandboxed application queries a MAC address of the sandbox reachable service in a common private network,
wherein the sandbox reachable service optionally verifies that the sandboxed application is in the common private network,
wherein the sandbox reachable service communications a MAC address of the sandboxed application to the sandboxed application when the common private network is shared,
wherein the sandboxed application stores the MAC address of the sandboxed application and a unique identifier derived from the MAC address of the sandboxed application,
wherein the sandboxed application communicates the MAC address and the unique identifier to the pairing server, and
automatically regenerating a script embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform when the common private network is shared by the sandboxed application and sandboxed application based on the MAC address of the sandboxed application and the unique identifier communicated to the pairing server.

### Claim 21 (depends on 20)

The method of claim 20 wherein the client device:
to access a pairing server when processing the identification data associated with the sandbox reachable service sharing the public address with the client device,
wherein the pairing server performs a discovery lookup of any devices that have announced that they share the public address associated with the client device, and
wherein the sandbox reachable service announces itself to the pairing server prior to the establishment of the communication session between the sandboxed application and the sandbox reachable service.

### Claim 22 (depends on 21)

The method of claim 21 further comprising at least one of:
announcing an availability of the sandbox reachable service across a range of public addresses such that the sandboxed application communicates with the sandbox reachable service in any one of the range of the public addresses; and
communicating at least one of a global unique identifier, a hardware address, and an alphanumeric name to the pairing server along with the private address pair of the sandbox reachable service, and
wherein the private address pair includes a private IP address and a port number associated with the sandbox reachable service.

### Claim 23 (depends on 21)

The method of claim 21 further comprising:
eliminating a communication through a centralized infrastructure when the sandboxed application and the sandbox reachable service communicate in a shared network common to the client device and the networked device when the communication is established, wherein the shared network is at least one of a local area network, a multicast network, an anycast network, and a multilan network;
minimizing a latency in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked device when the communication is established; and
improving privacy in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked device when the communication is established.

### Claim 24 (depends on 20)

The method of claim 20:
wherein the sandboxed application is at least one of a web page, a script, a binary executable, an intermediate bytecode, an abstract syntax tree, and an executable application in a security sandbox,
wherein the sandboxed application comprises at least one of a markup language application such as a HyperText Markup Language 5 (HTML5) application, a Javascript® application, an Adobe® Flash® application, a Microsoft® Silverlight® application, a JQuery® application, and an Asynchronous Javascript® and a XML (AJAX) application, and
wherein an access control algorithm governs a policy through which a secondary authentication is required when establishing a communication between the sandboxed application and the networked device.

### Claim 25 (depends on 24)

The method of claim 24 wherein the client device:
to utilize an exception to a same origin policy through a use of at least one of a hyperlink, a form, the script, a frame, a header, and an image when establishing the communication between the sandboxed application and the sandbox reachable service.

### Claim 26 (depends on 20)

The method of claim 20 wherein the client device:
to extend a security sandbox with a discovery algorithm and a relay algorithm through the discovery module and the relay module added to the security sandbox; and
to bypass a pairing server having the discovery algorithm and the relay algorithm when establishing the communication between the sandboxed application and the sandbox reachable service when the security is extended with the discovery algorithm and the relay algorithm through the discovery module and the relay module added to the security sandbox.

### Claim 27 (depends on 26)

The method of claim 26 wherein the client device:
to apply the discovery algorithm of the security sandbox to determine that the networked device having the sandbox reachable service communicates in a shared network common to the client device and the networked device; and
to apply the relay algorithm of the security sandbox to establish the communication between the sandboxed application and the sandbox reachable service of the networked device.

### Claim 28 (depends on 27)

The method of claim 27:
wherein the discovery algorithm utilizes a protocol comprising at least one of a Bonjour® protocol, a SSDP protocol, a LSD uTorrent® protocol, a multicast protocol, an anycast protocol, and another Local Area Network (LAN) based protocol that discovers services in a LAN based on a broadcast from any one of an operating system service, the security sandbox, the client device, the sandbox reachable service, and the networked device.

### Claim 29 (depends on 28)

The method of claim 28:
wherein a cookie associated with the security sandbox is used to store a remote access token on a storage of the client device,
wherein the remote access token identifies at least one of a set of communicable private Internet Protocol (IP) addresses and hardware addresses associated with sandbox reachable services that previously operated on a common shared network with the client device, and
wherein the client device can communicate with the sandbox reachable services that previously operated on the common shared network through the remote access token.

### Claim 30 (depends on 29)

The method of claim 29:
wherein the client device and the networked device reside on networks that are incommunicable with each other comprising at least one of a firewall separation, a different network separation, a physical separation, an unreachable connection separation, and
wherein the sandboxed application of the security sandbox of the client device and the sandbox reachable service of the networked device communicate with each other through a relay service employed by the pairing server having the discovery module and the relay module to facilitate a trusted communication between the sandboxed application and the sandbox reachable service.

### Claim 31 (depends on 30)

The method of claim 30:
wherein the trusted communication is facilitated in a manner such that the sandboxed application never learns at least one of a private IP address and a hardware address of the networked device when:
a first Network Address Translator (NAT) device coupled with a network on which the client device operates to receives communications from a public IP address of a different network on which the sandbox reachable service operates, and
wherein a second NAT device coupled with the different network on which the networked device operates to translates the private IP address of the networked device to the public IP address visible to the sandboxed application.

### Claim 32 (depends on 31)

The method of claim 31:
wherein the networked device comprises a plurality of sandbox reachable applications including the sandbox reachable application, and wherein a service agent module of the networked device coordinates communications with the discovery module of at least one of the security sandbox and the pairing server,
wherein the security sandbox is at least one of an operating system on which the sandboxed application is hosted and a browser application of the operating system, and
wherein the networked device is at least one of a television, a projection screen, a multimedia display, a touchscreen display, an audio device, a weather measurement device, a traffic monitoring device, a status update device, a global positioning device, a geospatial estimation device, a tracking device, a bidirectional communication device, a unicast device, a broadcast device, and a multidimensional visual presentation device.

### Claim 33 (depends on 32)

The method of claim 32 wherein the client device:
to utilize at least one of a WebSocket and a long polling service message query interface to reduce a latency of message delivery during the trusted communication between the sandboxed application and the sandbox reachable service; and
to optimize a polling period between polling such that it is less than a timeout period of a session through the relay service.

### Claim 34 (depends on 33)

The method of claim 33 wherein the client device:
to initiate the relay service through at least one of a series of web pages where information is communicated using hyperlinks that point at the pairing server, and a form having a confirmation dialog that is submitted back to the pairing server, and
wherein a global unique identifier is masked through the pairing server when the confirmation dialog is served from the pairing server.

### Claim 35

A system comprising:
a networked device and a client device to apply an automatic content recognition algorithm to determine a content identifier of an audio-visual data and to associate the content identifier with an advertisement data based on a semantic correlation between a meta-data of the advertisement provided by a content provider and the content identifier;
a capture infrastructure to annotate the audio-visual data with at least one of a brand name and a product name by comparing entries in the master database with at least one of a closed captioning data of the audio-visual data and through an application of an optical character recognition algorithm in the audio-visual data; and
an advertising exchange server to generate an advertisement based on the content identifier of the audio-visual data and a public internet-protocol address associated with an application requesting the advertisement data, and
wherein advertisement targeting is improved when a script is embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform, to execute arbitrary cross-site scripts in the sandboxed application of the client device,
wherein the content identifier is obfuscated in a manner that it is relevant to a particular demand-side platform to eliminate a need to query the provider of the content identifier on a per ad-spot basis, and
wherein the demand-side platform to submit requests to the advertising exchange based on a constraint type rather than through a bidding methodology on a per advertisement spot basis.

### Claim 36 (depends on 35)

The system of claim 35 further comprising at least one of the following clauses:
wherein a provider of the content identifier receives a compensation when the advertisement data is associated with the audio-visual data based on the public internet protocol address associated with the application requesting the advertisement data,
wherein the provider of the content appends at least one of a set of content identifiers from associated clients and a viewing history from associated clients to a plurality of advertisements and resells the advertisement data back to the advertising exchange based on the appended content identifiers,
wherein a capture infrastructure annotates the audio-visual data with at least one of a brand name and a product name by comparing entries in the master database with at least one of a closed captioning data of the audio-visual data and through an application of an optical character recognition algorithm in the audio-visual data,
wherein a sandboxed application of the client device requests access to at least one of a microphone and a camera on the client device to capture a raw audio/video data,
wherein the capture infrastructure processes the raw audio/video data with at least one of the brand name and the product name by comparing entries in the master database with at least one of the raw audio/video data and through the application of a sensory recognition algorithm of the raw audio/video data,
wherein the content identifier is at least one of a music identification, an object identification, a facial identification, and a voice identification,
wherein a minimal functionality comprising accessing at least one of a tuner and a stream decoder that identifies at least one of a channel and a content is found in the networked media device,
wherein the networked media device produces at least one of an audio fingerprint and a video fingerprint that are communicated with a capture infrastructure,
wherein the capture infrastructure compares at least one of the audio fingerprint and the video fingerprint with a master database,
wherein the capture infrastructure annotates the audio-visual data with a logo name by comparing entries in the master database with a logo data of the audio-visual data identified using a logo detection algorithm,
wherein the capture infrastructure automatically divides the audio-visual data into a series of scenes based on a sematic grouping of actions in the audio-visual data,
wherein the audio-visual data is analyzed in advance of a broadcast to determine content identifiers associated with each commercial in the audio-visual data such that advertisements are pre-inserted into the audio-visual data prior to broadcast,
wherein the capture infrastructure applies a time-order algorithm to automatically match advertisements to the audio-visual data when a correlation pattern is identified by the capture infrastructure with other audio-visual content previously analyzed,
wherein the capture infrastructure includes a buffer that is saved to a persistent storage and for which a label is generated to facilitate identification of reoccurring sequences,
wherein a post processing operation is at least one of automated through a post-processing algorithm and a crowd-sourced operation using a plurality of users in which a turing test is applied to determine a veracity of an input,
wherein a device pairing algorithm is used in which a cookie data associated with a web page visited by the user stored on a browser on the client device is paired with the networked media device when the client device is communicatively coupled with the networked media device,
wherein a transitive public IP matching algorithm is utilized in which at least one of the client device and the networked media device communicates each public IP address with any paired entity to the capture infrastructure, and
wherein a tag that is unconstrained from a same-origin policy is used to automatically load the advertisement in the browser, wherein the tag is at least one of an image tag, a frame, a iframe, and a script tag.

### Claim 37 (depends on 36)

The system of claim 36:
wherein the communication session is established by appending a header of a hypertext transfer protocol to permit the networked device to communicate with the sandboxed application as a permitted origin domain through a Cross-origin resource sharing (CORS) algorithm, wherein the header is either one of a origin header when the CORS algorithm is applied and a referrer header in an alternate algorithm,
wherein the sandboxed application queries a MAC address of the sandbox reachable service in a common private network,
wherein the sandbox reachable service optionally verifies that the sandboxed application is in the common private network,
wherein the sandbox reachable service communications a MAC address of the sandboxed application to the sandboxed application when the common private network is shared,
wherein the sandboxed application stores the MAC address of the sandboxed application and a unique identifier derived from the MAC address of the sandboxed application,
wherein the sandboxed application communicates the MAC address and the unique identifier to the pairing server, and
automatically regenerating a script embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform when the common private network is shared by the sandboxed application and sandboxed application based on the MAC address of the sandboxed application and the unique identifier communicated to the pairing server.

### Claim 38 (depends on 36)

The system of claim 36 wherein the client device:
to access a pairing server when processing the identification data associated with the sandbox reachable service sharing the public address with the client device,
wherein the pairing server performs a discovery lookup of any device that have announced that they share the public address associated with the client device, and
wherein the sandbox reachable service announces itself to the pairing server prior to the establishment of the communication session between the sandboxed application and the sandbox reachable service.

### Claim 39 (depends on 38)

The system of claim 38 wherein the networked device to at least one of:
announce a sandbox reachable service of the networked device to a discovery module using a processor and memory,
announce an availability of the sandbox reachable service across a range of public addresses such that the sandboxed application communicates with the sandbox reachable service in any one of the range of the public addresses,
communicate at least one of a global unique identifier and an alphanumeric name to the pairing server along with at least one of a hardware address associated with the networked device, a public address pair associated with a sandbox reachable service of the networked device, and a private address pair associated with the sandbox reachable service of the networked device, and
wherein the private address pair includes a private IP address and a port number associated with the sandbox reachable service.

### Claim 40 (depends on 39)

The system of claim 39 wherein the client device:
to eliminate a communication through a centralized infrastructure when the sandboxed application and the sandbox reachable service communicate in a shared network common to the client device and the networked device when the connection is established, wherein the shared network is at least one of a local area network, a multicast network, an anycast network, and a multilan network;
to minimize a latency in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked device when the connection is established; and
to improve privacy in the communication session when the sandboxed application and the sandbox reachable service communicate in the shared network common to the client device and the networked device when the connection is established.

### Claim 41 (depends on 36)

The system of claim 36:
wherein the sandboxed application is at least one of a web page, a script, a binary executable, an intermediate bytecode, an abstract syntax tree, and an executable application in the security sandbox,
wherein the sandboxed application comprises at least one of a markup language application such as a HyperText Markup Language 5 (HTML5) application, a Javascript® application, an Adobe® Flash® application, a Microsoft® Silverlight® application, a JQuery® application, and an Asynchronous Javascript® and a XML (AJAX) application, and
wherein an access control algorithm governs a policy through which a secondary authentication is required when establishing a communication between the sandboxed application and the networked device.

### Claim 42 (depends on 41)

The system of claim 41 wherein the client device:
to utilize an exception to a same origin policy through a use of at least one of a hyperlink, a form, the script, a frame, a header, and an image when establishing the connection between the sandboxed application and the sandbox reachable service.

### Claim 43 (depends on 36)

The system of claim 36 wherein the client device:
to extend the security sandbox with a discovery algorithm and a relay algorithm through the discovery module and a relay module added to the security sandbox, and
to bypass a pairing server having the discovery algorithm and the relay algorithm when establishing the connection between the sandboxed application and the sandbox reachable service when the security is extended with the discovery algorithm and the relay algorithm through the discovery module and the relay module added to the security sandbox.

### Claim 44 (depends on 43)

The system of claim 43 wherein the client device:
to apply the discovery algorithm of the security sandbox to determine that the networked device having the sandbox reachable service communicates in a shared network common to the client device and the networked device, and
to apply the relay algorithm of the security sandbox to establish the connection between the sandboxed application and the sandbox reachable service of the networked device.

### Claim 45 (depends on 44)

The system of claim 44:
wherein the discovery algorithm utilizes a protocol comprising at least one of a Bonjour® protocol, a SSDP protocol, a LSD uTorrent® protocol, a multicast protocol, an anycast protocol, and another Local Area Network (LAN) based protocol that discovers services in a LAN based on a broadcast from any one of an operating system service, the security sandbox, the client device, the sandbox reachable service, and the networked device.

### Claim 46 (depends on 45)

The system of claim 45:
wherein a cookie associated with the security sandbox is used to store a remote access token on a storage of the client device,
wherein the remote access token identifies at least one of a set of communicable private Internet Protocol (IP) addresses and hardware addresses associated with sandbox reachable services that previously operated on a common shared network with the client device, and
wherein the client device can communicate with the sandbox reachable services that previously operated on the common shared network through the remote access token.

### Claim 47 (depends on 46)

The system of claim 46:
wherein the client device and the networked device reside on networks that are incommunicable with each other comprising at least one of a firewall separation, a different network separation, a physical separation, an unreachable connection separation, and
wherein the sandboxed application of the security sandbox of the client device and the sandbox reachable service of the networked device communicate with each other through a relay service employed by the pairing server having the discovery module and the relay module to facilitate a trusted communication between the sandboxed application and the sandbox reachable service.

### Claim 48 (depends on 47)

The system of claim 47:
wherein the trusted communication is facilitated in a manner such that the sandboxed application never learns at least one of a private IP address and a hardware address of the networked device when:
a first Network Address Translator (NAT) device coupled with a network on which the client device operates to receives communications from a public IP address of a different network on which the sandbox reachable service operates, and
wherein a second NAT device coupled with the different network on which the networked device operates to translates the private IP address of the networked device to the public IP address visible to the sandboxed application.

### Claim 49 (depends on 48)

The system of claim 48:
wherein the networked device comprises a plurality of sandbox reachable applications including the sandbox reachable application, and wherein a service agent module of the networked device coordinates communications with the discovery module of at least one of the security sandbox and the pairing server,
wherein the security sandbox is at least one of an operating system on which the sandboxed application is hosted and a browser application of the operating system, and
wherein the networked device is at least one of a television, a projection screen, a multimedia display, a touchscreen display, an audio device, a weather measurement device, a traffic monitoring device, a status update device, a global positioning device, a geospatial estimation device, a tracking device, a bidirectional communication device, a unicast device, a broadcast device, and a multidimensional visual presentation device.

### Claim 50 (depends on 49)

The system of claim 49 wherein the client device:
to utilize at least one of a WebSocket and a long polling service message query interface to reduce a latency of message delivery during the trusted communication between the sandboxed application and the sandbox reachable service, and
to optimize a polling period between polling such that it is less than a timeout period of a session through the relay service.

### Claim 51 (depends on 50)

The system of claim 50 wherein the client device:
to initiate the relay service through at least one of a series of web pages where information is communicated using hyperlinks that point at the pairing server, and a form having a confirmation dialog that is submitted back to the pairing server, and
wherein a global unique identifier is masked through the pairing server when the confirmation dialog is served from the pairing server.
