KR0145936B1 - Method for managing the changing data in the full electronic switching system - Google Patents

Method for managing the changing data in the full electronic switching system

Info

Publication number
KR0145936B1
KR0145936B1 KR1019950009730A KR19950009730A KR0145936B1 KR 0145936 B1 KR0145936 B1 KR 0145936B1 KR 1019950009730 A KR1019950009730 A KR 1019950009730A KR 19950009730 A KR19950009730 A KR 19950009730A KR 0145936 B1 KR0145936 B1 KR 0145936B1
Authority
KR
South Korea
Prior art keywords
billing
data
disk
read
file information
Prior art date
Application number
KR1019950009730A
Other languages
Korean (ko)
Other versions
KR960039815A (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 KR1019950009730A priority Critical patent/KR0145936B1/en
Publication of KR960039815A publication Critical patent/KR960039815A/en
Application granted granted Critical
Publication of KR0145936B1 publication Critical patent/KR0145936B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/248Arrangements for supervision, monitoring or testing with provision for checking the normal operation for metering arrangements or prepayment telephone systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Meter Arrangements (AREA)

Abstract

본 과금데이타 관리방법은 전전자 교환기에 있어서 발생한 과금데이타를 디스크에 수록 및 액세스시, 중복 수록되거나 유실되는 것을 방지하기 위한 것이다. 이를 위하여 본 방법은 운용유지보수 프로세서의 재시동시나 디스크의 상태변경시 디스크의 소정영역에 할당되어 있는 과금화일정보인 과금데이타의 수록량, 수록위치정보, 읽어낼 위치정도 등과 동일한 데이타구조를 과금화일 정보관리테이블에 새로이 생성하는 과정; 호생성으로 인하여 과금데이타 조합 및 수록기능부로 과금데이타 수록이 요구되면, 과금화일 정보관리테이블에 수록되어 있는 수록위치정보와 현재 수록될 과금데이타량에 따라 결정된 디스크의 수록위치에 소정 블록단위로 수록하는 과정; 디스크에 수록된 과금데이타에 대하여 엠티로 전송하기 위하여 디스크로 부터 읽기가 요구되면, 과금데이타 화일정보관리테이블에 저장되어 있는 과금데이타를 읽어낼 위치정보에 의하여 읽어낼 위치를 결정하여 요구되는 전송량만큼 소정 블록단위로 읽는 과정을 포함하여 수행된다.This charging data management method is to prevent duplication of recorded data or lost when the charging data generated in the electronic switchboard is recorded and accessed on the disk. To this end, this method uses the same data structure as the amount of charge data, the amount of information to be stored, and the position to read, which is the charge file information allocated to a predetermined area of the disc when the operation maintenance processor is restarted or the state of the disc is changed. Creating a new information management table; If billing data is required by the billing data combination and recording function due to the generation, the data is stored in a predetermined block unit at the location of the disk determined according to the location information stored in the billing file information management table and the amount of billing data to be stored. Process of doing; If reading is required from the disk to transfer the charging data contained in the disk to the empty, the position to read is determined by the location information to read the charging data stored in the charging data file information management table, and the predetermined amount is determined as required. It is performed including the process of reading in units of blocks.

Description

전전자 교환기에 있어서 과금데이타 관리방법How to manage billing data in electronic exchange

제 1 도는 본 발명에 따른 방법이 적용되는 전전자 교환기의 블록도이고,1 is a block diagram of an electron exchanger to which the method according to the present invention is applied,

제 2 도는 본 발명에 따라 과금데이타를 수록하기 위한 디스크내의 화일구조이고,2 is a file structure in a disc for recording charging data according to the present invention,

제 3 도는 본 발명에 따라 디스크에 과금화일정보를 생성하는 과정을 나타낸 흐름도이고,3 is a flowchart illustrating a process of generating billing file information on a disc according to the present invention;

제 4 도는 본 발명에 따라 과금데이타를 디스크에 수록하는 과정을 나타낸 흐름도이고,4 is a flowchart illustrating a process of recording charging data on a disc according to the present invention.

제 5 도는 본 발명에 따라 디스크에 수록된 과금데이타를 읽어내는 과정을 나타낸 흐름도이다.5 is a flowchart illustrating a process of reading the billing data recorded on the disk according to the present invention.

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

100:전전자 교환기 101:중앙제어서브시스템(CCS)100: electrical exchanger 101: central control subsystem (CCS)

102:운용유지보수 프로세서(OMP) 103:연결망 서브시스템(INS)102: operational maintenance processor (OMP) 103: network subsystem (INS)

104:정합교환 서브시스템(ASS) 105:정합교환 프로세서(ASP)104: Match Exchange Subsystem (ASS) 105: Match Exchange Processor (ASP)

106:과금데이타생성 기능부 107:호처리 기능부106: billing data generation function unit 107: call processing function unit

108:과금데이타 조합 및 수록 기능부 109:디스크108: Charging data combination and recording function 109: Disk

110:마그네틱 테이프110: Magnetic tape

본 발명은 전전자 교환기에 있어서 과금데이타 관리방법에 관한 것으로, 특히 과금데이타를 디스크에 수록시 과금데이타가 중복되거나 유실되는 것을 방지할 수 있도록 과금데이타를 관리하기 위한 과금데이타 관리방법에 관한 것이다.The present invention relates to a billing data management method in an electronic switching machine, and more particularly, to a billing data management method for managing billing data so that the billing data can be prevented from overlapping or losing the billing data on the disk.

초창기 전전자 교환기는 발생된 과금데이타를 교환기내에 설치된 마그네틱 테이프(Magnetic Tape:MT, 이하 엠티라함)에 수록하였었다. 그러나 통신기술이 발전함에 따라 다양한 통신서비스가 제공되고, 더 많은 가입자를 수용하게 되면서 처리해야 할 과금데이타 양이 급증하게 되자 신뢰성이나 처리속도면을 고려하여 보조기억장치인 디스크에 과금데이타를 일시적으로 수록하게 되었다. 즉, 1호당 발생된 과금데이타를 하나의 화일로 하여 디스크에 수록하고, 디스크에 수록된 과금데이타를 일정단위로 읽어 과금용 엠티에 수록하였었다. 그러나 과금데이타가 발생할 때마다 하나의 화일로서 디스크에 수록하므로 인하여 디스크에 수록되는 과금데이타를 총괄하는 또 다른 프로그램이 필요하며, 과금용 엠티에 과금데이타 수록시 중복수록되거나 유실되는 문제가 발생될 뿐아니라 발생되는 1호당 하나의 화일로서 수록하므로 인하여 디스크 액세스 시간이 많이 소요되는 문제가 있었다.Early electronic exchangers recorded the generated charging data on a magnetic tape (MT) installed in the exchanger. However, as communication technology advances, various communication services are provided, and as the number of billing data to be processed increases as more subscribers are accommodated, billing data is temporarily stored on the disk, an auxiliary memory device, in consideration of reliability and processing speed. It was included. That is, the billing data generated per issue was recorded as a single file on the disk, and the billing data recorded on the disk was read in a certain unit and stored in the billing empty. However, each time billing data is recorded on the disk as a file, another program is required to manage the billing data stored on the disk. Only the billing data proxy is duplicated or lost in the billing empty. However, because the file is recorded as one file per generated, there is a problem that takes a lot of disk access time.

따라서 본 발명의 목적은 전전자 교환기에 있어서 발생한 과금데이타를 디스크에 수록 및 액세스시, 중복 수록되거나 유실되는 것을 방지할 수 있는 과금데이타 관리방법을 제공하는데 있다. 상기 목적을 달성하기 위하여 본 발명에 따른 방법은, 운용유지보수 프로세서내의 과금데이타 조합 및 수록 기능부를 통해 디스크 및 엠티에 과금데이타를 수록하고 읽을 수 있도록 관리하는 전전자 교환기의 과금데이타 관리방법에 있어서: 운용유지보수 프로세서의 재시동시나 디스크의 상태변경시 디스크의 소정영역을 통해 수록된 과금데이타의 양, 수록위치정보, 읽어낼 위치정보 등으로 구성된 과금화일 정보영역과 상기 과금데이타 조합 및 수록기능부에 선언되어 있는 과금화일정보 관리테이블내의 과금화일 정보영역의 데이타를 새로이 생성하는 과정; 호생성으로 인하여 과금데이타 조합 및 수록기능부로 과금데이타 수록이 요구되면, 과금화일 정보영역에 수록되어 있는 수록위치정보와 현재 수록될 과금데이타량에 따라 결정된 디스크의 수록위치에 소정 블록단위로 수록하는 과정; 디스크에 수록된 과금데이타에 대하여 엠티로 전송하기 위하여 디스크로부터 읽기가 요구되면, 과금데이타 화일 정보영역내의 과금데이타를 읽어낼 위치정보에 의하여 읽어낼 위치를 결정하여 요구되는 전송량만큼 소정 블록단위로 읽는 과정을 포함함을 특징으로 한다.Accordingly, it is an object of the present invention to provide a billing data management method that can prevent the billing data generated in the electronic switchboard from being recorded or lost on the disk. In order to achieve the above object, the method according to the present invention, in the billing data management method of the electronic switchboard for managing to record and read the billing data on the disk and empty through the billing data combination and recording function in the operation maintenance processor The billing file information area including the amount of billing data, the record location information, and the location information to be read through a predetermined area of the disc when the operation maintenance processor is restarted or the state of the disc is changed, and the billing data combination and the recording function section Creating new data in the billing file information area in the declared billing file information management table; If billing data is required by the billing data combination and recording function due to the generation, the data is stored in a predetermined block unit at the location of the disk determined according to the location information stored in the billing file information area and the amount of billing data to be stored. process; If reading is required from the disk to transfer the charging data contained in the disk to the empty, the process of reading the charging data in the charging data file information area by the positional information to read the data is read in predetermined block units by the required transmission amount. Characterized in that it comprises a.

이어서 첨부도니 도면을 참조하여 본 발명에 따른 실시예를 상세하게 설명하기로 한다.Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제 1 도는 본 발명에 따른 방법이 적용되는 전전자 교환기의 개략도로서, 도면에서 (100)은 전전자 교환기로 크게 교환기의 운용 유지보수를 관장하는 중앙제어 서브시스템(CCS;101), 연결망 서브시스템(INS; 103) 및 정합교환 서브시스템(ASS; 104a-104n) 등으로 구성된다.1 is a schematic diagram of an electrical exchanger to which the method according to the present invention is applied, in which the reference numeral 100 denotes a central control subsystem (CCS) 101, a network sub-system, which largely governs the operational maintenance of the exchange as an electrical exchanger. (INS) 103 and Match Exchange Subsystem (ASS) 104a-104n.

특히 정합교환 서브시스템(104a-104n)은 가입자를 수용하는 ASS-S 중계선을 수용하는 ASS-T, 패킷처리를 위한 ASS-P 및 No.7 신호 방식을 지원하는 ASS-7 등으로 구분되어 각각의 독립적인 기능을 수행한다. 연결망 서브시스템(103)은 시스템의 중심에 위치하여 정합교환서브시스템(104a-104n) 상호간 혹은 정합교환 서브시스템(104a-104n)과 중앙제어 서브시스템(101)을 연결시켜 주는 기능을 수행하며, 중앙제어 서브시스템(101)에는 보조기억장치로서 2개의 디스크(109)로 이중화되어 있으며, 3개의 엠티(108)가 설치되어 있다.In particular, the matched exchange subsystem 104a-104n is divided into an ASS-T for receiving an ASS-S relay line for accommodating subscribers, an ASS-P for packet processing, and an ASS-7 for supporting No.7 signaling. Perform independent functions of The network subsystem 103 is located at the center of the system and performs a function of connecting the match exchange subsystem 104a-104n with each other or the match exchange subsystem 104a-104n and the central control subsystem 101. The central control subsystem 101 is duplexed with two disks 109 as auxiliary storage devices, and three empty 108 are provided.

이와 같이 구성된 전전자교환기(100)의 정합교환 서브시스템(104a-104n)에서는 각 가입자에게 제공한 서비스에 대해 해당 호처리기능부(105)에서 과금정보를 형성하여 과금데이타생성기능부(106)로 보낸다. 과금데이타 생성기능부(106)에서는 전송된 과금정보를 이용하여 필요한 과금항목만을 묶어 제공된 서비스에 대한 과금데이타를 생성하여 중앙제어 서브시스템(101)으로 과금데이타 조합요구를 한다.In the matching exchange subsystem 104a-104n of the electronic switching system 100 configured as described above, the charging data generation function unit 106 forms the charging information in the call processing function unit 105 for the service provided to each subscriber. Send to. The billing data generation function unit 106 generates billing data for the provided service by binding only necessary billing items by using the billing information transmitted to request the billing data combination to the central control subsystem 101.

중앙제어 서브시스템(101)에 속해 있는 운용유지보수 프로세서(102)내의 과금데이타 조합 및 수록기능부(108)에서는 각각의 정합교환 서브시스템(104a-104n)으로 부터 수신된 과금데이타를 조합하여 과금데이타 조합 및 수록기능부(108)에서 설정한 미도시된 메모리내에 저장하며 일정량 이상이 저장되면 블록단위로 보조기억장치인 디스크(109)에 수록한다. 디스크(109)에 수록된 과금데이타는 일정 블록수 이상 저장되거나 운용자의 요구시 디스크(109)로 부터 읽어 화일단위로 엠티(110)에 수록된다.The billing data combination and recording function unit 108 in the operation maintenance processor 102 belonging to the central control subsystem 101 combine billing data received from each match exchange subsystem 104a-104n. The data is stored in a memory not shown in the combination and recording function unit 108, and when a predetermined amount or more is stored, it is stored in the disk 109 as an auxiliary memory device in units of blocks. The billing data contained in the disk 109 is stored in a number of blocks or more, or read from the disk 109 upon the operator's request and stored in the empty unit 110 in a file unit.

제 2 도는 본 발명에 따라 과금데이타를 수록하기 위하여 디스크(109)에 생성되는 과금화일 구조를 나타낸 것으로서, 과금화일내에 과금데이타를 관리하는 512바이트의 과금화일 정보영역을 구비하고 구비된 과금화일 정보영역은 디스크(109)내에 과금데이타를 수록할 위치정보, 읽어낼 위치정보 및 과금데이타 수록 블록수 정보를 저장할 영역을 각각 4바이트씩 할당하고, 나머지 500바이트는 예비영역으로 할당한다.2 shows a billing file structure generated on the disk 109 for recording billing data according to the present invention. The billing file information provided with a 512-byte billing file information area for managing billing data within the billing file is provided. The area allocates 4 bytes each of the area for storing the billing data, the position information to be read out, and the number of blocks of billing data contained in the disk 109, and the remaining 500 bytes are reserved.

그리고 디스크(109)내의 과금화일은 512바이트의 과금화일정보에 연속하여 n개의 과금데이타 블록들을 수록하도록 영역을 할당하였다. 그리고 디스크(109)에서 과금데이타를 수록하고, 읽어내는 단위는 블록단위로 이루어진다. 이 때 블록단위는 디스크의 사용횟수에 영향을 미치므로 이를 고려하여 설정되어야 한다.The billing file in the disk 109 is allocated an area so that n billing data blocks are continuously recorded in 512 bytes of billing file information. The disk 109 stores charging data and reads the data in block units. In this case, the block unit affects the number of times the disk is used and should be set in consideration of this.

제 3 도는 본 발명에 따라 디스크(109)에 과금데이타 수록을 위한 과금화일을 생성하는 과정을 나타낸 흐름도로서, 우선 제 301 단계에서 과금데이타 조합 및 수록기능부(108)는 디스크(109)내의 하나의 과금화일내에 과금데이타를 관리하는 과금화일정보(제 2 도에 도시된 바와 같이 512바이트의 영역이 할당된 정보)와 동일한 데이타구조로 되어 있는 과금화일정보관리 테이블(운용유지보수 프로세서(102)내의 과금데이타 조합 및 수록기능부(108)에서 설정한 메모리에 할당된 테이블로 도시되지 않음)을 운용유지보수 프로세서(102) 재시동시 초기화하여 디스크(109)에 수록된 과금화일정보와 동일한 데이타구조를 유지할 수 있도록 한 후, 제 302 단계로 진행되어 대기상태에 머무른다.3 is a flowchart illustrating a process of generating a billing file for recording billing data in the disk 109 according to the present invention. First, in step 301, the billing data combination and the record function 108 are one of the disks in the disk 109. A billing file information management table (operation maintenance processor 102) having the same data structure as billing file information (information allocated to a 512-byte area as shown in FIG. 2) that manages billing data within a billing file of FIG. (Not shown in the table allocated to the memory set by the storage function unit 108) when the operation maintenance processor 102 is restarted, and the same data structure as the billing file information stored on the disk 109 is initialized. After maintaining, the process proceeds to step 302 where it is held in a standby state.

대기상태에서 과금데이타 조합 및 수록기능부(108)내부 처리과정에서 디스크(109)내에 과금화일 생성이 필요하거나 운용 유지보수 프로세서(102)내의 디스크(109) 및 엠티(110)의 상태를 관리하는 블럭(도시되지 않음)으로부터 디스크(109) 상태변경내역에 대한 정보가 제공되면, 각각 제 303 단계와 제 304 단계를 거쳐 제 305 단계로 진행되어 과금수록이 가능한 디스크(109) 정보를 초기화하여 디스크(109)에 과금데이타를 수록할 수 없도록 하고, 제 306 단계로 진행되어 디스크(109)상태를 검사하여 정상적인 디스크를 선택한다. 이 때 제 1 도에 구비된 것과 같이 이중화된 2개의 디스크(109)가 모두 비정상인 경우 제 307 단계로 진행되어 과금용 디스크 장애내역을 도시되지 않은 운용유지보수 프로세서(102)내의 도시되지 않은 장애처리블럭으로 메세지를 전송하여 운용자에게 디스크장애 상태임을 통보한 뒤, 대기상태로 간다.In the standby state, the billing data combination and recording function unit 108 needs to generate a billing file in the disk 109 during the process or manages the state of the disk 109 and the empty 110 in the operation maintenance processor 102. When the information on the state of the disk 109 state change is provided from the block (not shown), the process proceeds to step 303 through step 303 and step 304 to initialize the information of the disk 109 capable of recording the charge. In step 109, the billing data cannot be recorded. In step 306, the disk 109 is checked to select a normal disk. At this time, if the two redundant disks 109 as shown in FIG. 1 are both abnormal, the process proceeds to step 307, where failures not shown in the operation maintenance processor 102 (not shown) are displayed. A message is sent to the processing block to inform the operator that the disk has failed, and then go to standby.

그러나 장착된 디스크(109)중 정상적인 디스크가 존재하는 경우에는 제 308 단계로 진행되어 교환기 운용체계에서 제공하는 명령어(또는 프리미티브(Primitive))를 이용하여 디스크(109)내에 생성된 과금화일을 오픈하고, 오픈 결과에 대한 오류여부를 검사한다. 디스크(109)에 생성된 과금화일이 정상적으로 오픈되면, 제 309 단계에서 제 310 단계로 진행되어 읽기명령을 이용하여 과금화일정보를 읽어낸다. 그리고 제 311 단계로 진행되어 읽어낸 내용의 오류여부를 검사하고, 비정상적인 경우에는 제 312 단계로 진행되어 디스크 읽기장애내역을 상술한 제 307 단계에서와 같이 도시되지 않은 운용유지보수 프로세서(102)내의 장애처리블럭으로 장애내역을 전송하여 운용자가 인식할 수 있도록 출력한뒤, 대기상태로 간다. 이때, 과금수록 가능 디스크정보가 초기화되어 있어 과금데이타를 디스크(109)에 수록할 수 없다.However, if there is a normal disk among the mounted disks 109, the flow proceeds to step 308 to open a charging file created in the disk 109 using a command (or primitive) provided by the exchange operating system. , Check for errors on open results. If the charging file created on the disk 109 is normally opened, the process proceeds from step 309 to step 310 to read the billing file information using a read command. In operation 311, the controller 100 checks whether there is an error in the read content. If abnormal, the operation proceeds to operation 312 to determine a disk read failure history in the operation maintenance processor 102 (not shown). Sends the fault history to the fault handling block, prints it out so that the operator can recognize it, and then goes to the standby state. At this time, the chargeable recordable disk information is initialized, and the charge data cannot be recorded on the disc 109.

한편, 디스크(109)의 과금화일내에 수록되어 있는 과금화일정보를 읽어낸 결과 정상이면, 제 311 단계에서 제 313 단계로 진행되어 읽어낸 과금화일정보를 과금데이타 조합 및 수록기능부(108)내의 미도시된 메모리에 저장되어 있는 과금화일정보관리 테이블에 저장함으로서 과금화일 정보관리 테이블에 의해 디스크(109)내의 과금데이타에 대한 관리를 하게 하고, 디스크(109)내의 과금화일정보는 디스크(109)에 과금데이타를 수록하거나 읽어낸 결과가 정상인 경우에만 그 내용을 수정하여 수록한다.On the other hand, if the billing file information stored in the billing file of the disk 109 is normal, the process proceeds from step 311 to step 313 to read the billing file information in the billing data combination and recording function unit 108. By storing in the billing file information management table stored in the not shown memory, the billing file information management table manages the billing data in the disk 109, and the billing file information in the disk 109 is stored in the disk 109. The billing data should be recorded or modified only if the read result is normal.

제 313 단계를 통해 미도시된 과금화일 정보관리 테이블에 과금화일정보를 저장한 후에는 과금데이타를 수록할 수 있도록 해당 디스크(109)를 설정하고, 대기상태로 간다. 이러한 과정은 시스템장애 등에 의해 사용중이던 디스크를 사용하지 못하게 되었다가 복구될 경우 종전 디스크에 수록된 과금데이타 정보를 파악할 수 있게 함으로서 과금데이타의 유실, 중복 수록 등을 방지할 수 있다.After storing the billing file information in the billing file information management table (not shown) in step 313, the corresponding disk 109 is set so that the billing data can be recorded and the standby state is entered. This process prevents the loss of data, duplication of charge data, etc. by enabling the user to grasp the billing data information recorded on the previous disk when the disk in use is not used due to a system failure and is recovered.

제 308 단계에서 디스크(109)에 생성된 과금화일을 오픈한 결과 비정상이면 제 309 단계에서 제 315 단계로 진행되어 비정상 내역을 파악한다. 우선 제 315 단계에서 디스크(109)에 과금화일이 생성되어 있는지를 체크하고, 과금화일이 생성되어 있는 경우에는 디스크 오픈오류가 발생한 경우이므로 제 316 단계로 진행되어 디스크 오픈 장애를 도시되지 않은 장애처리 블록으로 전송한 후, 대기상태로 간다.If the charging file created on the disk 109 is opened in operation 308, the process proceeds from operation 309 to operation 315 to identify an abnormality. First, in step 315, it is checked whether a billing file is created in the disk 109. If a billing file is created, a disk open error occurs. Therefore, the process proceeds to step 316. After transferring to the block, go to standby.

그러나 디스크(109)에 과금화일이 생성되어 있지 않은 경우, 디스크(109)의 오픈상태는 정상이므로 제 317 단계로 진행되어 생성 명령어를 이용하여 디스크(109)내에 과금화일을 생성하고, 생성이 완료되면 제 318 단계로 진행되어 초기화된 과금화일정보를 디스크(109)에 라이트(Write)한다. 그 다음 라이트 명령 수행결과를 검사하여 비정상적으로 수록된 경우에는 제 319 단계에서 제 320 단계로 진행되어 디스크 라이트 장애통보를 도시되지 않은 장애처리블럭으로 전송한 후, 대기상태로 가고, 정상적으로 수록된 경우에는 제 319 단계에서 제 321 단계로 진행되어 운용유지보수 프로세서(102)내의 미도시된 메모리에 선언되어 있는 과금화일 정보관리 테이블을 초기화하여 디스크(109)내의 과금데이타 관리정보와 과금화일 정보관리 테이블을 일치시켜 과금데이타 유실 등을 방지할 수 있도록 한 다음 제 322 단계로 진행되어 과금수록이 가능하도록 디스크 번호를 설정하여 해당 디스크에 과금데이타를 수록할 수 있도록 한 후, 대기상태로 간다.However, if the billing file is not created in the disk 109, the open state of the disk 109 is normal, so the flow proceeds to step 317 to generate the billing file in the disk 109 using the create command, and the creation is completed. In operation 318, the accounting file information initialized is written to the disk 109. If the result of the write command is checked and abnormally recorded, the process proceeds from step 319 to step 320 and transmits the disk write failure notification to the error handling block (not shown), and then goes to the standby state. The process proceeds from step 319 to step 321 to initialize the billing file information management table declared in the memory not shown in the operation maintenance processor 102 to match the billing data management information in the disk 109 with the billing file information management table. In order to prevent the loss of billing data and the like, the process proceeds to step 322 where the disk number is set to record the billing data so that the billing data can be recorded on the corresponding disk, and then goes to the standby state.

이와 같이 디스크(109)에 과금데이타 화일이 생성되면, 제 4 도와 같은 과정을 통하여 과금데이타를 디스크(109)에 수록한다.When the charging data file is generated on the disk 109 as described above, the charging data is recorded on the disk 109 through the same process as in FIG.

즉, 제 401 단계의 대기상태에서 과금데이타 조합 및 수록기능부(108)가 과금데이타 수록요구를 받으면, 제 402 단계에서 제 403 단계로 진행되어 현재 디스크(109)에 수록된 과금데이타와 수록 요구된 과금데이타를 합하여 디스크(109)에 수록 가능여부를 검사하게 되는데, 이 때 상술한 계산결과가 디스크(109)에서 수용할 수 있는 양을 초과하면 제 404 단계로 진행되어 과금용 디스크 풀(Full) 정보를 출력할 수 있도록 도시되지 않은 장애처리 블록으로 전송한다.That is, when the charging data combination and recording function unit 108 receives the charging data recording request in the standby state of step 401, the process proceeds from step 402 to step 403 where the charging data and the currently recorded data are recorded on the disk 109. The billing data is added to the disk 109 to check whether it is possible. At this time, if the above-described calculation exceeds the amount that can be accommodated in the disk 109, the process proceeds to step 404 and the billing disk full (Full) The information is transmitted to a failure processing block (not shown) for output.

그러나 검사결과 디스크(109)에 수록할 수 있는 경우에는 제 403 단계에서 제 405 단계로 진행되어 디스크(109)에 수록할 위치를 조사한다. 여기서 과금데이타 수록위치는 과금화일정보중 과금데이타 수록 위치정보에 단위블러크기를 곱하기한 후 과금화일정보 크기(512바이트)를 더하여 운영체계에서 제공한 lseek 명령(위치서치 명령)을 이용하여 위치를 구한다.However, if the test result can be recorded on the disk 109, the process proceeds from step 403 to step 405 to investigate the position to be recorded on the disk 109. Here, the charging data recording position is multiplied by the unit block size of the charging data recording position information among the charging data information, and then added to the charging file information size (512 bytes) to determine the position using the lseek command (location search command) provided by the operating system. Obtain

수록위치가 정해지면 제 406 단계로 진행되어 과금데이타 1블럭을 라이트명령에 의해 디스크(109)에 수록한다. 그리고 수록된 결과 오류가 없는 지를 조사하여 오류가 존재하는 경우에는 제 407 단계에서 제 408 단계로 진행되어 디스크 라이트장애통보를 하고 대기상태로 간다.If the recording position is determined, the process proceeds to step 406, where one block of charging data is recorded on the disk 109 by a write command. If there is an error by checking whether there is an error, the process proceeds from step 407 to step 408 to notify the disk write failure and goes to the standby state.

그러나 과금데이타 수록결과가 정상이면 제 407 단계에서 제 409 단계로 진행되어 과금화일 관리정보 테이블을 타 프로세스에서 사용하지 못하도록 상호배제된 상태에서 과금화일정보 테이블내의 과금데이타 수록블럭값과 수록위치값을 증가된 값으로 변경한다. 이 때 변경된 과금데이타 수록위치와 디스크 과금화일 수록량이 디스크(109)의 과금화일 최대 수록량을 나타내는 위치값보다 큰 경우에는 제 410 단계에서 제 411 단계로 진행되어 수록 위치를 초기화하고, 제 412 단계로 진행되어 처음부터 다시 수록할 수 있도록 미도시된 과금화일 정보관리 테이블을 변경하고, 변경된 과금화일 정보관리테이블(미도시됨)을 디스크(109)내 과금화일 정보위치에 수록함으로서 순환적으로 계속 과금데이타를 디스크(109)에 수록할 수 있다.However, if the charging data recording result is normal, the process proceeds from step 407 to step 409, where the charge data recording block value and the recording position value in the billing file information table are mutually excluded so that the billing file management information table cannot be used in other processes. Change to an incremented value. In this case, if the changed charging data recording position and the disk charging amount are larger than the position value representing the maximum recording amount of the disk 109, the process proceeds from step 410 to step 411 to initialize the recording position, and step 412. The billing file information management table (not shown) is changed to be recorded again from the beginning, and the changed billing file information management table (not shown) is recorded at the billing file information position in the disk 109 to continue the cycle. The charging data can be recorded on the disk 109.

그리고 제 413 단계로 진행되어 수록결과를 검사하고, 검사결과, 비정상인 경우에는 상술한 제 408 단계로 진행되어 과금데이타 수록오류와 동일하게 처리하며, 정상인 경우에는 대기상태로 진행되어 디스크(109)내 과금화일정보와 메모리상의 과금화일 관리정보 테이블 내용을 동일하게 운용한다.The process proceeds to step 413 and the recording result is examined. If the inspection result is abnormal, the process proceeds to step 408 described above and the processing is performed in the same manner as the charging data recording error. The same applies to the contents of the billing file information and the billing file management information table in memory.

한편 디스크(109)에 수록된 데이타를 읽는 과정은 제 5 도와 같은 과정을 통하여 이루어진다.On the other hand, the process of reading the data contained in the disk 109 is performed through the same process as in the fifth degree.

즉, 제 501 단계의 대기상태에서 과금데이타를 엠티(110)에 수록하기 위하여 제 502 단계에서 과금데이타 조합 및 수록기능부(108)에 디스크(109)내에 수록된 과금데이타 읽기요구가 수신되면, 제 503 단계로 진행되어 현재 디스크(109)에 수록된 과금데이타량과 읽기 요구된 과금데이타량을 비교분석한다.That is, when the charging data read request contained in the disk 109 is received by the charging data combination and the recording function unit 108 in step 502, the charging data is received in the standby state of the step 501. In step 503, the charging data amount currently recorded on the disk 109 and the charging data amount required for reading are compared and analyzed.

비교분석한 결과, 수록된 양보다 읽기요구된 과금데이타량이 많은 경우는 오류이므로 제 504 단계로 진행되어 도시되지 않은 장애처리블럭으로 읽기요구장애 정보를 전송하여 운용자에게 전달한 뒤, 대기 상태로 간다.As a result of the comparative analysis, if the amount of billing data required to be read is larger than the stored amount, it is an error. Therefore, the process proceeds to step 504, the read request failure information is transmitted to a fault handling block (not shown) and transferred to the operator, and then goes to the standby state.

그러나 비교분석결과가 정상적인 경우에는 제 503 단계에서 제 505 단계로 진행되어 디스크에서 읽어낼 위치를 조사한다. 여기서 과금데이타를 읽어낼 위치는 과금화일 정보중 과금데이타를 읽어낼 위치정보를 이용하여 제 4 도의 과금데이타 수록위치를 조사하는 방법과, 동일한 방법으로 그 위치를 구한다. 읽어낼 위치조사가 완료되면, 제 506 단계로 진행되어 요구된 과금데이타 만큼 읽기 명령을 이용하여 읽어내며, 제 507 단계로 진행되어 읽어낸 결과에 오류가 존재하는 지를 조사한다.However, if the comparison analysis result is normal, the process proceeds from step 503 to step 505 to investigate a position to be read from the disk. Here, the position to read the billing data is obtained in the same manner as the method of checking the billing data recorded position of FIG. 4 using the position information to read the billing data among billing file information. When the position checking to be read is completed, the process proceeds to step 506 to read using the read command as much as the required charging data, and proceeds to step 507 to check whether there is an error in the read result.

조사결과, 비정상적인 경우는 제 508 단계로 진행되어 디스크 읽기장애를 미도시된 장애처리블럭으로 통보하고 대기상태로 가고, 읽어낸 결과가 정상이면 제 509 단계로 진행되어 과금화일 관리정보 테이블을 타 프로세서에서 사용하지 못하게 상호배제한 상태에서 과금화일 관리정보 테이블 데이타를 변경한다. 변경되는 데이타는 과금화일 관리정보중 디스크(109)내 과금데이타 수록량과 읽어낼 위치정보로, 수록량은 읽어낸 과금데이타량만큼 감소하고, 과금데이타 읽어낼 위치는 읽어낸 과금데이타량 만큼 증가한 값으로 변경한다. 이 때, 증가된 과금데이타 위치값이 디스크(109) 과금화일 최대 수록량을 나타내는 위치값보다 큰 경우에는 제 510 단계에서 제 511 단계로 진행되어 읽어낼 위치를 초기화하여 처음 위치에서 읽어낼 메모리상에 선정되어 있는 과금화일 정보관리 테이블을 변경하여 디스크(109)내에 수록된 과금데이타를 유실없이 읽어낸다.As a result of the investigation, in case of abnormality, the controller proceeds to step 508 to notify the disk read failure of the disk read failure, and goes to the standby state. If the read result is normal, the controller proceeds to step 509 to check the billing file management information table. Change the billing file management information table data while mutually exempting from use. The data to be changed are the amount of charge data and the position of the data to be read in the disk 109 of the billing file management information. The amount of data decreases by the amount of the charged data, and the position to read the charge data increases by the amount of the charged data. Change it to a value. At this time, if the increased charging data position value is larger than the position value indicating the maximum recording amount of the disk 109, the process proceeds from step 510 to step 511 to initialize the position to be read and to read the memory from the first position. The billing file information management table selected in Fig. 11 is changed to read billing data stored in the disk 109 without loss.

과금화일 정보관리 테이블을 변경한 후에는 제 512 단계로 진행되어 과금화일 정보관리 테이블을 디스크(109)내 과금화일정보 위치에 수록하고, 수록결과를 검사하여 비정상인 경우에는 제 513 단계에서 제 514 단계로 진행되어 장애처리블럭으로 디스크 라이트 장애를 통보한 뒤, 대기상태로 가며, 정상적인 경우에는 513 단계에서 바로 대기상태로 진행됨으로써 계속적으로 요구되는 과금데이타 읽기요구를 비롯한 과금데이타에 관한 처리를 할 수 있도록 한다.After changing the billing file information management table, the process proceeds to step 512. The billing file information management table is stored in the billing file information position in the disk 109. If the disk write failure is notified to the error handling block and goes to the standby state, the system goes to the standby state in step 513 and proceeds to the standby state in step 513 to process the charging data including the required billing data read request. To be able.

상술한 바와 같이 본 발명은 디스크상에 과금화일정보영역을 할당하고 과금화일정보와 동일한 데이타로 구성된 과금화일 정보관리테이블을 메모리에 설정하여 과금데이타를 소정 블록단위로 수록 및 읽기 처리시 과금화일 정보영역에 존재하는 해당정보를 이용함으로써, 과금데이타의 중복수록 및 유실을 막을 수 있으며, 과금데이타 수록처리루틴이 실장된 프로세서가 재시동될지라도 디스크에 수록된 과금데이타를 원래대로 복구할 수 있는 이점이 있다.As described above, the present invention allocates a billing file information area on a disk, sets a billing file information management table composed of the same data as billing file information in a memory, and records billing data in predetermined block units. By using the relevant information in the area, it is possible to prevent duplication and loss of billing data and to restore the billing data stored on the disk even if the processor equipped with the billing data recording processing routine is restarted. .

Claims (6)

운용유지보수 프로세서내의 과금데이타 조합 및 수록 기능부를 통해 디스크 및 엠티와 과금데이타를 수록하고, 읽을 수 있도록 관리하는 전전자 교환기의 과금데이타 관리방법에 있어서: 상기 운용유지보수 프로세서의 재시동시나 상기 디스크의 상태변경시 상기 디스크의 소정영역을 통해 수록된 과금데이타의 양, 수록위치정보, 읽어낼 위치정보 등으로 구성된 과금화일 정보영역과 상기 과금데이타 조합 및 수록기능부에 선언되어 있는 과금화일 정보관리테이블내의 과금화일 정보영역의 데이타를 새로이 생성하는 과정; 호생성으로 인하여 상기 과금데이타 조합 및 수록기능부로 상기 과금데이타 수록이 요구되면, 상기 과금화일 정보영역에 수록되어 있는 수록위치정보와 현재 수록될 과금데이타량에 따라 결정된 상기 디스크의 수록위치에 소정 블록단위로 수록하는 과정; 상기 디스크에 수록된 과금데이타에 대하여 상기 엠티로 전송하기 위하여 상기 디스크로부터 읽기가 요구되면, 상기 과금데이타 화일정보영역내의 과금데이타를 읽어낼 위치정보에 의하여 읽어낼 위치를 결정하여 요구되는 전송량만큼 상기 소정 블록단위로 읽는 과정을 포함함을 특징으로 하는 전전자 교환기의 과금데이타 관리방법.In the billing data management method of the electronic switchboard which manages to record and read the disk, the empty and the billing data through the combination of the billing data and the recording function in the operation maintenance processor: When restarting the operation maintenance processor or In the billing file information area including the amount of billing data recorded through the predetermined area of the disc, the record position information, the position information to be read, and the like, and the billing data information management table declared in the billing function combination. Generating new data of the billing file information area; If the charging data is requested by the charging data combination and recording function due to the ability to generate a predetermined block, a predetermined block is stored in the recording position of the disc determined according to the recording position information stored in the charging file information area and the amount of charging data to be stored. Recording in units; If a read is requested from the disc to transfer the billing data contained in the disc to the empty, the predetermined position is determined by the position information to be read by the positional information for reading the billing data in the billing data file information area. Billing data management method of an electronic switch, characterized in that it comprises the step of reading in block units. 제 1 항에 있어서, 상기 생성과정은, 상기 운용유지보수 프로세서의 재시동시나 디스크상태 변경요구시 사용 가능한 디스크를 선택한 후 운용체계에서 제공하는 오픈명령을 이용하여 상기 디스크내에 과금화일이 생성되었는지를 파악하는 단계; 상기 생성여부 파악단계에서 과금화일이 존재하는 경우, 상기 디스크내의 상기 과금화일정보를 읽어 상기 과금화일 정보관리 테이블과 동일한 정보를 유지할 수 있도록 하는 단계; 및 상기 생성여부 파악단계에서 상기 과금화일이 존재하지 않는 경우, 상기 과금화일을 생성하고 상기 디스크내의 과금화일정보와 상기 선언된 과금화일 정보관리테이블을 초기화하는 단계로 이루어짐을 특징으로 하는 전전자 교환기에 있어서 과금데이타 관리방법.The method of claim 1, wherein the generating process determines whether a billing file is generated in the disk by using an open command provided by an operating system after selecting a disk that is available when the operation maintenance processor is restarted or when a disk state is changed. Making; Reading the billing file information in the disk so as to maintain the same information as the billing file information management table if a billing file exists in the creation step; And generating the billing file and initializing the billing file information and the declared billing file information management table in the disk, if the billing file does not exist in the creation or not. How to manage billing data 제 1 항에 있어서, 상기 수록과정은 상기 과금데이타가 수록될 때마다 상기 과금화일 정보관리 테이블의 과금데이타 수록량 및 수록위치정보를 변경하고, 변경된 내용을 상기 디스크내의 상기 과금화일 정보영역에 저장함으로서 상기 과금화일 정보관리 테이블과 상기 디스크의 과금화일정보를 동일하게 유지함을 특징으로 하는 전전자 교환기에 있어서 과금데이타 관리방법.2. The recording process according to claim 1, wherein the recording process changes the charging data amount and the recording position information of the charging file information management table each time the charging data is stored, and stores the changed contents in the charging file information area in the disc. And the charging file information management table and the charging file information of the disk in the same manner. 제 3 항에 있어서, 상기 수록과정은, 상기 과금화일 정보관리 테이블의 수록량과 수록위치정보를 변경하는 루틴을 상호배제하여 과금화일 정보관리테이블을 동시에 사용함으로서 발생할 수 있는 정보의 충돌을 방지하는 단계; 및 상기 과금화일 정보관리 테이블을 변경할 때, 상기 과금데이타 수록위치를 증가한 값이 상기 디스크 과금화일내의 과금데이타를 최대로 수록할 수 있는 위치값보다 큰 경우에는 상기 과금데이타 수록위치를 초기화하여 상기 과금데이타를 순환적으로 수록할 수 있도록 하는 단계로 이루어짐을 특징으로 하는 전전자 교환기에 있어서 과금데이타 관리방법.4. The method of claim 3, wherein the recording process comprises: mutually eliminating a routine for changing the recording amount of the billing file information management table and the location information of the billing file, thereby preventing a collision of information that may occur by simultaneously using the billing file information management table. step; And when changing the billing file information management table, if the value of increasing the billing data recording position is greater than a position value capable of maximally storing the billing data in the disk billing file, the billing data recording position is initialized to the billing data. The charging data management method of the electronic switchboard, characterized in that consisting of the steps to enable the data to be recorded cyclically. 제 1 항에 있어서, 상기 읽기과정은, 상기 요구되는 량만큼 읽어낸 결과가 정상적으로 읽어낸 경우에는 상기 과금화일 정보관리 테이블의 과금데이타 수록량 및 읽어낼 위치정보를 변경하고 변경된 내용을 상기 디스크내의 상기 과금화일 정보영역에 저장함으로서 동일하게 데이타를 유지함을 특징으로 하는 전전자 교환기에 있어서 과금데이타 관리방법.2. The method of claim 1, wherein the reading process includes changing the charge data amount of the billing file information management table and the position information to be read if the read result of the required amount is normally read, and changing the changed contents in the disc. And storing data in the billing file information area to hold data in the same manner. 제 5 항에 있어서, 상기 읽기과정은, 상기 과금데이타를 상기 요구한 량만큼 상기 디스크로부터 읽어낸 후 상기 과금화일 정보관리 테이블의 수록량을 읽어낸 수량만큼 감소하고 읽어낸 위치정보를 증가시키는 루틴을 상호배제하여 상기 과금데이타를 수록하는 과정에서 상기 과금화일 정보관리테이블을 동시에 사용하지 못하도록 하는 단계; 및 상기 과금화일 정보관리 테이블을 변경함에 따라 상기 과금데이타를 읽어낼 위치정보를 읽어낸 수량만큼 증가한 값이 상기 디스크 과금화일내에 과금데이타를 최대로 수록할 수 있는 위치보다 큰 경우에는 읽어낼 위치정보를 초기화하여 순환적으로 과금데이타를 읽어낼 수 있도록 제어하는 단계로 이루어짐을 특징으로 하는 전전자 교환기에 있어서 과금데이타 관리방법.The routine of claim 5, wherein the reading process includes: reading the charging data from the disk by the requested amount, and then decreasing the amount of the contents of the billing file information management table by the read amount and increasing the read position information. Mutual exclusion to prevent the billing file information management table from being used simultaneously in the process of recording the billing data; And position information to be read when the value increased by the quantity of reading the position information to read the billing data according to the change of the billing file information management table is larger than the position capable of maximally storing the billing data in the disk billing file. Billing data management method of the electronic switch, characterized in that the step of controlling to read the billing data cyclically by initializing.
KR1019950009730A 1995-04-25 1995-04-25 Method for managing the changing data in the full electronic switching system KR0145936B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950009730A KR0145936B1 (en) 1995-04-25 1995-04-25 Method for managing the changing data in the full electronic switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950009730A KR0145936B1 (en) 1995-04-25 1995-04-25 Method for managing the changing data in the full electronic switching system

Publications (2)

Publication Number Publication Date
KR960039815A KR960039815A (en) 1996-11-25
KR0145936B1 true KR0145936B1 (en) 1998-08-17

Family

ID=19412866

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950009730A KR0145936B1 (en) 1995-04-25 1995-04-25 Method for managing the changing data in the full electronic switching system

Country Status (1)

Country Link
KR (1) KR0145936B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400351B1 (en) * 2001-11-15 2003-10-04 주식회사 케이티 A METHOD FOR TRANSMITTING CDR(Call Detail Report) PACKET BETWEEN GATEWAY AND CDR SERVER

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000015042A (en) * 1998-08-26 2000-03-15 김영환 Control method of a large volume storage apparatus of a full electronic exchange
KR100299037B1 (en) * 1998-12-30 2001-09-06 윤종용 Generation method of charging file by auto-cognition of charging disk dosage in exchanger

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400351B1 (en) * 2001-11-15 2003-10-04 주식회사 케이티 A METHOD FOR TRANSMITTING CDR(Call Detail Report) PACKET BETWEEN GATEWAY AND CDR SERVER

Also Published As

Publication number Publication date
KR960039815A (en) 1996-11-25

Similar Documents

Publication Publication Date Title
US5371882A (en) Spare disk drive replacement scheduling system for a disk drive array data storage subsystem
KR920003497B1 (en) Processing system tolerant of loss of access to secondary storage
CA1168365A (en) Error control in a hierarchical system
JPH07500203A (en) Data backup system for rollback
JP2000181887A5 (en)
US6766414B2 (en) Methods, apparatus and system for caching data
KR0145936B1 (en) Method for managing the changing data in the full electronic switching system
KR100290621B1 (en) Charging data processing device and method thereof in case of charging disk error in electronic exchange system
JPH0962586A (en) Information processor and data processing method for this processor
KR920010413B1 (en) Maintenance system of switching centre
KR100297649B1 (en) Apparatus and method for disk mirror copying in electronic switching
KR930006238B1 (en) Metering method of electronic switching
JPH07321795A (en) Buffer address management method
CN1201538A (en) Backup coyping of data to tape unit with cache memory
KR100215571B1 (en) Data backup method of an exchange
KR100216365B1 (en) Disk error detection and recovery method in electronic exchange
KR100216525B1 (en) On-line data storage in atm exchange
JP3130859B2 (en) Voice response service continuation method
KR0145788B1 (en) Method and apparatus for transferring and managing billing data in the cama
KR100407706B1 (en) Processor status recovery method after standby loading in ATM switch
JPH02168314A (en) Memory control system in semiconductor disk device
KR100258123B1 (en) Method for standby side processor test in full electronic telephone exchange
US5903909A (en) Method and arrangement for storing on tape information produced by a switching exchange system
KR100242707B1 (en) Apparatus for gathering data in a switching system
KR100197444B1 (en) Method for transmitting file in full electronic switching system

Legal Events

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

Payment date: 20050502

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee