# US 2008/0306971 A1 · Method and apparatus to bind media with metadata using standard metadata headers

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

- Number: US 2008/0306971 A1
- Document ID: US20080306971A1
- Status: Published application
- Kind: A1
- Application number: 11/759,701
- Filed: 2007-06-07
- Published: 2008-12-11
- Earliest claimed: 2007-06-07
- Assignees: Motorola, Inc.
- Inventors: ALFONSO MARTINEZ SMITH; ERIC P. GREBNER
- Web page: https://patentgrep.com/patent/US20080306971A1

## CPC

- H04N 7/163: {by receiver means only}
- H04N 1/32128: {attached to the image data, e.g. file header, transmitted message header, information on the same page or in the same computer file as the image (for information embedded in the image H04N1/32144)}
- H04N 21/2343: involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements {(video transcoding H04N19/40; media packet handling at the source H04L65/762)}
- H04N 21/2353: {specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata}
- H04N 21/8153: {comprising still images, e.g. texture, background image}
- H04N 21/85406: {involving a specific file format, e.g. MP4 format}
- H04N 2201/3225: of data relating to an image, a page or a document
- H04N 2201/3283: Compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for embedding metadata into a media file (100) comprises providing (204) a metadata schema file (204) and a metadata instance file (206). Providing a media file having a binary capable user field. Then compressing (208) the metadata schema by a first compression method; and assembling (210) the compressed metadata schema fragments. Also, compressing (212) the metadata instance file and assembling (210) the compressed metadata instance fragments. Setting a media file header (214) or footer to indicate binary data payload. The method further comprises appending (216) a data start label to the assembled metadata schema and the assembled metadata instance and inserting (218) the assembled metadata schema and the metadata instance into the binary capable user field of the media file.

## Claims

### Claim 1

A method comprising:
providing a metadata schema file and a metadata instance file;
providing a media file having a binary capable user field;
compressing the metadata schema by a first compression method;
assembling the compressed metadata schema fragments;
compressing the metadata instance file;
assembling the compressed metadata instance fragments;
setting a media file header to indicate binary data payload;
appending a data start file indicator to the assembled metadata schema and the assembled metadata instance; and
inserting the assembled metadata schema and the metadata instance into the binary capable user field of the media file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, inserting other binary data, not associated with the metadata into the UserComment field of the media file.

### Claim 3 (depends on 1)

The method of claim 1, wherein the media file has an EXIF header.

### Claim 4 (depends on 3)

The method of claim 3, further comprising inserting the assembled metadata schema and the metadata instance into a UserComment field of the EXIF header.

### Claim 5 (depends on 1)

The method of claim 1, wherein the media file is an MPEG 1 Layer III (MP3) file including at least one of an ID3 header or an ID3 footer.

### Claim 6 (depends on 1)

The method of claim 1, wherein the media file is a JPEG file.

### Claim 7 (depends on 1)

The method of claim 1 further comprising appending after the metadata instance a data end file indicator.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
providing an extensible markup language (XML) schema and XML instance data as corresponds to an XML document;
processing the XML schema apart from the XML instance data to provide resultant compressed XML schema data;
processing the XML instance data to provide a corresponding XML instance table; and
compressing the XML instance table to provide a resultant compressed XML instance table.

### Claim 9 (depends on 8)

The method of claim 8 wherein the XML instance table comprises at least one node code with corresponding node instance path information and node value information.

### Claim 10 (depends on 9)

The method of claim 9 wherein compressing the XML instance table further comprises compressing a representation of the XML instance data.

### Claim 11 (depends on 10)

The method of claim 10 wherein the at least one node code comprises a plurality of node codes wherein the plurality of node codes are differentially coded prior to being compressed.

### Claim 12 (depends on 10)

The method of claim 10 wherein compressing a representation of the XML instance data comprises compressing node instance path information using a first compression technique and compressing node value information using a second compression technique with the first compression technique being different than the second compression technique.

### Claim 13 (depends on 12)

The method of claim 12 wherein at least one of the first compression technique and the second compression technique is selected from a plurality of available compression techniques based at least in part on a quantity of information to be compressed.
