# US 2015/0178253 A1 · Method and apparatus for outputting digital content

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

- Number: US 2015/0178253 A1
- Document ID: US20150178253A1
- Status: Published application
- Kind: A1
- Application number: 14/573,239
- Filed: 2014-12-17
- Published: 2015-06-25
- Earliest claimed: 2013-12-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Kyung-Tae KIM; Yang-Wook KIM; Hye-Rim BAE; Sun-Key LEE; Chang-Hyup JWA; Doo-Suk KANG; Chang-Ho LEE; Sae-Mee YIM; Yong-Joon JEON
- Web page: https://patentgrep.com/patent/US20150178253A1

## CPC

- G06F 40/106: Display of layout of documents; Previewing
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided comprising: retrieving a markup language file associated with a document, the markup language file including an identifier for retrieving a content item that is part of the document; parsing the markup language file into a first plurality of objects, the first plurality of objects including a first object associated with the content item; assigning a respective layout level to each one of the first plurality of objects; and outputting the document in accordance with a first layout level by: (i) retrieving the content item from a remote source in response to the layout level of the first object matching the first layout level, and (ii) rendering one or more objects from the first plurality based the one or more objects' respective layout levels matching the first layout level.

## Claims

### Claim 1

A method comprising:
retrieving, by an electronic device, a markup language file associated with a document, the markup language file including an identifier for retrieving a content item that is part of the document;
parsing the markup language file into a first plurality of objects, the first plurality of objects including a first object associated with the content item;
assigning a respective layout level to each one of the first plurality of objects; and
outputting the document in accordance with a first layout level by (i) retrieving the content item from a remote source in response to the layout level of the first object matching the first layout level, and (ii) rendering one or more objects from the first plurality based on the one or more objects' respective layout levels matching the first layout level.

### Claim 2 (depends on 1)

The method of claim 1, wherein the markup language file includes a Hyper-Text Markup Language (HTML) file and the document includes a webpage.

### Claim 3 (depends on 1)

The method of claim 1, wherein the markup language file includes a plurality of tags, and each of the first plurality of objects is associated with a different tag.

### Claim 4 (depends on 1)

The method of claim 1, wherein the content item includes at least one of an image or a script.

### Claim 5 (depends on 1)

The method of claim 1, wherein rendering one or more objects from the first plurality based on the one or more objects' respective layout levels matching the first layout level includes rendering objects from the first plurality whose respective layout levels are less than or equal to the first layout level.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
detecting an input; and
in response to the input, retrieving the content item from the remote source, and outputting the document in accordance with a second layout level, wherein the outputting of the document in accordance with the second layout level includes rendering objects from the first plurality whose respective layout levels match the second layout level.

### Claim 7 (depends on 1)

The method of claim 1, wherein assigning the respective layout level to each of the plurality of objects includes generating a first tree comprising a second plurality of nodes, each of the second plurality of nodes being associated with a different one of the first plurality of objects and including an indication of the respective layout level of the different one of the first plurality of objects.

### Claim 8 (depends on 7)

The method of claim 7, wherein the rendering includes generating a second tree based on the first tree, the second tree including only those nodes from the second plurality whose layout level matches the first layout level.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
detecting a first input in an area of a display unit of the electronic device where the document is output and displaying a user interface element for changing the layout level of the document; and
detecting a second input to the user interface element; and
changing the layout level of the document based on the second input.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first layout level is selected automatically be the electronic device based on a current location of the electronic device.

### Claim 11

An electronic device comprising a processor configured to:
retrieve a markup language file associated with a document, the markup language file including an identifier for retrieving a content item that is part of the document;
parse the markup language file into a first plurality of objects, the first plurality of objects including a first object associated with the content item;
assign a respective layout level to each one of the first plurality of objects; and
output the document in accordance with a first layout level by: (i) retrieving the content item from a remote source in response to the layout level of the first object matching the first layout level, and (ii) rendering one or more objects from the first plurality based on the one or more objects' respective layout levels matching the first layout level.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the markup language file includes a Hyper-Text Markup Language (HTML) file and the document includes a webpage.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the markup language file includes a plurality of tags, and each of the first plurality of objects is associated with a different tag.

### Claim 14 (depends on 11)

The electronic device of claim 11, wherein the content item includes at least one of an image or a script.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein rendering one or more objects from the first plurality based on the one or more objects' respective layout levels matching the first layout level includes rendering objects from the first plurality whose respective layout levels are less than or equal to the first layout level.

### Claim 16 (depends on 11)

The electronic device of claim 11, further comprising:
detecting an input; and
in response to the input, retrieving the content item from the remote source, and outputting the document in accordance with a second layout level, wherein the outputting of the document in accordance with the second layout level includes rendering objects from the first plurality whose respective layout levels match the second layout level.

### Claim 17 (depends on 11)

The electronic device of claim 11, wherein assigning the respective layout level to each of the plurality of objects includes generating a first tree comprising a second plurality of nodes, each of the second plurality of nodes being associated with a different one of the first plurality of objects and including an indication of the respective layout level of the different one of the first plurality of objects.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the rendering includes generating a second tree based on the first tree, the second tree including only those nodes from the second plurality whose layout level matches the first layout level.

### Claim 19 (depends on 11)

The electronic device of claim 11, further comprising:
detecting a first input in an area of a display unit of the electronic device where the document is output and displaying a user interface element for changing the layout level of the document; and
detecting a second input to the user interface element; and
changing the layout level of the document based on the second input.

### Claim 20 (depends on 11)

The electronic device of claim 11, wherein the first layout level is selected automatically be the electronic device based on a current location of the electronic device.

### Claim 21

A method of an electronic device, the method comprising:
receiving first data including at least part of data corresponding to digital contents in the electronic device;
determining at least one rule among a plurality of rules for an output method of the first data through a display functionally connected to the electronic device;
obtaining second data corresponding to the at least one rule on the basis of the first data; and
displaying the obtained second data on the display.

### Claim 22 (depends on 21)

The method of claim 21, wherein the displaying of the obtained second data comprises:
comparing the first data and the second data;
obtaining the second data from the first data when the second data is part of the first data according to a result of the comparison; and
receiving data of the digital contents corresponding to the remaining data for the second data when the first data is part of the second data.

### Claim 23 (depends on 21)

The method of claim 21, further comprising, when the at least one rule is changed into another rule, obtaining third data corresponding to the other rule and displaying the obtained third data.

### Claim 24

An electronic device comprising:
at least one memory configured to store data; and
at least one processor configured to execute a digital contents display module,
wherein the digital contents display module is configured to receive first data including at least part of data corresponding to digital contents in the electronic device; determine at least one rule among a plurality of rules for an output method of the first data through a display functionally connected to the electronic device; obtain second data corresponding to the at least one rule on the basis of the first data; and display the obtained second data on the display.

### Claim 25 (depends on 24)

The device of claim 24, wherein the digital contents display module compares the first data and the second data; obtains the second data from the first data when the second data is part of the first data according to a result of the comparison; and receives data of the digital contents corresponding to the remaining data for the second data when the first data is part of the second data.

### Claim 26 (depends on 24)

The device of claim 24, wherein the digital contents display module, when the at least one rule is changed into another rule, further obtains third data corresponding to the other rule and displays the obtained third data.
