KR100305592B1 - Building method of content-based image retrieval language using the VQL - Google Patents

Building method of content-based image retrieval language using the VQL Download PDF

Info

Publication number
KR100305592B1
KR100305592B1 KR1019980052531A KR19980052531A KR100305592B1 KR 100305592 B1 KR100305592 B1 KR 100305592B1 KR 1019980052531 A KR1019980052531 A KR 1019980052531A KR 19980052531 A KR19980052531 A KR 19980052531A KR 100305592 B1 KR100305592 B1 KR 100305592B1
Authority
KR
South Korea
Prior art keywords
query
content
intermediate language
video
image characteristic
Prior art date
Application number
KR1019980052531A
Other languages
Korean (ko)
Other versions
KR20000037782A (en
Inventor
김경일
정영은
Original Assignee
오길록
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 오길록, 한국전자통신연구원 filed Critical 오길록
Priority to KR1019980052531A priority Critical patent/KR100305592B1/en
Publication of KR20000037782A publication Critical patent/KR20000037782A/en
Application granted granted Critical
Publication of KR100305592B1 publication Critical patent/KR100305592B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language

Abstract

본 발명은 중간언어를 이용한 내용 기반 동영상 질의어 생성 방법에 관한 것이다.The present invention relates to a content-based video query generation method using an intermediate language.

본 발명은 사용자 인터페이스로부터 내용 기반 검색이 가능한 각각의 내용 기반 검색 정보를 수집하고 이를 토대로 입력된 이미지 특성 파라미터들을 질의어 해석기를 통해 데이터 유형을 분류하는 단계와, 상기 단계로부터 분류된 데이터를 바탕으로 질의 유형을 판단해서 중간언어를 생성하는 단계와, 상기 단계로부터 생성된 중간 언어를 사용하여 구문분석 및 문맥분석을 경유하여 쿼리 문장을 생성하는 단계를 포함하여 이루어지며, 종래의 텍스트 기반 질의로는 내용 기반 질의를 할 수 없기 때문에 내용 기반 검색시 사용자가 검색하고자 하는 내용을 내용기반 질의에 맞는 중간언어(VQL : Video Query Language)를 이용하여 표준 질의어를 생성하므로써 사용자의 편의성을 도모하고 검색 효율을 극대화할 수 있는 중간언어를 이용하여 내용 기반 동영상 질의어 생성 방법을 제공하고자 한다.The present invention collects content-based retrieval information for content-based retrieval from a user interface, and classifies data types through a query parser based on input image characteristic parameters, and queries based on the data classified from the step. Generating an intermediate language by determining a type, and generating a query sentence via parsing and contextual analysis using the intermediate language generated from the above step. Since it is not possible to base query, it creates user's convenience and maximizes search efficiency by creating a standard query using the middle language (VQL: Video Query Language) suitable for the content-based query. Content-based video using intermediate language We want to provide a query generation method.

Description

중간언어를 이용한 내용기반 동영상 질의어 생성 방법{Building method of content-based image retrieval language using the VQL}Building method of content-based image retrieval language using the VQL}

본 발명은 중간언어(VQL: Video Query Language)를 이용한 내용기반 동영상질의어 생성 방법에 관한 것으로서, 특히 동영상 데이터베이스 검색 시스템 구축에 있어 다양한 적용 분야에 따른 사용자의 검색 요구 사항의 변경에 따른 질의어 변경 부분을 최소화 할 수 있는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법에 관한 것이다.The present invention relates to a method for generating a content-based video query using VQL (Video Query Language). In particular, in the construction of a video database retrieval system, a query change part according to a user's retrieval requirements according to various application fields is described. The present invention relates to a method of generating content-based video query using an intermediate language that can be minimized.

종래의 방법은 단순히 사용자의 요구 사항과 질의어를 1 대 1로 매핑하는 정적인 방법을 사용하거나(Static SQL), 몇 가지의 경우를 예측하여 공동으로 사용할 수 있는 대표 질의어를 정하여 검색하는 방식(Dynamic SQL)을 취하여 왔다. 따라서, 사용자의 요구가 바뀔 때마다 질의어를 새로 만들어야 했고, 적용분야가 바뀌면 처음부터 다시 만들어야 하는 불편이 따랐으며, 새로 구축된 시스템의 테스트와 보완에 따르는 시간 낭비가 많았다.The conventional method simply uses a static method of mapping a user's requirements and a query one-to-one (Static SQL), or selects and searches a representative query that can be used jointly by predicting several cases (Dynamic). SQL) has been taken. Therefore, each time a user's needs were changed, a new query had to be created, and when the application field was changed, it was inconvenient to rebuild from the beginning, and a lot of time wasted in testing and supplementing the newly constructed system.

한편, 이에 관련된 선행자료로서, 특허등록번호 94-9868(권리자; 사카이 요리히꼬외 2명, 국명; 일본, 명칭; 화상 데이터 관리 방법 및 화상 데이터 베이스)에서는 외부로부터 입력되는 화상 데이터를 수집해서 화상 데이터에 검색 정보로서 수집 시각을 부가해서 기억하고 이 데이터를 수집 시각에 의해 표시, 검색, 출력하는 화상 데이터 관리 방법을 명시하였고, 특허등록번호 91-2745(권리자; 오카자키 아키오, 국명; 일본, 명칭; 정보검색장치)에서는 공간적 위치 관계를 갖는 심벌, 문자, 도형 등의 검색 요구 정보를 수신하는 정보 검색 인터페이스를 통해 수신되는 검색 요구에 따라 정보 검색을 실행하는 정보검색장치를 명시하였고, 특허등록번호 96-18993(권리자; 구보타리에, 국명; 일본, 명칭; 정보 검색 방법 및 시스템)에서는 문자열 패턴의 문서내 위치 정보를 포함하는 색인 파일을 사용하여 지정된문자열과 문자의 줄이 유사한 문자열을 포함하는 문서를 고속으로 검색하여 검색 정확도를 지정하여 문서내의 문자열과 유사한 문자열을 찾아내는 방법을 명시하였다.On the other hand, as prior art related to this, Patent Registration No. 94-9868 (the right holder; Sakai Yurikoko et al., Two countries, Japan; name; image data management method and image database) collects image data input from the outside and collects the image. The image data management method of adding and storing the collection time as the retrieval information to the data and displaying, retrieving, and outputting the data by the collection time is specified. Patent Registration No. 91-2745 (Owner; Akio Okazaki, Country; Japan, Name) Information retrieval device) specifies an information retrieval device that performs information retrieval according to a retrieval request received through an information retrieval interface for receiving retrieval request information such as symbols, characters, and figures having a spatial positional relationship, and a patent registration number 96-18993 (right holder; Kubotari, country name; Japan, name; information retrieval method and system). By using an index file that contains information, we searched a document containing a string similar to a specified string and a string of characters at high speed, and specified a search accuracy to find a string similar to a string in the document.

따라서, 본 발명은 상기와 같은 단점을 해결하기 위해 사용자의 질의 내용을 중간언어로 표현하고 이를 다시 질의어(SQL)로 변환함으로써, 질의 내용이 바뀌더라도 간단한 절차에 의해 새로운 질의를 수행할 수 있도록 하고 사용자가 질의 범위의 제약 없이 질의를 가능하도록 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법을 제공하는 데 그 목적이 있다.Therefore, in order to solve the above-mentioned disadvantages, the present invention expresses the user's query content in an intermediate language and converts it into a query language (SQL) so that a new query can be executed by a simple procedure even if the content of the query is changed. An object of the present invention is to provide a method of generating a content-based video query using an intermediate language that enables a user to query without restricting the query range.

상기한 목적을 달성하기 위한 본 발명에 따른 중간언어를 이용한 내용기반 동영상 질의어 생성 방법은 내용기반 검색이 가능한 질의 인터페이스를 통해 입력된 내용기반 질의의 형태를 텍스트 질의와 비디오 질의로 분류하는 제 1 단계와, 분류된 질의를 분석한 후 유형을 판단하여 비디오 질의인 경우 이미지 특성 파라미터를 생성하는 제 2 단계와, 상기 이미지 특성 파라미터를 이미지 특성 구조 정보를 이용하여 분석하는 과정을 통해 입력된 사용자 질의 내용을 중간언어로 변환하는 제 3 단계와, 상기 중간언어를 사용한 구문분석 및 문맥분석을 통해 최적화를 수행하고 최적화된 질의를 이용하여 쿼리문장을 생성하는 제 4 단계를 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, a method of generating a content-based video query using an intermediate language according to the present invention is a first step of classifying a content-based query type into a text query and a video query through a query interface capable of content-based searching. And a second step of generating an image characteristic parameter in the case of a video query after analyzing the classified query and determining the type, and contents of the user query input through analyzing the image characteristic parameter using the image characteristic structure information. And a fourth step of converting to a middle language, and a fourth step of performing optimization through syntax and context analysis using the intermediate language and generating a query sentence using an optimized query.

또한, 상기한 목적을 달성하기 위한 본 발명은 내용기반 검색이 가능한 질의인터페이스를 통해 입력된 내용기반 질의의 형태를 텍스트 질의와 비디오 질의로 분류하는 제 1 단계와, 분류된 질의를 분석한 후 유형을 판단하여 비디오 질의인 경우 이미지 특성 파라미터를 생성하는 제 2 단계와, 상기 이미지 특성 파라미터를 이미지 특성 구조 정보를 이용하여 분석하는 과정을 통해 입력된 사용자 질의 내용을 중간언어로 변환하는 제 3 단계와, 상기 중간언어를 사용한 구문분석 및 문맥분석을 통해 최적화를 수행하고 최적화된 질의를 이용하여 쿼리문장을 생성하는 제 4 단계를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체인 것을 특징으로 한다.In addition, the present invention for achieving the above object is a first step of classifying the form of the content-based query input through the query interface capable of content-based search into a text query and a video query, and the type after analyzing the classified query A second step of generating an image characteristic parameter in the case of a video query, and converting the input user query content into an intermediate language through analyzing the image characteristic parameter using the image characteristic structure information; And a computer-readable recording medium recording a program for executing the fourth step of performing optimization through syntax and context analysis using the intermediate language and generating a query sentence using the optimized query. .

도 1은 본 발명에 따른 질의어 생성의 개념도.1 is a conceptual diagram of query generation according to the present invention.

도 2는 본 발명에 따른 질의어 해석기에 대한 흐름도.2 is a flow chart for a query parser in accordance with the present invention.

도 3은 본 발명에 따른 질의어 생성기에 대한 흐름도.3 is a flowchart of a query generator according to the present invention;

〈도면의 주요 부분에 대한 부호 설명〉<Description of Signs of Major Parts of Drawings>

1 : 사용자 인터페이스 2 : 질의어 해석기1: user interface 2: query parser

3 : 질의어 생성기 4 : 데이터베이스3: query generator 4: database

21 : 데이터 유형 분류 기능 22 : 질의 유형 판단 기능21: data type classification function 22: query type determination function

23 : 중간언어(VQL) 변환 기능 31 : 구문 분석 기능23: intermediate language (VQL) conversion function 31: parsing function

32 : 문맥 분석 기능 33 : 최적화 & SQL 코드 생성 기능32: Context Analysis Function 33: Optimization & SQL Code Generation Function

이하, 첨부된 도면을 참조하여 본 발명을 자세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

도 1은 본 발명에 따른 질의어 생성의 개념도이고, 도2는 본 발명에 따른 질의어 해석기에 대한 흐름도이고, 도3은 본 발명에 따른 질의어 생성기에 대한 흐름도이다.1 is a conceptual diagram of query generation according to the present invention, FIG. 2 is a flowchart illustrating a query interpreter according to the present invention, and FIG. 3 is a flowchart illustrating a query generator according to the present invention.

도 1을 참조하면, 질의어 생성의 개념도는 이미지, 색, 질감 등의 특징정보를 이용하여 내용 기반 검색이 가능한 비주얼 인터페이스(1)를 통해 사용자가 직접 내용 기반 질의를 구성할 수 있도록 하였으며, 이에 따라 사용자가 질의한 내용을 질의어 해석기(2)를 통해 질의 관련 파라미터를 입력받아 질의 유형을 판단하여 중간언어로 변환하고, 이 중간언어를 질의어 생성기(3)를 사용하여 다시 상용의 데이터베이스가 인식할 수 있는 표준 SQL(Structured Query Language)문으로 변환하는과정을 거친다. 이 과정을 좀더 자세히 설명하기 위해 첨부된 도 2와 도 3을 참조하여 자세히 설명한다.Referring to FIG. 1, the conceptual diagram of query generation enables a user to construct a content-based query directly through a visual interface 1 that enables content-based search using feature information such as image, color, and texture. The query content is inputted by the user through the query parser (2) to determine the query type and converted into a middle language. The intermediate language can be recognized again by a commercial database using the query generator (3). Conversion to standard SQL (Structured Query Language) statements. In order to explain this process in more detail with reference to the accompanying Figures 2 and 3 will be described in detail.

도 2를 참조하면, 본 발명에 따른 질의어 해석기(2)는 사용자가 인터페이스(1)를 통해 다양하게 입력된 질의의 형태를 분류하는 데이터 유형 분류 기능(21)과 이 입력된 질의를 분석하여 질의 유형을 판단하는 질의 유형 판단 기능(22)을 갖는다.Referring to FIG. 2, the query parser 2 according to the present invention analyzes a query by analyzing a data type classification function 21 in which a user classifies various types of queries through the interface 1 and the inputted queries. It has a query type determination function 22 for determining the type.

데이터 유형 분류 기능(21)은 입력으로 사용자가 인터페이스(1)를 통해 입력한 질의를 사용하며, 사용자 질의에 따른 매개변수 리스트를 출력한다. 사용자는 사용자 인터페이스(1)를 통하여 키워드, 색(Color), 질감(Texture), 시간적 특성, 공간적 특성, 시간적/공간적 특성을 입력한다. 여기서, 키워드는 사용자가 입력한 문자나 수치 등과 같은 텍스트 기반의 데이터이고, 색상이나 질감 등은 이미지 특성에 관한 비디오 데이터이며, 시공간 특성은 객체의 시간적, 공간적 특성을 표현하여 이를 통한 객체의 시간적, 공간적, 시공간적 관계로 구성된다.The data type classification function 21 uses a query entered by the user through the interface 1 as an input, and outputs a parameter list according to the user query. The user inputs a keyword, a color, a texture, a temporal characteristic, a spatial characteristic, and a temporal / spatial characteristic through the user interface 1. Here, the keyword is text-based data such as letters or numbers input by the user, the color or texture is video data about image characteristics, and the spatiotemporal characteristics express the temporal and spatial characteristics of the object, thereby expressing the temporal, It consists of spatial and spatiotemporal relationships.

즉, 사용자 인터페이스(1)를 통해 입력된 질의의 형태를 텍스트 데이터와 비디오 데이터로 분류한 후 분류된 데이터를 분석하여 유형을 판단하는데, 비디오 데이터인 경우 이미지 특성 파라미터를 생성한다.That is, the type of query input through the user interface 1 is classified into text data and video data, and the classified data is analyzed to determine a type. In the case of video data, an image characteristic parameter is generated.

질의 유형 판단 기능(22)은 사용자가 입력한 질의에 의해 생성된 이미지 특성 파라미터들을 입력으로 하여 중간언어 코드를 생성하는 기능을 갖는데, 사용자에 의해 입력된 데이터 유형은 이미지 특성 구조 정보에 의해 분석된다. 이는 사용자의 질의 요구를 정확히 이해하고 사용자 질의의 최적화를 위한 전단계로서, 분석되어진 질의 내용을 표준 SQL로 생성하기 위해 중간언어(24; VQL : Video Query Language)로 변환한다.The query type determination function 22 has a function of generating an intermediate language code by inputting image characteristic parameters generated by a user input query. The data type input by the user is analyzed by image characteristic structure information. . This is the first step to accurately understand the user's query request and optimize the user's query, and converts the analyzed query content into intermediate language (VQL: Video Query Language) to generate standard SQL.

즉, 이미지 특성 구조 정보를 이용하여 상기 이미지 특성 파라미터를 분석하는 과정을 통해 입력된 질의 내용을 비디오 질의 언어를 위해 제안된 형식적 정의인 BNF(Bcakus-Naur Form) 표현을 이용하여 중간언어로 변환한다.That is, the content of the input query is analyzed by analyzing the image feature parameter using the image feature structure information and converted into an intermediate language using a Bcaf-Naur Form (BNF) expression, which is a formal definition proposed for the video query language. .

이 모듈의 기능은 사용자 인터페이스를 보다 효율적으로 확장하기 위해 필요하며, 중간언어를 생성하기 위한 사용자 질의 표현 형식은 다음과 같다.The functions of this module are needed to extend the user interface more efficiently. The user query expression format for generating intermediate languages is as follows.

<User_Deined_Exp>::=<Video_Exp>;<DB_Exp>;<Keyword_Exp>;<Color_Exp>;<User_Deined_Exp> :: = <Video_Exp>; <DB_Exp>; <Keyword_Exp>; <Color_Exp>;

<Texture_Exp>;<Spatial_Temporal_Exp><Texture_Exp>; <Spatial_Temporal_Exp>

<Video_Exp> : 검색단위<Video_Exp>: Search unit

<DB_Exp> : 검색 대상<DB_Exp>: Search target

<Keyword_Exp> : 검색 조건<Keyword_Exp>: Search Condition

<Color_Exp>, <Texture_Exp> : 이미지 검색 조건<Color_Exp>, <Texture_Exp>: Image search condition

<Spatial_Temporal_Exp> : 시/공간 검색 조건<Spatial_Temporal_Exp>: Spatio-temporal search condition

상기 질의어 해석기(2)는 사용자가 검색 화면을 통해 얻고자 하는 클립에 관련된 정보를 선택하거나 입력한 질의를 분석하는 기능을 갖는 것으로, 유형을 분류하기 위한 데이터는 텍스트 기반의 키워드(사용자가 문자, 수치 등을 입력)와 내용기반의 컬러(이미지 특성인 색을 입력), 텍스트(Texture; 텍스트 입력과 함께 이미지 특성인 질감을 입력), 그리고 시공간 질의(객체의 시간적, 공간적 특성을 표현하여 이를 통한 객체의 시간적, 공간적, 시공간적 관계를 입력) 형태로 분류된다.이와 같이 분류된 데이터들은 질의 유형 판단 기능에서 분류된 정보를 바탕으로 사용자의 질의 요구를 정확히 이해하고 사용자 질의의 최적화를 위한 전단계로서, 사용자에 의해 입력된 검색 요구 데이터가 내용기반 질의인 경우 메타 데이터 구조 정보에 의해 분석되고 이를 바탕으로 질의 유형에 따른 함수들을 호출하여 중간언어로 변환되는데, 이는 사용자의 복잡한 질의 요구 내역을 정형적으로 표현하기 위한 것이다.The query interpreter 2 has a function of analyzing a query in which a user selects or inputs information related to a clip to be obtained through a search screen, and the data for classifying a type includes a text-based keyword (character, Input values), content-based color (enter color as an image characteristic), text (texture (enter texture as an image characteristic with text input)), and spatiotemporal query (by expressing the temporal and spatial characteristics of objects) The temporal, spatial and spatiotemporal relations of objects are classified into the form of data.These classified data are the first step to accurately understand the user's query needs and optimize the user's query based on the classified information in the query type determination function. If the search request data entered by the user is a content-based query, it is analyzed by the metadata structure information. There is by calling a function of the type of query based on converted into an intermediate language, which is to express complex queries required a formal history of the user.

도 3를 참조하면, 본 발명에 따른 질의어 생성기(3)는 사용자 질의어 해석기 모듈(2)에서 생성된 중간언어(24)를 입력으로 하여 구문이 정확한지를 판단하는 구문 분석 단계(31)를 거쳐, 의미 있는 토큰들로 분류해 내고 이 토큰들을 사용한 문맥 분석(32)을 통해 질의 최적화 기능을 수행하고(33) 최적화된 질의를 SQL문(34)으로 변환한 후 데이터베이스(4)에 질의를 요청하는 기능을 수행한다. 사용자 질의최적화 및 질의 생성 모듈의 입력 값은 VQL 형태의 중간 코드이고, 출력 값은 SQL형태의 질의어를 생성하며, 분석되어진 사용자 질의는 빠른 검색을 보장하면서 질의어 생성 이전에 최적화를 위하여 재구성되므로서 구조 정보에 따른 변환 규칙에 의해 최적의 SQL이 생성될 수 있도록 재구성한다. 이를 세부 단계별로 정리하면 다음과 같다.Referring to FIG. 3, the query generator 3 according to the present invention uses the intermediate language 24 generated by the user query interpreter module 2 as an input to determine whether the syntax is correct. Classify them into meaningful tokens, perform query optimization through contextual analysis (32) using these tokens (33), convert the optimized query into an SQL statement (34), and request a query from the database (4). Perform the function. The input value of the user query optimization and query generation module is an intermediate code in VQL form, the output value generates a query form in SQL form, and the analyzed user query is restructured for optimization before query generation while ensuring fast retrieval. Reconstruct the optimal SQL to be generated by the conversion rule based on the information. The detailed steps are as follows.

단계 1 : 중간 코드인 VQL 형태로 표현된 사용자 질의를 파싱.Step 1: Parse the user query expressed in VQL form as intermediate code.

단계 2 : 이미지 특성을 비교하기위한 유사도 함수로 변환.Step 2: Convert to similarity function for comparing image characteristics.

단계 3 : 시공간 특성을 표현하는 함수를 변환 규칙에 따라 객체로 구성된 메타 데이터의 멤버 함수로 대치.Step 3: Replace the function representing the spatiotemporal properties with a member function of metadata consisting of objects according to the conversion rules.

단계 4 : 질의의 조건을 변환 규칙에 따라 변환.Step 4: Convert the conditions of the query according to the conversion rules.

<변환 규칙><Conversion rule>

(1) 조건이 많은 경우 부 질의어로 재구성.(1) Reconstruct with subquery when there are many conditions.

(2) OR 연산이 있는 경우 UNION 문장으로 재구성.(2) Reorganize into a UNION statement if there is an OR operation.

단계 5 : 질의어 생성Step 5: Create a Query

즉, 질의어 생성기(3)는 질의어 해석기(2)에서 생성한 중간코드를 입력으로 하여 빠른 검색을 보장하기 위한 최적화 기능을 수행하고, 최적화된 질의를 상용의 데이터베이스가 인식할 수 있는 SQL문으로 변환한 후 데이터베이스에 질의를 요청하는 기능을 수행한다. 여기에서 구문분석이나 문맥분석은 중간코드가 데이터베이스가 인식할 수 있는 SQL문으로 변환되기 위해 중간코드를 질의 유형별로 분석하고 이에 따른 적절한 SQL으로 변환하기 위해 중간언어의 구문 및 문맥을 분석하는 것을 말하며, 최적화 기능은 사용자의 질의에 따라 빠른 검색을 보장하기 위해 질의어가 생성되기 전에 메타 데이터 구조 정보에 따른 변환 규칙에 의해 최적의 SQL이 생성될 수 있도록 재구성하는 것을 말한다.That is, the query generator 3 performs an optimization function to ensure fast search by using the intermediate code generated by the query interpreter 2 and converts the optimized query into an SQL statement that can be recognized by a commercial database. After executing this function, you can query the database. Here, parsing or contextual analysis refers to analyzing the intermediate code by the type of query in order to convert the intermediate code into SQL statements that can be recognized by the database, and analyzing the syntax and context of the intermediate language in order to convert the intermediate code into appropriate SQL. In order to ensure fast retrieval according to the user's query, the optimization function is to reconstruct the optimal SQL to be generated by the conversion rule based on metadata structure information before the query is generated.

이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited.

상술한 바와 같이, 본 발명은 내용기반 동영상 데이터에서 이미지 기반의 데이터 검색은 물론, 동영상 내에서의 특정 오브젝트들에 관한 시/공간적인 특성을 반영한 검색도 가능케 함으로써 멀티미디어 데이터의 핵심이 되는 동영상을 내용에 기반해서 검색하는데 보다 효율적으로 사용 될 수 있다.As described above, the present invention enables not only image-based data retrieval from content-based video data, but also retrieval reflecting spatio-temporal characteristics of specific objects in the video, thereby providing a video content that is the core of multimedia data. It can be used more efficiently to search based on.

또한, 본 발명은 종래의 텍스트 위주의 검색 시스템에서 내용기반 검색으로의 확장을 용이하게 하며, 사용자는 자신의 인터페이스 환경을 통해 데이터베이스 검색에 필요한 SQL문을 직접 사용하지 않고도 내용기반 검색을 할 수 있다.In addition, the present invention facilitates the expansion to the content-based search in the conventional text-based search system, the user can perform the content-based search without using the SQL statement required for the database search directly through their interface environment .

Claims (6)

내용기반 검색이 가능한 질의 인터페이스를 통해 입력된 내용기반 질의의 형태를 텍스트 질의와 비디오 질의로 분류하는 제 1 단계와,A first step of classifying a content-based query type into a text query and a video query through a content-based search query interface; 분류된 질의를 분석한 후 유형을 판단하여 비디오 질의인 경우 이미지 특성 파라미터를 생성하는 제 2 단계와,A second step of analyzing the classified query and determining a type to generate an image characteristic parameter in the case of a video query; 상기 이미지 특성 파라미터를 이미지 특성 구조 정보를 이용하여 분석하는 과정을 통해 입력된 사용자 질의 내용을 중간언어로 변환하는 제 3 단계와,A third step of converting a user query content into an intermediate language by analyzing the image characteristic parameter using image characteristic structure information; 상기 중간언어를 사용한 구문분석 및 문맥분석을 통해 최적화를 수행하고 최적화된 질의를 이용하여 쿼리문장을 생성하는 제 4 단계를 포함하여 이루어지는 것을 특징으로 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법.And a fourth step of performing optimization through syntax analysis and context analysis using the intermediate language and generating a query sentence using the optimized query. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계의 질의의 형태는 사용자 인터페이스를 통해 입력된 텍스트 데이터, 색상 및 질감의 이미지 특성 정보 및 객체의 시간적/공간적 특성에 의해 분류되는 것을 특징으로 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법.The form of the query of the first step is classified by text data, color and texture image characteristic information input through a user interface, and temporal / spatial characteristics of an object. . 제 1 항에 있어서,The method of claim 1, 상기 제 3 단계의 중간언어는 텍스트 및 이미지 특성을 갖는 파라미터가 미리 정의된 사용자 질의 표현 형식을 이용하여 검색의 단위, 대상, 조건, 이미지 조건 및 시공간 조건으로 분류한 후 특정 형식으로 매핑하는 단계를 통해 변환되는 것을 특징으로 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법.In the intermediate language of the third step, a parameter having a text and an image characteristic is classified into a unit, object, condition, image condition, and space-time condition of a search using a predefined user query expression format, and then mapped to a specific format. Content-based video query generation method using the intermediate language, characterized in that converted through. 제 1 항에 있어서,The method of claim 1, 상기 제 4 단계의 쿼리문장은 생성된 중간언어를 이용하여 구문이 정확한 지를 판단하는 단계와, 분류된 의미있는 토큰들을 사용한 문맥분석 단계에 의해 생성되는 것을 특징으로 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법.The fourth step query sentence is a content-based video query using the intermediate language, characterized in that it is generated by the step of determining whether the syntax is correct using the generated intermediate language, and the context analysis step using the classified meaningful tokens How to produce. 제 5 항에 있어서,The method of claim 5, 상기 쿼리 문장을 생성하는 단계는 이미지 특성을 비교하기 위해 유사도 함수를 사용하며, 시공간 특성을 판독하기 위해 시공간 특성을 표현하는 함수를 변환 규칙에 따라 구성된 메타 데이터 멤버 함수로 대치하여 변환 규칙에 따라 변환하는 것을 특징으로 하는 중간언어를 이용한 내용기반 동영상 질의어 생성 방법.The generating of the query statement uses a similarity function to compare image characteristics, and converts a function representing a spatiotemporal characteristic to a metadata member function configured according to the conversion rule to replace the function representing the spatiotemporal characteristic. Content-based video query generation method using an intermediate language characterized in that the. 내용기반 검색이 가능한 질의 인터페이스를 통해 입력된 내용기반 질의의 형태를 텍스트 질의와 비디오 질의로 분류하는 제 1 단계와,A first step of classifying a content-based query type into a text query and a video query through a content-based search query interface; 분류된 질의를 분석한 후 유형을 판단하여 비디오 질의인 경우 이미지 특성 파라미터를 생성하는 제 2 단계와,A second step of analyzing the classified query and determining a type to generate an image characteristic parameter in the case of a video query; 상기 이미지 특성 파라미터를 이미지 특성 구조 정보를 이용하여 분석하는 과정을 통해 입력된 사용자 질의 내용을 중간언어로 변환하는 제 3 단계와,A third step of converting a user query content into an intermediate language by analyzing the image characteristic parameter using image characteristic structure information; 상기 중간언어를 사용한 구문분석 및 문맥분석을 통해 최적화를 수행하고 최적화된 질의를 이용하여 쿼리문장을 생성하는 제 4 단계를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the fourth step of performing optimization through syntax and context analysis using the intermediate language and generating a query sentence using the optimized query.
KR1019980052531A 1998-12-02 1998-12-02 Building method of content-based image retrieval language using the VQL KR100305592B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980052531A KR100305592B1 (en) 1998-12-02 1998-12-02 Building method of content-based image retrieval language using the VQL

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980052531A KR100305592B1 (en) 1998-12-02 1998-12-02 Building method of content-based image retrieval language using the VQL

Publications (2)

Publication Number Publication Date
KR20000037782A KR20000037782A (en) 2000-07-05
KR100305592B1 true KR100305592B1 (en) 2001-09-29

Family

ID=19560984

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980052531A KR100305592B1 (en) 1998-12-02 1998-12-02 Building method of content-based image retrieval language using the VQL

Country Status (1)

Country Link
KR (1) KR100305592B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054958A (en) * 2001-12-26 2003-07-02 (주)오비씨소프트 Method for providing information and apparatus for the same
US9633006B2 (en) 2014-11-20 2017-04-25 Electronics And Telecommunications Research Institute Question answering system and method for structured knowledgebase using deep natural language question analysis

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020030545A (en) * 2000-10-18 2002-04-25 남 데이비드 이 Automatic answer and search method - based on artificial intelligence and natural languane process technology - for natural and sentencial questions.
KR100512275B1 (en) * 2002-01-17 2005-09-02 엘지전자 주식회사 Multimedia data description of content-based image retrieval

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054958A (en) * 2001-12-26 2003-07-02 (주)오비씨소프트 Method for providing information and apparatus for the same
US9633006B2 (en) 2014-11-20 2017-04-25 Electronics And Telecommunications Research Institute Question answering system and method for structured knowledgebase using deep natural language question analysis

Also Published As

Publication number Publication date
KR20000037782A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
JP4953468B2 (en) Method and apparatus for ontology data import / export
CN111694965B (en) Image scene retrieval system and method based on multi-mode knowledge graph
US20050138018A1 (en) Information retrieval system, search result processing system, information retrieval method, and computer program product therefor
CN111353030A (en) Knowledge question and answer retrieval method and device based on travel field knowledge graph
US20090024384A1 (en) Data processing method and system, program for realizing the method, and computer readable storage medium storing the program
US20240012810A1 (en) Clause-wise text-to-sql generation
CN109241080B (en) Construction and use method and system of FQL query language
CN102200974A (en) Unified information retrieval intelligent agent system and method for search engine
CN106446235B (en) Video searching method and device
CN111274267A (en) Database query method and device and computer readable storage medium
CN111176650B (en) Parser generation method, search method, server, and storage medium
KR20200082179A (en) Data transformation method for spatial data&#39;s semantic annotation
CN114201587A (en) Ontology-based search intention expression method and system
JP2003256455A (en) Xml document storage/retrieval device, xml document storage/retrieval method used in it, and program for it
CN115687572A (en) Data information retrieval method, device, equipment and storage medium
CN112818092A (en) Knowledge graph query statement generation method, device, equipment and storage medium
CN114462384A (en) Metadata automatic generation device for digital object modeling
KR100305592B1 (en) Building method of content-based image retrieval language using the VQL
KR100844265B1 (en) Method and system for providing POI searching services by semantic web
KR20090037704A (en) Meta data generation method for intutive image search
KR100303153B1 (en) System for storing and searching html document
CN116795968A (en) Knowledge extension and QA system based on Chat LLM technology
CN116523041A (en) Knowledge graph construction method, retrieval method and system for equipment field and electronic equipment
JP2001236352A (en) Method and device for semistructured document retrieval and storage medium stored with semistructured document retrieval program
Bordogna et al. Iconic queries on pictorial data

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070702

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee