The present invention relates to a method for handling metadata by providing metadata in a first metadata structure having a first format and providing a second metadata structure having a second format. Furthermore, the present invention relates to a corresponding device for handling metadata.
Usually, metadata are stored in a local database in an individual format. Based on these database metadata, essence may be found easily.
For data exchange among a plurality of applications the Material exchange Format (MXF) is developed in the Pro-MPEG Forum (www.pro-mpeg.org). The MXF data format has many advantages. An important advantage of the MXF is that it supports metadata functionality. This means that the MXF makes it possible to interchange or store essence user data together with their associated metadata.
When applying the MXF in a local computer system, metadata can exist both in a local metadata database and each MXF file. It is impossible to realize synchronously metadata editing for metadata in the local database and metadata in MXF files. Thus, the metadata provided in the two different formats have to be edited twice.
In view of that it is the object of the present invention to provide a method and a device for handling metadata which ensure simplified editing of the metadata.
According to the present invention this object is solved by a method for handling metadata by providing metadata in a first metadata structure having a first format and providing a second metadata structure having a second format, and, furthermore, depositing link data in said second metadata structure, said link data pointing to said metadata in said first metadata structure.
Additionally, there is suggested a device for handling metadata including first data providing means for providing metadata in a first metadata structure having a first format and second data providing means for providing a second metadata structure having a second format, as well as data processing means for depositing link data in said second metadata structure, said link data pointing to said metadata in said first metadata structure.
The inventive method and device allow simply generating, editing and searching of metadata by including reference messages in corresponding metadata of different formats. Thus, synchronous and automatic editing of metadata and its mirror metadata can be realized.
Preferably, the link data include a universal unique identifier. This identifier points to specific metadata, so that data of different formats may have access to these metadata.
The first format may be the standardized MXF format and the link data in other metadata may point to the unique identifier and associated metadata of an MXF file. Thus, any metadata provided in the MXF format can be used for individual applications.
The second format may be a multi-layer-format as defined in document EP 1 387 295 A1. Such multi-layer-format provides a metadata link space for storing linking information pointing to a unique identifier and associated metadata of an MXF file.
Alternatively, the first format is a multi-layer-format and the link data in other metadata are pointing to an identifier element in the multi-layer-format. In that way, metadata of an individual multi-layer-format may be accessed to. If in this case the second format is the standardized MXF format, the link data may be stored in the associated metadata of an MXF file.
In principle, the inventive method for automatically handling metadata includes the steps of retrieving from a first storage medium first data comprising first metadata and having a first format, retrieving from the first or a different second storage medium second data having a second format, detecting that the retrieved first data have been modified, extracting link information from the first metadata, wherein the extracted link information is a reference to said second data such as a UUID, and updating the second data referenced by said link information with the modified first metadata.
Further, also the second data may contain link information comprising first link information being a reference to said first data and second link information being a reference to said first metadata within said first data, and the method may further comprise the steps of detecting, before updating the retrieved second data, that the retrieved second data have been modified, determining whether the first data or the second data have been modified later, and if the second data have been modified later, then extracting said link information from the second data, and updating the first metadata referenced by said link information.
Exemplary embodiments of the invention are described with reference to the attached drawings showing in:
The following description of exemplary embodiments of the inventive method is based on the MXF standard format and a multi-layer-format, but the method can also be used for data according to any other standard format. In order to better understand the present invention, first of all the following paragraphs demonstrate the handling of metadata in the MXF format and a multi-layer-format according to the prior art.
The Material exchange Format (MXF) is a joint effort between major industry organizations. It is an open and standardized format, a file wrapper format, independent from application, platform and network and a metadata aware file format. MXF is said to be the first standardized data format, which can pack essence with its associated metadata together. That is the very reason that many companies want to use this format.
When a user according to prior art transfers local essence into an MXF file, some database metadata associated to the essence will be packed together into the MXF file. The database metadata model or structure will be converted into an appropriate MXF metadata model. In this case, the MXF metadata is a kind of mirror metadata of the database metadata.
In another scenario, before the user stores a received MXF file into an own repository, the user may convert some significant MXF metadata into the model of local database metadata and load them into local database. In this case the database metadata is a kind of mirror of the MXF metadata.
Usually, when users edit any metadata (either in the MXF file or in the local database), it is desired that any associated mirror metadata (either in local database or in MXF file) can be edited synchronously or automatically. However, according to the prior art, this is impossible. The reason is, that after the metadata converting procedure (from database to MXF, or vice versa), there is no reference linking between the database metadata and the MXF metadata anymore. Thus, database metadata and MXF metadata can be only edited separately.
In order to enable editing of metadata and its mirror metadata synchronously or automatically, this invention provides a method to set up reference linking between database metadata and MXF metadata.
As shown in
As shown in
As shown in
When a local database metadata is converted into MXF metadata, usually it would be converted into one or more Descriptive Metadata, and encoded as KLV Metadata Set blocks of an MXF Header Metadata.
The local data base metadata of the present example shall be represented in the multi-layer-format introduced in EP 1 387 295 A1 as shown in
When an MXF metadata set is converted into the database metadata having multi-layer format, the descriptive message will be put in the MD_Load (compare arrow A0 in
The inventive linking of metadata in the multi-layer format with metadata in the MXF format will now be described in connection with
When a database metadata is converted into MXF metadata set(s), or an MXF metadata set is converted into one or more database metadata, associated reference tags are automatically generated and saved in the associated database metadata or MXF metadata set, respectively.
For database metadata in the multi-layer format, the UUID of the MXF file and the UID of the MXF metadata set will be written as a MD_Link into the Multi-layer structure of the database metadata (compare arrow A1 in
Similarly, for an MXF metadata set, a special reference item, which contains the associated database metadata UUID, will be generated in the metadata set (compare arrow A2). However, such special reference item does not yet exist in the actual MXF specification and should be created, therefore an MXF metadata set might also contain multiple reference items, which point to multiple database metadata.
If e.g. an MXF formatted file that includes MD is stored in a storage device that contains a MD handling device according to the invention, the MD handling device may automatically extract the MD from the MXF and store it in its MD database. If the device has no MD database yet, it may create one. If MD are modified in either the MXF or the database MD, e.g. a textual description relating to a file is changed, then the device may automatically update the mirror MD by copying the modified MD to the mirror MD. Therefore it uses the inventive link data to identify the mirror MD. This update may happen immediately or later, e.g. upon a specified event, like a read access to the file or similar.
In particular, the inventive device may comprise a first data providing means and a second data providing means, wherein both can provide data e.g. from the same harddisk drive (HDD), and the second data providing means retrieves data from a metadata database stored on the HDD. Further, the inventive device comprises means for detecting that first data retrieved from the first data providing means have been modified, the first data having a first format and comprising first metadata, means for extracting link information from the first metadata, wherein the link information is a reference to second metadata being stored in the metadata database, and means for updating the second metadata with the modified first metadata.
In one embodiment of the invention, also the second data contains link information comprising first link information being a reference to said first data and second link information being a reference to said first metadata within said first data, and the device further comprises means for detecting, before updating the retrieved second data, that the retrieved second data have been modified, means for determining whether the first data or the second data have been modified later, means for extracting said link information from the second data if the second data have been modified later, and means for automatically updating the first metadata referenced by said link information.
According to one aspect of the invention, a device for automatically creating metadata includes means for retrieving from a first storage medium first data in first format, the first data comprising first metadata, means for generating link information comprising first link information being a reference to said first data and second link information being a reference to said first metadata within said first data, means for converting the retrieved first metadata to second data in second format different from first format, wherein said generated link information is included in the second data, and means for storing the second data including said link information pointing to the first data and to the first metadata on the first or on a different second storage medium.
Number | Date | Country | Kind |
---|---|---|---|
04008934.4 | Apr 2004 | EP | regional |