KR20020034547A - Method for searching database by using inverse data type - Google Patents

Method for searching database by using inverse data type Download PDF

Info

Publication number
KR20020034547A
KR20020034547A KR1020000064936A KR20000064936A KR20020034547A KR 20020034547 A KR20020034547 A KR 20020034547A KR 1020000064936 A KR1020000064936 A KR 1020000064936A KR 20000064936 A KR20000064936 A KR 20000064936A KR 20020034547 A KR20020034547 A KR 20020034547A
Authority
KR
South Korea
Prior art keywords
search
inverse
database
type
searching
Prior art date
Application number
KR1020000064936A
Other languages
Korean (ko)
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 KR1020000064936A priority Critical patent/KR20020034547A/en
Publication of KR20020034547A publication Critical patent/KR20020034547A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: A method for searching a database by using an inverse data type is provided to offer information to a client by promptly searching the information corresponding to a query language interlocked with a wild card inputted without the head of a terms. CONSTITUTION: The method comprises steps of storing a store name as an inversed store name in a search terms database, searching the information related with a search terms interlocked with a wild card inputted by a client from the inversed store name stored in the search terms database by converting the search terms into a machine language read by a computer and regarding the machine language as a new inverse type search terms, and selecting the sought inversed store names and outputting the original store name corresponding to the selected inverse type search terms to the client.

Description

인버스 데이터 타입을 이용한 데이터베이스 검색 방법{METHOD FOR SEARCHING DATABASE BY USING INVERSE DATA TYPE}Database search method using inverse data type {METHOD FOR SEARCHING DATABASE BY USING INVERSE DATA TYPE}

본 발명은 인버스(inverse) 데이터 타입을 이용한 데이터베이스 검색 방법에 관한 것으로, 특히 앞부분의 단어를 모르고 검색하는 와일드 카드(*)가 연동된 질의어 형태의 질의에도 인버스 데이터 타입을 적용하여 질의어에 대응하는 검색 결과를 신속하게 검색할 수 있도록 하는 방법에 관한 것이다.The present invention relates to a database search method using an inverse data type. In particular, a search corresponding to a query by applying an inverse data type to a query having a wildcard (*) linked to a word without knowing the previous word is applied. It's about how to make it fast.

통상적으로, 데이터베이스(DataBase : 이하, DB라 약칭함)란 여러 응용 시스템을 공용하기 위해 중복으로 통합, 저장된 운영 데이터의 집합을 칭한다. 즉, 다수의 데이터들을 모아서 컴퓨터가 처리할 수 있는 형태로 저장한 DB를 생성하고 관리하면서, 상술한 DB로부터 사용자의 질의에 대한 대답을 추출하는 프로그램을 데이터베이스 관리 시스템(Data Base Management System : 이하, DBMS라 약칭함)이라 한다. 현재 시장에서 판매되고 있는 DBMS에는 Oracle, Infomix, MySQL, MS-SQL 등이 대표적이다.In general, a database (hereinafter, referred to as DB) refers to a collection of operational data that is integrated and stored in duplicate in order to share various application systems. That is, a program that collects a plurality of data and generates and manages a DB stored in a form that can be processed by a computer, and extracts an answer to a user's query from the DB described above. Abbreviated DBMS). Oracle, Infomix, MySQL, and MS-SQL are typical DBMSs currently on the market.

그러나, 이러한 DBMS의 경우, 대부분이 영어권 국가에서 제작됨으로써 한국어의 특성에 맞지 않는 부분이 존재한다. 즉, 특정한 단어만을 검색하는 경우는 크게 문제가 되지 않으나, 복합된 단어를 검색할 때에는 다수의 문제가 발생한다.However, most of these DBMSs are produced in English-speaking countries, so there are some parts that do not match the characteristics of Korean. In other words, searching only a specific word is not a problem, but a plurality of problems occur when searching for a complex word.

다시 말해서, 와일드 카드(*)가 뒤에 연동된 "질의어*" 의 경우에는 인덱스를 사용하여 빠른 검색이 가능하지만, 한국어에서는 상당수의 경우가 와일드 카드(*)가 앞에 연동된 "*질의어"의 형태로 질의를 하게 된다.In other words, in the case of the "query" with the wildcard (*), the index can be used for a quick search, but in many cases, the form of the "* query" with the wildcard (*) is preceded. The query is made with.

와일드 카드(*)가 문자 앞에 있을 경우, 데이터베이스를 검색하는 방법을 설명하기 위해 도 1에 도시된 차트(chart)를 참조하여 설명한다.When the wildcard (*) is in front of the character, it will be described with reference to the chart shown in FIG. 1 to explain how to search the database.

즉, "*피자집" 형 검색어가 클라이언트로부터 입력되면, 피자집이란 단어가 끝에 오는 모든 단어를 DB에서 검색하기 위해 복잡한 과정을 통해 도 1에 도시된 바와 같이 총 67회의 비교 검색을 하게 된다.That is, when a "* pizza house" type search word is input from the client, a total of 67 comparison searches are performed as shown in FIG. 1 through a complicated process to search for all words ending with the word pizza place in the DB.

보다 상세하게 설명하기 위해 "*피자" 형 검색어에 대하여 도 2의 차트(chart)와 도 3의 흐름도를 참조하여 설명하면, 검색어 DB내 차트(chart)에서 레코드(record) 1의 첫문자(A11)를 읽어와서(S301), A11이 "피"인지를 체크(S302)하여 "피"이면 A12가 "자"인지를 체크(S303)하여 "자"이면, A13이 존재하는지를 체크(S304)하여 존재하지 않으면, 레코드 1을 선택(S305)하여 클라이언트에게 출력한다. 여기서, A12가 "자"가 아니면, A12를 읽어와서(S306), A12가 피인지를 판단하는 단계(S307)를 수행하며, A13이 존재하는지를 체크하는 단계(S304)에서 존재하면, 레코드 2를 읽어와서(S312) A21이 "피"인지를 체크하는 단계부터 반복 수행한다(S313).In order to describe in more detail, the "* pizza" type search term will be described with reference to the chart of FIG. 2 and the flowchart of FIG. 3, and the first letter (A11) of record 1 in the chart in the search word DB is described. Read (S301), check whether A11 is "blood" (S302), if "blood", check if A12 is "child" (S303), if "child", check if A13 exists (S304) If it does not exist, record 1 is selected (S305) and output to the client. Here, if A12 is not " child ", A12 is read (S306), and A12 is determined to be blood (S307). If A13 is present to be checked (S304), record 2 is recorded. It reads (S312) and repeats from the step of checking whether A21 is "blood" (S313).

상술한 A11이 "피"인지를 체크하는 단계에서 "피"가 아니면, A12를 읽어와서(S306), A12가 "피"인지를 체크(S307)하여 "피"이면 A13이 "자"인지를 체크(S308)하여 "자"이면, A14가 존재하는지를 체크(S309)하여 존재하지 않으면, 레코드 1을 선택하여 클라이언트에게 출력한다(S310). 여기서, A13이 "자"가 아니면,A13을 읽어와서(S311), A13이 피인지를 판단하는 단계를 수행하며, A14가 존재하는지를 체크하는 단계(S309)에서 존재하면, 레코드 2를 읽어와서(S312), A21이 "피"인지를 체크하는 단계부터 반복 수행한다(S313).If it is not " blood " in the step of checking whether A11 is " blood ", A12 is read (S306), A12 is " blood " If it is checked (S308), if it is "child", it is checked whether A14 exists (S309). If it is not present, record 1 is selected and outputted to the client (S310). Here, if A13 is not " character ", A13 is read (S311), and A13 is determined to be blood, and if A14 is present at step S309, if present, record 2 is read ( S312), A21 is repeated from the step of checking whether or not "blood" (S313).

상술한 과정을 레코드 3의 첫문자(A31)(S314),...,레코드 N의 첫문자(Ai1)(S315) 까지 수행하고, 마지막으로, 레코드 N의 끝문자(Aij) 까지 반복 수행하여 레코드 N(S316)을 선택함에 따라 "*피자" 형에 대하여 검색한 결과를 클라이언트에게 출력하는 것이다.The above process is performed up to the first character (A31) (S314), ..., the first character (Ai1) (S315) of record N, and finally, repeatedly performed up to the end character (Aij) of record N As the record N (S316) is selected, the search result for the "* pizza" type is output to the client.

상술한 바와 같이 복잡하게 설명된 과정이 하나의 레코드에 대한 것이고, 동일한 과정을 전 레코드에 대해 반복 진행하게 되면, 상당히 많은 수의 읽어들이기와 비교 연산을 수행해야 함에 따라 검색 속도가 현저하게 감소하게 되는 문제가 있었다.As described above, the complicated process described is for one record, and if the same process is repeated for all records, the search speed is significantly reduced as a large number of read and compare operations are performed. There was a problem.

따라서, 본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로, 그 목적은 앞부분의 단어를 모르고 검색하는 와일드 카드(*)가 연동된 질의어 형태의 질의에도 인버스 데이터 타입을 적용하여 질의어에 대응하는 검색 결과를 신속하게 검색하여 클라이언트에게 출력할 수 있도록 하는 인버스(inverse) 데이터 타입을 이용한 데이터베이스 검색 방법을 제공함에 있다.Accordingly, the present invention has been made to solve the above-described problem, and its object is to search for a query corresponding to a query by applying an inverse data type to a query in the form of a query with a wildcard (*) that does not know the previous word. It provides a database search method using an inverse data type that can quickly retrieve a result and output it to a client.

상술한 목적을 달성하기 위한 본 발명에서 인버스(inverse) 데이터 타입을 이용한 데이터베이스 검색 방법은 레코드 단위의 상호에 대하여 인버스(inverse)된 상호로 검색어 데이터베이스에 저장하는 단계; 저장된 상태에서, 클라이언트로부터와일드 카드(*)가 앞에 연동된 검색어가 입력되면, 컴퓨터가 이해할 수 있는 기계언어로 변환한 후, 기계언어를 새로운 인버스(inverse)형의 검색어 형태로 취하여 검색어 데이터베이스에 저장된 인버스(inverse)된 상호를 통해 검색하는 단계; 검색된 인버스(inverse) 상호 결과를 선택하고, 선택된 인버스 상호 결과에 대응하는 원래 상호를 읽어와서 클라이언트에게 출력하는 단계를 포함한다.In order to achieve the above object, the present invention provides a method for searching a database using an inverse data type, the method comprising: storing in a search word database in a mutually inversed relation to each other in record units; In the stored state, if a search word linked with a wild card (*) is input from the client, the computer converts it into a machine language that can be understood by the computer, and then takes the machine language as a new inverse search form and stores it in the search word database. Searching through inversed trade names; Selecting a searched inverse mutual result and reading the original mutual name corresponding to the selected inverse mutual result and outputting the result to the client.

도 1은 종래 데이터베이스 검색을 위한 데이터 타입 차트를 도시한 도면이고,1 is a diagram illustrating a data type chart for a conventional database search.

도 2는 종래 데이터베이스 검색을 위한 데이터 테이블 차트를 도시한 도면이며,2 is a diagram illustrating a data table chart for searching a conventional database.

도 3은 종래 와일드 카드(*)가 문자 앞에 있을 경우, 데이터베이스 검색을 수행하는 방법에 대한 흐름도이며,3 is a flowchart of a method of performing a database search when a conventional wildcard (*) is preceded by a character.

도 4는 본 발명에 따른 인버스 데이터 타입을 이용한 데이터베이스 검색 방법을 수행하기 위한 블록 구성도이며,4 is a block diagram for performing a database search method using an inverse data type according to the present invention;

도 5는 본 발명에 따른 와일드 카드(*)가 문자 앞에 있을 경우, 인버스 데이터 타입으로 데이터베이스 검색을 위한 데이터 테이블 차트를 도시한 도면이며,5 is a diagram illustrating a data table chart for searching a database with an inverse data type when a wild card (*) is in front of a character according to the present invention.

도 6은 본 발명에 따른 와일드 카드(*)가 문자 앞에 있을 경우, 인버스 데이터 타입을 이용한 데이터베이스 검색 방법에 대한 흐름도이다.6 is a flowchart illustrating a database searching method using an inverse data type when a wild card (*) is in front of a character according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

10 : 클라이언트 20 : 데이터베이스 검색 시스템10: Client 20: Database Search System

21 : 검색어 수신부 23 : 변환부21: query receiving unit 23: conversion unit

25 : 쿼리 제어부 30 : 검색어 데이터베이스(DB)25: query control unit 30: query database (DB)

A : 인터넷A: Internet

이하, 첨부된 도면을 참조하여 본 발명에 따른 일 실시예를 상세하게 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described in detail an embodiment according to the present invention.

도 4를 참조하면, 본 발명에 따른 인버스 데이터 타입을 이용한 데이터베이스 검색 방법을 수행하기 위한 블록 구성도로서, 클라이언트(10)와, 데이터베이스(DataBase : 이하, DB라 약칭함) 검색 시스템(20)과, 검색어 DB(30)를 포함한다.Referring to FIG. 4, as a block diagram for performing a database searching method using an inverse data type according to the present invention, a client 10, a database (hereinafter, abbreviated as DB) searching system 20 and , Search word DB 30.

클라이언트(10)는 개인용 컴퓨터를 이용하며, 상술한 개인용 컴퓨터 내 윈도우 프로그램에 탑재된 웹 브라우져(도시되지 않음)를 이용하여 인터넷(A)에 연결하는 다수의 사용자들로서, 상술한 바와 같이 웹 브라우져를 통해 인터넷(A)에 접속한 후, 접속된 인터넷(A)을 경유하여 DB 검색 시스템(20)에 로그인(log in)하면서 연결된 후, 연결된 DB 검색 시스템(20)을 통해 자신이 원하는 검색어, 즉 "*피자집" 형의 검색어를 입력한다.The client 10 is a plurality of users who use a personal computer and connect to the Internet A using a web browser (not shown) mounted in the above-described window program in the personal computer. After connecting to the Internet (A) through, and connected while logged in (log in) to the DB search system 20 via the connected Internet (A), through the connected DB search system 20, the desired search words, that is, Enter a search term of type "* pizza".

DB 검색 시스템(20)은 검색어 수신부(21)와, 변환부(23)와, 쿼리 제어부(25)를 구비한다.The DB search system 20 includes a search term receiver 21, a converter 23, and a query controller 25.

검색어 수신부(21)는 클라이언트(10)로부터 인터넷(A)을 통해 입력되는 검색어, 즉 "*피자집" 형의 검색어를 변환부(23)에 제공한다.The search word receiver 21 provides the converter 23 a search word input from the client 10 through the Internet A, that is, a "* pizza collection" type search word.

변환부(23)는 검색어 수신부(21)로부터 제공되는 검색어, 즉 "*피자집" 형의 검색어를 컴퓨터가 이해할 수 있는 기계언어로 변환하여 쿼리 제어부(25)에 제공한다.The converting unit 23 converts a search word provided from the search word receiving unit 21, that is, a "* pizza collection" type search word into a machine language that can be understood by a computer, and provides it to the query control unit 25.

쿼리 제어부(25)는 변환부(23)로부터 제공되는 "*피자집" 형의 기계언어를 새로운 인버스(inverse)형의 질의어, 즉 "집자피*" 형태를 사용하여 검색어 DB(30)내 인버스 타입으로 저장된 인버스 데이터 칼럼을 통해 검색한 후, 이에 매치(match)되는 원래 필드(상호)의 내용을 선택하여 인터넷(A)을 통해 클라이언트(10)에게 출력한다.The query control unit 25 converts the machine language of "* pizza house" type provided from the conversion unit 23 into the inverse in the search word DB 30 using a new inverse query word, that is, "pizza blood *" form. After searching through the inverse data column stored as a type, the content of the original field (mutual) matched with this is selected and outputted to the client 10 through the Internet A.

검색어 DB(30)는 다수의 데이터를 저장하고 있는데, 기존 데이터의 형태를 뒤집어서 한 칼럼으로 추가하여 저장한다. 즉, 검색어 DB(30)는 기존 데이터 코드(code)를 원래 필드(상호)와는 반대로 즉, "피자"라는 단어의 경우, "피"에 해당하는 코드와 "자"에 해당하는 코드의 자리를 서로 바꾸어서 한 칼럼으로 추가하여 저장한다. 여기서, 검색어 DB(30)에 어떤 내용을 저장하게 되면, 자동 또는 수동으로 인버스 타입이 생성되어 동일 레코드 상에 인버스 필드(상호)로 존재하게 되는 것이다.The search word DB 30 stores a plurality of data, and inverts the form of the existing data and adds the data in one column. That is, the search word DB 30 replaces the existing data code (code) with the original field (mutual), that is, in the case of the word "pizza", the code corresponding to "p" and the code corresponding to "za" are replaced. Save them by swapping them together and adding them as a column. In this case, when a certain content is stored in the search word DB 30, an inverse type is generated automatically or manually and exists as an inverse field (mutual name) on the same record.

도 5에 도시된 와일드 카드(*)가 문자 앞에 있을 경우, 인버스 데이터 타입으로 DB 검색을 위한 데이터 테이블 차트를 참조하여 설명한다.When a wild card (*) shown in FIG. 5 is preceded by a character, the inverse data type will be described with reference to a data table chart for searching a DB.

즉, DB 검색 시스템(20)을 관리하는 운용자는 검색어 DB(30) 내부에 저장되는 데이터 타입(data type)에 인버스 타입을 도 5에 도시된 바와 같이 제공함으로써, 이 인버스 타입에 인덱스 또는 해쉬함수를 적용할 수 있는 토대를 마련하고 빠른 검색을 가능케 하는 구성을 제시한다.That is, the operator who manages the DB search system 20 provides an inverse type to a data type stored in the search word DB 30 as shown in FIG. 5, thereby indexing or hashing the inverse type. It lays the foundation for applying and proposes a structure that enables quick retrieval.

여기서, 인버스 타입(inverse type)이란, 기존 검색어 DB(30)에 저장되는 각 형태를 뒤집어서 저장하는 형태를 말한다. 다시 말해, 검색어 DB(30)에 저장되는 코드(code)를 원래 필드(상호)와는 반대로, 예를 들어, "피자"라는 단어의 경우, "피"에 해당하는 코드와 "자"에 해당하는 코드의 자리를 서로 바꾼다는 의미이다.Here, the inverse type refers to a form in which each form stored in the existing search word DB 30 is inverted and stored. In other words, the code stored in the search word DB 30 is opposite to the original field (mutual), for example, in the case of the word "pizza", the code corresponding to "p" and the "child" It means swapping the code.

즉, 종래 기술에서 "*피자집" 형을 검색하면, 복잡한 과정을 거쳐 총 67회의 비교검색을 하게 되는데, 도 5에 도시된 바와 같이, 본 발명에 따른 인버스 타입이 적용된 칼럼을 이용하여 "집자피*" 형을 검색하면, 총 14회의 비교검색만으로 필요한 정보검색이 가능하게 된다. 따라서, 인버스 타입의 데이터 필드를 포함시킴으로서 비교 및 검색 연산의 4분의 1정도로 줄이게 되는 것이다.That is, when searching for "* pizza house" type in the prior art, a total of 67 comparison searches are performed through a complicated process. As shown in FIG. 5, the "house" is applied using a column to which an inverse type according to the present invention is applied. If you search for "Japi *" type, you will be able to search the information you need with only 14 comparative searches. Thus, including an inverse type of data field reduces to one quarter of the comparison and search operations.

도 6의 흐름도를 참조하여, 본 발명에 따른 와일드 카드(*)가 문자 앞에 있을 경우, 인버스 데이터 타입을 이용한 데이터베이스 검색 방법에 대하여 상세하게 설명한다.With reference to the flowchart of FIG. 6, a wildcard (*) according to the present invention will be described in detail with respect to a database search method using an inverse data type.

먼저, DB 검색 시스템(20)을 관리하는 운용자에 의해 검색어 DB(30)에 다수의 데이터를 저장하면서 관리한다. 이때, 운용자는 검색어 DB(30)에 저장된 기존 데이터의 형태를 뒤집어서 한 칼럼으로 추가하여 도 5에 도시된 바와 같이 상호 칼럼에 대하여 인버스(inverse)된 i-Data(상호) 칼럼과 같이 저장한다(단계 601).First, the operator managing the DB search system 20 manages while storing a plurality of data in the search word DB (30). At this time, the operator inverts the form of the existing data stored in the search word DB 30 and adds it to one column and stores the same as an i-Data (inter) column inversed with respect to the mutual column as shown in FIG. 5. Step 601).

즉, 검색어 DB(30)에 기존 데이터 코드(code)를 원래 필드(상호)와는 반대로저장하는데, 예를 들어, "피자"라는 단어의 경우, "피"에 해당하는 코드와 "자"에 해당하는 코드의 자리를 서로 바꾸어서 한 칼럼으로 추가하여 저장한다. 여기서, 검색어 DB(30)에 어떤 내용을 저장하게 되면, 자동 또는 수동으로 인버스 타입이 생성되어 동일 레코드 상에 인버스 필드(상호)로 존재하게 되는 것이다.That is, an existing data code is stored in the search word DB 30 as opposed to the original field (mutual). For example, the word "pizza" corresponds to a code corresponding to "p" and "child". The code is replaced with each other and stored in one column. In this case, when a certain content is stored in the search word DB 30, an inverse type is generated automatically or manually and exists as an inverse field (mutual name) on the same record.

상술한 바와 같은 상태에서, 클라이언트(10)는 웹 브라우져(도시되지 않음)를 이용하여 인터넷(A)에 접속한 후, 접속된 인터넷(A)을 경유하여 DB 검색 시스템(20)에 로그인(log in)하면서 인증 절차를 완료한 후, DB 검색 시스템(20)을 통해 자신이 원하는 검색어, 즉 "*피자집" 형의 검색어를 입력한다(단계 602).In the above state, the client 10 accesses the Internet A using a web browser (not shown), and then logs in to the DB search system 20 via the connected Internet A. in) and completes the authentication procedure, and inputs a desired search word through the DB search system 20, that is, a search word of "* pizza collection" type (step 602).

DB 검색 시스템(20)내 검색어 수신부(21)는 클라이언트(10)로부터 인터넷(A)을 통해 입력되는 검색어, 즉 "*피자집" 형의 검색어를 변환부(23)에 제공하며(단계 603), 변환부(23)는 검색어 수신부(21)로부터 제공되는 검색어, 즉 "*피자집" 형의 검색어를 컴퓨터가 이해할 수 있는 기계언어로 변환하여 쿼리 제어부(25)에 제공한다(단계 604).The search term reception unit 21 in the DB search system 20 provides a search term input from the client 10 through the Internet A, that is, a search word of a "* pizza collection" type to the conversion unit 23 (step 603). The converting unit 23 converts a search word provided from the search word receiving unit 21, that is, a "* pizza collection" type into a machine language which can be understood by the computer, and provides it to the query control unit 25 (step 604).

쿼리 제어부(25)는 변환부(23)로부터 제공되는 "*피자집" 형의 기계언어를 새로운 인버스(inverse)형의 질의어, 즉 "집자피*" 형태를 사용하여 검색어 DB(30)내 인버스 타입으로 저장된 인버스 데이터 칼럼을 통해 검색한다(단계 605).The query control unit 25 converts the machine language of "* pizza house" type provided from the conversion unit 23 into the inverse in the search word DB 30 using a new inverse query word, that is, "pizza blood *" form. The search is made through an inverse data column stored as a type (step 605).

즉, 도 5에 도시된 i-데이터(Data)(상호) 부분을 참조하여 설명하면, 레코드 1을 읽어 "자피홀트아나가" 중 첫 자인 "자"와 "집"이 동일한지를 판단한다(단계 606).That is, referring to the i-Data (mutual) portion shown in FIG. 5, the record 1 is read to determine whether the first character of "Zafiholtanaga" and "home" are the same (step). 606).

상기 판단 단계(606)에서 "자"와 "집"이 동일하지 않으므로, 레코드 2를 읽어 "부본동운진추효충민국" 중 첫 자인 "부"와 "집"이 동일한지를 판단한다(단계 607).In the determination step 606, since "child" and "house" are not the same, record 2 is read to determine whether "bu" and "house", which are the first characters of the "Bon-dong Dong-unjin Hyo-min-guk-guk", are the same (step 607). .

상기 판단 단계(607)에서 "부"와 "집"이 동일하지 않으므로, 레코드 3을 읽어 "설건합종제국" 중 첫 자인 "설"과 "집"이 동일한지를 판단한다(단계 608).In the determination step 607, since "part" and "house" are not the same, record 3 is read to determine whether "Seol" and "house", which are the first characters of the Founding Empire, are the same (step 608).

상기 판단 단계(608)에서 "설"과 "집"이 동일하지 않으므로, 레코드 4를 읽어 "홀딩웨화국" 중 첫 자인 "홀"과 "집"이 동일한지를 판단한다(단계 609). 이러한 과정을 거쳐 레코드 7까지 완료되면, 레코드 8을 읽어 "집자피자림그" 중 첫 자인 "집"과 "집"이 동일한지를 판단한다(단계 610).Since "Sol" and "House" are not the same in the determination step 608, the record 4 is read to determine whether "Hall" and "House", which are the first characters of the "Holding Western Republic," are the same (step 609). When the record 7 is completed through this process, the record 8 is read to determine whether the first character of the "home pizza pizza" and "home" are the same (step 610).

상기 판단 단계(610)에서, "집"과 "집"이 동일하므로, 다음 문자 "자"와 "자"가 동일한지를 체크한다(단계 611).In the determination step 610, since "home" and "home" are the same, it is checked whether the next character "child" and "child" are the same (step 611).

상기 체크 단계(611)에서, "자"와 "자"가 동일하므로, 다음 문자 "피"와 "피"가 동일한지를 체크한다(단계 612).In the checking step 611, since "child" and "child" are the same, it is checked whether the next character "blood" and "blood" are the same (step 612).

상기 체크 단계(612)에서, "피"와 "피"가 동일하므로, 레코드 8을 선택한다(단계 613).In the check step 612, since " blood " and " blood " are the same, record 8 is selected (step 613).

쿼리 제어부(25)는 다음 레코드 9를 읽어 "집자피린기" 중 첫 자인 "집"과 "집"이 동일한지를 판단한다(단계 610).The query control unit 25 reads the next record 9 and determines whether the first character of the "home piercing machine" and "home" are the same (step 610).

상기 판단 단계(610)에서, "집"과 "집"이 동일하므로, 다음 문자 "자"와 "자"가 동일한지를 체크한다(단계 611).In the determination step 610, since "home" and "home" are the same, it is checked whether the next character "child" and "child" are the same (step 611).

상기 체크 단계(611)에서, "자"와 "자"가 동일하므로, 다음 문자 "피"와 "피"가 동일한지를 체크한다(단계 612).In the checking step 611, since "child" and "child" are the same, it is checked whether the next character "blood" and "blood" are the same (step 612).

상기 체크 단계(612)에서, "피"와 "피"가 동일하므로, 레코드 9를 선택한다(단계 614).In the check step 612, since " blood " and " blood " are the same, record 9 is selected (step 614).

마지막으로, 쿼리 제어부(25)는 다음 레코드 10을 읽어 "점본자피합종린기" 중 첫 자인 "점"과 "집"이 동일한지를 판단한다(단계 615).Finally, the query control unit 25 reads the next record 10 and determines whether the first character of the "Jumbon blood donor seedling" and the "house" are the same (step 615).

상기 판단 단계에서 "점"와 "집"이 동일하지 않으므로, 다음 레코드를 읽어 판단하는 과정을 계속적으로 진행하는데, 도 5에서는 레코드 10까지에 대하여만 도시하고, 이에 대하여 설명한 것으로, 선택된 레코드 8과 레코드 9에 매치(match)되는 원래 필드(상호), 즉 레코드 8의 "그림자피자집"과, 레코드 9의 "기린피자집"을 읽어와서 인터넷(A)을 통해 클라이언트(10)에게 출력한다(단계 616).Since "dot" and "house" are not the same in the determination step, the process of reading and determining the next record is continuously performed. In FIG. 5, only the record 10 is illustrated, and as described above, The original field (mutual) that matches record 9, that is, the "shadow pizza collection" of record 8 and the "giraffe pizza collection" of record 9, is read and output to the client 10 via the Internet A ( Step 616).

한편, 인버스(inverse) 타입을 자동적으로 지원하지 않는 경우, 인버스 타입 데이터의 저장 및 검색을 지원하지 않으므로, DB 검색 시스템(20)에서 처리하도록 설계해야 하며, DB 검색 시스템(20)을 관리하는 운용자는 먼저 검색어 DB(30)와 연동시 인버스된 필드를 생성하도록 설계해야 한다.On the other hand, if it does not automatically support the inverse type, since it does not support the storage and retrieval of inverse type data, it must be designed to be processed in the DB search system 20, the operator managing the DB search system 20 First, it should be designed to generate an inversed field when interworking with the search word DB (30).

따라서, 와일드 카드(*)가 문자 앞에 있는 "*질의어" 형일 경우, 새로운 인버스(inverse)형인 "어의질*" 형태를 사용하여 검색어 DB(30)내 인버스 타입으로 저장된 인버스 데이터 칼럼을 통해 검색하여 검색 효율 및 속도를 높일 수 있다.Therefore, if the wildcard (*) is "* query" type in front of the character, the new inverse type "word quality *" is used to search through the inverse data column stored as the inverse type in the search word DB (30). Search efficiency and speed can be increased.

그러므로, 본 발명은 앞부분의 단어를 모르고 검색하는 와일드 카드(*)가 연동된 질의어 형태의 질의에도 인버스 데이터 타입을 적용하여 질의어에 대응하는 검색 결과를 신속하게 검색함으로써, 검색 효율을 높일 수 있고, 검색 속도를 빠르게 할 수 있으며, 각종 한국어 웹 검색엔진의 검색 효율성 및 속도 증대에 따른 사용자의 편의성과, DB를 사용하는 업체의 검색 효율성 및 속도 증대에 따른 업무 효율성 증가와, DBMS 개발업체와의 제휴관계 생성에 따른 외화획득을 기대할 수 있는 효과가 있다.Therefore, the present invention can increase the search efficiency by quickly searching the search results corresponding to the query by applying the inverse data type to the query of the query form linked to the wild card (*) that does not know the previous word, Search speed can be increased, user convenience due to increase of search efficiency and speed of various Korean web search engines, increase of work efficiency due to increase of search efficiency and speed of companies using DB, cooperation with DBMS developer It is effective to expect foreign currency acquisition by creating relationships.

Claims (4)

데이터베이스 검색 시스템에서의 데이터베이스 검색 방법에 있어서,In the database search method in a database search system, 레코드 단위의 상호에 대하여 인버스(inverse)된 상호로 검색어 데이터베이스에 저장하는 단계;Storing the search terms in the search terms database inverse to each other in record units; 상기 저장된 상태에서, 클라이언트로부터 와일드 카드(*)가 앞에 연동된 검색어가 입력되면, 컴퓨터가 이해할 수 있는 기계언어로 변환한 후, 상기 기계언어를 새로운 인버스(inverse)형의 검색어 형태로 취하여 상기 검색어 데이터베이스에 저장된 인버스(inverse)된 상호를 통해 검색하는 단계;In the stored state, when a search word linked with a wildcard (*) is input from a client, the search word is converted into a machine language that can be understood by a computer, and then the machine language is taken as a new inverse type search word. Retrieving through an inverse traded name stored in a database; 상기 검색된 인버스(inverse) 상호 결과를 선택하고, 선택된 인버스 상호 결과에 대응하는 원래 상호를 읽어와서 상기 클라이언트에게 출력하는 단계를 포함하는 것을 특징으로 하는 인버스 데이터 타입을 이용한 데이터베이스 검색 방법.Selecting the searched inverse mutual result and reading the original mutual name corresponding to the selected inverse mutual result and outputting the original mutual name to the client. 제 1 항에 있어서, 상기 새로운 인버스(inverse)형의 검색어 형태는,The method of claim 1, wherein the new inverse search term form is: 상기 클라이언트로부터 입력된 "*검색어" 형의 검색어를 "어색검*" 형태의 인버스(inverse)형으로 뒤집은 상태인 것을 특징으로 하는 인버스 데이터 타입을 이용한 데이터베이스 검색 방법.And a "* search word" type search word input from the client in an inverse form of "awkward search *" type. 제 1 항에 있어서, 상기 인버스(inverse)된 상호는,The method of claim 1, wherein the inversed mutual is 상기 검색어 데이터베이스의 데이터 테이블 내 한 칼럼으로 추가하여 저장하는 것을 특징으로 하는 인버스 데이터 타입을 이용한 데이터베이스 검색 방법.And searching and storing the data in one column of the data table of the search word database. 제 1 항에 있어서,The method of claim 1, 상기 인버스(inverse)된 상호 칼럼을 통해 검색할 경우, 통계적인 패턴 방식으로 검색하는 것을 특징으로 하는 인버스 데이터 타입을 이용한 데이터베이스 검색 방법.When searching through the inverse mutual column, the database search method using an inverse data type, characterized in that for searching in a statistical pattern method.
KR1020000064936A 2000-11-02 2000-11-02 Method for searching database by using inverse data type KR20020034547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000064936A KR20020034547A (en) 2000-11-02 2000-11-02 Method for searching database by using inverse data type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000064936A KR20020034547A (en) 2000-11-02 2000-11-02 Method for searching database by using inverse data type

Publications (1)

Publication Number Publication Date
KR20020034547A true KR20020034547A (en) 2002-05-09

Family

ID=19696920

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000064936A KR20020034547A (en) 2000-11-02 2000-11-02 Method for searching database by using inverse data type

Country Status (1)

Country Link
KR (1) KR20020034547A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0155308B1 (en) * 1995-06-23 1998-11-16 정선종 Dynamic information index device & method
KR19990025846A (en) * 1997-09-19 1999-04-06 박원훈 System for searching Korean professional information on computer system
KR19990040752A (en) * 1997-11-19 1999-06-05 정선종 Tri-Dictionaries for Map Terminology and How to Register and Search
US5953723A (en) * 1993-04-02 1999-09-14 T.M. Patents, L.P. System and method for compressing inverted index files in document search/retrieval system
KR19990084950A (en) * 1998-05-12 1999-12-06 이계철 Data partial retrieval device using inverse file and its method
KR20000045107A (en) * 1998-12-30 2000-07-15 이계철 Method for korean synonym search using phoneme level's appropriate function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5953723A (en) * 1993-04-02 1999-09-14 T.M. Patents, L.P. System and method for compressing inverted index files in document search/retrieval system
KR0155308B1 (en) * 1995-06-23 1998-11-16 정선종 Dynamic information index device & method
KR19990025846A (en) * 1997-09-19 1999-04-06 박원훈 System for searching Korean professional information on computer system
KR19990040752A (en) * 1997-11-19 1999-06-05 정선종 Tri-Dictionaries for Map Terminology and How to Register and Search
KR19990084950A (en) * 1998-05-12 1999-12-06 이계철 Data partial retrieval device using inverse file and its method
KR20000045107A (en) * 1998-12-30 2000-07-15 이계철 Method for korean synonym search using phoneme level's appropriate function

Similar Documents

Publication Publication Date Title
CN100596353C (en) Method and system for providing log service
US6304872B1 (en) Search system for providing fulltext search over web pages of world wide web servers
JP3295667B2 (en) Method and system for accessing information on a network
US7680789B2 (en) Indexing and searching numeric ranges
US20020184202A1 (en) Database processing method, apparatus for carrying out the same and medium storing processing program
CN109241384B (en) Scientific research information visualization method and device
US7406697B2 (en) System and method including a merging driver for accessing multiple data sources
CN110532347A (en) A kind of daily record data processing method, device, equipment and storage medium
CN111400323A (en) Data retrieval method, system, device and storage medium
US20030023584A1 (en) Universal information base system
CN113377876A (en) Domino platform-based data sub-database processing method, device and platform
JP2001243242A (en) Inquiry processing method, database management system to execute the same and recording medium storing processing program
JP3360693B2 (en) Customer information search method
KR20000071937A (en) Method for retrieving data on internet through constructing site information database
CN110825747A (en) Information access method, device and medium
KR20020034547A (en) Method for searching database by using inverse data type
JPH07234879A (en) Information processor and data base retrieving method
JP2976891B2 (en) Remote database access method
JPH07182333A (en) Japanese processor
JP2002312389A (en) Information retrieving device and information retrieving method
KR20000054256A (en) System and Method for searching personal information on internet
KR100778328B1 (en) A method of query optimization in database by the use of virtual columns
KR20000056924A (en) Data conversion method for converting text file searched for art data into master table for art information analysis
CN114817237A (en) Data collection method and equipment
JPH0391067A (en) Document preparing device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application
E601 Decision to refuse application