# US 9,355,484 B2 · System and method of tile management

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

- Number: US 9,355,484 B2
- Document ID: US9355484B2
- Status: Granted
- Kind: B2
- Application number: 14/215,594
- Filed: 2014-03-17
- Published: 2015-09-17
- Granted: 2016-05-31
- Earliest claimed: 2014-03-17
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Alexis Allison Iskander
- Web page: https://patentgrep.com/patent/US9355484B2

## CPC

- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06F 3/041: Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06T 15/005: {General purpose rendering architectures}
- G09G 5/14: Display of multiple viewports
- G06F 2203/04101: 2.5D-digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface and also measures the distance of the input means within a short range in the Z direction, possibly with a separate measurement setup
- G06F 2203/04808: Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2210/12: Bounding box
- G09G 5/346: {for systems having a bit-mapped display memory}
- G09G 2350/00: Solving problems of bandwidth in display systems
- G09G 2360/121: using a cache memory
- G09G 2360/122: Tiling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

A device selectively loads map tiles into its memory while re-using others. As a user chooses different sections of a master map to be displayed, the device determines an intersection between the formerly and currently viewed sections. The device copies selected references to map tiles in the intersection, with some re-indexing, from an array for the formerly displayed section into an array for the newly displayed section. The view of the map might be a three-dimensional perspective view of a two-dimensional surface. The device can create bounding boxes around polygonal perimeters of the viewed areas. The bounding boxes are divided into rectangles corresponding to the tiles located on the master map. The device determines which rectangles within the bounding boxes both (a) contain portions of their respective polygons and (b) overlap each other respective to their locations on the master map. The device already stores map tiles for those rectangles.

## Claims

### Claim 1

A computer-implemented method comprising:
determining boundaries of a first bounding box around a first non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a first map section;
determining boundaries of a second bounding box around a second non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a second map section that differs from the first map section;
based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, determining a first set of map tiles that are already in a device memory of a device and that can be re-used to render at least a portion of the view of the first map section without requesting the first set of map tiles from a source external to the device memory, wherein the source external to the device memory is a server;
based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, determining a second set of map tiles that are not already in the device memory and need to be requested from the source external to the device memory in order to render at least a portion of the view of the first map section;
rendering the projection of the three-dimensional view of the first map section based at least in part on the determined first set of map tiles and the determined second set of map tiles; and
displaying the rendered projection.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining an intersection between the first bounding box and the second bounding box; and
determining the first set of map tiles based at least in part on the intersection.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
determining a first location of the first bounding box relative to a master map that contains the first map section and the second map section;
determining a second location of the second bounding box relative to the master map; and
determining the intersection based at least in part on the first location and the second location.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising:
determining the first set of map tiles to be map tiles from the master map that are both in the intersection and that contain at least a portion of the first non-rectangular polygon; and
determining the second set of map tiles to be map tiles from the master map that are not in the intersection but that contain at least a portion of the first non-rectangular polygon.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
copying references to map tiles in the first set of map tiles from an array for the second map section in the device memory to an array for the first map section in the device memory;
requesting, from the server external to the device containing the device memory, particular map tiles in the second set of map tiles;
storing, in the device memory, the particular map tiles received at the device in response to the request to the server; and
storing, in the array for the first map section, references to the particular map tiles stored in the device memory.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
determining a third set of map tiles to be map tiles from the master map that are in the first bounding box but that do not contain any portion of the first non-rectangular polygon; and
storing, in the array for the first map section, in particular array elements that correspond to the third set of map tiles, values indicating that the particular array elements do not refer to any map tiles stored in memory.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, further comprising:
after copying the references to the map tiles in the first set of map tiles from the array for the second map section to the array for the first map section, removing the references from particular array elements from which the references were copied in the array for the second map section;
after removing the references from the particular array elements, freeing portions of the device memory that contain map tiles to which array elements in the array for the second map section still refer; and
after rendering the projection of the three-dimensional view of the first map section, swapping identities of the array for the first map section and the array for the second map section.

### Claim 8

A non-transitory computer-readable storage medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
determining boundaries of a first bounding box around a first non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a first map section;
determining boundaries of a second bounding box around a second non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a second map section that differs from the first map section;
based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, determining a first set of map tiles that are already in a device memory of a device and that can be re-used to render at least a portion of the view of the first map section without requesting the first set of map tiles from a source external to the device memory, wherein the source external to the device memory is a server; and
based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, determining a second set of map tiles that are not already in the device memory and need to be requested from the source external to the device memory in order to render at least a portion of the view of the first map section.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining an intersection between the first bounding box and the second bounding box; and
determining the first set of map tiles based at least in part on the intersection.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining a first location of the first bounding box relative to a master map that contains the first map section and the second map section;
determining a second location of the second bounding box relative to the master map; and
determining the intersection based at least in part on the first location and the second location.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining the first set of map tiles to be map tiles from the master map that are both in the intersection and that contain at least a portion of the first non-rectangular polygon; and
determining the second set of map tiles to be map tiles from the master map that are not in the intersection but that contain at least a portion of the first non-rectangular polygon.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
copying references to map tiles in the first set of map tiles from an array for the second map section in the device memory to an array for the first map section in the device memory;
requesting, from the server external to the device containing the device memory, particular map tiles in the second set of map tiles;
storing, in the device memory, the particular map tiles received at the device in response to the request to the server; and
storing, in the array for the first map section, references to the particular map tiles stored in the device memory.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining a third set of map tiles to be map tiles from the master map that are in the first bounding box but that do not contain any portion of the first non-rectangular polygon; and
storing, in the array for the first map section, in particular array elements that correspond to the third set of map tiles, values indicating that the particular array elements do not refer to any map tiles stored in memory.

### Claim 14 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
after copying the references to the map tiles in the first set of map tiles from the array for the second map section to the array for the first map section, removing the references from particular array elements from which the references were copied in the array for the second map section;
after removing the references from the particular array elements, freeing portions of the device memory that contain map tiles to which array elements in the array for the second map section still refer;
rendering the projection of the three-dimensional view of the first map section based at least in part on the determined first set of map tiles and the determined second set of map tiles;
displaying the rendered projection; and
after rendering the projection of the three-dimensional view of the first map section, swapping identities of the array for the first map section and the array for the second map section.

### Claim 15

A system comprising:
one or more processors; and
a device memory storing instructions operable to cause the one or more processors to:
determine boundaries of a first bounding box around a first non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a first map section;
determine boundaries of a second bounding box around a second non-rectangular polygon that represents a perimeter of a projection of a three-dimensional view of a second map section that differs from the first map section; and
determine, based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, a first set of map tiles that are already in the device memory of a device and that can be re-used to render at least a portion of the view of the first map section without requesting the first set of map tiles from a source external to the device memory, wherein the source external to the device memory is a server; and
determine, based at least in part on the boundaries of the first bounding box and the boundaries of the second bounding box, a second set of map tiles that are not already in the device memory and need to be requested from the source external to the device memory in order to render at least a portion of the view of the first map section.

### Claim 16 (depends on 15)

The system of claim 15, wherein the device memory stores instructions operable to cause the one or more processors to:
determine an intersection between the first bounding box and the second bounding box; and
determine the first set of map tiles based at least in part on the intersection.

### Claim 17 (depends on 16)

The system of claim 16, wherein the device memory stores instructions operable to cause the one or more processors to:
determine a first location of the first bounding box relative to a master map that contains the first map section and the second map section;
determine a second location of the second bounding box relative to the master map; and
determine the intersection based at least in part on the first location and the second location.

### Claim 18 (depends on 17)

The system of claim 17, wherein the device memory stores instructions operable to cause the one or more processors to:
determine the first set of map tiles to be map tiles from the master map that are both in the intersection and that contain at least a portion of the first non-rectangular polygon; and
determine the second set of map tiles to be map tiles from the master map that are not in the intersection but that contain at least a portion of the first non-rectangular polygon.

### Claim 19 (depends on 18)

The system of claim 18, wherein the device memory stores instructions operable to cause the one or more processors to:
copy references to map tiles in the first set of map tiles from an array for the second map section in the device memory to an array for the first map section in the device memory;
request, from the server external to the device containing the device memory, particular map tiles in the second set of map tiles;
store, in the device memory, the particular map tiles received at the device in response to the request to the server; and
store, in the array for the first map section, references to the particular map tiles stored in the device memory.

### Claim 20 (depends on 19)

The system of claim 19, wherein the device memory stores instructions operable to cause the one or more processors to:
determine a third set of map tiles to be map tiles from the master map that are in the first bounding box but that do not contain any portion of the first non-rectangular polygon;
store, in the array for the first map section, in particular array elements that correspond to the third set of map tiles, values indicating that the particular array elements do not refer to any map tiles stored in memory;
remove the references from particular array elements from which the references were copied in the array for the second map section after copying the references to the map tiles in the first set of map tiles from the array for the second map section to the array for the first map section;
free portions of the device memory that contain map tiles to which array elements in the array for the second map section still refer after removing the references from the particular array elements;
render the projection of the three-dimensional view of the first map section based at least in part on the determined first set of map tiles and the determined second set of map tiles;
display the rendered projection; and
swap identities of the array for the first map section and the array for the second map section after rendering the projection of the three-dimensional view of the first map section.

### Claim 21 (depends on 4)

The computer-implemented method according to claim 4, wherein each tile of the first set of map tiles from the master map and each tile of the second set of map tiles from the master map has a unique identifier.
