KR20030008111A - A system and method for checking data in distributed database on a memory - Google Patents
A system and method for checking data in distributed database on a memory Download PDFInfo
- Publication number
- KR20030008111A KR20030008111A KR1020010042878A KR20010042878A KR20030008111A KR 20030008111 A KR20030008111 A KR 20030008111A KR 1020010042878 A KR1020010042878 A KR 1020010042878A KR 20010042878 A KR20010042878 A KR 20010042878A KR 20030008111 A KR20030008111 A KR 20030008111A
- Authority
- KR
- South Korea
- Prior art keywords
- attribute
- range
- subsystem
- inspection
- processor
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
본 발명은 ATM 교환기의 실행 중 메모리상주 분산된 데이터베이스의 애트리뷰트를 검사하는 방법에 관한 것으로서, 보다 상세하게 설명하면 데이터베이스의 애트리뷰트의 범위의 데이터 무결성을 제공하기 위한 메모리상주 분산데이터베이스의 데이터 검사방법 및 시스템에 관한 것이다.The present invention relates to a method for checking an attribute of a memory-resident distributed database during execution of an ATM exchange. More specifically, the present invention relates to a method and a system for checking a data of a memory-resident distributed database for providing data integrity of a range of attributes of a database. It is about.
데이터베이스의 기본적인 구성 요소는 이차원 테이블(또는 릴레이션)이다. 하나의 테이블은 데이터 행(튜플, tuple)들의 집합으로 구성되는데, 각 튜플은 다시 여러 데이터 원소(애트리뷰트, attribute)들로 구성된다. 이때, 각 애트리뷰트는 스트링(string), 넘버(number), 데이터(date) 등과 같은 기본적인 데이터 타입을 갖도록 구성된다.The basic building block of a database is a two-dimensional table (or relation). A table consists of a set of data rows (tuples), each of which in turn consists of several data elements (attributes). At this time, each attribute is configured to have a basic data type such as a string, a number, a date, and the like.
종래의 ATM 교환시스템에서는 분산된 데이터베이스의 애트리뷰트를 온라인으로 주기적 및 요구적으로 검사하는 구체적인 검사방법이 없었으며, 일부 소극적인방법으로 데이터를 검사하는 기법이 부분적으로 사용되었다. 때문에, 전체 데이터베이스에서 발생하는 애트리뷰트 바이오레이션(Violation)을 발견할 방법이 없었다.In the conventional ATM switching system, there is no specific inspection method for periodically and on-demandly checking the attributes of a distributed database online, and some passive methods of examining data are partially used. Because of this, there was no way to find attribute biolations that occur in the entire database.
상기와 같은 종래 기술의 문제점을 해결하기 위한 본 발명의 목적은, 하나의 서브시스템에서 한 릴레이션에 대하여 특정 애트리뷰트의 범위를 검사하거나, 하나의 서브시스템에서 한 릴레이션에 대한 모든 애트리뷰트의 범위를 검사하거나, 하나의 서브시스템에 존재하는 모든 릴레이션에 대하여 애트리뷰트의 범위를 검사하거나, 시스템에 실장되어 있는 모든 서브시스템의 모든 릴레이션에 대한 애트리뷰트의 범위를 검사하여 그 결과를 운용자에게 통보하도록 하는 메모리상주 분산데이터베이스의 데이터 검사방법 및 시스템을 제공하기 위한 것이다.SUMMARY OF THE INVENTION An object of the present invention to solve the above problems of the prior art is to check the scope of a specific attribute for a relation in one subsystem, or to check the scope of all attributes for a relation in a subsystem. A memory-resident distributed database that checks the scope of attributes for all relations in a subsystem, or checks the scope of attributes for all relations of all subsystems in the system and notifies the operator of the results. To provide a data inspection method and system.
도 1은 일반적인 ATM 교환기 시스템의 구조도,1 is a structural diagram of a general ATM switch system;
도 2는 본 발명에 따른 데이터베이스 애트리뷰트 범위 검사시스템의 구조도,2 is a structural diagram of a database attribute range checking system according to the present invention;
도 3은 본 발명에 따른 데이터 검사방법을 도시한 동작 흐름도,3 is an operation flowchart showing a data inspection method according to the present invention;
도 4는 도 3에 도시된 DB 범위 검사 명령어 처리절차를 도시한 동작 흐름도,4 is an operation flowchart showing a DB range check command processing procedure shown in FIG.
도 5는 도 4에 도시된 서브시스템 검사절차를 도시한 동작 흐름도,5 is an operation flowchart showing the subsystem inspection procedure shown in FIG. 4;
도 6은 도 3과 도 5의 DB 범위 검사 요구신호에 의해 동작하는 DB 범위 검사절차를 도시한 동작 흐름도,6 is an operation flowchart illustrating a DB range checking procedure operated by the DB range checking request signal of FIGS. 3 and 5;
도 7은 도 6에 도시된 릴레이션 검사절차를 도시한 동작흐름도,7 is a flowchart illustrating a relation inspection procedure shown in FIG. 6;
도 8은 도 7에 도시된 애트리뷰트 범위 검사절차를 도시한 동작 흐름도,FIG. 8 is a flowchart illustrating an attribute range checking procedure shown in FIG. 7;
도 9는 도 8에 도시된 애트리뷰트 범위 확인절차를 도시한 동작 흐름도이다.FIG. 9 is a flowchart illustrating an attribute range checking procedure illustrated in FIG. 8.
※ 도면의 주요부분에 대한 부호의 설명 ※※ Explanation of code about main part of drawing ※
210 : 운용자 그래픽 및 명령어 인터페이스210: operator graphics and command interface
220 : 운용유지보수프로세서220: operation maintenance processor
230 : 호/연결제어프로세서230: call / connection control processor
221, 231 : ADDBF 블록221, 231: ADDBF block
222, 232 : 릴레이션 인터페이스222, 232: relation interface
223, 233 : 데이터 추출 인터페이스223, 233: data extraction interface
224, 234 : DB 초기화 데이터(PLD : Processor Loading Data)224, 234: DB initialization data (PLD: Processor Loading Data)
상기한 목적을 달성하기 위한 본 발명에 따른, ATM 중앙교환 서브시스템과 분산된 ATM 지역교환 서브시스템들을 포함하는 ATM 교환기시스템에서, ATM 지역교환 서브시스템의 운용유지보수프로세서와 호연결제어프로세서가 상기 분산된 ATM 지역교환 서브시스템에 분산되어 위치한 분산데이터베이스를 검사하는 방법은,In an ATM switch system comprising an ATM central switching subsystem and distributed ATM regional switching subsystems, according to the present invention for achieving the above object, an operation maintenance processor and a call connection control processor of an ATM regional switching subsystem are described. The method of examining distributed databases located in distributed ATM regional switching subsystems is:
상기 운용유지보수프로세서가 상기 분산데이터베이스의 DB 범위 검사를 위한 데이터를 초기화하는 단계;Initializing, by the operation maintenance processor, data for DB range checking of the distributed database;
운용자로부터 임의의 서브시스템에 대한 애트리뷰트 범위 검사를 요구하는 DB 범위 검사 명령신호가 입력되면, 상기 운용유지보수프로세서가 운용자로부터 입력된 입력 파라메터를 검증하여 DB 검사 기능과 검사 수행 서브시스템을 검색하는 단계; 및When the DB range check command signal for requesting the attribute range check for any subsystem is input from the operator, the operation maintenance processor verifies the input parameters input from the operator and searches the DB check function and the inspection performing subsystem. ; And
상기 운용유지보수프로세서가 상기 검색된 모든 검사 수행 서브시스템에 대해 서브시스템 검사절차를 수행하는 단계를 포함하는 것을 특징으로 한다.And performing, by the operation maintenance processor, a subsystem inspection procedure for all the inspection performing subsystems found.
또한, 본 발명에 따르면, ATM 교환시스템의 운용유지보수프로세서에 상술한 바와 같은 메모리상주 분산데이터베이스의 데이터 검사방법을 실행시키는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체가 제공된다.According to the present invention, there is provided a computer-readable recording medium having recorded thereon a program for executing a data inspection method of a memory resident distributed database as described above in an operation maintenance processor of an ATM switching system.
또한, 본 발명에 따른 메모리상주 분산데이터베이스의 데이터 검사시스템은, 운용자와의 그래픽 및 명령어 인터페이싱 기능을 담당하는 HMI와, 상기 HMI로부터 운용자 명령을 입력받아 통제 및 관리 기능을 수행하고 시스템 내의 모든 장치들을 관장하는 OMP 프로세서와, 상기 OMP 프로세서와 통신하고 각 해당 지역에 연결된 가입자와 이에 대한 호를 제어하는 다수의 CCCP 프로세서를 포함하고,In addition, the data inspection system of the memory-resident distributed database according to the present invention, the HMI in charge of graphic and command interfacing function with the operator, and receives the operator's command from the HMI to perform the control and management functions and all devices in the system And a plurality of CCCP processors that manage the OMP processor, and which communicate with the OMP processor and control subscribers connected to the respective regions and calls thereto.
상기 OMP 프로세서와 CCCP 프로세서는 각각,The OMP processor and CCCP processor, respectively,
DB 초기화 데이터를 저장한 PLD;PLD storing DB initialization data;
상기 PLD로부터 원하는 릴레이션을 찾고 애트리뷰트 데이터를 읽어서 상기 애트리뷰트 범위 검사를 수행하는 ADDBF 블록;An ADDBF block that finds a desired relation from the PLD and reads attribute data to perform the attribute range check;
상기 ADDBF 블록의 제어를 받아 상기 PLD에서 릴레이션을 찾아서 상기 ADDBF 블록에게 제공하는 릴레이션 인터페이스; 및A relation interface under control of the ADDBF block to find a relation in the PLD and provide the relation to the ADDBF block; And
상기 ADDBF 블록의 제어를 받아 상기 PLD에서 애트리뷰트 데이터를 읽고 그 범위를 확인하여 상기 ADDBF 블록에게 제공하는 데이터 추출 인터페이스를 포함한 것을 특징으로 한다.Under the control of the ADDBF block is characterized in that it comprises a data extraction interface to read the attribute data in the PLD, check the range and provide it to the ADDBF block.
이하, 첨부된 도면을 참조하면서 본 발명의 한 실시예에 따른 "메모리상주 분산데이터베이스의 데이터 검사방법 및 시스템"을 보다 상세하게 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described in more detail "data inspection method and system of the memory resident distributed database" according to an embodiment of the present invention.
도 1은 ATM 교환기의 실행 중 메모리상주 분산된 데이터베이스의 애트리뷰트의 범위 무결성을 제공하는 검사방법이 적용될 ATM 교환기시스템의 구조도이고, 도 2는 데이터베이스의 데이터 검사 처리를 위한 구조이고, 도 3은 본 발명에 따른 데이터 검사방법을 도시한 동작 흐름도이고, 도 4는 도 3에 도시된 DB 범위 검사 명령어 처리절차를 도시한 동작 흐름도이고, 도 5는 도 4에 도시된 서브시스템 검사절차를 도시한 동작 흐름도이고, 도 6은 도 3에 도시된 DB 범위 검사절차를 도시한 동작 흐름도이고, 도 7은 도 6에 도시된 릴레이션 검사절차를 도시한 동작흐름도이고, 도 8은 도 7에 도시된 애트리뷰트 범위 검사절차를 도시한 동작 흐름도이고, 도 9는 도 8에 도시된 애트리뷰트 범위 확인절차를 도시한 동작 흐름도이다.1 is a structural diagram of an ATM switch system to which a check method for providing range integrity of attributes of a memory resident distributed database is executed during execution of an ATM switch, FIG. 2 is a structure for data checking processing of a database, and FIG. 4 is an operation flowchart showing a data inspection method according to the present invention, FIG. 4 is an operation flowchart showing the DB range inspection command processing procedure shown in FIG. 3, and FIG. 5 is an operation flowchart showing the subsystem inspection procedure shown in FIG. 6 is an operation flowchart showing the DB range checking procedure shown in FIG. 3, FIG. 7 is an operation flowchart showing the relation checking procedure shown in FIG. 6, and FIG. 8 is an attribute range checking shown in FIG. 7. 9 is a flowchart illustrating a procedure, and FIG. 9 is a flowchart illustrating an attribute range checking procedure illustrated in FIG. 8.
도 1은 본 발명이 적용되는 ATM 교환기시스템의 구조도로서, ATM 중앙교환서브시스템(ATM Central Switching Subsystem : 이하 ACS라 함)(10)은 중앙 집중식 스위치구조를 가지며, ATM 지역교환 서브시스템(ATM Local Switching Subsystem : 이하 ALS라 함)(20)은 분산구조를 가진다.1 is a structural diagram of an ATM switch system to which the present invention is applied, wherein an ATM Central Switching Subsystem (ACS) 10 has a centralized switch structure, and an ATM Local Switching Subsystem (ATM Local). Switching Subsystem (hereinafter referred to as ALS) 20 has a distributed structure.
ALS(20)는, 통제 및 관리 기능을 수행하고 시스템 내의 모든 장치들을 관장하는 운용유지보수프로세서(Operation and Maintenance Process : 이하 OMP라 함)를 가지는 ALS#0(21)과, 다수의 해당 지역에 연결된 가입자와 이에 대한 호를 제어하는 프로세서(Call and Connection Control Processor : 이하 CCCP라 함)를 가지는 ALS#1(22) 내지 ALS#64(24)로 구성되며, ATM 스위치는 다수 개의 분산된 지역 스위치와 집중된 중앙 스위치로 구성된다.The ALS 20 includes an ALS # 0 (21) having an operation and maintenance process (hereinafter referred to as OMP) that performs control and management functions and manages all devices in the system. It consists of ALS # 1 (22) to ALS # 64 (24) having a connected subscriber and a call control processor (call CCCP), the ATM switch is a plurality of distributed local switch And centralized switch.
본 발명에서 관심을 갖는 분산 데이터베이스 릴레이션은 CCCP와 OMP에 분산되어 위치하며, 이것은 각각 CCCP와 OMP의 주 메모리에 상주하면서 변경되는 정보 중에서 디스크 백업을 요구하는 것만 디스크에 기록한다. 에러 회복(Recovery) 시에는 가장 최근에 백업된 데이터인 디스크에 저장된 값으로 복구된다.The distributed database relations of interest in the present invention are located in a distributed manner in the CCCP and the OMP, which only reside in the main memory of the CCCP and the OMP, respectively, and record only the disk backup request among the changed information. In case of error recovery, the data stored in the disk, the most recently backed up data, are restored.
도 2는 본 발명이 적용되는 데이터베이스 애트리뷰트 검사처리를 위한 CCCP와 OMP의 내부 구조도이다. DB 검사는 운용자 그래픽 및 명령어 인터페이스(HMI)를 통하여 검사 요구를 받아들이며 이러한 요구를 분석하여 다음의 해당되는 검사처리를 수행한다. 자동검사는 관련된 기능 블록에서 시그널을 사용하여 ADDBF 블록(AuDit DataBase Function Block)에게 검사를 요구하여 처리한다. DB 범위검사를 수행하는 소프트웨어 블록 주체인 ADDBF 블록은 OMP와 CCCP에 위치하고, 릴레이션 인터페이스를 통하여 DB초기화 데이터(PLD : Processor Loading Data)에서 원하는 릴레이션을 찾고, 데이터 추출 인터페이스를 통하여 애트리뷰트 데이터를 읽어서 그 범위를 검사하여 정상인 지를 검사한다. CCCP의 ADDBF 블록과 OMP의 ADDBF 블록은 동일한 구조를 이루며, 다만 PLD 데이터는 각 서브시스템에 해당되는 데이터이므로 서로 다르다.2 is an internal structure diagram of CCCP and OMP for the database attribute check processing to which the present invention is applied. DB inspection accepts inspection requests through the operator's graphic and command interface (HMI), and analyzes these requests and performs the following inspection process. Automated checks are handled by asking the ADDBF block (AuDit DataBase Function Block) to use a signal from the associated function block. ADDBF block, a software block subject that performs DB range checking, is located in OMP and CCCP, finds the desired relation in the DB Loading Data (PLD) through the relation interface, and reads the attribute data through the data extraction interface. Check if it is normal. The ADDBF block of CCCP and the ADDBF block of OMP have the same structure except that the PLD data is different because it is data corresponding to each subsystem.
도 3은 본 발명에 따른 운용유지보수프로세서의 ADDBF블록의 DB 범위 검사과정을 도시한 동작 흐름도이다. 먼저, 시스템이 시작하면 ATM 교환기의 DB 범위 검사가 시작되는데(S301), 먼저 DB 범위 검사를 위한 데이터를 초기화하고(S302), 운용자의 명령이나 검사요구 시그널을 등록하며(S303), 시그널 대기 상태로 들어가서 요구 시그널을 기다린다(S304).3 is an operation flowchart illustrating a DB range checking process of the ADDBF block of the operation maintenance processor according to the present invention. First, when the system starts, the DB range check of the ATM switch is started (S301). First, data for DB range check is initialized (S302), and the operator's command or check request signal is registered (S303). The process waits for a request signal (S304).
단계 S304에서 HMI를 통해 입력되는 시그널이 DB 범위 검사 운용자 명령이면(S305), 명령어 분석을 위하여 명령어 처리절차를 호출한다(S306). 이 DB 범위 검사 운용자 명령이 입력되면 OMP 프로세서는 호연결제어프로세서를 통해 ATM 지역교환 서브시스템의 분산데이터베이스 데이터를 검사한다. 한편, HMI를 통해 입력되는 시그널이 DB 범위 검사 요구신호이면(S307) DB 범위 검사절차를 호출한다(S308). 이 DB 범위 검사 요구신호가 입력되면 OMP 프로세서는 자신의 위치한 ATM 지역교환 서브시스템(ALS#0)의 분산데이터베이스 데이터를 검사한다. 단계 S306과 단계 S308의 절차가 수행 완료되면 다시 시그널 대기 상태로 들어간다(S309).If the signal input through the HMI in step S304 is a DB range check operator command (S305), the command processing procedure is called for command analysis (S306). When this DB range check operator command is entered, the OMP processor checks the distributed database data of the ATM regional switching subsystem through the call connection control processor. On the other hand, if the signal input through the HMI is a DB range check request signal (S307), the DB range check procedure is called (S308). When this DB range check request signal is input, the OMP processor checks the distributed database data of its located ATM regional switching subsystem (ALS # 0). When the procedures of steps S306 and S308 are completed, the signal goes back to the signal waiting state (S309).
도 4는 도 3에 도시된 DB 범위 검사 명령어 처리절차를 도시한 동작 흐름도이다. 먼저, 명령어 처리 절차가 시작되면(S401), 운용자의 입력 파라메터를 검증하고(S402), 검사기능 정보를 검색하여 현재의 검사수행 상태를 확인하며(S403), 수행 가능한 경우 수행되는 서브시스템의 타입을 검색하여(S404) 서브시스템 번호를 확인한다(S405).4 is a flowchart illustrating an operation of processing a DB range checking command shown in FIG. 3. First, when the command processing procedure is started (S401), the input parameter of the operator is verified (S402), the inspection function information is searched to check the current inspection execution state (S403), and if possible, the type of subsystem to be performed. Search for (S404) and check the subsystem number (S405).
단계 S405에서 서브시스템 번호가 ALL이면 검사 시작메시지를 출력하고(S406), 16개의 ATM 지역교환 서브시스템(ALS00부터 ALS15)에 대해 각 호연결제어프로세서(CCCP) 상태를 확인하고(S407), 프로세서가 정상적으로 살아있는 경우(S408) 도 5의 서브시스템 검사절차를 수행하고(S409), 정상이 아니면 다음 서브시스템으로 넘어간다. 또한, 16개의 ALS를 모두 검사한 후, 검사종료 메시지를 출력하고(S410), 상위 프로세스로 리턴 한다(S414).If the subsystem number is ALL in step S405 (S406), and outputs a check start message (S406), and checks the status of each call connection control processor (CCCP) for the 16 ATM regional switching subsystems (ALS00 to ALS15) (S407) If is normally alive (S408) performs the subsystem check procedure of Figure 5 (S409), and if not normal, proceeds to the next subsystem. In addition, after checking all 16 ALS, the test completion message is output (S410), and the process is returned to a higher process (S414).
단계 S405에서 서브시스템 번호가 ALL이 아니면(not All), 해당 프로세서 상태를 확인하고(S411), 그 상태가 정상이면(S412), 서브시스템 검사절차를 수행하고(S413), 정상이 아니면 상위 프로세스로 리턴 한다(S414).If the subsystem number is not ALL in step S405 (not All), check the state of the processor (S411). If the state is normal (S412), perform the subsystem check procedure (S413). Return to (S414).
도 5는 도 4에 도시된 서브시스템 검사절차를 도시한 동작 흐름도이다. 이 절차는 운용자가 서브시스템에 대한 전체 릴레이션에 해당하는 모든 애트리뷰트 범위 검사를 요구한 경우에 사용되는 호연결제어프로세서(230)의 ADDBF(231)에서 수행되는 검사절차이다. 서브시스템 검사절차가 시작되면(S501), 검사를 수행할 서브시스템으로 모든 릴레이션에 대한 애트리뷰트의 범위를 검사하도록 해당 서브시스템의 프로세서에 DB 범위 검사 요구신호를 전송하고(S502), 해당 서브시스템으로부터의 신호 수신을 기다리기 위하여 시그널 대기 상태로 들어간다(S503). 단계 S503에서 도중에 타임아웃신호가 수신되면(S504), 반복횟수를 확인하여 그 반복횟수와 제한치를 비교하여(S505), 반복횟수가 제한치보다 크면 에러를 출력하고(S506) 상위 프로세스로 리턴 한다(S515).FIG. 5 is an operation flowchart showing the subsystem inspection procedure shown in FIG. 4. This procedure is a check procedure performed at the ADDBF 231 of the call connection control processor 230 used when the operator has requested all attribute range checks corresponding to the entire relation to the subsystem. When the subsystem check procedure is started (S501), the DB range check request signal is transmitted to the processor of the subsystem to check the range of attributes for all relations to the subsystem to be checked (S502), and from the subsystem. In order to wait for the signal reception of the signal enters the standby state (S503). If a timeout signal is received in the middle of step S503 (S504), the number of repetitions is checked and the number of repetitions is compared with the limit value (S505). If the number of repetitions is greater than the limit value, an error is output (S506) and the process is returned to the upper process ( S515).
단계 S505에서 반복횟수가 제한치보다 크지 않으면 DB 범위 검사 요구신호를 재전송하고(S507), 시그널 대기상태(S503)로 돌아간다. 단계 S503에서 응답(ACK)신호가 수신되면(S508), 정상이므로 타이머를 종료하고(S509) 검사 결과를 수신하기 위하여 시그널 대기상태로 들어간다(S510). 단계 S510에서 타임아웃 신호가 수신되면(S511), 에러메시지를 출력하고(S512), 상위 프로세스로 리턴 한다(S515). 한편, 시그널 대기상태(S510)에서 해당 서브시스템으로부터 검사 수행 결과가 수신되면(S513), 해당 검사 수행결과를 출력하고(S514) 리턴 한다(S515).If the number of repetitions is not greater than the limit in step S505, the DB range check request signal is retransmitted (S507), and the signal wait state (S503) is returned. When an acknowledgment (ACK) signal is received in step S503 (S508), it is normal, so the timer ends (S509) and enters a signal waiting state in order to receive a test result (S510). When the timeout signal is received in step S510 (S511), an error message is output (S512), and the process returns to a higher process (S515). On the other hand, when the test execution result is received from the corresponding subsystem in the signal waiting state (S510) (S513), and outputs the test execution result (S514) and returns (S515).
도 6은 도 3과 도 5의 DB 범위 검사 요구신호에 의해 동작하는 DB 범위 검사절차를 도시한 동작 흐름도이다. 이 검사절차는 각 서브시스템내의 릴레이션에 대하여 검사를 수행하는 ADDBF 블록의 검사절차이다. DB 범위 검사 절차가 시작되면(S601), ADDBF 블록은 해당 서브시스템의 DB 검사 기능 정보를 검색하고(S602), 릴레이션 파라미터를 확인한다(S603). 확인 결과, ALL이면 처음 릴레이션을 선택하고(S604) 선택된 릴레이션이 마지막인지를 확인하여(S605) 마지막이 아니면 릴레이션 검사 절차를 호출하여(S606) 릴레이션 검사를 수행한 후, 다음 릴레이션을 선택한 후(S607) 단계 S605로 진행하고, S605에서 선택된 릴레이션이 마지막 릴레이션이면 상위 프로세스로 리턴 한다(S609). 단계 603에서 ALL이 아니면(ELSE) 해당 릴레이션 검사 절차를 호출하여(S608) 릴레이션 검사를 수행한 후 상위 프로세스로 리턴 한다(S609).FIG. 6 is a flowchart illustrating a DB range checking procedure operated by the DB range checking request signal of FIGS. 3 and 5. This check procedure is a check procedure of an ADDBF block that checks the relation in each subsystem. When the DB range check procedure is started (S601), the ADDBF block retrieves DB check function information of the corresponding subsystem (S602) and checks the relation parameters (S603). If the result of the check is ALL, the first relation is selected (S604) and the selected relation is the last (S605). If not, the relation check procedure is called (S606), and the next relation is selected (S607). In step S605, if the relation selected in S605 is the last relation, the process returns to a higher process (S609). If it is not ALL (ELSE) in step 603, the relation check procedure is called (S608), the relation check is performed and returned to the higher process (S609).
도 7은 도 6에 도시된 릴레이션 검사절차를 도시한 동작 흐름도이다. 이 검사절차는 각 릴레이션에 대한 검사를 수행하는 ADDBF 블록의 검사절차이다. 먼저, 릴레이션 검사절차가 시작되면(S701), 릴레이션이 존재하는 지를 검토하여(S702), 릴레이션이 존재하지 않으면 바로 상위 프로세스로 리턴하고(S717), 존재하면 릴레이션 전체를 검사하는지를 알기 위하여 애트리뷰트 파라메터를 확인한다(S703).FIG. 7 is an operation flowchart illustrating the relation checking procedure shown in FIG. 6. This check procedure is a check procedure of an ADDBF block that checks each relation. First, when the relation checking procedure is started (S701), the relation exists and is examined (S702). If the relation does not exist, it is returned to the upper process immediately (S717), and if there is an attribute parameter to check whether the relation is examined. Check (S703).
애트리뷰트 전체를 검사하면(ALL), 애트리뷰트의 개수를 헤아려서(S704) 애트리뷰트의 이름을 하나씩 가져오고(S705) 애트리뷰트의 경계(boundary)를 가져온다(S706). 또한, 도 8에 도시된 바와 같은 애트리뷰트 범위 검사절차를 수행하여(S707) 에러가 발생한 지를 확인한다(S708). 단계 S708에서 에러가 발생했으면 해당 애트리뷰트 값을 출력하고(S709) 그 에러가 발생된 잘못된 값을 지운다(S710). 그러나, 단계 S708에서 에러가 발생하지 않았으면 다음 애트리뷰트로 넘어간다. 위의 단계 S705 내지 단계 S710은 단계 S704에서 헤아린 개수의 모든 애트리뷰트의 범위에 대해 검사를 수행한다.If the entire attribute is examined (ALL), the number of attributes is counted (S704) and the names of the attributes are taken one by one (S705), and the boundary of the attributes is obtained (S706). In addition, an attribute range checking procedure as shown in FIG. 8 is performed (S707) to determine whether an error has occurred (S708). If an error occurs in step S708, the corresponding attribute value is output (S709) and the wrong value where the error occurs is erased (S710). However, if no error occurred in step S708, the process proceeds to the next attribute. The above step S705 to step S710 performs a check on the range of all the attributes of the number of fingered in step S704.
단계 S703에서 애트리뷰트가 전체가 아니고 특정 애트리뷰트인 경우(ELSE)에는, 해당 애트리뷰트의 이름을 가져오고(S711), 경계(boundary)를 가져오며(S712), 도 8에 도시된 바와 같은 애트리뷰트 범위 검사절차를 수행한다(S713). 이때, 에러가 발생하면(S714), 해당 애트리뷰트의 값을 출력하고(S715), 에러가 발생된 값을 지운(S716) 다음 상위 프로세스로 리턴하고(S717), 에러가 발생하지 않으면 그냥 상위 프로세스로 리턴한다(S717).In step S703, if the attribute is not all but a specific attribute (ELSE), the name of the attribute is taken (S711), the boundary is taken (S712), and the attribute range checking procedure as shown in FIG. It performs (S713). At this time, if an error occurs (S714), the value of the attribute is output (S715), the error value is cleared (S716), and then returned to the upper process (S717), and if an error does not occur, it simply goes to the upper process. It returns (S717).
도 8은 도 7에 도시된 애트리뷰트 범위 검사 절차도로서, 이 검사절차는 릴레이션을 구성하는 애트리뷰트의 범위를 검사하는 ADDBF 블록의 검사절차이다. 애트리뷰트 범위 검사절차가 시작되면(S801), 범위 오류가 발생한 튜플(Tuple)의 인덱스와 그 값을 저장하기 위한 버퍼를 생성하고(S802), 애트리뷰트의 검색방법이 인덱스 타입인 지를 확인하고(S803), 인덱스 타입이 아니면 실제 PLD 내부에 메모리를 할당하지 않으므로 상위 프로세스로 리턴하고(S812), 인덱스 타입이면 애트리뷰트에 대한 첫 번째 튜플 포인터를 가져와서 범위 검사를 수행한다(S804).8 is an attribute range checking procedure diagram shown in FIG. 7, which is an inspection procedure of an ADDBF block that checks a range of attributes constituting a relation. When the attribute range checking procedure is started (S801), a buffer for storing the index and the value of the tuple (Tuple) in which the range error occurs (S802), and checks whether the attribute search method is the index type (S803) If it is not the index type, since the memory is not allocated inside the actual PLD, the process is returned to the higher process (S812). If the index type is the index type, the first tuple pointer for the attribute is taken to perform a range check (S804).
이때, 해당 튜플이 마지막 튜플인 지를 확인하고(S805), 마지막 튜플이 아니면 해당 튜플이 유효한 튜플인 지를 확인한다(S806). 유효한 튜플이면 해당 애트리뷰트의 값의 범위 확인절차를 수행하여(S807), 그 결과값이 범위를 초과하는 지를 다시 검사한다(S808). 해당 값이 범위를 초과하면, 해당 튜플의 인덱스와 애트리뷰트의 값을 가져와서(S809), 범위를 초과한 튜플의 인덱스와 값을 버퍼에 저장한다(S810). 그리고, 애트리뷰트에 대한 다음 튜플 포인터를 가져온(S811) 다음, 단계 S805로 진행한다.At this time, it is checked whether the corresponding tuple is the last tuple (S805), and if it is not the last tuple, it is checked whether the tuple is a valid tuple (S806). If it is a valid tuple, a range checking procedure of the value of the corresponding attribute is performed (S807), and the result value is again checked if it exceeds the range (S808). If the value exceeds the range, the index and attribute values of the tuple are taken (S809), and the index and the value of the tuple over the range are stored in the buffer (S810). Then, the next tuple pointer for the attribute is obtained (S811), and the flow proceeds to step S805.
단계 S805에서 해당 튜플이 마지막 튜플이면 리턴하고(S812), 단계 S806에서 유효한 튜플이 아니거나, 단계 S808에서 해당 값이 범위를 초과하지 않으면, 단계 S811로 진행하여 애트리뷰트에 대한 다음 튜플 포인터를 가져와서 단계 805를 반복한다.If the tuple is the last tuple in step S805 (S812), and if it is not a valid tuple in step S806, or if the value does not exceed the range in step S808, the process proceeds to step S811 to obtain the next tuple pointer for the attribute. Step 805 is repeated.
도 9는 도 8에 도시된 애트리뷰트 범위 확인 절차도로서, 이 검사절차는 애트리뷰트의 타입별로 PLD에 저장되어 있는 실제 값을 검색하여 범위를 초과하는 지를 확인하는 ADDBF 블록의 검사절차이다.FIG. 9 is a diagram illustrating an attribute range checking procedure of FIG. 8. This inspection procedure is an inspection procedure of an ADDBF block that checks whether a range is exceeded by searching for an actual value stored in a PLD for each attribute type.
애트리뷰트 범위 확인절차가 시작되면(S901), 애트리뷰트 타입을 확인하여(S901), 그 타입이 문자(character)나 스트링(string)이나 비트(bit) 타입이면 범위를 확인하지 않고 바로 정상 리턴하고(S911), 그 타입이 아니면 해당 애트리뷰트 타입의 크기를 다시 검사한다(S903). 해당 애트리뷰트 타입이 바이트(byte) 타입이면 1 바이트에 대한 값을 검색하여(S904), 그 애트리뷰트의 범위를 검색하고(S905), 그 범위가 정상인지를 확인하여(S910) 정상이면 정상 리턴(S911)을, 비정상이면 초과 리턴(S912)을 한다. 해당 애트리뷰트 타입이 워드(word) 타입이면 2 바이트에 대한 값을 검색하여(S906) 애트리뷰트의 범위를 검색하고(S907), 그 범위가 정상인지를 확인하여(S910) 정상이면 정상 리턴(S911)을, 비정상이면 초과 리턴(S912)을 한다. 해당 애트리뷰트 타입이 롱(long) 타입이면 4 바이트에 대한 값을 검색하여(S908) 애트리뷰트의 범위를 검색하고(S909), 그 범위가 정상인지를 확인하여(S910) 정상이면 정상 리턴(S911)을, 비정상이면 초과 리턴을 한다(S912).When the attribute range checking procedure is started (S901), the attribute type is checked (S901). If the type is a character, string, or bit type, the range is returned immediately without checking the range (S911). If not, the size of the attribute type is checked again (S903). If the attribute type is a byte type, the value for one byte is searched (S904), the range of the attribute is searched (S905), and whether the range is normal (S910). ), If abnormal, excess return (S912). If the attribute type is word type, the value of 2 bytes is searched (S906) to search the range of the attribute (S907), and if the range is normal (S910), if it is normal, the normal return (S911) is performed. If abnormal, excess return (S912). If the attribute type is a long type, a value of 4 bytes is searched (S908), and a range of the attribute is searched (S909), and if the range is normal (S910), if it is normal, a normal return (S911) is performed. If abnormal, excess return (S912).
위에서 양호한 실시예에 근거하여 이 발명을 설명하였지만, 이러한 실시예는 이 발명을 제한하려는 것이 아니라 예시하려는 것이다. 이 발명이 속하는 분야의 숙련자에게는 이 발명의 기술사상을 벗어남이 없이 위 실시예에 대한 다양한 변화나 변경 또는 조절이 가능함이 자명할 것이다. 그러므로, 이 발명의 보호범위는 첨부된 청구범위에 의해서만 한정될 것이며, 위와 같은 변화예나 변경예 또는 조절예를 모두 포함하는 것으로 해석되어야 할 것이다.While the invention has been described above based on the preferred embodiments thereof, these embodiments are intended to illustrate rather than limit the invention. It will be apparent to those skilled in the art that various changes, modifications, or adjustments to the above embodiments can be made without departing from the spirit of the invention. Therefore, the protection scope of the present invention will be limited only by the appended claims, and should be construed as including all such changes, modifications or adjustments.
이상과 같이 본 발명에 의하면, DB 애트리뷰트 바이오레이션(Violation) 문제를 해결하고, 요구에 의한 DB 애트리뷰트 범위 일관성을 검증하며, 주기적 DB 애트리뷰트 범위 검사로 자동적인 일관성을 제공함과 아울러 DB 데이터 일관성을 제공함으로써, 오류를 감소시킬 수 있다. 또한, 비정상적인 애트리뷰트 조기발견으로 복구가 가능하고, DB 오류 감소로 인한 교환기 성능 향상에 따른 서비스의 질적 향상이 가능하며, 타 대형 교환시스템에 적용할 수 있는 잇점이 있다.As described above, according to the present invention, DB attribute resolution problem is solved, DB attribute range consistency on demand is verified, and periodic DB attribute range check provides automatic consistency and DB data consistency. This can reduce errors. In addition, it is possible to recover due to the early detection of abnormal attributes, to improve the quality of service by improving the exchange performance due to the reduction of DB errors, and to be applied to other large switching systems.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010042878A KR20030008111A (en) | 2001-07-16 | 2001-07-16 | A system and method for checking data in distributed database on a memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010042878A KR20030008111A (en) | 2001-07-16 | 2001-07-16 | A system and method for checking data in distributed database on a memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20030008111A true KR20030008111A (en) | 2003-01-24 |
Family
ID=27715352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020010042878A KR20030008111A (en) | 2001-07-16 | 2001-07-16 | A system and method for checking data in distributed database on a memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20030008111A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7636740B2 (en) | 2004-12-17 | 2009-12-22 | Electronic And Telecommunications Research Institute | Database cache system |
KR20160076328A (en) | 2014-12-22 | 2016-06-30 | 주식회사 인프라웨어 | System and method for loading and incremental rendering distributed file |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5133075A (en) * | 1988-12-19 | 1992-07-21 | Hewlett-Packard Company | Method of monitoring changes in attribute values of object in an object-oriented database |
US5481703A (en) * | 1992-09-30 | 1996-01-02 | Kabushiki Kaisha Toshiba | Database restructuring system for detecting functionally dependent relations and converting them into third normal form |
KR960015297A (en) * | 1994-10-06 | 1996-05-22 | 양승택 | Relay Change Data Monitoring Method in Distributed Database System |
KR20010058225A (en) * | 1999-12-27 | 2001-07-05 | 오길록 | Replicated Data Processing Scheme for Transaction Processing in Main Memory Database Management Systems |
-
2001
- 2001-07-16 KR KR1020010042878A patent/KR20030008111A/en not_active Application Discontinuation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5133075A (en) * | 1988-12-19 | 1992-07-21 | Hewlett-Packard Company | Method of monitoring changes in attribute values of object in an object-oriented database |
US5481703A (en) * | 1992-09-30 | 1996-01-02 | Kabushiki Kaisha Toshiba | Database restructuring system for detecting functionally dependent relations and converting them into third normal form |
KR960015297A (en) * | 1994-10-06 | 1996-05-22 | 양승택 | Relay Change Data Monitoring Method in Distributed Database System |
KR20010058225A (en) * | 1999-12-27 | 2001-07-05 | 오길록 | Replicated Data Processing Scheme for Transaction Processing in Main Memory Database Management Systems |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7636740B2 (en) | 2004-12-17 | 2009-12-22 | Electronic And Telecommunications Research Institute | Database cache system |
KR20160076328A (en) | 2014-12-22 | 2016-06-30 | 주식회사 인프라웨어 | System and method for loading and incremental rendering distributed file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6078955A (en) | Method for controlling a computer system including a plurality of computers and a network processed as a user resource | |
JP4993913B2 (en) | Storage control device and data management method thereof | |
US7502876B1 (en) | Background memory manager that determines if data structures fits in memory with memory state transactions map | |
EP0305068A2 (en) | Controlling asynchronously operating peripherals | |
US20080140630A1 (en) | Network control system, network control method, and computer product | |
US20070028014A1 (en) | Method and apparatus for managing I/O paths on a storage network | |
JPH0833857B2 (en) | System database sharing system system system | |
US20070146788A1 (en) | Data mirroring method | |
US6334139B1 (en) | Agent system | |
US20060112245A1 (en) | Storage system transfering volume information | |
JPH10285252A (en) | Method for testing and measuring communication equipment and its device | |
JP2005115600A (en) | Information processor and method | |
KR20030008111A (en) | A system and method for checking data in distributed database on a memory | |
JPS6041160A (en) | Control system of computer system | |
US20020143765A1 (en) | Data processing system and method and storage medium storing data processing program | |
US9898490B2 (en) | Systems and methods for supporting multiple database server versions on a database machine | |
JP2939414B2 (en) | Database Equivalent Processor for Dual Computer | |
US7257653B1 (en) | Switching between copy mode and synchronous RDF mode | |
US7149935B1 (en) | Method and system for managing detected corruption in stored data | |
JP2713405B2 (en) | File system | |
KR100279531B1 (en) | Apparatus and method for storing / retrieving historical messages in sequential order in mobile communication systems | |
US5640557A (en) | Method and system for processing logic blocks in a data processing system | |
JPH09319618A (en) | Device simulator | |
JP4011662B2 (en) | Electronic filing method and apparatus | |
EP1244015A2 (en) | Parallel replication mechanism for state information produced by serialized processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |