Claims (3)
전자교환기의 로그화일 처리방법에 있어서, 데이터의 저장이 요구되면 이전의 날짜 및 시간을 비교하여 하나의 레코드를 구성한 뒤 그 레코드를 저장하는 데이타 저장 과정과, 데이타 검색이 요구되면 해당 화일을 선택하여 메시지를 포매팅한 후 출력하는 데이타 검색 과정으로 구성됨을 특징으로 하는 방법.In the log file processing method of the electronic exchange, when the data is required to be stored, the data storage process is performed by comparing a previous date and time, and then storing the record and selecting the corresponding file when the data is requested. Method for retrieving data after formatting the message.
제1항에 있어서, 데이타 저장과정이, 데이타값 저장 요구를 받으면 그때의 날짜와 이전에 기록된 데이타의 날짜를 비교하여 날짜가 변경되었으면 현재 날짜에 해당하는 화일을 생성시키고 이전의 날짜를 비교하여 변경되지 않았으면 이번에는 현재의 시간과 이전에 기록된 데이타 시간을 비교하는 제1과정과, 상기 제1과정에서 현재의 시간과 이전 데이타의 시간을 비교할 시 변경되었으면 화일의 헤드부의 해당시간 영역에 화일의 마지막 포인터를 기록하고 현재의 시간이 이전의 데이타의 시간과 동일할 시는 또다른 하나의 레코드를 구성하여 저장하는 제2과정으로 구성됨을 특징으로 하는 전자 교환기의 로그화일 처리 방법.The method of claim 1, wherein the data storage process receives a request for storing a data value, compares the date with the date of the previously recorded data, generates a file corresponding to the current date if the date is changed, and compares the previous date. If it has not been changed, this time is a first step of comparing the current time and the previously recorded data time, and in the first step of comparing the time of the current time and the previous data, if it is changed, And a second process of writing and storing another record when the last pointer of the file is recorded and the current time is the same as the time of the previous data.
제2항에 있어서, 데이타 검색 과정이, 데이타 검색이 요구되면 해당 날짜의 화일을 검색 선택한 뒤 해당화일 헤드부의 시간 영역의 포인터 값을 읽어서 그 포인터로 이동한 뒤 하나의 레코드를 읽는 제A과정과, 상기 제A과정 수행 후 검색 조건에 적합한가 판단하여 검색 조건에 적합하면 메시지를 포매팅한 뒤 이를 프린트 출력하고 검색 종료시간이 지났는가 점검하고 상기 검색조건에 적합한가 판단할 때 검색 조건에 적합하지 않을 경우는 프린트 출력 다음 단계로 점프하는 제B과정과, 상기 제B과정에서 검색 종료시간이 지났는가 점검할 시 검색 종료 시간이 지났으며 흐름을 종료하고 검색 종료 시간이 지나지 않았을 경우는 화일끝인가 점검하여 화일의 끝이 아니면 상기 제A과정의 하나의 레코드를 읽는 단계로 리턴하고 화일의 끝인 경우는 다음 날짜의 화일을 선택한 뒤 상기 하나의 레코드를 읽는 단계로 리턴하는 제C과정으로 구성됨을 특징으로 하는 전자 교환기의 로그 화일 처리 방법.The method of claim 2, wherein the data retrieval process includes: searching for a file of a corresponding date when a data retrieval is required, reading a pointer value of a time area of the corresponding file head, moving to the pointer, and reading a record; After performing step A, if it is determined that the search condition is suitable and if the search condition is satisfied, the message is formatted and printed out, and if the search end time has passed, and if it is not suitable for the search condition, Step B jumps to the next step of printout, and when checking whether the search end time has passed in the above step B, if the search end time has passed and the flow is terminated and the search end time has not passed, check whether the file ends. If it is not the end, it returns to reading one record of step A. Select a file date of the C treatment process log file of the electronic exchange, characterized by configured in a manner that returns to step reading said one record.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.