KR20010054834A - Apparatus and method for loading database of raw traffic data in phone network - Google Patents

Apparatus and method for loading database of raw traffic data in phone network Download PDF

Info

Publication number
KR20010054834A
KR20010054834A KR1019990055818A KR19990055818A KR20010054834A KR 20010054834 A KR20010054834 A KR 20010054834A KR 1019990055818 A KR1019990055818 A KR 1019990055818A KR 19990055818 A KR19990055818 A KR 19990055818A KR 20010054834 A KR20010054834 A KR 20010054834A
Authority
KR
South Korea
Prior art keywords
data
file
loading
name
database
Prior art date
Application number
KR1019990055818A
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 KR1019990055818A priority Critical patent/KR20010054834A/en
Publication of KR20010054834A publication Critical patent/KR20010054834A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/36Statistical metering, e.g. recording occasions when traffic exceeds capacity of trunks
    • H04M3/367Traffic or load control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2254Arrangements for supervision, monitoring or testing in networks

Abstract

PURPOSE: An apparatus and a method for loading telephone network source traffic data into a database is provided to rapidly and exactly load a DB table with source traffic data, as a preceding work to construct a telephone network source traffic information data warehouse. CONSTITUTION: A term standardization unit(101) standardizes various terms for source traffic data. An input unit(102) receives a file name for loading among the file names standardized by the term standardization unit(101). A file name parsing and processing classification unit(103) executes parsing for the inputted file name to detect an input error. A data double loading confirmation unit(104) confirms whether the data equivalent to the verified file name exist in a database. A table generation unit(105) generates a standard table for a file in the database, in case that the relevant data are the first data. A data loading and log generation unit(106) loads actual data into the generated database table and generates a log file as the result. A file compression unit(107) compresses the file if the data are loaded completely. A basic information unit(109) has basic information for the standard table. An optimization processing unit(110) adjusts an SQL(Structured Query Language) sentence according to basic information and optimizes the table generation operations of the table generation unit(105). An error processing unit(108) processes an error generated from each unit.

Description

전화망 원시트래픽 자료의 데이터베이스 적재장치 및 방법{Apparatus and method for loading database of raw traffic data in phone network}Apparatus and method for loading database of raw traffic data in phone network}

본 발명은 전화망 원시트래픽 자료의 데이터베이스 적재장치 및 방에 관한 것으로, 보다 상세하게는 전화망 트래픽정보 데이터웨어하우스(Data Warehouse, 또는 DW) 구축을 위하여 원시 트래픽자료를 데이터베이스(Database, 또는 DB)에 적재하는 장치 및 방법에 관한 것이다.The present invention relates to a database loading device and a room of a telephone network raw traffic data, and more particularly, to load the raw traffic data into a database (Database, or DB) to build a telephone network traffic information data warehouse (DW) It relates to an apparatus and a method.

전화망 원시트래픽자료는 망 시설투자 계획 및 망 자원의 효율적 관리를 위해 기초자료로 널리 사용되고 있다.Telephone network raw traffic data is widely used as basic data for network facility investment planning and efficient management of network resources.

현재 전화망에서 측정하고 있는 트래픽자료는 시내교환기의 경우 각 지역본부내의 CTMS/Local에서 수집 및 관리하고 있고, 교환기종은 크게 8개 기종(M10CN, NO.1A, AXE-10, 5ESS, 5ESS-2000, S1240, TDX-1A/B, TDX-10A)으로 구성되어 있다. 시외교환기의 경우 CTMS/Toll 한 곳에서 수집 및 관리하고 있고, 3개의 기종(NO.4, AXE-10, TDX-10A)으로 구성되어 있다.Currently, the traffic data measured by the telephone network is collected and managed by CTMS / Local in each regional headquarters in the case of a local exchange, and there are 8 major exchange models (M10CN, NO.1A, AXE-10, 5ESS, 5ESS-2000). , S1240, TDX-1A / B, TDX-10A). The intercity exchange is collected and managed at one CTMS / Toll and consists of three models (NO.4, AXE-10, and TDX-10A).

현재 CTMS에서 수집된 원시트래픽 자료 중 최번시 자료만을 추출하여 관리하고, 그 외 데이터는 백업장치에 보관한다.Currently, it extracts and manages only busy hour data among raw traffic data collected by CTMS, and keeps other data in backup device.

그러나, 전화망 트래픽정보 데이터웨어하우스를 구축하는데 필요한 데이터는 최번시를 포함한 전 시간대 데이터이다.However, the data required to build a telephone network traffic information data warehouse is all time zone data including busy hour.

원시트래픽자료를 그 종류별로 구분하면, 교환기 시설정보, 국간중계 시설정보, 교환기트래픽, 국간중계트래픽, 신호장비를 포함한 기타 장비트래픽, 교환기 CPU트래픽으로 구분된다. 각 자료는 교환기종별, 각 지역본부별로 각기 별개의 파일로 관리된다. 예를들어, 임의의 회사의 시내교환기에 대하여 9개의 지역본부에서 각 기종별로 관리하는 원시트래픽자료의 파일 개수는 최소 9(지역본부 수)*8(교환기종 수)*6(파일종류 수)=432개가 된다. 여기서, 교환기종에 따라 부가적으로 출력하는 파일이 2~3개가 있고, 크기가 큰 파일은 여러 개의 부파일로 분리하여 관리하므로 파일 개수는 432개보다 많을 수 있다. 여기에 시외교환기 3개 기종을 포함하면 18개 이상의 파일이 추가된다.By dividing the raw traffic data by its type, it is divided into exchange facility information, inter-station relay facility information, exchange traffic, inter-station relay traffic, other equipment traffic including signaling equipment, and exchange CPU traffic. Each data is managed in separate files for each exchange type and each regional headquarters. For example, the number of files of raw traffic data managed by 9 regional headquarters for each type for any company's local exchange is at least 9 (number of regional headquarters) * 8 (number of exchange types) * 6 (number of file types) = 432 pieces. Here, there are two to three files additionally output according to the exchange model, and a large file is divided into several sub-files and managed so that the number of files may be more than 432. Including three intercity exchanges adds more than 18 files.

전화망 트래픽정보 데이터웨어하우스를 구축하기 위해서 선행작업으로 모든 플랫파일을 DB 테이블로 적재해야 한다. 원시 파일의 개수가 수백 개에 달하고, 교환기종별 및 파일종류별로 측정항목이 상이한 데이터를 신속하고 정확하게 적재하기 위해서는 이를 다루기 위한 특별한 기술적인 요소가 필요하다.To build a telephone network traffic information data warehouse, all flat files must be loaded into a DB table. Hundreds of source files are required, and in order to load data quickly and accurately with different metrics by exchange type and file type, special technical elements are needed to deal with it.

따라서, 본 발명은 상술한 종래의 문제점을 해결하기 위해 이루어진 것으로, 전화망 트래픽정보 데이터웨어하우스 구축을 위한 선행작업으로 플랫파일 형태의 원시트래픽자료를 DB 테이블에 보다 신속하면서도 정확하게 적재하도록 한 전화망 원시트래픽 자료의 데이터베이스 적재장치 및 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-described problems, and as a preliminary work for the construction of the telephone network traffic information data warehouse, the telephone network raw traffic for loading the flat traffic data into a DB table more quickly and accurately The purpose is to provide a database loading device and method of data.

본 발명의 바람직한 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재장치는, 각 교환기종별로 상이한 원시 트래픽자료에 대한 용어를 표준화하는 용어 표준화수단;In accordance with a preferred embodiment of the present invention, an apparatus for loading a database of raw network traffic data includes: term standardization means for standardizing terms for raw traffic data different for each type of exchange;

상기 표준화된 원시 트래픽자료중에서 사용자에 의해 입력되는 원시 트래픽자료의 파일명을 입력받는 입력수단;Input means for receiving a file name of raw traffic data input by a user from the standardized raw traffic data;

상기 입력수단에서의 파일명에 대하여 파싱 작업을 수행하고, 상기 입력된 파일명에 대하여 소정의 처리 유형으로 분류하는 파일명 파싱 및 처리 분류수단;File name parsing and processing classification means for performing a parsing operation on the file name in the input means and classifying the input file name into a predetermined processing type;

상기 검증된 파일명에 해당하는 데이터가 데이터베이스내에 이미 존재하는지의 여부를 확인하는 데이터 중복적재 확인수단;Data overlapping checking means for checking whether data corresponding to the verified file name already exists in the database;

상기 데이터가 최초인 경우에 해당 파일에 대하여 데이터베이스내에 표준테이블을 생성하는 테이블 생성수단;Table generating means for generating a standard table in a database for the file when the data is first;

상기 생성된 데이터베이스 테이블에 실제 데이터를 적재하고, 그 결과에 대하여 로그파일을 생성하는 데이터 적재 및 로그 생성수단;Data loading and log generating means for loading actual data into the generated database table and generating a log file for the result;

상기 데이터의 적재가 완료되면 파일을 압축하는 파일 압축수단;File compression means for compressing a file when the loading of the data is completed;

상기 표준테이블에 대한 기본정보를 가지고 있는 기본 정보수단;Basic information means having basic information about the standard table;

상기 기본정보에 따라 SQL문장을 조율하여 상기 테이블 생성수단에서의 테이블 생성동작을 최적화시키는 최적화 처리수단 및;Optimization processing means for optimizing a table generating operation in the table generating means by tuning SQL statements according to the basic information;

상기 입력수단과 파일명 파싱 및 처리 분류수단과 데이터 중복적재 확인수단과 테이블 생성수단과 데이터 적재 및 로그 생성수단 및 파일 압축수단에서의 동작중에 발생되는 오류를 처리하는 오류 처리수단을 구비한다.And an error processing means for processing errors generated during operation in the input means, file name parsing and processing classification means, data redundancy check means, table generating means, data loading and log generating means, and file compression means.

그리고, 본 발명의 바람직한 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재방법은, 사용자가 적재를 원하는 원시 트래픽자료의 파일명을 입력하는 과정;In addition, the database loading method of the raw network traffic data of the telephone network according to a preferred embodiment of the present invention, the process of inputting the file name of the raw traffic data that the user wants to load;

상기 입력된 파일명에 대한 파싱작업을 실시하여 파싱 오류를 점검하는 과정;Checking a parsing error by parsing the input file name;

상기 파싱작업이 정상적으로 완료되면 적재 대상인 파일을 모두 찾아 한개의 파일씩 이전에 미리 데이터베이스에 적재되었는지를 확인하는 과정;When the parsing operation is completed normally, finding all files to be loaded and checking whether the files have been previously loaded into the database one by one;

상기 중복적재가 아니면 테이블 생성 SQL문을 생성하여 표준테이블 생성을 최적화시키는 과정;Optimizing standard table generation by generating a table generation SQL statement if the non-overlapping is not performed;

상기 생성된 SQL문으로 모든 데이터를 데이터베이스내에 적재하는 과정; 및Loading all data into a database using the generated SQL statement; And

상기 모든 파일에 대한 적재가 완료되면 파일을 압축하는 과정을 구비한다.Comprising the process of compressing the file when the loading of all the files is completed.

도 1은 본 발명의 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재장치의 구성도,1 is a block diagram of a database loading apparatus of the telephone network raw traffic data according to an embodiment of the present invention,

도 2a 및 도 2b는 본 발명의 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재방법을 설명하는 흐름도이다.2A and 2B are flowcharts illustrating a database loading method of telephone network raw traffic data according to an embodiment of the present invention.

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

101 : 용어 표준화부 102 : 입력부101: term standardization unit 102: input unit

103 : 파일명 파싱 및 처리 분류부103: File name parsing and processing classification unit

104 : 데이터 중복 적재 확인부104: data redundancy check unit

105 : 테이블 생성부105: table generator

106 : 데이터 적재 및 로그 생성부106: data loading and log generation unit

107 : 파일 압축부 108 : 오류 처리부107: file compression unit 108: error processing unit

109 : 기본 정보부 110 : 최적화 처리부109: basic information unit 110: optimization processing unit

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명의 명세서에서 CTMS(Centralized Traffic Management System)는 본 출원인측의 회사에서 개발한 트래픽집중관리시스템으로서, 각 교환기에서 출력하고 있는 트래픽데이터를 실시간으로 수집하여 각종 분석보고서를 생성하는 시스템이다. 시내 교환기종은 각 지역본부별로 각각의 지역 트래픽 집중관리시스템(CTMS/Local)을 운용하고 있고, 시외 교환기종은 시외 트래픽 집중관리시스템(CTMS/Toll) 한 곳에서 관리한다.First, in the specification of the present invention, the CTMS (Centralized Traffic Management System) is a traffic concentration management system developed by the company of the applicant, and collects the traffic data output from each exchange in real time and generates various analysis reports. . Local exchanges operate their own local traffic centralized management systems (CTMS / Local) for each regional headquarters, while local exchanges are managed by one localized traffic centralized management system (CTMS / Toll).

그리고, 본 발명의 명세서에서 원시트래픽 자료는 교환기에서 출력되는 트래픽자료를 가공하지 않은 상태로 수집한 것을 의미한다.In the specification of the present invention, the raw traffic data means that the traffic data output from the exchange is collected without processing.

그리고, 본 발명의 명세서에서 데이터웨어하우스란 다년간 기업내 축적된 데이터와 외부데이터를 주제별로 통합하여 별도의 응용프로그램없이 사용자 요구사항에 맞게 다각도로 분석 가능하게 하는 정보기술이다.In addition, in the specification of the present invention, a data warehouse is an information technology that integrates data accumulated in a company and external data for many years by subject and enables analysis at various angles according to user requirements without a separate application program.

그리고, 본 발명의 명세서에서 데이터베이스 적재는 플랫파일을 데이터베이스내 테이블로 적재하는 것을 의미한다.In the specification of the present invention, database loading means loading a flat file into a table in a database.

도 1은 본 발명의 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재장치의 구성도이다.1 is a block diagram of a database loading apparatus of telephone network raw traffic data according to an embodiment of the present invention.

참조부호 101은 각 교환기종별로 상이한 데이터에 대하여 이후 관리의 편리성을 기하기 위하여 전 지역본부에 걸쳐 같은 교환기종 및 같은 종류의 파일에 대해서는 같은 테이블에 적재되도록 테이블명을 표준화하고, 의미가 같은 항목은 같은 필드명을 사용하도록 측정항목에 대하여 표준화를 실시하는 용어 표준화부이다. 표준화의 역할은 적재작업은 물론 이후 데이터웨어하우스 구축 작업을 수월하게 하므로 중요하다.Reference numeral 101 standardizes the table names so that the same exchange model and the same kind of files are loaded into the same table throughout the regional headquarters for convenience of later management of different data for each exchange type. An item is a term standardization unit that standardizes a measurement item to use the same field name. The role of standardization is important because it facilitates loading and subsequent data warehouse deployments.

참조부호 102는 적재를 원하는 해당 연월 입력 및 상기 용어 표준화부(101)에서 표준화된 파일명중에서 적재를 원하는 파일명을 입력하는 입력부이다. 상기 입력부(102)로의 입력내용은 사용자의 조작에 의해 입력되고, 상기 파일명 입력은 몇 개의 선택사항으로 구성된다. 특정 본부내 특정 파일명을 입력하거나 asterisk(*)를 사용하여 복수개의 파일명을 지정할 수도 있다. 파일명 입력에 있어 asterisk(*)의 사용은 사용자에게 편리함을 준다. 입력의 끝은 주어진 문자열을 사용하여 표시하도록 한다.Reference numeral 102 is an input unit for inputting a corresponding month and month to be loaded and a file name to be loaded among file names standardized by the term standardization unit 101. The input contents to the input unit 102 are input by a user's operation, and the file name input is composed of several options. You can enter a specific file name in a specific headquarters or specify multiple file names using asterisk (*). The use of asterisk (*) in entering file names is convenient for the user. The end of the input is marked using the given string.

참조부호 103은 상기 입력부(102)를 통해 입력된 파일명에 대하여 파싱(parsing)작업을 실시하여 입력 오류를 발견하고, asterisk(*)가 들어간 경우 대상 파일을 모두 찾아내는 파일명 파싱 및 처리 분류부이다. 이 파일명 파싱 및 처리 분류부(103)는 각각의 파일명에 대하여 그 파일이 속하는 지역본부명, 파일종류명을 찾아내어 해당 변수에 보관하는 과정을 반복한다.Reference numeral 103 denotes a file name parsing and processing classification unit for parsing a file name input through the input unit 102 to detect an input error and finding all target files when asterisk (*) is entered. The file name parsing and processing classification unit 103 repeats the process of finding out the name of the local headquarters and the file type to which the file belongs, and storing it in the variable for each file name.

참조부호 104는 데이터를 적재하기 전에 먼저 해당 데이터가 이미 데이터베이스에 적재되었는지를 확인하는 데이터 중복적재 확인부이다. 그 확인절차는 데이터베이스내에 관리테이블을 두고서 해당 데이터가 최초로 적재될 때 원시 파일명과 날짜를 삽입하는 방법을 취한다. 적재작업이 수행될 때마다 먼저 이 관리테이블을 확인한 후 적재작업을 수행하도록 하여 데이터가 중복해서 삽입되는 것을 방지하여 적재의 정확성을 높인다.Reference numeral 104 denotes a data redundancy check unit that checks whether the data is already loaded in the database before loading the data. The verification process involves placing a managed table in the database and inserting the source file name and date when the data is first loaded. Whenever a stacking operation is performed, this management table is checked first, and then a stacking operation is performed to prevent data from being duplicated, thereby improving the accuracy of the stacking.

참조부호 105는 파일명 파싱(parsing)시 분류한 지역본부명과 교환기종명 및 파일종류명을 가지고서 표준테이블을 생성하는 테이블 생성부이다. 상기 표준테이블 생성시 중요한 것은 테이블내 삽입될 데이터의 특성을 고려하여 물리적 저장소에 대한 파라메터를 설정하는 것이다. 또한 보다 신속한 처리를 위하여 SQL(Structured Query Language)문을 조율하는 작업이다.Reference numeral 105 is a table generating unit for creating a standard table having the name of the regional headquarters, the exchange model name, and the file type name classified during file name parsing. The important thing when creating the standard table is to set the parameters for the physical storage in consideration of the characteristics of the data to be inserted in the table. It is also a task of tuning SQL (Structured Query Language) statements for faster processing.

참조부호 106은 상기 테이블 생성부(105)에서의 테이블 생성이 완료되면 파일명 파싱(parsing)시 분류한 지역본부명과 교환기종명 및 파일종류명을 가지고서 작성된 데이터 조정파일(플랫화일을 구성하는 데이터에 대한 구조를 설명한 스크립트 파일)을 이용하여 적재작업을 수행하고, 적재 결과에 대하여 로그파일을 생성하는 데이터 적재 및 로그 생성부이다. 로그파일에 기록된 내용을 보면 적재작업의 결과에 대하여 아주 자세하게 파악할 수 있다.Reference numeral 106 denotes a data coordination file (data for data constituting the flat file) created with the local headquarter name, the exchange model name, and the file type name classified at the time of file name parsing when the table generation unit 105 completes the table generation. It is a data loading and log generation unit that performs a loading operation using a script file explaining the structure) and creates a log file for the loading result. The contents of the log file provide a very detailed picture of the loading results.

복수개의 파일을 일괄 처리할 경우 상기 데이터 중복적재 확인부(104)와 테이블 생성부(105) 및 데이터 적재 및 로그 생성부(106)에서의 동작이 반복적으로수행한다.When batch processing a plurality of files, the operations of the data redundancy check unit 104, the table generator 105, and the data load and log generator 106 are repeatedly performed.

참조부호 107은 상기 데이터 적재 및 로그 생성부(106)에서 생성된 로그파일을 압축하는 파일 압축부이다. 그 파일 압축의 목적은 원시파일이 차지하고 있는 디스크 용량을 절약하기 위해서이다.Reference numeral 107 denotes a file compression unit that compresses the log file generated by the data loading and log generation unit 106. The purpose of file compression is to save disk space taken up by source files.

참조부호 108은 상기 각 부(102, 103, 104, 105, 106, 107)에서 발생하는 오류를 처리하는 오류 처리부로서, 오류가 발생하면 그에 상응하는 오류메시지를 출력하고, 수행을 비정상적으로 종료시킨다.Reference numeral 108 is an error processing unit that processes errors occurring in the units 102, 103, 104, 105, 106, and 107. When an error occurs, an error message corresponding thereto is output and abnormally terminated. .

참조부호 109는 미리 파악된 테이블에 대한 기본정보(평균 레코드 길이, 테이블의 특성 즉 대상 테이블이 삽입삭제갱신이 빈번한 테이블인지 혹은 그렇지 않은지에 대한 정보)를 가지고 있는 기본 정보부이다.Reference numeral 109 is a basic information section that contains basic information (average record length, characteristics of the table, ie, whether the target table is frequently inserted or deleted) or not about the table.

참조부호 110은 기본정보에 따라서 SQL문장을 조율하여 수행성능을 최적화하는 최적화 처리부이다.Reference numeral 110 is an optimization processor that optimizes performance by tuning SQL statements according to basic information.

이어, 본 발명의 실시예에 따른 전화망 원시트래픽 자료의 데이터베이스 적재방법에 대해 도 2a 및 도 2b의 흐름도를 참조하여 설명하면 다음과 같다.Next, a method for loading a database of telephone network raw traffic data according to an embodiment of the present invention will be described with reference to the flowcharts of FIGS. 2A and 2B.

사용자는 입력부(102)를 통해 적재를 원하는 원시트래픽 자료의 연월을 입력하고 적재를 원하는 파일명을 입력한다(단계 201). 입력중에 입력의 끝을 알리는 문자열이 입력되기 전까지 입력을 계속하도록 한다.The user inputs the year and month of the raw traffic data to be loaded through the input unit 102 and a file name to be loaded (step 201). During input, input continues until a string indicating the end of input is entered.

상기 입력부(102)에서의 입력중에 오류가 발생되면 그 발생된 오류를 근거로 하여 오류 처리부(108)에서 그에 상응하는 오류메시지를 출력하고, 프로그램을 비정상으로 종료한다(단계 204).If an error occurs during the input from the input unit 102, the error processing unit 108 outputs an error message corresponding thereto based on the generated error, and terminates the program abnormally (step 204).

상기 입력부(102)에서의 입력이 오류없이 완료되면 파일명 파싱 및 처리 분류부(103)에서는 현재 입력된 파일명에 대한 파싱작업을 실시하고, 압축 파일 등을 풀며 각각의 파일명에 대하여 그 파일이 속하는 지역본부명, 파일종류명을 찾아내어 해당 변수에 보관한다(단계 202).When the input from the input unit 102 is completed without error, the file name parsing and processing classifying unit 103 parses the currently input file name, decompresses a compressed file, etc., and the region to which the file belongs for each file name. The headquarters name and file type name are found and stored in the corresponding variable (step 202).

물론, 상기 파일명 파싱 및 처리 분류부(103)에서의 파싱동작이 오류가 발생되면 상기 단계 204에서의 동작을 실행하게 된다. 그러나, 상기 파일명 파싱 및 처리 분류부(103)에서 파싱오류가 없이 완료하게 되면 데이터의 중복적재를 방지하기 위해서 데이터 중복적재 확인부(104)에서 대상 파일을 모두 찾아 한 개의 파일씩 데이터베이스 중복적재 여부를 확인한다(단계 203).Of course, if an error occurs in the parsing operation in the file name parsing and processing classification unit 103, the operation in step 204 is executed. However, if the file name parsing and processing classification unit 103 is completed without a parsing error, the data duplication check unit 104 finds all the target files in order to prevent duplication of data, and whether the files are duplicated by one file or not. Check (step 203).

중복여부가 확인되면 최적화 처리부(110)에서 테이블 생성 SQL문을 작성하고, SQL문을 조율하여 테이블 생성부(105)로 제공함으로써 표준테이블 생성시 최적의 성능을 발휘하게 한다(단계 205).If the duplication is confirmed, the optimization processing unit 110 creates a table generation SQL statement, coordinates the SQL statements and provides them to the table generation unit 105 to achieve optimal performance when generating a standard table (step 205).

이어, 데이터 적재 및 로그 생성부(106)에서는 상기 생성된 SQL문으로 데이터를 데이터베이스에 적재하고, 그 결과인 로그파일을 생성한다(단계 206). 상기 데이터 적재 및 로그 생성부(106)에서의 데이터적재시 오류가 발생하면 상술한 단계 204로 복귀하여 상기 오류 처리부(108)에서 그에 상응하는 오류 메시지를 출력하면서 프로그램을 종료하게 된다.Subsequently, the data loading and log generating unit 106 loads the data into the database using the generated SQL statement and generates a log file as a result (step 206). If an error occurs when data is loaded in the data loading and log generating unit 106, the process returns to step 204 described above, and the error processing unit 108 terminates the program while outputting the corresponding error message.

그러나, 모든 파일에 대하여 오류없이 적재를 마치게 되면 파일 압축부(107)에서 디스크 공간을 절약하기 위해 압축을 실시한다(단계 207). 그 압축동작시에도 오류가 발생하면 상기 오류 처리부(108)에서 그에 상응하는 오류 메시지 를 출력하고 프로그램을 비정상으로 종료한다. 상기 압축동작이 오류없이 끝나게 되면 본 발명의 동작이 정상적으로 종료된다.However, when the loading of all files is completed without error, the file compression unit 107 performs compression to save disk space (step 207). If an error occurs even during the compression operation, the error processing unit 108 outputs an error message corresponding thereto and terminates the program abnormally. If the compression operation ends without error, the operation of the present invention is normally terminated.

이상 설명한 바와 같은 본 발명에 의하면, 각 교환기종별로 상이한 데이터에 대하여 용어 표준화를 실시하고 사용자에게 편리한 입력수단을 제공하며 중복적재를 방지하여 적재의 정확성을 높이고, 테이블의 특성을 고려한 SQL문 조율작업을 실시하여 적재작업을 신속하게 처리함으로써, 이질적이고 방대한 전화망 원시트래픽자료를 데이터베이스에 적재함에 있어서 관리의 편리성, 신속성, 정확성을 보장해 주는 효과가 있다.According to the present invention as described above, the standardization of terms for the different data for each exchange model, provides a convenient input means to the user, to prevent the overlapping to increase the accuracy of the loading, the SQL statement tuning operation considering the characteristics of the table By processing the loading operation quickly, the system has the effect of ensuring the convenience, speed and accuracy of management in loading heterogeneous and massive telephone network raw traffic data into the database.

아울러 본 발명의 바람직한 실시예들은 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가 등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, preferred embodiments of the present invention are disclosed for the purpose of illustration, those skilled in the art will be able to make various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications and modifications belong to the following claims You will have to look.

Claims (11)

각 교환기종별로 상이한 원시 트래픽자료에 대한 용어를 표준화하는 용어 표준화수단;Term standardization means for standardizing a term for different raw traffic data for each exchange type; 상기 표준화된 원시 트래픽자료중에서 사용자에 의해 입력되는 원시 트래픽자료의 파일명을 입력받는 입력수단;Input means for receiving a file name of raw traffic data input by a user from the standardized raw traffic data; 상기 입력수단에서의 파일명에 대하여 파싱 작업을 수행하고, 상기 입력된 파일명에 대하여 소정의 처리 유형으로 분류하는 파일명 파싱 및 처리 분류수단;File name parsing and processing classification means for performing a parsing operation on the file name in the input means and classifying the input file name into a predetermined processing type; 상기 검증된 파일명에 해당하는 데이터가 데이터베이스내에 이미 존재하는지의 여부를 확인하는 데이터 중복적재 확인수단;Data overlapping checking means for checking whether data corresponding to the verified file name already exists in the database; 상기 데이터가 최초인 경우에 해당 파일에 대하여 데이터베이스내에 표준테이블을 생성하는 테이블 생성수단;Table generating means for generating a standard table in a database for the file when the data is first; 상기 생성된 데이터베이스 테이블에 실제 데이터를 적재하고, 그 결과에 대하여 로그파일을 생성하는 데이터 적재 및 로그 생성수단;Data loading and log generating means for loading actual data into the generated database table and generating a log file for the result; 상기 데이터의 적재가 완료되면 파일을 압축하는 파일 압축수단;File compression means for compressing a file when the loading of the data is completed; 상기 표준테이블에 대한 기본정보를 가지고 있는 기본 정보수단;Basic information means having basic information about the standard table; 상기 기본정보에 따라 SQL문장을 조율하여 상기 테이블 생성수단에서의 테이블 생성동작을 최적화시키는 최적화 처리수단 및;Optimization processing means for optimizing a table generating operation in the table generating means by tuning SQL statements according to the basic information; 상기 입력수단과 파일명 파싱 및 처리 분류수단과 데이터 중복적재 확인수단과 테이블 생성수단과 데이터 적재 및 로그 생성수단 및 파일 압축수단에서의 동작중에 발생되는 오류를 처리하는 오류 처리수단을 구비하는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.And an error processing means for processing errors generated during operation in the input means, file name parsing and processing classification means, data redundancy check means, table generation means, data loading and log generation means, and file compression means. Database loader for raw network traffic data. 제 1 항에 있어서,The method of claim 1, 상기 용어 표준화수단은 전 지역본부에 걸쳐 동일 교환기종 및 동일 종류의 파일에 대해서는 동일 테이블에 적재되도록 테이블명을 표준화하고, 의미가 동일한 항목은 동일한 필드명을 사용하도록 측정항목을 표준화시키는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.The term standardization means standardizes the table name so that the same exchange model and the same kind of files are loaded in the same table for all the regional headquarters, and the standardized measurement items use the same field name for the items having the same meaning. Database loader for raw network traffic data. 제 1 항에 있어서,The method of claim 1, 상기 입력수단으로 입력되는 파일명은 특정 본부내의 특정 파일명으로 입력하거나 아스테리스크에 의해 복수개로 지정되어 입력되는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.And a file name inputted to the input means is inputted as a specific file name in a specific headquarters or a plurality of files designated by an asterisk. 제 1 항에 있어서,The method of claim 1, 상기 소정의 처리 유형(입력된 파일명의 구성이)은 지역본부명과 교환기종명 및 파일종류명인 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.And said predetermined type of processing (composition of the input file name) is a local headquarters name, an exchange model name, and a file type name. 제 4 항에 있어서,The method of claim 4, wherein 상기 데이터 적재 및 로그 생성수단에서의 데이터 적재시 상기 파일명을 파싱할 때 분류한 지역본부명과 교환기종명 및 파일종류명을 가지고서 작성된 데이터 조정파일을 이용하여 적재작업을 행하는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.When the data is loaded by the data loading and log generating means, the loading operation is performed by using a data adjustment file created with the regional headquarters name, the exchange type name, and the file type name classified when parsing the file name. Database stacker. 제 1 항에 있어서,The method of claim 1, 상기 기본 정보수단은 특정 테이블에 대한 평균 레코드 길이, 대상 테이블이 삽입,삭제,갱신이 빈번한 테이블인지 아닌지에 대한 특성에 대한 정보를 가지고 있는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재장치.And the basic information means has information on an average record length for a specific table and characteristics of whether or not the target table is a table that is frequently inserted, deleted, or updated. 사용자가 적재를 원하는 원시 트래픽자료의 파일명을 입력하는 과정;Inputting a file name of raw traffic data that the user wants to load; 상기 입력된 파일명에 대한 파싱작업을 실시하여 파싱 오류를 점검하는 과정;Checking a parsing error by parsing the input file name; 상기 파싱작업이 정상적으로 완료되면 적재 대상인 파일을 모두 찾아 한개의 파일씩 이전에 미리 데이터베이스에 적재되었는지를 확인하는 과정;When the parsing operation is completed normally, finding all files to be loaded and checking whether the files have been previously loaded into the database one by one; 상기 중복적재가 아니면 테이블 생성 SQL문을 생성하여 표준테이블 생성을 최적화시키는 과정;Optimizing standard table generation by generating a table generation SQL statement if the non-overlapping is not performed; 상기 생성된 SQL문으로 모든 데이터를 데이터베이스내에 적재하는 과정; 및Loading all data into a database using the generated SQL statement; And 상기 모든 파일에 대한 적재가 완료되면 파일을 압축하는 과정을 구비하는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재방법.And compressing the file when the loading of all the files is completed. 제 7 항에 있어서,The method of claim 7, wherein 상기 입력되는 원시 트래픽자료의 파일명은 입력되기 전에 이미 전 지역본부에 걸쳐 동일 교환기종 및 동일 종류의 파일에 대해서는 동일 테이블에 적재되도록 테이블명이 표준화되고, 의미가 동일한 항목은 동일한 필드명을 사용하도록 측정항목이 표준화되어 있는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재방법.The file name of the inputted raw traffic data is standardized so that the same exchange type and the same type of file are loaded in the same table for all files of the same exchange and all the local headquarters. A method of loading a database of raw traffic data on a telephone network, characterized in that the items are standardized. 제 7 항에 있어서,The method of claim 7, wherein 상기 입력되는 파일명은 특정 본부내의 특정 파일명으로 입력되거나 아스테리스크에 의해 복수개로 지정되어 입력되는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재방법.The input file name is input to a specific file name in a specific headquarters, or a plurality of asterisks specified by the asterisk database loading method of the raw network traffic data, characterized in that the input. 제 7 항에 있어서,The method of claim 7, wherein 상기 파일의 적재여부 확인은 상기 데이터베이스내에 관리테이블을 두고서 해당 데이터가 최초로 적재될 때 원시 파일명과 날짜를 삽입한 후 적재작업이 수행할 때마다 먼저 상기 관리테이블을 확인하는 것에 의해 이루어지는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재방법.Checking whether the file is loaded is performed by placing a management table in the database, inserting a raw file name and date when the data is loaded for the first time, and then first checking the management table whenever a loading operation is performed. Database loading method of telephone network raw traffic data. 제 7 항에 있어서,The method of claim 7, wherein 상기 데이터 적재시 상기 파일명을 파싱할 때 분류한 지역본부명과 교환기종명 및 파일종류명을 가지고서 작성된 데이터 조정파일을 이용하여 적재작업을 행하는 것을 특징으로 하는 전화망 원시트래픽 자료의 데이터베이스 적재방법.And loading the data using the data control file created using the regional headquarters name, the exchange model name, and the file type name classified when parsing the file name when the data is loaded.
KR1019990055818A 1999-12-08 1999-12-08 Apparatus and method for loading database of raw traffic data in phone network KR20010054834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990055818A KR20010054834A (en) 1999-12-08 1999-12-08 Apparatus and method for loading database of raw traffic data in phone network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990055818A KR20010054834A (en) 1999-12-08 1999-12-08 Apparatus and method for loading database of raw traffic data in phone network

Publications (1)

Publication Number Publication Date
KR20010054834A true KR20010054834A (en) 2001-07-02

Family

ID=19624274

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990055818A KR20010054834A (en) 1999-12-08 1999-12-08 Apparatus and method for loading database of raw traffic data in phone network

Country Status (1)

Country Link
KR (1) KR20010054834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040024365A (en) * 2002-09-14 2004-03-20 에스케이 텔레콤주식회사 Momentary Call Monitor System of Exchnge
KR100671683B1 (en) * 1999-12-18 2007-01-18 주식회사 케이티 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100671683B1 (en) * 1999-12-18 2007-01-18 주식회사 케이티 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database
KR20040024365A (en) * 2002-09-14 2004-03-20 에스케이 텔레콤주식회사 Momentary Call Monitor System of Exchnge

Similar Documents

Publication Publication Date Title
CN112395325A (en) Data management method, system, terminal equipment and storage medium
CN103514223A (en) Data synchronism method and system of database
US8275739B2 (en) User interface display for monitoring a database load engine
CN111124917A (en) Public test case management and control method, device, equipment and storage medium
CN111309581B (en) Application performance detection method and device in database upgrading scene
CN111209181A (en) Regression testing method, system, device and computer storage medium
CN116303385A (en) Data auditing method and device, electronic equipment and storage medium
KR20010054834A (en) Apparatus and method for loading database of raw traffic data in phone network
CN109426576B (en) Fault-tolerant processing method and fault-tolerant assembly
CN116089446A (en) Optimization control method and device for structured query statement
CN112765188A (en) Configuration information processing method, configuration management system, electronic device, and storage medium
JP2021105866A (en) Program development support system and program development support method
CN111240981A (en) Interface testing method, system and platform
CN117522336A (en) Full-dynamic information security evaluation management system and method
CN112115046B (en) Software fault positioning method, device and terminal
CN109726898B (en) Personnel access management method, device, equipment and storage medium
CN113052504A (en) Service system management method and device
Nutaro A software package for modeling and simulating fault graphs
CN117171139A (en) Database changing method and system, electronic equipment and storage medium
Mruts et al. ALGORITHMIC AND SOFTWARE OF MIGRATION OF DATABASES IN HYPERMARKET NETWORK
CN112860803A (en) Account checking method, device and equipment and readable storage medium
CN117472641A (en) Data quality detection method and device, electronic equipment and storage medium
CN117370202A (en) Method, device, equipment and storage medium for testing full link of multiple bins
CN117236881A (en) Automatic document delivery circulation system, method and electronic equipment
CN114003736A (en) Operation linkage method, device, equipment and medium based on data middling station

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination