KR20000039983A - Method for implementing database in intelligent network scp system - Google Patents

Method for implementing database in intelligent network scp system Download PDF

Info

Publication number
KR20000039983A
KR20000039983A KR1019980055488A KR19980055488A KR20000039983A KR 20000039983 A KR20000039983 A KR 20000039983A KR 1019980055488 A KR1019980055488 A KR 1019980055488A KR 19980055488 A KR19980055488 A KR 19980055488A KR 20000039983 A KR20000039983 A KR 20000039983A
Authority
KR
South Korea
Prior art keywords
tree
intelligent network
database
index
service
Prior art date
Application number
KR1019980055488A
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 KR1019980055488A priority Critical patent/KR20000039983A/en
Publication of KR20000039983A publication Critical patent/KR20000039983A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/755Account identification
    • H04M15/7556Account identification by SIM, e.g. smart card account in SCP, SDP or SN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/558Databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/72Account specifications
    • H04M2215/7222Account identification
    • H04M2215/7231Account identification by SIM, e.g. smart card account in SCP, SDP or SN

Abstract

PURPOSE: A method for implementing a database in an intelligent network SCP system is provided to decrease a searching time by composing the method as a distributed tree structure. CONSTITUTION: A tree figure witch wants to be distributed is determined when constructing a database of an intelligent network service control system(ST1). A key value is divided and a share is collected to form a group of a key for having a number of desired tree, and then a tree is distributed using the group of the key as an index of the tree(ST2,ST3). An index by the group of the key is searched to search a tree, and data is read(ST4).

Description

지능망 에스시피 시스템의 데이터베이스 구현 방법Database Implementation Method of Intelligent Network Recipe System

본 발명은 지능망 시스템의 SCP(Service Control Point, 서비스 제어 시스템) 시스템에 관한 것으로, 특히 빠른 정보 탐색과 안정적 관리를 위한 SCP 데이터베이스를 구현하는 방법에 관한 것이다.The present invention relates to an SCP (Service Control Point) system of an intelligent network system, and more particularly, to a method for implementing an SCP database for fast information search and stable management.

일반적으로 지능망은 유연한 통신망 구조를 실현하고, 표준화된 망 접속 기능을 제공하며, 신속한 서비스를 수행하기 위해 도입되었다.In general, the intelligent network has been introduced to realize a flexible communication network structure, provide a standardized network access function, and perform a quick service.

도1은 일반적인 지능망 시스템의 블록구성도이다.1 is a block diagram of a general intelligent network system.

이에 도시된 바와 같이, 참조번호 1은 특정 서비스를 식별할 수 있는 다이얼된 디지트를 인식하여 이를 집중화된 데이터베이스인 SCP(5)에 문의하고 응답을 받아 호를 라우팅하는 기능을 수행하는 SSP(Service Switching Point, 서비스 수행 교환기)이고, 2는 상기 SSP(1)와 연결된 지능 주변 시스템인 IP(Intelligent Peripheral)이며, 3은 상기 SSP(1)와 ISDN(Integrated Services Digital Network, 종합정보통신망)으로 연결된 VFN(Vender Feature Node, 장치 공급자 특성 노드)이고, 4는 상기 SSP(1)와 연결되어 지능망의 모든 신호점에서 발생되는 수많은 신호 메시지들을 매우 빠른 시간 안에 오류없이 전달하는 기능을 수행하는 STP(Signal Transfer Point, 신호 중계 교환기)이며, 5는 지능망 서비스 수행에 필요한 데이터 및 절차에 관련된 정보를 갖고 있고, 이를 이용하여 총괄 서비스 제어를 수행하는 SCP이고, 6은 상기 SCP(5)가 사용하는 데이터베이스를 관리하고, 서비스 제어를 위하여 필요한 가입자의 데이터를 효율적으로 운용관리하는 SMS(Service Management System, 서비스 데이터 관리 시스템)이다.As shown therein, reference numeral 1 recognizes a dialed digit that can identify a particular service, and inquires it to the centralized database SCP (5) and receives a response to perform a service routing function (SSP) Point, service performing exchange), 2 is Intelligent Peripheral (IP), which is an intelligent peripheral system connected to the SSP 1, and 3 is a VFN connected to the SSP 1 and an Integrated Services Digital Network (ISDN). (Vender Feature Node, Device Provider Feature Node), and 4 is STP (Signal Transfer) which is connected to the SSP 1 and performs a function of delivering a large number of signal messages generated at all signal points of an intelligent network without error in a very short time. Point, a signal relay switch), and 5 has information related to data and procedures necessary for performing an intelligent network service, and S performs overall service control using the same. CP, 6 is a service management system (SMS) that manages the database used by the SCP (5), and efficiently manages and manages subscriber data necessary for service control.

여기서 Com.Inf는 Communication Interface의 약자이고, Pgm.Inf는 Program Interface의 약자이다.Where Com.Inf stands for Communication Interface and Pgm.Inf stands for Program Interface.

이러한 지능망 서비스는 가상 사설망 서비스(Virtual Private Network service, VPN), 선불카드 서비스(Prepaid Card Service), 착신과금 서비스(Freephone Service) 등이 있다.Such intelligent network services include virtual private network services (VPNs), prepaid card services, and freephone services.

지능망 서비스를 위하여 SCP(5) 내부에는 각각의 서비스별 데이터베이스를 운용한다. 따라서 본 발명은 새로운 지능망 서비스가 개발될 경우 모든 서비스별 데이터베이스 구현에 적용 가능하다.For the intelligent network service, each service-specific database is operated inside SCP (5). Therefore, the present invention can be applied to all service-specific database implementations when a new intelligent network service is developed.

종래에는 이러한 지능망 서비스가 구축되어 있지 않았기 때문에 데이터베이스를 관리할 필요가 없었다.In the past, since such an intelligent network service was not built, there was no need to manage a database.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은 데이터베이스를 구성하기 위해 트리구조를 사용하고, 한 개의 트리구조로 되었을 경우에 발생될 수 있는 불안정성을 제거하기 위해 데이터베이스를 다수개의 인덱스를 가진 다수개의 트리로 구성하여 빠른 정보 탐색과 안정성 있게 구축할 수 있는 지능망 SCP 시스템의 데이터베이스 구현 방법을 제공하는 데 있다.Accordingly, the present invention has been proposed to solve the above conventional problems, and an object of the present invention is to use a tree structure to construct a database, and to eliminate instability that may occur when one tree structure is formed. In order to provide a database implementation method of an intelligent SCP system that can construct a database consisting of a plurality of trees with a large number of indexes, to quickly search for information and build it stably.

상기와 같은 목적을 달성하기 위하여 본 발명에 의한 지능망 SCP 시스템의 데이터베이스 구현 방법은,Database implementation method of the intelligent network SCP system according to the present invention to achieve the above object,

지능망 서비스 제어 시스템의 데이터베이스 구축시 분산시키고 싶은 만큼의 트리 숫자를 결정하고, 원하는 트리의 수가 나오도록 키 값을 나누고 몫을 취하여 키의 그룹을 형성한 다음 상기 키 그룹을 트리의 인덱스로 하여 트리를 분산시킨 다음 상기 키 그룹별 인덱스를 찾아 트리를 탐색하여 데이터를 가져오는 것을 수행함을 그 기술적 구성상의 특징으로 한다.When constructing database of intelligent network service control system, determine the number of tree to be distributed, divide the key value and take quotient to form the number of tree to get the desired number of trees, and then form the tree with the key group as the index of the tree. After the distribution, the index of each key group is searched and the tree is retrieved to obtain data.

도1은 일반적인 지능망 시스템의 블록구성도이고,1 is a block diagram of a general intelligent network system,

도2는 본 발명에 의한 지능망 SCP 시스템의 데이터베이스 구현 방법을 보인 흐름도이며,2 is a flow chart showing a database implementation method of the intelligent network SCP system according to the present invention,

도3은 본 발명의 일실시예에 의한 지능망 SCP 시스템의 VPN 서비스를 위한 데이터베이스 구조도이고,Figure 3 is a database structure diagram for the VPN service of the intelligent network SCP system according to an embodiment of the present invention,

도4는 본 발명의 일실시예에 의한 지능망 SCP 시스템의 선불카드 서비스를 위한 데이터베이스 구조도이며,Figure 4 is a database structure diagram for the prepaid card service of the intelligent network SCP system according to an embodiment of the present invention,

도5는 본 발명의 일실시예에 의한 지능망 SCP 시스템의 착신과금 서비스를 위한 데이터베이스 구조도이다.5 is a database structure diagram for an incoming billing service of an intelligent network SCP system according to an embodiment of the present invention.

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

1 : SSP 2 : IP1: SSP 2: IP

3 : VFN 4 : STP3: VFN 4: STP

5 : SCP 6 : SMS5: SCP 6: SMS

이하, 상기와 같은 본 발명 지능망 SCP 시스템의 데이터베이스 구현 방법의 기술적 사상에 따른 일실시예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the technical idea of the database implementation method of the present invention intelligent network SCP system will be described in detail with reference to the accompanying drawings.

먼저 본 발명은 데이터베이스를 구성하기 위해 트리구조를 사용하고, 한 개의 트리구조로 되었을 경우에 발생될 수 있는 불안정성인 트리의 포인터가 깨질 경우 발생할 수 있는 data anomaly 현상을 제거하기 위해 데이터베이스를 다수개의 인덱스를 가진 다수개의 트리로 구성하여, 빠른 정보 탐색과 안정성 있는 데이터베이스 구축이 가능하다.First, the present invention uses a tree structure to construct a database, and indexes a plurality of indexes to remove data anomaly that may occur when a pointer to a tree that is unstable that may occur when one tree structure is broken is broken. Composed of multiple trees with, it is possible to quickly search for information and build a stable database.

지능망 서비스는 가상 사설망 서비스, 선불카드 서비스, 착신과금 서비스 등이 있는데, 가상 사설망 서비스는 우리망(신세기 이동망, SKT 이동망 등) 내 가입자들끼리 가상의 사설망을 구성하여 망내 가입자들끼리는 3~4자리의 내선번호만으로 통화를 하도록 하는 서비스이다. 즉, 기존의 PABX(Private Automatic Branch Exchange, 자동식 구내 교환 설비) 망 내에서 내선번호로 통화하는 기능을 소프트웨어적으로 구현한 것이다.The intelligent network service includes virtual private network service, prepaid card service, and forwarding billing service.Virtual private network service consists of virtual private network among subscribers in our network (New Century mobile network, SKT mobile network, etc.) and 3 ~ 4 digits This service allows you to make calls only to your extension. In other words, the software implements the function of calling an extension number in the existing PABX (Private Automatic Branch Exchange) network.

선불카드 서비스는 임의의 우리망 가입자가 통신망 사업자가 발급하는 선불카드를 구입하여 구입한 카드를 이용해 통화하는 서비스이다. 기존에 통화후 월별로 정산하던 것을 선불카드를 이용할 경우에는 통화 직후에 바로 선불카드의 잔액을 갱신함으로써 과금정산이 이루어진다. 따라서 통화료를 바로 확인할 수 있는 장점이 있다. 또 다른 방법은 구입한 선불카드에 자신의 단말기를 등록하여 월별 과금 정산 시 구입한 선불카드 금액에서 초과분 만을 정산하는 방식이 있다. 이러한 방식은 증정용으로 사용하면 편리하다.Prepaid card service is a service in which a random subscriber of our network purchases a prepaid card issued by a network operator and makes a call using a purchased card. In the case of using a prepaid card that was previously settled monthly after the call, the billing settlement is performed by updating the balance of the prepaid card immediately after the call. Therefore, there is an advantage that you can check the call charge immediately. Another method is to register the terminal with the purchased prepaid card and settle the excess from the amount of the prepaid card purchased at the time of monthly billing settlement. This is convenient for presenting.

착신과금 서비스는 자신의 단말기로 착신되는 호의 과금을 자신의 단말기로 청구하도록 하는 서비스이다. 이때 시간제한이나 지역제한 등의 옵션을 등록하여 자신이 원하지 않는 상황에 대해서는 착신과금을 거부할 수도 있다.Incoming billing service is a service that allows the user to charge the charge of the call that is received to his terminal. At this time, you can deny call charges for situations you do not want by registering options such as time limit or regional limit.

이러한 서비스들을 구현하기 위해서 지능망 요소인 SCP(5)에서는 각 서비스별 데이터베이스를 관리한다. 데이터베이스의 내용은 가상 사설망 서비스 데이터베이스인 경우 내선번호에 대한 실제 가입자의 MIN 정보 등이 있고, 선불카드 서비스 데이터베이스인 경우에는 카드의 잔액정보 등이 있으며, 착신과금 서비스 데이터베이스인 경우에는 시간 및 지역제한 정보 등이 있다.To implement these services, SCP (5), an intelligent network element, manages a database for each service. The contents of the database include the actual subscriber's MIN information for the extension number in the case of the virtual private network service database, the balance information of the card in the case of the prepaid card service database, and the time and region restriction information in the case of the call forwarding service database. Etc.

도2는 본 발명에 의한 지능망 SCP 시스템의 데이터베이스 구현 방법을 보인 흐름도이다.2 is a flow chart showing a database implementation method of the intelligent network SCP system according to the present invention.

이에 도시된 바와 같이, 지능망 서비스 제어 시스템의 데이터베이스 구축시 분산시키고 싶은 만큼의 트리 숫자를 결정하는 단계(ST1)와; 원하는 트리의 수가 나오도록 키 값을 나누고 몫을 취하여 키의 그룹을 형성한 다음 상기 키 그룹을 트리의 인덱스로 하여 트리를 분산시키는 단계와(ST2)(ST3)와; 상기 키 그룹별 인덱스를 찾아 트리를 탐색하여 데이터를 가져오는 단계(ST4)를 수행한다.As shown therein, determining the number of trees to be distributed in the database construction of the intelligent network service control system (ST1); Dividing the key values to obtain the desired number of trees, taking a quotient to form a group of keys, and then distributing the tree using the key group as an index of the tree (ST2) (ST3); In step ST4, the index is searched for the key group to search the tree.

그래서 본 발명에 의해 구축된 SCP(5) 데이터베이스의 기본 구조는 균형 트리이다. 균형 트리의 가장 큰 장점은 빠른 탐색 시간에 있다. 그에 반해 단점으로서는 안정성 문제이다. 따라서 본 발명은 더욱 빠른 탐색시간과 안정성을 갖도록 하기 위해 다중 분산 트리 구조를 사용한다.Thus, the basic structure of the SCP (5) database constructed by the present invention is a balance tree. The biggest advantage of the balance tree is its fast search time. On the contrary, it is a stability problem. Therefore, the present invention uses multiple distributed tree structures to have faster search time and stability.

분산 트리란 한 개의 트리 안에 가입자 전체를 저장하는 것이 아니라, 여러 개의 트리로 적당히 분산시키는 것을 의미한다. 트리를 분산시키는 방법은 키의 특성에 다라 결정되는데, 키를 그룹화시키는 것이 가장 중요하다.A distributed tree does not mean storing the entire subscriber in one tree, but rather distributing it into several trees. The way in which the tree is distributed depends on the characteristics of the keys, the most important being the grouping of the keys.

그래서 도3의 VPN 서비스에서는 각각의 내선 정보를 VPN 그룹으로 그룹화시켜 VPN 그룹별로 트리를 분산시키고, 도4의 선불카드 서비스에서는 12자리의 선불카드 번호를 앞의 4자리로 그룹화시켜 분산시키며, 도5의 착신과금 서비스에서는 국번으로 키를 그룹화하여 국번별 트리로 분산시키게 된다.Thus, in the VPN service of FIG. 3, each extension information is grouped into a VPN group to distribute a tree for each VPN group. In the prepaid card service of FIG. 4, a 12-digit prepaid card number is grouped and distributed into the first 4 digits. In the incoming billing service of 5, keys are grouped by station number and distributed to a tree by station number.

그리고 데이터베이스 구축시 가장 중요한 것이 정보의 키이다. 키의 특성(자릿수)에 따라 그룹화할 수 있는 방법이 결정된다. 그래서 분산시키고 싶은 만큼의 트리의 숫자(10의 제곱)를 결정해주고, 원하는 트리의 수가 나올 수 있게끔 키 값을 나누어 몫을 취하면 키의 그룹이 만들어진다. 이 그룹을 트리의 인덱스로 하여 트리를 분산시킨다.And the most important thing when building a database is the key of information. The characteristics (number of digits) of the keys determine how they can be grouped. So you decide how many trees you want to distribute (the square of 10), and you divide the key values so that you get the number of trees you want, so you have a group of keys. The tree is distributed with this group as the index of the tree.

이러한 방법으로 키 그룹을 만드는 것은 다음과 같다.Creating a key group in this way looks like this:

n(n:임의의 정수) 자리의 숫자로 된 키들(Ki)을 갖는 데이터베이스를 10m개 트리로 분산할 때,When distributing a database with n (n: arbitrary integer) numeric keys (K i ) into 10 m trees,

q = (10(n-m))q = (10 (nm) )

g(키 그룹) = Ki/ qg (key group) = K i / q

와 같이 수학식1과 수학식2가 만들어진다. 즉, 수학식 1로 키 값(Ki)을 나누어 그 몫을 취하면 키 그룹이 만들어진다.Equations 1 and 2 are generated as shown in FIG. That is, a key group is made by taking the quotient by dividing the value of the key (K i) in equation (1).

구해진 키 그룹(g)은 그 트리의 인덱스가 된다. 따라서 임의의 키 Ki는 트리 인덱스가 g인 트리에 저장된다.The obtained key group g is an index of the tree. Thus any key K i is stored in a tree whose tree index is g.

예를 들어, 7자리의 숫자들로 된 키들을 갖는 데이터베이스를 1000(103)개의 트리로 분산할 경우를 보자.For example, suppose you want to distribute a database with keys of seven digits to 1000 (10 3 ) trees.

q = 10(7-3)= 10000q = 10 (7-3) = 10000

키 : 1234567, 1237744, 7312501, 7312345, 4431234, 1234568, 4437890 등Keys: 1234567, 1237744, 7312501, 7312345, 4431234, 1234568, 4437890, etc.

키그룹 : 1234567/10000 = 123, 1237749/10000 = 123, 7312501/10000 = 731,Key Group: 1234567/10000 = 123, 1237749/10000 = 123, 7312501/10000 = 731,

7312345/10000 = 731, 4431234/10000 = 443, 1234568/10000 = 123,7312345/10000 = 731, 4431234/10000 = 443, 1234568/10000 = 123,

4437890/10000 = 4434437890/10000 = 443

여기서 키그룹은 키 값을 키로 나누어 몫만을 구한 것이다.Here, the key group is obtained by dividing the key value by the key and obtaining only the quotient.

그래서 키 1234567, 1237744, 1234568은 같은 그룹이므로 같은 트리 인덱스 123이 가리키는 트리에 저장된다.Thus, the keys 1234567, 1237744, and 1234568 are the same group and are stored in the tree pointed to by the same tree index 123.

또한 키 7312501, 7312345는 트리 인덱스 731이 가리키는 트리에 저장된다.Keys 7312501 and 7312345 are also stored in the tree indicated by the tree index 731.

더불어 키 4431234, 4437890은 트리 인덱스 443이 가리키는 트리에 저장된다.In addition, the keys 4431234 and 4437890 are stored in the tree indicated by the tree index 443.

그래서 데이터베이스를 액세스하고자 할 경우에는 키 그룹별 인덱스를 찾아 트리를 탐색하여 데이터를 가져오게 되는 것이다.So if you want to access the database, you will find the index by key group and search the tree to get the data.

도3은 본 발명의 일실시예에 의한 지능망 SCP 시스템의 VPN 서비스를 위한 데이터베이스 구조도이다.Figure 3 is a database structure diagram for the VPN service of the intelligent network SCP system according to an embodiment of the present invention.

여기서 데이터베이스는 크게 2가지 요소로 구성된다. 첫 번째는 VPN 그룹별로 구성해 놓은 인덱스이고, 두 번째는 내선번호를 키로 갖는 트리구조의 데이터 영역이다.The database is largely composed of two elements. The first is an index organized by VPN group, and the second is a tree structure data area with the extension number as the key.

트리 인덱스는 VPN 그룹번호로 구성된 인덱스로써 해당 트리를 찾는 데 사용되며, 트리노드는 튜플(Tuple)로 생각할 수 있고, 4자리로 정의된 내선번호인 키와 가입자 전화번호(DN, Directory Number)와 기타 정보를 갖는 가입자 정보로 구성된다.The tree index is an index composed of VPN group numbers. It is used to find the tree. The tree node can be thought of as a tuple. The four-digit extension number is defined as a key and subscriber number (DN). It consists of subscriber information with other information.

그래서 그룹별 인덱스를 찾아가면 그 그룹으로만 구성된 내선번호를 갖는 트리구조의 데이터 영역으로 접근한다.So, if you go to the index of each group, you access the data area of the tree structure with the extension number consisting only of the group.

예를 들어, 사용자가 m번 그룹에서 내선번호 1234를 찾을 경우, 사용자는 인덱스 m번이 가리키는 트리로 찾아가 트리 탐색 방법에 의해 원하는 내선번호인 1234를 찾는다. 그리고 1234를 키로 갖는 노드에서 데이터를 가져온다.For example, if the user finds the extension number 1234 in the group m, the user goes to the tree indicated by the index m number and finds the desired extension number 1234 by the tree search method. The data is retrieved from the node having 1234 as the key.

도4는 본 발명의 일실시예에 의한 지능망 SCP 시스템의 선불카드 서비스를 위한 데이터베이스 구조도이다.Figure 4 is a database structure diagram for the prepaid card service of the intelligent network SCP system according to an embodiment of the present invention.

여기서 데이터베이스는 크게 2가지 요소로 구성된다. 첫 번째는 카드 앞자리 4자리로 구성해 놓은 인덱스이고, 두 번째는 나머지 8자리를 키로 갖는 트리 구조의 데이터 영역이다.(선불카드 번호는 12자리의 숫자로 구성된다)The database is largely composed of two elements. The first is an index consisting of the first four digits of the card, and the second is a tree-structured data area with the remaining eight digits as key (prepaid card number consists of 12 digits).

트리 인덱스는 카드 번호 앞자리 4자리로 구성된 인덱스로 해당 트리를 찾는데 쓰이며, 트리노드의 Attribute는 키와 가입자 정보로 구성된다. 키는 카드번호 12자리 중 앞자리 4자리를 제외한 8자리의 숫자이고, 가입자 정보는 가입자 잔액정보인 Remains와 가입자 등록 날짜인 reg_data와 기타 정보로 구성된다.The tree index is an index consisting of four digits of the card number and used to find the tree. The tree node's attributes consist of key and subscriber information. The key is an 8-digit number excluding the first 4 digits of the 12-digit card number, and the subscriber information is composed of the subscriber balance information Remains, the subscriber registration date reg_data, and other information.

그래서 카드번호별 인덱스를 찾아가면, 앞자리 번호 4자리가 같은 번호로 구성된 트리 구조의 데이터 영역으로 접근한다.So, if you go to the index by card number, you access the data structure of the tree structure where the first four digits consist of the same number.

예를 들어, 사용자가 123456789012를 찾을 경우, 사용자는 인덱스 1234가 가리키는 트리로 찾아가 트리 탐색 방법에 의해 원하는 내선번호인 56789012 번호를 찾는다. 그리고 원하는 56789012를 키로 갖는 노드에서 데이터를 가져온다.For example, if the user finds 123456789012, the user goes to the tree indicated by the index 1234 and finds the 56789012 number that is the desired extension number by the tree search method. The data is then retrieved from the node with the desired 56789012 as the key.

도5는 본 발명의 일실시예에 의한 지능망 SCP 시스템의 착신과금 서비스를 위한 데이터베이스 구조도이다.5 is a database structure diagram for an incoming billing service of an intelligent network SCP system according to an embodiment of the present invention.

여기서 데이터베이스는 크게 2가지 요소로 구성된다. 첫 번째는 프리폰 번호 앞자리 3자리로 구성해 놓은 인덱스이고, 두 번째는 실제 프리폰 번호를 키로 갖는 트리 구조의 데이터 영역이다.The database is largely composed of two elements. The first is an index consisting of the first three digits of the prepon number, and the second is a data structure in a tree structure with the actual prepon number as a key.

트리 인덱스는 프리폰 번호 앞자리 3자리로 구성된 국번 인덱스로 해당 트리를 찾는데 쓰이며, 트리노드의 Attribute는 키와 가입자 정보로 구성된다. 키는 프리폰 전화번호이고, 가입자 정보는 가입자가 수신할 이동전화의 전화번호인 min, 주말과 주중과 공휴일 등에 수신 가능한 시간 정보인 wk_time, wd_time, hd_time와 수신 거부 지역번호 정보인 rst_time과 기타 정보로 구성된다.The tree index is a station number index consisting of three digits of the preponder number. It is used to find the tree. The attribute of the tree node consists of key and subscriber information. The key is the pre-phone number, and the subscriber information is min, which is the phone number of the mobile phone to be received, wk_time, wd_time, hd_time, which can be received on weekends, weekdays and holidays, and rst_time, which is the area code information, and other information. It is composed.

그래서 프리폰 앞자리 3자리별 인덱스를 찾아가면, 프리폰 앞자리 번호 3자리가 같은 번호로 구성된 트리 구조의 데이터 영역으로 접근한다.So, if you go to the index of three digits before the preponder, you access the data structure of the tree structure where the three digits of the preponder have the same number.

예를 들어, 사용자가 프리폰 번호 7003456을 찾을 경우, 사용자는 인덱스 700이 가리키는 트리로 찾아가 트리 탐색 방법에 의해 원하는 번호를 찾는다. 그리고 원하는 7003456을 키로 갖는 노드에서 데이터를 가져온다.For example, if the user finds the prepon number 7003456, the user goes to the tree indicated by the index 700 and finds the desired number by the tree search method. Data is then fetched from the node with the desired 7003456 as the key.

이처럼 본 발명은 다수개의 인덱스를 가진 다수개의 트리로 구성하여 빠른 정보 탐색과 안정성 있는 데이터베이스를 구축하게 되는 것이다.As described above, the present invention is to construct a fast information search and stable database by constructing a plurality of trees having a plurality of indexes.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 지능망 SCP 시스템의 데이터베이스 구현 방법은 분산 트리 구조로 되어 있기 때문에 데이터 탐색시간이 단축된다. 예를 들어 n명의 가입자를 1개의 트리 구조로 했을 때의 탐색시간과 m개의 트리로 분산 구성할 때의 탐색시간을 산출하여 비교하면, 1개의 트리로 구성했을 경우 s=log2n이고, m개의 트리로 구성했을 경우 s=log2(n/m)=log2n-log2m의 탐색시간이 걸려 탐색시간을 단축할 수 있게 된다.As described above, since the database implementation method of the intelligent network SCP system according to the present invention has a distributed tree structure, data search time is reduced. For example, when the search time when n subscribers are configured in one tree and the search time when m-trees are distributed and compared are calculated, when one tree is configured, s = log 2 n and m In the case of three trees, search time of s = log 2 (n / m) = log 2 n-log 2 m can be shortened.

또한 1개의 트리 구조로 데이터베이스를 구성했을 경우 트리에 치명적 오류가 발생하면 전체 가입자의 데이터 손실이 발생하지만, m개의 트리로 구성된 데이터베이스는 각각의 트리에 대한 오류발생 확률이 1/m으로 줄어들어, 그룹별 인덱스 가능과 데이터베이스의 안정성이 높아지는 효과도 있게 된다.In addition, if the database consists of one tree structure, if a fatal error occurs in the tree, data loss of all subscribers occurs, but the database consisting of m trees reduces the probability of error for each tree to 1 / m. It also has the effect of increasing index stability and database stability.

Claims (4)

지능망 SCP(Service Control Point, 서비스 제어 시스템) 시스템에 있어서,In the intelligent network SCP (Service Control Point) system, 지능망 서비스 제어 시스템의 데이터베이스 구축시 분산시키고 싶은 만큼의 트리 숫자를 결정하는 단계와;Determining the number of trees to be distributed in the database construction of the intelligent network service control system; 원하는 트리의 수가 나오도록 키 값을 나누고 몫을 취하여 키의 그룹을 형성한 다음 상기 키 그룹을 트리의 인덱스로 하여 트리를 분산시키는 단계와;Dividing the key values and taking a quotient to form a group of keys so that the desired number of trees is obtained, and then distributing the tree using the key group as an index of the tree; 상기 키 그룹별 인덱스를 찾아 트리를 탐색하여 데이터를 가져오는 단계를 수행하는 것을 특징으로 하는 지능망 SCP 시스템의 데이터베이스 구현 방법.And searching for the index of each key group to search the tree to import data. 제 1항에 있어서, 상기 지능망 SCP 시스템에 있어서,The method of claim 1, wherein the intelligent network SCP system, 지능망 SCP 시스템의 VPN(Virtual Private Network service, 가상 사설망 서비스) 서비스를 위한 데이터베이스 구축시, VPN 그룹번호로 구성된 인덱스로써 해당 트리를 찾는 데 사용할 트리 인덱스와 4자리로 정의된 내선번호를 키로 갖는 트리구조의 데이터 영역을 구축하는 단계와; 사용자가 원하는 그룹에서 내선번호를 찾을 경우, 원하는 그룹이 가리키는 트리 인덱스를 이용하여 트리를 찾고, 찾은 트리의 노드에 있는 데이터를 가져오는 단계를 수행하는 것을 특징으로 하는 지능망 SCP 시스템의 데이터베이스 구현 방법.When constructing database for VPN (Virtual Private Network service) service of intelligent network SCP system, it is an index composed of VPN group number and tree structure with key index used to find the tree and extension number defined by 4 digits as key. Establishing a data area of the; If the user finds the extension number in the desired group, the method for implementing a database of the intelligent SCP system, characterized by searching for the tree using the tree index indicated by the desired group and fetching data in the nodes of the found tree. 제 1항에 있어서, 상기 지능망 SCP 시스템에 있어서,The method of claim 1, wherein the intelligent network SCP system, 지능망 SCP 시스템의 선불카드 서비스를 위한 데이터베이스 구축시, 카드번호의 앞자리 4자리로 구성된 트리 인덱스와 카드번호의 나머지 8자리로 키를 갖는 트리 구조의 데이터 영역을 구축하는 단계와; 사용자가 선불카드 서비스를 수행하고자 할 경우, 카드번호 앞자리 4자리가 가리키는 트리로 찾아가 트리 탐색에 의해 내선번호인 나머지 8자리를 찾아, 찾은 트리의 노드에 있는 데이터를 가져오는 단계를 수행하는 것을 특징으로 하는 지능망 SCP 시스템의 데이터베이스 구현 방법.When constructing a database for a prepaid card service of an intelligent network SCP system, constructing a tree structured data area having a tree index consisting of the first four digits of the card number and the remaining eight digits of the card number; When the user wants to perform the prepaid card service, the user goes to the tree indicated by the first four digits of the card number, finds the remaining eight digits of the extension number by searching the tree, and fetches data in the node of the found tree. Implementation method of intelligent network SCP system. 제 1항에 있어서, 상기 지능망 SCP 시스템에 있어서,The method of claim 1, wherein the intelligent network SCP system, 지능망 SCP 시스템의 착신과금 서비스를 위한 데이터베이스 구축시, 프리폰 번호 앞자리 3자리로 구성해 놓은 인덱스와 실제 프리폰 번호를 키로 갖는 트리 구조의 데이터 영역을 구축하는 단계와; 사용자가 착신과금 서비스를 수행하고자 할 경우, 프리폰 앞자리 3자리별 인덱스를 찾아가서 프리폰 앞자리 번호 3자리가 같은 번호로 구성된 트리 구조의 데이터 영역으로 접근하여 데이터를 가져오는 단계를 수행하는 것을 특징으로 하는 지능망 SCP 시스템의 데이터베이스 구현 방법.When constructing a database for an incoming billing service of an intelligent network SCP system, constructing a data structure having a tree structure having an index consisting of three digits of the preponder number and an actual preponder number as a key; When the user wants to perform the incoming billing service, the user searches for an index of three digits of the preponder and accesses the data area of the tree structure in which the three digits of the preponder number have the same number to bring the data. How to implement a database of intelligent SCP system.
KR1019980055488A 1998-12-16 1998-12-16 Method for implementing database in intelligent network scp system KR20000039983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980055488A KR20000039983A (en) 1998-12-16 1998-12-16 Method for implementing database in intelligent network scp system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980055488A KR20000039983A (en) 1998-12-16 1998-12-16 Method for implementing database in intelligent network scp system

Publications (1)

Publication Number Publication Date
KR20000039983A true KR20000039983A (en) 2000-07-05

Family

ID=19563211

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980055488A KR20000039983A (en) 1998-12-16 1998-12-16 Method for implementing database in intelligent network scp system

Country Status (1)

Country Link
KR (1) KR20000039983A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100488414B1 (en) * 2000-12-30 2005-05-11 한국전자통신연구원 Node Structuring Method for multiway search tree, and Searching Method by using it

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61141035A (en) * 1984-12-14 1986-06-28 Hitachi Ltd Data retrieval system
US4677550A (en) * 1983-09-30 1987-06-30 Amalgamated Software Of North America, Inc. Method of compacting and searching a data index
US5404513A (en) * 1990-03-16 1995-04-04 Dimensional Insight, Inc. Method for building a database with multi-dimensional search tree nodes
JPH08328920A (en) * 1995-05-02 1996-12-13 Hewlett Packard Co <Hp> Optimization system for enquiry of database
US5781906A (en) * 1996-06-06 1998-07-14 International Business Machines Corporation System and method for construction of a data structure for indexing multidimensional objects

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4677550A (en) * 1983-09-30 1987-06-30 Amalgamated Software Of North America, Inc. Method of compacting and searching a data index
JPS61141035A (en) * 1984-12-14 1986-06-28 Hitachi Ltd Data retrieval system
US5404513A (en) * 1990-03-16 1995-04-04 Dimensional Insight, Inc. Method for building a database with multi-dimensional search tree nodes
JPH08328920A (en) * 1995-05-02 1996-12-13 Hewlett Packard Co <Hp> Optimization system for enquiry of database
US5781906A (en) * 1996-06-06 1998-07-14 International Business Machines Corporation System and method for construction of a data structure for indexing multidimensional objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100488414B1 (en) * 2000-12-30 2005-05-11 한국전자통신연구원 Node Structuring Method for multiway search tree, and Searching Method by using it

Similar Documents

Publication Publication Date Title
US5694463A (en) System for service control point routing
US9025754B2 (en) System and method for determining characteristics for international calls
US5109408A (en) Arrangement for intentionally blocking telephone calls to predefined destination numbers but allowing such blocking to be selectively overridden
US6263057B1 (en) Automatic telecommunications provider selection system
JP2948225B2 (en) Derivation of flexible shared call charge data
US5343517A (en) Use-code based call-treatment selection
CA2076495C (en) Dynamic routing-administration
US6748064B2 (en) Systems and methods for least cost routing of long distance or international telephone calls
CA2076361C (en) Telecommunications call-processing arrangement
US6078657A (en) Method and system for providing local telephone number portability using geographic unit building blocks
CA2076890C (en) Mnemonic and synonymic addressing in a telecommunications system
AU4511297A (en) Bidding for telecommunications traffic
WO2000014992A1 (en) System and method for dialing abbreviated numbers for a roaming subscriber
EP0540255A2 (en) Context-dependent call-feature selection in a telecommunication system
WO2002051110A2 (en) A system for assigning digital identifiers to telephone numbers and ip numbers
CA2256285A1 (en) System and method for centrex translation
US8027440B2 (en) System and method for facilitating call routing
US6633638B1 (en) Method and apparatus for a customer self-provisioning of outpulsed digits in a telecommunication network
KR20000039983A (en) Method for implementing database in intelligent network scp system
US5812655A (en) Flexible service access code (SAC)
KR100612974B1 (en) Providing services to groups of subscribers
US7602891B2 (en) System and method for determining characteristics of international calls
US6381326B1 (en) System for handling large blocks of special number calls in a telecommunications network
WO1998015099A9 (en) Flexible service access code (sac)
KR100371486B1 (en) A mobile telecommunication system and a method thereof

Legal Events

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