The present invention is related to a query expressing apparatus and method for searching multimedia data; and, more particularly, to a query expressing apparatus and method that can re-use a designated region and express diverse queries in a Moving Picture Experts Group (MPEG) 7 query format for searching multimedia data by using field types to express the queries.
Searching content-based multimedia data in diverse multimedia environments requires a method of efficiently expressing multimedia contents, and to express diverse data included in a multimedia content, a systematic expression scheme is required.
To fulfill the above requirements, Moving Picture Experts Group (MPEG) 7 defines specifications for descriptors expressing the contents of audio and visual (AV) data, description scheme (DS) defining schema which systematically describes the structure and meaning information of AV data, and Description Definition Language (DDL), which is a language for defining descriptors and description schemes.
The MPEG-7 is related to a structure of metadata for expressing multimedia data such as image, audio, and moving picture.
MPEG-7 query format is a form of a query expressed in MPEG-7 for multimedia data search. MPEG-7 query format defines syntax for searching MPEG-7 documents. In a system for searching MPEG-7 multimedia data, MPEG-7 multimedia data are searched using the MPEG-7 query format.
MPEG-7 query format should be able to exactly express diverse queries from users and diverse query types. For example, there are diverse query types, such as a sentence-type query, e.g., “music video starring Rain”, example-based query using a multimedia file itself as a query, and an MPEG-7 textual description-based query. The above diverse query types should be able to be exactly expressed in MPEG-7 query format. Therefore, it is required to develop a query expression method that can exactly express diverse queries and query types in MPEG-7 query formats for MPEG-7 multimedia data search.
Meanwhile, there is a case where different sub-structures belonging to the same region of an MPEG-7 document are referred to in an MPEG-7 multimedia search. In other words, this is a case that more than one search conditions should be all satisfied within the same region of the MPEG-7 document.
To take an example, to search for an MPEG-7 image file having predetermined length and area at a specific position, a specific position is designated at first and the length and area attributes are designated for the specific location. In short, a secondary search is executed within the result of a primary search.
Therefore, to re-use a pre-designated region in an MPEG-7 multimedia data search, a method of expressing queries by using field types is required. Fields used in the present invention expresses a user query as a query for searching multimedia data. Field types specify the attributes of the fields.
Hereinafter, problems of OutputDescriptionType of a conventional MPEG-7 query format defined as the following Table 1 will be discussed.
The OutputDescriptionType is a type of an OutputDescription field indicating an output query result. According to the conventional technology, the OutputDescriptionType cannot express an operation result related to a plurality fields as output. FieldType included in the OutputDescriptionType refers to a specific element or attribute. However, since the FieldType is based on XPath, there are some restrictions in expressing a relationship between element and attribute. Herein, eXtensible Markup Language (XML) Path Language (XPath) is a standard of World Wide Web Consortium (W3C) and it is a language describing a method of arraying and processing elements by using a syntax designated on a path based on a structure of an XML document. XPath uses pass expression to define nodes of an XML document. Besides, it uses mathematics, functions and other extensible expressions.
For example, it is not guaranteed that two XPath expressions //Member/Name/GivenName and //Member/Name/FamilyName extract a given name and a family name of the same member from a document presented in Table 2.
That is, when a query is expressed with the two XPath expressions //Member/Name/GivenName and //Member/Name/FamilyName, a person whose given name is Mick is extracted and a person whose family name is Jagger can be extracted. However, there is no guarantee that a person whose given name and family name is Mick Jagger is extracted.
As describe above, it is required to develop a query expression apparatus and method that can exactly express diverse queries and diverse query types in an MPEG-7 query format and re-use pre-designated region for MPEG-7 multimedia data search.
To meet the above requirements, an embodiment of the present invention is directed to providing a query expression apparatus and method that can express diverse query types in Moving Picture Experts Group (MPEG) 7 query format and re-use a pre-designated region for multimedia search by using field types.
In accordance with an aspect of the present invention, there is an apparatus provided for expressing a query inputted from a user for multimedia data search, which includes: an input means for receiving a query for multimedia data search from a user; and a query expression means for expressing the input query in a field type, wherein the field type includes at least one among identifier information indicating identification (ID) information of a field presenting a search condition included in the input query; type information indicating data type information of the field; and reference information indicating identifier information of another field for reference.
In accordance with another aspect of the present invention, there is provided a method for expressing a query inputted from a user for multimedia data search, which includes: receiving a query for multimedia data search from a user; and expressing the input query in a field type, wherein the field type includes at least one among identifier information indicating identification (ID) information of a field presenting a search condition included in the inputted query; type information indicating data type information of the field; and reference information indicating identifier information of another field for reference.
In accordance with another aspect of the present invention, there is provided a search apparatus for searching multimedia data based on a query inputted from a user, which includes: an expression means for expressing the input query in a field type; and a search means for searching multimedia data based on the query expressed in the field type, wherein the field type includes at least one among identifier information indicating identification (ID) information of a field presenting a search condition included in the inputted query; type information indicating data type information of the field; and reference information indicating identifier information of another field for reference.
In accordance with another aspect of the present invention, there is provided a recording medium for recording a data structure where a query inputted from a user is expressed in a field type for searching multimedia data based on the query, which includes: at least one among identifier information indicating identification (ID) information of a field presenting a search condition included in the inputted query; type information indicating data type information of the field; and reference information indicating identifier information of another field for reference.
The query expression apparatus and method of the present invention for multimedia data search can search Moving Picture Experts Group (MPEG) 7 documents with diverse queries and make a secondary search onto a portion whose range is defined by the primary search.
The advantages, features and aspects of the invention will become apparent from the following description of the embodiments with reference to the accompanying drawings, which is set forth hereinafter.
Referring to
The query expression unit 101 expresses a query inputted from a user for searching multimedia data by using field types.
The query analysis unit 103 analyzes the meaning of the query expressed by the query expression unit 101, and the search engine 105 searches for multimedia data related to the query analyzed in the query analysis unit 103.
The query expression unit 101 uses field types to accurately express the meaning of the inputted user query. The field types used in the query expression unit 101 will be described in detail by referring to
As shown in
In step S205, the query analysis unit 103 analyzes the meaning of the query expressed by the query expression unit 101.
In step S207, the search engine 105 searches for multimedia data related to the query whose meaning is analyzed by the query analysis unit 103.
As described above, the method of the present invention includes a query expression step of expressing a user query by using field types, a query analysis step of analyzing the expressed query, and a search step of searching for multimedia data related to the analyzed query.
As shown in
The field type includes at least one among ID information of a field indicating a search condition included in the inputted query, type information indicating data type information of the field, and reference information indicating ID information of another field for reference. The ID information corresponds to the typeID 301; the type information, to the typeName 303; and the reference information, to the ref 305, respectively.
The typeID 301 is an identifier assigned to each field used for expressing a user query as a query for searching multimedia data. In other words, the typeID 301 is an ID information unique to the field indicating a search condition included in the user query. The typeID 301 makes fields possible to refer to each other. In short, the typeID 301 is a field type ID (FieldTypeID).
The typeName 303 is type information indicating data type information of the field. The typeName 303 specifies the name of a complex data type defined according to Moving Picture Experts Group 7 (MPEG-7) Standard and limits a field used to express the user query as a query for multimedia data search to a specific data type.
The ref 305 is reference information indicating ID information of anther field. The ref 305 makes it possible to refer to a field identifier including the typeID 301.
For example, Mpeg7//VisualCoding/Frame, which is a Frame part of VisualCoding included in Mpeg-7, can be defined as a field value.
In an MPEG-7 query format, a field used to express a user query as a query for searching multimedia data can be expressed in a complicated XPath and it may be referred during query input or query output.
For a field to be referred to by an operation such as ArithmeticOperands, BooleanOperands, and OutputDescription, an ID attribute (e.g., typeID 301) is added to FieldType.
The following Table 3 shows FieldType of
An element including a low-level element of FieldType includes an IDREF element referring to a specific field.
As an ID attribute is added to the FieldType, there is no need to define the same field several times, and a predefined field can be referred to anywhere. Also, when the same field exists obviously independently, it can be expressed separately.
The following Table 4 indicates the meaning of a field type of
The item is a basic unit of data used in MPEG-7 multimedia contents. The outputNameSpace specifies Uniform Resource Identifier (URI) of namespace related to the metadata expressed in a Description element. However, outputNameSpace may be namespace related to MPEG-7 or another metadata format. The namespace is a document on a specific website, it checks out names of specific data elements or attributes used within an eXclusive Markup Language (XML) file, when a data set for something is formed and shared by people on the web by using XML. An author of an XML file checks namespace by designating a web address at around starting position of the XML file according to Uniform Resource Locator (URL). An XML parser provided as part of a web browser comes to figure out rules for expression and where it can find different information about the elements of the XML file. For example, the XML document may declare its namespace in a single sentence.
Then, the XML parser may refer to a definition XSL at an address “http://www.anyco.com/xml/schema” to figure out how to process data of the XML file beginning with a letter “xsl.” For example, the XML file entitled “A Modest Proposal” can be analyzed based on XSL definition at “http://www.anyco.com/xml/schema”.
Also, since the ID, typeName and Ref can be selectively used, information corresponding to a query can be searched upon receipt of a query format using one of the three informations.
The following Table 5 shows an example of a field type of the xml schema format shown in the Table 3. The Table 5 shows a field type when a user query “search images whose image size (horizontal*vertical) is greater than 1024*768.”
In the Table 5, FieldType has such elements as [Field], [SourceFeature], and [FeatureName]. Elements of FieldType are used to express a query conforming to an Mpeg-7 Query Format, and a specific field may be referred to based on the ref 305. As a specific field is referred to, an additional data path can be described to express a region indicated by the field referred to.
An element includes attributes of a field, such as field type ID, field type name, and reference. For example, in the Table 5, elements are <mp7qf:Field typeID=“M7DocID”>/Mpeg7</mp7qf:Field> and <mp7qf:Field typeID=“VisualCodingFrameID” ref=“M7DocID”>//VisualCoding/Frame</mp7gf:Field>.
The fields of the elements are Mpeg7 and VisualCoding/Frame, respectively.
The typeID 301 of Mpeg7 is M7DocID, and the typeID 301 of VisualCoding/Frame is VisualCodingFrameID. VisualCoding/Frame having the VisualCodingFrameID as the typeID 301 refers to Mpeg7 having M7DocID as a typeID based on the ref 305.
Meanwhile, according to what is defined in Mpeg-7 Query Format, QFDecicaration includes two elements, which are DeclaredField and Resource. According to the present invention, DeclaredField includes ID used for a field to be re-used. QFDeclaration defines QueryCondition defined in Mpeg-7 Standard or resources referred to in order to describe a query condition or result data in OutputDescription.
The following Table 6 illustrates an element of QFDeclaration defined as QFDeclarationType in accordance with an embodiment of the present invention.
Table 7 defines a field type of the present invention in the QFDeclarationType shown in Table 6. Herein, QFDeclarationType is a field type of QFDeclaration and it includes DeclaredField as an element.
Table 8 below defines a field type of the present invention in the DeclaredFieldType shown in the Table 6. Herein, DeclaredFieldType is a field type of DeclaredField.
Herein, token type is a unit distinguished in a series of text sequence and its range is broader than XPath.
The query expression unit 101 expresses a user query by using the field types described above. The query expression unit 101 can express the user query in an XML format.
The query analysis unit 103 shown in
Herein, the ref 305 referring to the same ID 301 is analyzed to refer to the internal value of the same region. For instance, since [@height] and [@width] of [FeatureName] element commonly refer to a [visualCoding/Frame] field whose ID is [visualCodinFrameID] in the Table 5, it is analyzed that both [@height] and [@width] refer to the internal value of [visualCoding/Frame].
Based on the meaning of the analyzed query, the search engine 105 searches for related multimedia data and produces a search result.
The method of the present invention described above can be realized as a program and stored in a computer-readable recording medium, such as CD-ROM, RAM, ROM, floppy disks, hard disks, magneto-optical disks and the like. Since the process can be easily implemented by those skilled in the art to which the present invention pertains, further description will not be provided herein.
While the present invention has been described with respect to the specific embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.
The technology of the present invention can search MPEG-7 documents by using diverse queries, and make a secondary search over a region designated through a primary search.
Number | Date | Country | Kind |
---|---|---|---|
10-2007-0078061 | Aug 2007 | KR | national |
This work was supported by the IT R&D program of MIC/IITA [2005-S-117-03, “Development of Intelligent Personal Media Managing Technology for Ubiquitous Environment”]. The present application claims the priority benefit of International Patent Application No. PCT/KR2007/006909, filed on Dec. 27, 2007, which claims the priority benefit of Republic of Korea Patent Application No. 10-2007-0078061, filed on Aug. 3, 2007.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2007/006909 | 12/27/2007 | WO | 00 | 2/2/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/020260 | 2/12/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6304864 | Liddy et al. | Oct 2001 | B1 |
6490370 | Krasinski et al. | Dec 2002 | B1 |
6584459 | Chang et al. | Jun 2003 | B1 |
20030187950 | Rising, III | Oct 2003 | A1 |
20030212662 | Shin et al. | Nov 2003 | A1 |
20040267720 | Liu et al. | Dec 2004 | A1 |
20050171970 | Ozzie et al. | Aug 2005 | A1 |
20070050379 | Day et al. | Mar 2007 | A1 |
20070090192 | Schmidt et al. | Apr 2007 | A1 |
Number | Date | Country |
---|---|---|
2000-235578 | Aug 2000 | JP |
2002-536721 | Oct 2002 | JP |
2004-030569 | Jan 2004 | JP |
2005-505058 | Feb 2005 | JP |
2007-034763 | Feb 2007 | JP |
2007-520810 | Jul 2007 | JP |
1019990086011 | Dec 1999 | KR |
1020010042221 | May 2001 | KR |
1020030084418 | Nov 2003 | KR |
1020050065862 | Jun 2005 | KR |
1020060135692 | Dec 2006 | KR |
1020070098469 | Oct 2007 | KR |
WO 0045292 | Aug 2000 | WO |
WO 03030031 | Apr 2003 | WO |
WO 2005069169 | Jul 2005 | WO |
Entry |
---|
Renner, Kerstin, Specification of an MPEG-7 Query Language, Universitat Passau, May 30, 2007. |
Hee-Cheol Seo et al., “Weak Points of Current MPEG-7 Query Format Schema,” International Organization for Standardization Coding of Moving Pictures and Associated Audio, Jul. 2007, pp. 1-5, Lausanne, Switzerland. |
International Search Report for PCT/KR2007/006909 filed on Dec. 27, 2007. |
Written Opinion of the International Searching Authority for PCT/KR2007/006909 filed on Dec. 27, 2007. |
Chrisa Tsinaraki et al., “An MPEG-7 query language and a user preference model that allow semantic retrieval and filtering of multimedia content”, Multimedia Systems, Jun. 30, 2007, pp. 131-153, No. 2, vol. 13. |
Yang Chu et al., “Looking at Mapping, Indexing & Querying of MPEG-7 Descriptors in RDBMS with SM3”, Proceedings of the 2nd ACM International Workshop on Multimedia Databases, Jan. 1, 2004, pp. 55-64. |
Number | Date | Country | |
---|---|---|---|
20110179056 A1 | Jul 2011 | US |