IP Library Granted Patent US 11,017,154
Granted Patent B2
US 11,017,154 · App. 16/736,562 · Granted May 25, 2021

Methods and systems for identifying styles of properties of document object model elements of an information resource

Inventors: Thomas James Worthington Long (London, GB); Willa Angel Chen (Palo Alto, CA); Nathan Peter Lucash (San Francisco, CA); Johan Land (Santa Clara, CA); Daniel William Kaemmerer (San Francisco, CA); Lingxing Yuan (Milpitas, CA)
Assignee: Google LLC
G06F40/14G06F40/103G06F40/154H04L43/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,017,154
App. No.
16/736,562
Granted
May 25, 2021
Kind
B2
Abstract

Systems and methods of automatically detecting styles of properties of DOM elements of an information resource are disclosed. A data processing system including one or more processors can identify an information resource for which to automatically detect styles of properties used to style primary content of the information resource, identify at least one DOM container that contains at least a portion of the primary content, determine, for each of one or more DOM elements included in the DOM container, styles of properties corresponding to a respective DOM element, store, in a memory, the determined styles of properties corresponding to the respective DOM elements included in the DOM container and use the stored styles of properties to modify third-party content to be inserted within the information resource.

Claims (56)

1. A method of detecting styles of properties of elements on information resources, comprising:

identifying, by one or more processors, from an information resource, a container affecting presentation of at least a portion of primary content of the information resource, the container including one or more elements;

determining, by the one or more processors, for at least one element of the one or more elements of the container, a style property defined by the at least one element that corresponds to a style property undefined by the container;

identifying, by the one or more processors, secondary content to be inserted within the primary content; and

modifying, by the one or more processors, the identified secondary content using the style property defined by the at least one element of the one or more elements included in the container.

2. The method of claim 1 , further comprising:

identifying, by the one or more processors, from a plurality of style properties of the container, the style property undefined by the container; and

determining, by the one or more processors, from the one or more elements included in the container, the at least one element that defines the style property corresponding to the style property undefined by the container; and

setting, by the one or more processors, the style property undefined by the container to the style property defined by the at least one element.

3. The method of claim 1 , further comprising:

storing, by the one or more processors onto a database for a plurality of information resources, the style property defined by the at least one element corresponding to the style property undefined by the container, the plurality of information resources each including the primary content of the information resource; and

identifying, by the one or more processors, a second information resource of the plurality of information resources to which the secondary content is to be inserted, the second information resource different from the information resource, and

wherein modifying the identified secondary content further comprises modifying the identified secondary content to be inserted into the second information resource using the style property stored for the plurality of information resources.

4. The method of claim 1 , further comprising:

determining, by the one or more processors, that a header element of the primary content of the information resource lacks any links; and

inserting, by the one or more processors, responsive to determining that the header element lacks any links, a link of one of the one or more elements included in the container identified as affecting the presentation of at least the portion of the primary content.

5. The method of claim 1 , wherein modifying the secondary content further comprises:

generating, for insertion into the primary content, a second container corresponding to the secondary content, the second container including one or more second elements included in the secondary content; and

setting a style property of at least one of the one or more second elements to the style property of the at least one element of the container.

6. The method of claim 1 , wherein modifying the secondary content further comprises:

identifying a second element of the one or more elements of the container of a same element type as a third element of the secondary content; and

setting, responsive to identifying the second element as the same element type as the third element, a style property of the second element to a style property of the third element of the secondary content.

7. The method of claim 1 , wherein determining the style property further comprises rendering the at least one element of the one or more elements in the container to determine the style property for the at least one element from the rendering.

8. The method of claim 1 , further comprising storing, by the one or more processors onto a database, an association between the style property defined by the at least one element and an identifier for the information resource; and

wherein modifying the secondary content further comprises identifying the style property to apply to the secondary content based on the association between the style property and the identifier for the information resource to which the secondary content is to be inserted.

9. The method of claim 1 , further comprising inserting, by the one or more processors, the secondary content into the primary content, responsive to modifying the secondary content using the style property defined by the at least one element.

10. The method of claim 1 , further comprising identifying, by the one or more processors, from a content publisher, the information resource for which to detect the style property based on prior insertion of content from a content provider.

11. A system for detecting styles of properties of elements on information resources, comprising:

a data processing system having one or more processors, configured to:

identify, from an information resource, a container affecting presentation of at least a portion of primary content of the information resource, the container including one or more elements;

determine, for at least one element of the one or more elements of the container, a style property defined by the at least one element that corresponds to a style property undefined by the container;

identify secondary content to be inserted within the primary content; and

modify the identified secondary content using the style property defined by the at least one element of the one or more elements included in the container.

12. The system of claim 11 , wherein the data processing system is further configured to:

identify, from a plurality of style properties of the container, the style property undefined by the container; and

determine, from the one or more elements included in the container, the at least one element that defines the style property corresponding to the style property undefined by the container; and

set the style property undefined by the container to the style property defined by the at least one element.

13. The system of claim 11 , wherein the data processing system is further configured to:

store, onto a database for a plurality of information resources, the style property defined by the at least one element corresponding to the style property undefined by the container, the plurality of information resources each including the primary content of the information resource;

identify a second information resource of the plurality of information resources to which the secondary content is to be inserted, the second information resource different from the information resource; and

modify the identified secondary content to be inserted into the second information resource using the style property stored for the plurality of information resources.

14. The system of claim 11 , wherein the data processing system is further configured to:

determine that a header element of the primary content of the information resource lacks any links; and

insert, responsive to determining that the header element lacks any links, a link of one of the one or more elements included in the container identified as affecting the presentation of at least the portion of the primary content.

15. The system of claim 11 , wherein the data processing system is further configured to:

generate, for insertion into the primary content, a second container corresponding to the secondary content, the second container including one or more second elements included in the secondary content; and

set a style property of at least one of the one or more second elements to the style property of the at least one element of the container.

16. The system of claim 11 , wherein the data processing system is further configured to:

identify a second element of the one or more elements of the container of a same element type as a third element of the secondary content; and

set, responsive to identifying the second element as the same element type as the third element, a style property of the second element to a style property of the third element of the secondary content.

17. The system of claim 11 , wherein the data processing system is further configured to rendering the at least one element of the one or more elements in the container to determine the style property for the at least one element from the rendering.

18. The system of claim 11 , wherein the data processing system is further configured to:

store, onto a database, an association between the style property defined by the at least one element and an identifier for the information resource; and

identify the style property to apply to the secondary content based on the association between the style property and the identifier for the information resource to which the secondary content is to be inserted.

19. The system of claim 11 , wherein the data processing system is further configured to insert the secondary content into the primary content, responsive to modifying the secondary content using the style property defined by the at least one element.

20. The system of claim 11 , wherein the data processing system is further configured to identify, from a content publisher, the information resource for which to detect the style property based on prior insertion of content from a content provider.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 2, 2021
From: LONG, THOMAS JAMES WORTHINGTON; CHEN, WILLA ANGEL; LUCASH, NATHAN PETER; LAND, JOHAN; KAEMMERER, DANIEL WILLIAM; YUAN, LINGXING
To: GOOGLE INC.
Reel/Frame 055118/0985 →
CHANGE OF NAME Recorded Feb 2, 2021
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 055207/0176 →
Continuity (4)
Continuation 16101079 · Aug 10, 2018
Continuation 14480089 · Sep 8, 2014
Provisional Application 62034364 · Aug 7, 2014
Related Publication 20200143106A1 · May 7, 2020