KR100671683B1 - Automatic method for generating ess nms database loader which stores data output from telephone exchange into database - Google Patents

Automatic method for generating ess nms database loader which stores data output from telephone exchange into database Download PDF

Info

Publication number
KR100671683B1
KR100671683B1 KR1019990059054A KR19990059054A KR100671683B1 KR 100671683 B1 KR100671683 B1 KR 100671683B1 KR 1019990059054 A KR1019990059054 A KR 1019990059054A KR 19990059054 A KR19990059054 A KR 19990059054A KR 100671683 B1 KR100671683 B1 KR 100671683B1
Authority
KR
South Korea
Prior art keywords
token
rule
source code
database
parser
Prior art date
Application number
KR1019990059054A
Other languages
Korean (ko)
Other versions
KR20010064764A (en
Inventor
이도재
윤학수
유재형
김성범
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Priority to KR1019990059054A priority Critical patent/KR100671683B1/en
Publication of KR20010064764A publication Critical patent/KR20010064764A/en
Application granted granted Critical
Publication of KR100671683B1 publication Critical patent/KR100671683B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • 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

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 교환기 운용관리 데이터베이스 로더 자동 생성 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to a method for automatically generating a switchboard operation management database loader and a computer-readable recording medium having recorded thereon a program for realizing the method.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 교환기 운용관리용 데이터에 대한 데이터베이스 구축 프로그램 구현시 데이터베이스 로더를 자동으로 생성할 수 있는 교환기 운용관리 데이터베이스 로더 자동 생성 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention provides a method for automatically generating a switchboard operation management database loader that can automatically generate a database loader when a database building program for the switchboard operation management data is implemented, and a computer-readable recording medium recording a program for realizing the method. To provide.

3. 발명의 해결방법의 요지 3. Summary of Solution to Invention

본 발명은, 통신망 운용관리용 메시지에 대한 어휘분석 규칙을 생성하는 제 1 단계; 토큰 생성기 표본 소스코드와 상기 어휘분석 규칙을 이용하여 토큰 생성기를 생성하는 제 2 단계; 상기 통신망 운용관리용 메시지와 상기 토큰 생성기를 이용해 토큰, 토큰 리스트 및 구문분석 규칙을 생성하는 제 3 단계; 구문분석기 표본 소스코드에 상기 어휘분석 규칙 및 상기 토큰 리스트를 삽입하여 구문분석기 소스코드를 생성하는 제 4 단계; 및 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴, 상기 구문분석 규칙 및 상기 구문분석기 소스코드를 컴파일 및 링크시켜 데이터베이스 로더를 생성하는 제 5 단계를 포함함.The present invention comprises a first step of generating a lexical analysis rule for a message for network operation management; A second step of generating a token generator using a token generator sample source code and the lexical analysis rule; Generating a token, a token list, and a parsing rule by using the network operation management message and the token generator; A fourth step of generating a parser source code by inserting the lexical rule and the token list into a parser sample source code; And a fifth step of compiling and linking a database input routine for inputting data extracted by a parser to a database, the parsing rules, and the parser source code to generate a database loader.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 망 관리시스템 등에 이용됨.The present invention is used in a network management system.

데이터베이스 로더, 망 관리, 로더 자동 생성Database loader, network management, loader auto creation

Description

교환기 운용관리 데이터베이스 로더 자동 생성 방법{AUTOMATIC METHOD FOR GENERATING ESS NMS DATABASE LOADER WHICH STORES DATA OUTPUT FROM TELEPHONE EXCHANGE INTO DATABASE} AUTOMATIC METHOD FOR GENERATING ESS NMS DATABASE LOADER WHICH STORES DATA OUTPUT FROM TELEPHONE EXCHANGE INTO DATABASE}             

도 1 은 본 발명이 적용되는 망 관리시스템의 구성예시도,1 is an exemplary configuration diagram of a network management system to which the present invention is applied;

도 2 는 본 발명에 따른 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 대한 일실시예 흐름도,2 is a flow chart of an embodiment of an automatic operation of a switchboard operation management database loader according to the present invention;

도 3a 내지 도 3d 는 본 발명에 따른 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 대한 일실시예 상세흐름도이다.3A to 3D are detailed flowcharts of an embodiment of a method for automatically generating an exchange operation management database loader according to the present invention.

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

101 : 교환기 102 : 데이터베이스 로더101: exchange 102: database loader

103 : 데이터베이스 104 : 망관리 모듈103: Database 104: Network Management Module

본 발명은 교환기 운용관리 데이터베이스 로더 자동 생성 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히 망관리 시스템 개발 및 유지보수업무의 효율성 증대를 위해 교환기 운용관리용 데이터에 대한 데이터베이스 구축 프로그램 생성을 자동화하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다. The present invention relates to a method for automatically creating a switchboard operation management database loader and a computer-readable recording medium recording a program for realizing the method, and more particularly, for switching operation management to increase the efficiency of network management system development and maintenance work. A method for automatically generating an exchange operation management database loader for automating the creation of a database construction program for data and a computer-readable recording medium having recorded thereon a program for realizing the method.

교환기 출력메시지를 바탕으로 교환망 관리가 이루어지는 교환망 관리 방식에서, 망 관리시스템은 각 교환기로부터 출력되는 망관리용 출력 메시지를 분석하여 분석한 결과를 망 상태 감시 및 트래픽 제어 등 망관리 데이터로 이용키 위하여 실시간으로 데이터 베이스에 저장하는 데이터베이스(DB) 로더 프로그램을 필요로 한다.In the switching network management method in which the switching network management is performed based on the switching output message, the network management system analyzes the output management message output from each switching system and uses the analyzed result as network management data such as network status monitoring and traffic control. You need a database loader program that stores the database in real time.

교환기에서 출력되는 메시지는 망관리 데이터의 항목에 따라 각기 다른 유형을 가지고 있으며, 그렇기 때문에 데이터베이스(DB) 로더는 메시지의 형태에 종속적인 처리 루틴을 가지고 있다. The messages output from the exchange have different types depending on the items of network management data. Therefore, the database loader has processing routines that are dependent on the type of message.

종래의 이러한 DB 로더 개발방법은 개발자가 각 메시지 별로 메시지의 유형을 분석하여 처리 알고리즘을 도출하고, 직접 프로그램 코딩을 수행하였으며, 프로그램이 완성되기까지는 수많은 테스트 과정을 거쳐야 했다.In the conventional DB loader development method, a developer analyzes a message type for each message, derives a processing algorithm, performs a direct program coding, and has undergone numerous test processes until the program is completed.

따라서, 교환기 소프트웨어(SW)의 버전 업그레이드로 인한 메시지 형태의 변경이나 망관리 항목 추가요구 등이 발생할 경우, 처리 루틴을 개발자가 일일이 새로 고안하여 재 코딩을 하여 왔기 때문에 생산성이 떨어지고 망관리 환경변화에 따 른 유지보수 및 신속한 변화관리가 어려운 문제점이 있었다.Therefore, if a change in message format or a request for adding a network management item occurs due to a version upgrade of the switch software (SW), the processing routine has been newly devised and recoded by the developer, thereby reducing productivity and changing the network management environment. The maintenance and prompt change management were difficult.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 교환기 운용관리용 데이터에 대한 데이터베이스 구축 프로그램 구현시 데이터베이스 로더를 자동으로 생성할 수 있는 교환기 운용관리 데이터베이스 로더 자동 생성 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.
The present invention has been made to solve the above problems, realizing a method and the method for automatically creating a switch management database loader that can automatically generate a database loader when the database construction program for the switch management data is implemented. The object of the present invention is to provide a computer-readable recording medium having recorded thereon a program.

상기 목적을 달성하기 위한 본 발명은, 망 관리시스템에 적용되는 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 있어서, 통신망 운용관리용 메시지에 대한 어휘분석 규칙을 생성하는 제 1 단계; 토큰 생성기 표본 소스코드와 상기 어휘분석 규칙을 이용하여 토큰 생성기를 생성하는 제 2 단계; 상기 통신망 운용관리용 메시지와 상기 토큰 생성기를 이용해 토큰, 토큰 리스트 및 구문분석 규칙을 생성하는 제 3 단계; 구문분석기 표본 소스코드에 상기 어휘분석 규칙 및 상기 토큰 리스트를 삽입하여 구문분석기 소스코드를 생성하는 제 4 단계; 및 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴, 상기 구문분석 규칙 및 상기 구문분석기 소스코드를 컴파일 및 링크시켜 데이터베이스 로더를 생성하는 제 5 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method for automatically generating a switch management database loader applied to a network management system, comprising: a first step of generating a lexical analysis rule for a message for management of a network operation; A second step of generating a token generator using a token generator sample source code and the lexical analysis rule; Generating a token, a token list, and a parsing rule by using the network operation management message and the token generator; A fourth step of generating a parser source code by inserting the lexical rule and the token list into a parser sample source code; And a fifth step of compiling and linking a database input routine for inputting data extracted by a parser to a database, the parsing rules, and the parser source code to generate a database loader.

또한, 본 발명은, 대용량 프로세서를 구비한 망 관리시스템에, 통신망 운용관리용 메시지에 대한 어휘분석 규칙을 생성하는 제 1 기능; 토큰 생성기 표본 소스코드와 상기 어휘분석 규칙을 이용하여 토큰 생성기를 생성하는 제 2 기능; 상기 통신망 운용관리용 메시지와 상기 토큰 생성기를 이용해 토큰, 토큰 리스트 및 구문분석 규칙을 생성하는 제 3 기능; 구문분석기 표본 소스코드에 상기 어휘분석 규칙 및 상기 토큰 리스트를 삽입하여 구문분석기 소스코드를 생성하는 제 4 기능; 및 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴, 상기 구문분석 규칙 및 상기 구문분석기 소스코드를 컴파일 및 링크시켜 데이터베이스 로더를 생성하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a network management system having a large capacity processor, comprising: a first function of generating a lexical analysis rule for messages for communication network operation management; A second function of generating a token generator using a token generator sample source code and the lexical analysis rule; A third function of generating a token, a token list, and a parsing rule by using the network operation management message and the token generator; A fourth function of generating a parser source code by inserting the lexical rule and the token list into a parser sample source code; And a database input routine for inputting data extracted by a parser into a database, a program for realizing a fifth function of compiling and linking the parsing rules and the parser source code to generate a database loader. Provides a record medium that can be.

일반적으로 관리 시스템이 이미 개발되어 운용중인 경우라 하더라도 망관리 요구사항이 추가/변경되거나 교환기의 운영체제의 버전 변경 등으로 인한 출력메시지의 형식이 변경될 경우에는 실시간 데이터베이스 구축 프로그램 변경이 필수적으로 수반되어야 한다. 따라서, 이러한 교환망 관리의 변화 요구에 신속히 대처할 수 있도록 하기 위해서 기본적으로 메시지 형식이 변화하더라도 가능한 한 일관되고 적은 노력으로 그에 따른 데이터베이스 구축 프로그램을 확보할 수 있어야 한다.In general, even if the management system is already in development and in operation, when the format of the output message is changed due to the addition / change of network management requirements or the change of the operating system version of the exchange, the change of the real-time database construction program must be accompanied. do. Therefore, in order to be able to respond quickly to the changing demands of the management of the switching network, even if the message format changes basically, it should be possible to secure the database construction program according to it as consistently and with little effort as possible.

즉, 기존의 DB 로더 개발은 운용자가 알고리즘을 일일이 분석/설계하여야 했으나, 본 발명에서 제시하는 방법을 이용할 경우 DB 구축 대상 메시지를 분석한 후 DB 구축대상 메시지의 DB구축 항목과 DB구축 방법만을 지정해주면 해당 메시지의 DB로더를 자동으로 생성할 수 있다.That is, in the existing DB loader development, the operator had to analyze / design the algorithm one by one, but when using the method proposed in the present invention, after analyzing the DB construction target message, only the DB construction item and DB construction method of the DB construction target message were designated. If you do this, DB loader of the message can be created automatically.

DB로더를 자동으로 생성하는 방법은 메시지에 대한 구문분석기(파서) 소스코드를 만들고, 구문분석기가 출력하는 데이터 항목을 DB로 구축해주는 DB 입력루틴을 작성하여 이 둘을 컴파일하여 하나의 DB 로더 프로그램을 만든다. DB 입력루틴은 구문분석기와 연계하여 동작하는 DB 입력명령이 포함된 기능이다. 또한 구문분석기에는 메시지중 DB 구축 대상항목을 추출하는 기능이 포함된다.The DB loader is automatically generated by creating a parser (parser) source code for a message and compiling them by writing a DB input routine that constructs a data item output by the parser as a DB. Make DB input routine is a function that includes a DB input command that works in conjunction with a parser. In addition, the parser includes a function to extract the DB construction target items from the message.

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

도 1 은 본 발명이 적용되는 망 관리시스템의 구성예시도이다.1 is an exemplary configuration diagram of a network management system to which the present invention is applied.

본 발명이 적용되는 망 관리시스템에서는 교환기(101)에서 연속적으로 출력되는 메시지에 대해 데이터베이스 로더(데이터베이스 저장 프로그램, 102)를 이용해 데이터베이스(DB, 103)에 저장하고, 데이터베이스(103)에 저장된 데이터를 망관리 모듈(104)을 통해 이용하게 된다.In the network management system to which the present invention is applied, the messages stored in the database (103) are stored in the database (DB) 103 by using a database loader (database storage program) 102 for the messages continuously output from the switch 101, and the data stored in the database 103 is stored. It is used through the network management module 104.

도 2 는 본 발명에 따른 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 대한 일실시예 흐름도이다.2 is a flowchart illustrating an exemplary method for automatically generating a switch management database loader according to the present invention.

교환기 운용관리용 데이터인 메시지를 받아(21), 메시지에 대한 어휘분석 규칙(lexical rule)을 자동으로 생성하여 파일로 저장한다(22).Receive a message that is data for the exchange operation management (21), automatically generates a lexical rule (lexical rule) for the message and stores it as a file (22).

미리 준비된 토큰 생성기 표본 소스코드의 어휘분석 규칙부에 위에서 저장된 어휘분석 규칙을 삽입하고, 어휘분석 규칙별 어휘 출력루틴을 자동으로 삽입한다. 토큰 생성기 표본 소스코드는 메시지를 읽어 어휘를 분석하여 분석된 어휘(토큰)를 토큰파일에 기록하는 기능을 갖는다. 수정된 소스코드를 렉스(lex)를 이용하여 컴파일하여 토큰 생성기를 생성한다(23).The lexical analysis rule stored above is inserted into the lexical analysis rule part of the token generator sample source code prepared in advance, and the lexical output routine for each lexical analysis rule is automatically inserted. The token generator sample source code reads a message, analyzes the vocabulary, and records the analyzed vocabulary (token) in the token file. The modified source code is compiled using lex to generate a token generator (23).

토큰 생성기를 구동하여 메시지를 입력받아 토큰 리스트를 생성하고, 이를 이용하여 구문규칙(parser.y)의 초기 파일을 생성한다. 구문규칙(parser.y)에 토큰을 정의한다. 구문규칙(parser.y)의 구문규칙부를 참조하여 DB에 입력할 항목을 선정한다. 선정된 항목의 구문분석중 항목의 심볼 값을 추출하는 액션코드를 삽입하여 구문규칙(parser.y)을 보완하여 토큰 및 구문규칙을 생성한다(24).Run the token generator to generate a list of tokens by receiving a message and use it to create an initial file of parser.y. Tokens are defined in the syntax rule (parser.y). Select items to input in DB by referring to syntax rules of parser.y. In the parsing of the selected item, an action code for extracting the symbol value of the item is inserted to supplement the syntax rule (parser.y) to generate a token and syntax rule (24).

미리 준비된 구문분석기 표본 소스코드(parser.l)의 어휘분석 규칙부에 생성된 어휘분석 규칙을 삽입한다. 구문분석기 표본 소스코드는 메시지를 읽어 구문분석 루틴(yyparse())을 호출하는 기능을 갖는다. 생성된 토큰 리스트중 유일한 토큰만을 추출하여 어휘분석 규칙부에 삽입한다. 삽입된 어휘분석 규칙 및 토큰 리스트별 심볼 값 추출코드를 이용하여 구문분석기의 소스코드(parser.l)를 생성한다(25).Insert the generated lexical rule into the lexical rule part of the parser sample source code (parser.l) prepared in advance. The parser sample source code reads the message and invokes the parsing routine (yyparse ()). Only unique tokens are extracted from the generated token list and inserted into the lexical rule. The source code (parser.l) of the parser is generated using the inserted lexical analysis rule and the symbol value extraction code for each token list (25).

구문분석기가 추출하는 데이터를 DB에 입력하기 위한 DB 입력루틴을 작성하고 컴파일한 후, 야크(yacc) 및 렉스(lex)를 이용하여 생성된 구문분석 규칙 및 구문분석기 소스코드를 각각 컴파일한 후, 작성된 DB 입력루틴을 함께 링크하여, 실행파일인 데이터베이스(DB) 로더를 생성한다(26).After writing and compiling DB input routine to input data extracted by parser to DB, compiling parsing rules and parser source codes generated by using yak and lex, respectively. The created DB input routine is linked together to generate an executable database (DB) loader (26).

따라서, 본 발명에서 제시하는 방법에 따라 메시지 DB로더 프로그램을 개발할 경우 메시지에 대한 구문분석기를 만드는 대부분의 과정을 자동화하여 DB로더 개발시 메시지 파싱루틴 작성의 부담을 줄일 수 있다.Therefore, when developing a message DB loader program according to the method proposed in the present invention, it is possible to reduce the burden of writing a message parsing routine when developing a DB loader by automating most of the process of creating a parser for a message.

도 3a 내지 도 3d 는 본 발명에 따른 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 대한 일실시예 상세흐름도이다.3A to 3D are detailed flowcharts of an embodiment of a method for automatically generating an exchange operation management database loader according to the present invention.

도 3a 내지 도 3d 는 교환기 운용관리 데이터베이스 로더 생성에 대하여 상기한 도 2 를 통해 개략적으로 흐름에 따라 설명한 것을 보다 상세히 흐름도를 통해 설명하도록 한다.3A to 3D will be described in more detail with reference to the flow chart through the flow of FIG.

우선, 통신망 운용관리용 메시지를 입력받아(21), 통신망 운용관리용 메시지에서 하나의 어휘를 읽어(221), 어휘분석 규칙을 생성하고(222), 통신망 운용관리용 메시지에 대해 생성된 어휘분석 규칙을 저장한다(223).First, receiving a network operation management message (21), read a vocabulary from the network operation management message (221), generate a lexical analysis rule (222), the lexical analysis generated for the network operation management message Save the rule (223).

통신망 운용관리용 메시지의 어휘분석 규칙 생성을 위한 입력이 끝났는지를 확인하여(224), 통신망 운용관리용 메시지가 남아있으면 하나의 어휘를 읽는 과정(221)부터 반복 수행하고, 통신망 운용관리용 메시지가 남아있지 않으면 어휘분석 규칙 생성 과정(22)을 끝내고, 토큰 생성기 생성 과정(23)으로 넘어간다.Check whether the input for generating the lexical analysis rule of the network operation management message is finished (224), and if the message for network operation management remains, repeating from the step of reading one vocabulary (221), and the message for network operation management If not left, the process ends the lexical rule generation process 22 and proceeds to the token generator generation process 23.

메시지를 읽어 어휘분석하여 분석된 어휘인 토큰을 토큰 파일에 기록하는 기능을 하는 토큰 생성기 표본 소스코드를 읽고(231), 어휘분석 규칙 생성 과정(22)을 통해 생성된 어휘분석 규칙을 읽어(232), 어휘분석 규칙을 토큰 생성기 표본 소스코드의 어휘분석 규칙부에 삽입하고(233), 어휘분석 규칙별 토큰(어휘) 출력루틴을 삽입하여(234), 수정된 토큰 생성기 표본 소스 코드를 저장한다(235).Read the token generator sample source code which reads the message and lexical analysis and writes the analyzed lexical token in the token file (231), reads the lexical analysis rules generated through the lexical rule generation process (22) (232) ), Inserts the lexical analysis rule into the lexical analysis rule section of the token generator sample source code (233) and inserts the token (lexical) output routine for each lexical analysis rule (234) to store the modified token generator sample source code. (235).

수정되어 저장된 토큰 생성기 표본 소스 코드를 렉스(lex)를 이용하여 컴파일하여(236), 토큰 생성기를 생성한다(237). 토큰 생성기를 생성함으로써 토큰 생성기 생성 과정(23)의 수행을 마치고, 다음으로 토큰 및 구문규칙 생성 과정(24)을 수행한다.The modified and stored token generator sample source code is compiled using lex (236) to generate a token generator (237). After generating the token generator, the token generator generation process 23 is completed, and the token and syntax rule generation process 24 is performed.

토큰 및 구문규칙 생성 과정(24)은 우선 토큰 생성기를 구동하고 통신망 운용관리용 메시지를 입력받아 토큰을 생성하여(241), 생성된 토큰에 따른 토큰 리스트를 생성하여 저장한다(242). 저장된 토큰 리스트를 이용하여 구문분석 규칙을 생성한다(243). The token and syntax rule generation process 24 first drives a token generator and receives a message for network operation management to generate a token (241), and generates and stores a token list according to the generated token (242). A parse rule is generated using the stored token list (243).

통신망 운용관리용 메시지의 구문분석 규칙을 저장하고(244), 저장된 구문분석 규칙에 토큰정의를 추가하여(245), 토큰이 정의된 구문분석 규칙을 저장한다(246).The parsing rule of the message for network operation management message is stored (244), the token definition is added to the stored parsing rule (245), and the parsing rule in which the token is defined is stored (246).

토큰이 정의된 구문분석 규칙에서 구문규칙부를 참조하여 데이터베이스 구축 대상항목을 선정받는다(247).In the parsing rule in which the token is defined, the database construction target item is selected by referring to the parsing rule part (247).

선정된 항목의 구문분석 규칙에 대상항목의 심볼 값을 저장하는 저장루틴을 삽입하고(248), 심볼 값 저장루틴이 포함된 구문분석 규칙(parser.y)을 저장한다(249). 이리하여 토큰 및 구문규칙 생성 과정(24)의 수행을 처리하게 된다.A storage routine for storing the symbol value of the target item is inserted into the parsing rule of the selected item (248), and a parsing rule (parser.y) including the symbol value storage routine is stored (249). Thus, the processing of the token and syntax rule generation process 24 is performed.

토큰 및 구문규칙 생성 과정(24) 다음에는 구문 분석기 소스코드 생성 과정(25)을 수행하게 된다. Token and syntax rule generation process 24 Next, a parser source code generation process 25 is performed.

우선, 메시지를 읽어 구문분석 루틴(yyparse())을 호출하는 기능을 갖는 구문분석기 표본 소스코드(parser.l)를 읽고(251), 저장된 메시지의 어휘분석 규칙을 읽고(252), 저장된 토큰 리스트를 읽는다(253).First, read the parser sample source code (parser.l) with the function of reading the message and calling the parsing routine (yyparse ()) (251), read the lexing rules of the stored message (252), and list the stored tokens. Read (253).

읽어온 어휘분석 규칙 및 토큰 리스트를 구문분석기 표본 소스코드의 어휘분 석 규칙부에 삽입하고(254), 어휘분석 규칙 및 토큰 리스트별 심볼 값 추출루틴을 삽입하여(255), 구문분석기의 소스코드(parser.l)를 생성하여 저장한다(256). 이때, 어휘분석 규칙부에 삽입되는 토큰 리스트는 생성되어 저장된 토큰 리스트 중 유일한 토큰만을 추출하여 어휘분석 규칙부에 삽입하게 된다.Insert the read lexical rule and token list into the lexical rule of the parser sample source code (254), and insert the lexical rule and the symbol value extraction routine for each token list (255). Create and store (parser.l) (256). At this time, the token list inserted into the lexical analysis rule unit is extracted and inserted into the lexical analysis rule unit only the token of the generated token list.

구문 분석기 소스코드 생성 과정(25)을 수행한 후에는 데이터베이스 로더 생성 과정(26)을 수행하게 된다.After the parser source code generation process 25 is performed, the database loader generation process 26 is performed.

우선, 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴을 작성하고(261), 작성된 데이터베이스 입력루틴 소스코드를 저장한다(262). First, a database input routine is created for inputting data extracted by the parser to a database (261), and the source code of the generated database input routine is stored (262).

저장된 데이터베이스 입력루틴 소스코드를 컴파일하고, 심볼 값 저장루틴이 포함된 구문분석 규칙(parser.y)과 구문분석기 소스코드(parser.l)를 각각 컴파일한다(263).Compile the stored database input routine source code and compile the parsing rule (parser.y) and the parser source code (parser.l) including the symbol value storage routine (263).

컴파일된 심볼 값 저장루틴이 포함된 구문분석 규칙(parser.y)과 구문분석기 소스코드(parser.l)를 컴파일된 데이터베이스 입력루틴 소스코드에 함께 링크시켜 실행파일인 데이터베이스 로더를 생성하여 저장한다(264).The parsing rule (parser.y) containing the compiled symbol value storage routine and the parser source code (parser.l) are linked together with the compiled database input routine source code to create and save an executable database loader ( 264).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 교환기에서 출력되는 메시지는 망관리 데이터의 항목에 따라 각기 다른 유형을 가지고 있으며, 그렇기 때문에 망관리 데이터를 데이터베이스에 저장하는 데이터베이스 로더는 메시지의 형태에 종속적인 처리 루틴을 가지고 있게 되며, 이러한 DB 로더는 개발자가 각 데이터별로 유형을 분석하여 처리 알고리즘을 도출하고, 직접 프로그램 코딩을 수행하여 개발하였으며, 프로그램이 완성되기까지는 수많은 테스트 과정을 거쳐야 하므로 많은 인력과 시간이 소요되는 종래의 방법과 달리, 데이터베이스 로더 개발을 자동화함으로써 인력과 시간을 줄일 수 있어 업무의 효율성 및 경제성을 높일 수 있는 효과가 있다.According to the present invention as described above, the message output from the exchange has a different type according to the items of the network management data, and therefore, the database loader for storing the network management data in the database has a processing routine dependent on the type of the message. This DB loader is developed by developing the algorithm by analyzing the data for each type of data, performing the coding of the program by hand, and it requires a lot of manpower and time because the program has to go through a lot of testing process until the program is completed. Unlike the conventional method, it is possible to reduce the manpower and time by automating the development of the database loader to increase the efficiency and economic efficiency of the work.

또한, 본 발명은 통신사의 공중전화망 운용관리에 적용할 경우 교환기 데이터의 변경에 따른 변화관리에 보다 신속히 대응할 수 있게 되어, 보다 신뢰성있는 망 서비스 기반을 확보할 수 있는 효과가 있다.In addition, when the present invention is applied to the public telephone network operation management of the telecommunication company can be more quickly respond to the change management according to the change of the exchange data, it is effective to secure a more reliable network service base.

Claims (7)

망 관리시스템에 적용되는 교환기 운용관리 데이터베이스 로더 자동 생성 방법에 있어서,In the method for automatically creating a switchboard operation management database loader applied to a network management system, 통신망 운용관리용 메시지에 대한 어휘분석 규칙을 생성하는 제 1 단계;A first step of generating a lexical analysis rule for a message for network operation management; 토큰 생성기 표본 소스코드와 상기 어휘분석 규칙을 이용하여 토큰 생성기를 생성하는 제 2 단계;A second step of generating a token generator using a token generator sample source code and the lexical analysis rule; 상기 통신망 운용관리용 메시지와 상기 토큰 생성기를 이용해 토큰, 토큰 리스트 및 구문분석 규칙을 생성하는 제 3 단계; Generating a token, a token list, and a parsing rule by using the network operation management message and the token generator; 구문분석기 표본 소스코드에 상기 어휘분석 규칙 및 상기 토큰 리스트를 삽입하여 구문분석기 소스코드를 생성하는 제 4 단계; 및A fourth step of generating a parser source code by inserting the lexical rule and the token list into a parser sample source code; And 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴, 상기 구문분석 규칙 및 상기 구문분석기 소스코드를 컴파일 및 링크시켜 데이터베이스 로더를 생성하는 제 5 단계A fifth step of compiling and linking a database input routine for inputting data extracted by a parser to a database, the parsing rules, and the parser source code to generate a database loader; 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 입력받은 상기 통신망 운용관리용 메시지에서 하나의 어휘를 읽어 상기 어휘 분석 규칙을 생성하는 제 6 단계;Generating a lexical analysis rule by reading a vocabulary from the received network management message; 상기 통신망 운용관리용 메시지에 대해 생성된 어휘분석 규칙을 저장하는 제 7 단계;A seventh step of storing a lexical analysis rule generated for the communication network operation management message; 상기 통신망 운용관리용 메시지의 어휘분석 규칙 생성을 위한 입력이 끝났는지를 확인하는 제 8 단계; 및An eighth step of checking whether an input for generating a lexical analysis rule of the communication network operation management message is finished; And 상기 통신망 운용관리용 메시지가 남아있으면 어휘를 읽는 상기 제 6 단계부터 반복 수행하여 상기 어휘분석 규칙 생성을 처리하는 제 9 단계A ninth step of processing the lexical analysis rule by repeatedly performing the sixth step of reading the vocabulary if the communication network operation management message remains; 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 상기 통신망 운용관리용 메시지를 읽고 어휘분석하여 분석된 어휘인 토큰을 토큰 파일에 기록하는 기능을 하는 토큰 생성기 표본 소스코드를 읽는 제 6 단계;A sixth step of reading a token generator sample source code which reads the communication network management message and lexical analysis and records the analyzed lexical token in a token file; 상기 어휘분석 규칙을 상기 토큰 생성기 표본 소스코드의 어휘분석 규칙부에 삽입하는 제 7 단계;Inserting the lexical rule into the lexical rule of the token generator sample source code; 상기 토큰 생성기 표본 소스코드의 어휘분석 규칙부에 상기 어휘분석 규칙별 토큰 출력루틴을 삽입하고 상기 토큰 생성기 표본 소스코드를 저장하는 제 8 단계; 및Inserting a token output routine for each lexical analysis rule into a lexical analysis rule of the token generator sample source code and storing the token generator sample source code; And 상기 토큰 생성기 표본 소스코드를 렉스(lex)를 이용하여 컴파일하여 토큰 생성기를 생성하는 제 9 단계A ninth step of compiling the token generator sample source code using lex to generate a token generator 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 3 단계는,The third step, 상기 토큰 생성기를 구동하고 상기 통신망 운용관리용 메시지를 입력받아 상기 토큰 및 상기 토큰 리스트를 생성하는 제 6 단계;A sixth step of driving the token generator and generating the token and the token list by receiving the communication network operation management message; 상기 토큰 리스트를 이용하여 구문분석 규칙을 생성하는 제 7 단계;A seventh step of generating a parsing rule using the token list; 상기 구문분석 규칙에 토큰정의를 추가하여 토큰이 정의된 구문분석 규칙을 생성하는 제 8 단계; Adding an token definition to the parsing rule to generate a parsing rule in which a token is defined; 상기 토큰이 정의된 구문분석 규칙의 구문규칙부를 참조하여 데이터베이스 구축 대상항목을 선정받는 제 9 단계; 및A ninth step of selecting a database construction target item by referring to a syntax rule unit of a parsing rule in which the token is defined; And 선정된 항목의 상기 구문분석 규칙에 대상항목의 심볼 값을 저장하는 저장루틴를 삽입하여 심볼 값 저장루틴이 포함된 구문분석 규칙을 생성하는 제 10 단계A tenth step of generating a parsing rule including a symbol value storing routine by inserting a storage routine for storing a symbol value of a target item in the parsing rule of the selected item; 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 4 단계는,The fourth step, 상기 통신망 운용관리용 메시지를 읽어 구문분석 루틴을 호출하는 기능을 갖는 구문분석기 표본 소스코드를 읽는 제 6 단계;A sixth step of reading a parser sample source code having a function of reading a communication operation management message and calling a parsing routine; 상기 통신망 운용관리용 메시지의 어휘분석 규칙과 상기 토큰 리스트를 읽는 제 7 단계; 및A seventh step of reading a lexical analysis rule of the communication network operation management message and the token list; And 상기 어휘분석 규칙 및 상기 토큰 리스트를 상기 구문분석기 표본 소스코드의 어휘분석 규칙부에 삽입하고 상기 어휘분석 규칙 및 상기 토큰 리스트별 심볼 값 추출루틴을 삽입하여 상기 구문분석기의 소스코드를 생성하는 제 8 단계Inserting the lexical rule and the token list into a lexical rule of the parser sample source code and inserting the lexical rule and the symbol value extraction routine for each token list to generate the source code of the parser; step 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 제 1 항 내지 제 5 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 5, 상기 제 5 단계는,The fifth step, 상기 구문분석기가 추출하는 데이터를 상기 데이터베이스에 입력하기 위한 데이터베이스 입력루틴을 작성하는 제 11 단계;An eleventh step of creating a database input routine for inputting the data extracted by the parser into the database; 상기 데이터베이스 입력루틴 소스코드, 상기 구문분석 규칙, 구문분석기 소스코드를 컴파일하는 제 12 단계; 및A twelfth step of compiling the database input routine source code, the parsing rule, and a parser source code; And 컴파일된 상기 구문분석 규칙과 상기 구문분석기 소스코드를 컴파일된 상기 데이터베이스 입력루틴 소스코드에 링크시켜 데이터베이스 로더를 생성하는 제 13 단계A thirteenth step of creating a database loader by linking the compiled parsing rules and the parser source code to the compiled database input routine source code; 를 포함하는 교환기 운용관리 데이터베이스 로더 자동 생성 방법.Exchange manager management database loader automatic generation method comprising a. 대용량 프로세서를 구비한 망 관리시스템에,In a network management system with a large processor, 통신망 운용관리용 메시지에 대한 어휘분석 규칙을 생성하는 제 1 기능;A first function of generating a lexical analysis rule for a message for network operation management; 토큰 생성기 표본 소스코드와 상기 어휘분석 규칙을 이용하여 토큰 생성기를 생성하는 제 2 기능;A second function of generating a token generator using a token generator sample source code and the lexical analysis rule; 상기 통신망 운용관리용 메시지와 상기 토큰 생성기를 이용해 토큰, 토큰 리스트 및 구문분석 규칙을 생성하는 제 3 기능; A third function of generating a token, a token list, and a parsing rule by using the network operation management message and the token generator; 구문분석기 표본 소스코드에 상기 어휘분석 규칙 및 상기 토큰 리스트를 삽입하여 구문분석기 소스코드를 생성하는 제 4 기능; 및A fourth function of generating a parser source code by inserting the lexical rule and the token list into a parser sample source code; And 구문분석기가 추출하는 데이터를 데이터베이스에 입력하기 위한 데이터베이스 입력루틴, 상기 구문분석 규칙 및 상기 구문분석기 소스코드를 컴파일 및 링크시켜 데이터베이스 로더를 생성하는 제 5 기능A fifth function of compiling and linking a database input routine for inputting data extracted by a parser to a database, the parsing rules, and the parser source code 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019990059054A 1999-12-18 1999-12-18 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database KR100671683B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990059054A KR100671683B1 (en) 1999-12-18 1999-12-18 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990059054A KR100671683B1 (en) 1999-12-18 1999-12-18 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database

Publications (2)

Publication Number Publication Date
KR20010064764A KR20010064764A (en) 2001-07-11
KR100671683B1 true KR100671683B1 (en) 2007-01-18

Family

ID=19627007

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990059054A KR100671683B1 (en) 1999-12-18 1999-12-18 Automatic method for generating ess nms database loader which stores data output from telephone exchange into database

Country Status (1)

Country Link
KR (1) KR100671683B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101064711B1 (en) * 2008-06-27 2011-09-14 주식회사 케이티 Method to generate rule for analyzing practice result of communication system and result analysis apparatus using the method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100433450B1 (en) * 2001-07-30 2004-05-31 주식회사 오픈텔 Rule generator, Mediation Device using rule generator and its method in network management system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990042924A (en) * 1997-11-28 1999-06-15 윤종용 How to Build a Database Loader for Switching Network Data
KR19990049883A (en) * 1997-12-15 1999-07-05 이계철 Network Management Protocol (SNMP) Management Information Base (MIB) data storage device of Citiphone Operations Management System (COMS) and its method
KR20000002123A (en) * 1998-06-17 2000-01-15 이계철 Source code creation method and network management method using the same
KR20010054834A (en) * 1999-12-08 2001-07-02 이계철 Apparatus and method for loading database of raw traffic data in phone network
KR100353452B1 (en) * 1995-12-23 2002-12-26 삼성전자 주식회사 Method for producing data base of exchange system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100353452B1 (en) * 1995-12-23 2002-12-26 삼성전자 주식회사 Method for producing data base of exchange system
KR19990042924A (en) * 1997-11-28 1999-06-15 윤종용 How to Build a Database Loader for Switching Network Data
KR19990049883A (en) * 1997-12-15 1999-07-05 이계철 Network Management Protocol (SNMP) Management Information Base (MIB) data storage device of Citiphone Operations Management System (COMS) and its method
KR20000002123A (en) * 1998-06-17 2000-01-15 이계철 Source code creation method and network management method using the same
KR20010054834A (en) * 1999-12-08 2001-07-02 이계철 Apparatus and method for loading database of raw traffic data in phone network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101064711B1 (en) * 2008-06-27 2011-09-14 주식회사 케이티 Method to generate rule for analyzing practice result of communication system and result analysis apparatus using the method

Also Published As

Publication number Publication date
KR20010064764A (en) 2001-07-11

Similar Documents

Publication Publication Date Title
EP1014265B1 (en) Method and apparatus for testing event driven software
US7673292B2 (en) Auto conversion of tests between different functional testing tools
WO1999021404A2 (en) Apparatus and method for semi-automated generation and application of language conformity tests
CN101980546B (en) Intelligent network platform, service execution method and method for analyzing service abnormality
EP0520708B1 (en) Method and apparatus for converting high level form abstract syntaxes into an intermediate form
CN107526679A (en) Automated test frame, the automated testing method based on thereon, storage medium and computer equipment
CN112083926A (en) Web user interface generation method and device
KR100671683B1 (en) Automatic method for generating ess nms database loader which stores data output from telephone exchange into database
US20090064092A1 (en) Visual programming language optimization
CN1132390C (en) Telecom service developing method based on independent service module
CN115421782A (en) SDK compatible method applied to iOS terminal, storage device and intelligent terminal
CN110889574A (en) Uncertainty factor detection device, method and medium for intelligent contract
CN114895880A (en) Code generation method and device and computer readable medium
EP2535813B1 (en) Method and device for generating an alert during an analysis of performance of a computer application
CN113961238A (en) Object conversion method and device, electronic equipment and storage medium
CN109977385B (en) Intelligent data filling method and device, storage medium and terminal
CN113760291A (en) Log output method and device
EP0676111B1 (en) Method and arrangement for testing services in a telecommunications system
CN117971228A (en) Automatic generation method and system for C# code and electronic device
CN116991701A (en) Data processing method, device, electronic equipment, storage medium and program product
Nagl et al. Reverse and Reengineering for Old Systems is Seldom Complete
KR100276086B1 (en) Method for generating a c++ code from lotos specitication
CN112256567A (en) Remote calling simulation and test system
CN117435173A (en) Automatic micro-service splitting method and system based on field annotation
CN116962407A (en) Processing method, device and application of distributed link label

Legal Events

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

Payment date: 20110405

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee