# US 10,872,202 B2 · Generating style sheets during runtime

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

- Number: US 10,872,202 B2
- Document ID: US10872202B2
- Status: Granted
- Kind: B2
- Application number: 16/512,318
- Filed: 2019-07-15
- Published: 2019-11-07
- Granted: 2020-12-22
- Earliest claimed: 2015-10-23
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Young Liu
- Web page: https://patentgrep.com/patent/US10872202B2

## CPC

- G06F 16/9574: {of access to content, e.g. by caching}
- G06F 40/117: Tagging; Marking up (details of markup languages G06F40/143); Designating a block; Setting of attributes (style sheets, e.g. eXtensible Stylesheet Language Transformation [XSLT], G06F40/154)
- G06F 40/197: Version control (for software G06F8/71)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Style sheets for resources are generated during runtime. Style sheets may be generated using current values for attributes of a resource. A new style sheet may be generated, at runtime, after a request for the resource has been received. The resource is modified to reference the new style sheet and the modified resource is transmitted to the client device. The new style sheet is transmitted to the client device in response to another request, from the client device, for the new style sheet identified in the modified resource.

## Claims

### Claim 1

A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
determining that a last-generated style sheet corresponding to a particular resource is outdated; and
responsive to the determining operation:
generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.

### Claim 2 (depends on 1)

The medium of claim 1, further comprises identifying the last-generated style sheet by analyzing the particular resource.

### Claim 3 (depends on 1)

The medium of claim 1, further comprises identifying the last-generated style sheet using a resource to style sheet mapping.

### Claim 4 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises determining if a value for at least one resource attribute in the last-generated style sheet does not match a current value for the at least one resource attribute in a dataset comprising current values.

### Claim 5 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises determining if a value for at least one resource attribute in the last-generated style sheet does not match.

### Claim 6 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first version number, corresponding to a value for the at least one attribute, stored in association with the value and (b) a second version number, corresponding to a value for the at least one attribute, stored in association with the last-generated style sheet.

### Claim 7 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first hash value based on at least a portion of the plurality of values currently configured for the respective plurality of attributes of the particular resource with (b) a second hash value based on at least a portion of the plurality of values within the last-generated style sheet.

### Claim 8 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first time-stamp associated with receiving or storing the value for the at least one attribute with (b) a second time-stamp associated with generation of the last-generated style sheet.

### Claim 9 (depends on 1)

The medium of claim 1, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises examining a flag, metadata, or content of the last-generated style sheet that indicates whether the last-generated style sheet is outdated.

### Claim 10 (depends on 1)

The medium of claim 1, further comprising modifying the particular resource to reference the updated style sheet.

### Claim 11

A method comprising:
determining that a last-generated style sheet corresponding to a particular resource is outdated; and
responsive to the determining operation:
generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.

### Claim 12 (depends on 11)

The method of claim 11, further comprises identifying the last-generated style sheet by analyzing the particular resource.

### Claim 13 (depends on 11)

The method of claim 11, further comprises identifying the last-generated style sheet using a resource to style sheet mapping.

### Claim 14 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises determining if a value for at least one resource attribute in the last-generated style sheet does not match a current value for the at least one resource attribute in a dataset comprising current values.

### Claim 15 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises determining if a value for at least one resource attribute in the last-generated style sheet does not match.

### Claim 16 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first version number, corresponding to the value for the at least one attribute, stored in association with the value and (b) a second version number, corresponding to the value for the at least one attribute, stored in association with the last-generated style sheet.

### Claim 17 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first hash value based on at least a portion of the plurality of values currently configured for the respective plurality of attributes of the particular resource with (b) a second hash value based on at least a portion of the plurality of values within the last-generated style sheet.

### Claim 18 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises comparing (a) a first time-stamp associated with receiving or storing the value for the at least one attribute with (b) a second time-stamp associated with generation of the last-generated style sheet.

### Claim 19 (depends on 11)

The method of claim 11, wherein determining that the last-generated style sheet corresponding to the particular resource is outdated comprises examining a flag, metadata, or content of the last-generated style sheet that indicates whether the last-generated style sheet is outdated.

### Claim 20 (depends on 11)

The method of claim 11, further comprising modifying the particular resource to reference the updated style sheet.

### Claim 21

A system comprising:
at least one device including a hardware processor;
the system being configured to perform operations comprising:
determining that a last-generated style sheet corresponding to a particular resource is outdated; and
responsive to the determining operation:
generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.
