KR20050080880A - Apparatus for collecting and transmission charging data in a mobile communication system - Google Patents

Apparatus for collecting and transmission charging data in a mobile communication system Download PDF

Info

Publication number
KR20050080880A
KR20050080880A KR1020040009045A KR20040009045A KR20050080880A KR 20050080880 A KR20050080880 A KR 20050080880A KR 1020040009045 A KR1020040009045 A KR 1020040009045A KR 20040009045 A KR20040009045 A KR 20040009045A KR 20050080880 A KR20050080880 A KR 20050080880A
Authority
KR
South Korea
Prior art keywords
queue
billing data
billing
cdr
charging
Prior art date
Application number
KR1020040009045A
Other languages
Korean (ko)
Other versions
KR100575972B1 (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 KR1020040009045A priority Critical patent/KR100575972B1/en
Publication of KR20050080880A publication Critical patent/KR20050080880A/en
Application granted granted Critical
Publication of KR100575972B1 publication Critical patent/KR100575972B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B13/00Optical objectives specially designed for the purposes specified below
    • G02B13/001Miniaturised objectives for electronic devices, e.g. portable telephones, webcams, PDAs, small digital cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • H04M1/0218The hinge comprising input and/or output user interface means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/20Details of telephonic subscriber devices including a rotatable camera

Abstract

본 발명은 액티브 프로세서와, 스탠바이 프로세서의 이중화 구조를 가지는 이동 통신 시스템에서 과금 데이터를 관리하는 장치에 있어서, 과금 데이터들이 발생함을 감지하면 상기 과금 데이터들을 미리 설정된 포맷에 상응하게 과금 데이터 레코드들로 생성한 후 출력하는 과금 데이터 레코드 생성부와, 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 저장하는 과금 디스크와, 제1큐와 제2큐를 가지며, 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제1큐에 저장한 후 그 저장 순서에 상응하게 과금 게이트웨이로 송신하며, 이후 장애가 발생함을 감지하면 상기 스탠바이 프로세서로 절체하는 상기 액티브 프로세서와, 제3큐와 제4큐를 가지며, 상기 절체에 상응하여 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제3큐에 저장하고, 상기 과금 디스크에 저장되어 있는 과금 데이터 레코드들중 미전송 표기된 과금 데이터 레코드들을 상기 제4큐에 저장한 후, 상기 제4큐에 저장되어 있는 과금 데이터 레코드들부터 상기 제3큐에 저장되어 있는 과금 데이터 레코드들의 순서로 그 저장 순서에 상응하게 상기 과금 게이트웨이로 송신하는 상기 스탠바이 프로세서를 포함함을 특징으로 한다.The present invention relates to an apparatus for managing billing data in a mobile communication system having a dual structure of an active processor and a standby processor, wherein when billing data is detected, the billing data is converted into billing data records according to a preset format. A billing data record generator for generating and outputting the billing data record; a billing disk for storing billing data records output from the billing data record generator; and a first queue and a second queue and outputting the billing data record generator; Storing the charge data records in the first queue and transmitting the charge data records to the charging gateway according to the storage order, and then transferring the active processor, the third queue, and the fourth queue to the standby processor when the failure occurs. The billing data record corresponding to the transfer Stores the billing data records output from the billing queue in the third queue, stores the billing data records not transmitted among the billing data records stored in the billing disk in the fourth queue, and stores the billing data records in the fourth queue. And a standby processor for transmitting the charging data records to the charging gateway in the order of the charging data records stored in the third queue.

Description

이동 통신 시스템에서 과금 데이터를 수집 및 전송하기 위한 장치{APPARATUS FOR COLLECTING AND TRANSMISSION CHARGING DATA IN A MOBILE COMMUNICATION SYSTEM} A device for collecting and transmitting billing data in a mobile communication system {APPARATUS FOR COLLECTING AND TRANSMISSION CHARGING DATA IN A MOBILE COMMUNICATION SYSTEM}

본 발명은 이동 통신 시스템에 관한 것으로, 특히 과금 데이터를 수집 및 전송하는 장치에 관한 것이다.The present invention relates to a mobile communication system, and more particularly to an apparatus for collecting and transmitting billing data.

일반적으로 이동 통신 시스템은 하나의 호(call)마다 과금 데이터 레코드(CDR: Charging Data Record, 이하 'CDR'이라 칭하기로 한다) 정보가 발생된다. 상기 과금 보드는 발생된 CDR 정보를 과금 게이트웨이(Charging Gateway, 이하 'CG'라 칭하기로 한다)로 전송하고, 상기 CG는 이를 요금 센터(billing center)로 전송한다. 여기서 상기 CG는 연결 리스트(linked list)로 구현된 버퍼 큐(buffer queue)로부터 TCP/IP 통신을 통해 상기 CDR 정보를 수신한다. 상기와 같이 구현한 이유는 상기 CDR 정보는 과금 전송 프로토콜인 GTP'로 부호화(encoding) 된 후에 상기 CG로 전송되는데, 이때에 상기 CDR 정보 수집 속도와 CG로 전송되는 속도가 불일치하기 때문이다. 상기 버퍼 큐를 포함한 메모리는 CDR 정보가 수집되면 연결 리스트에 하나씩 추가되어 먼저 추가된 CDR 정보 순서대로 상기 CG로 출력한다.In general, a mobile communication system generates charging data record (CDR) information for each call. The charging board transmits the generated CDR information to a charging gateway (hereinafter, referred to as 'CG'), and the CG transmits it to a billing center. Here, the CG receives the CDR information from the buffer queue implemented as a linked list through TCP / IP communication. The reason for the above implementation is that the CDR information is transmitted to the CG after being encoded by GTP ', which is a charging transmission protocol, because the CDR information collection speed and the speed transmitted to the CG are inconsistent. When CDR information is collected, the memory including the buffer queue is added to the connection list one by one and output to the CG in the order of the added CDR information.

한편, 상기 버퍼 큐는 프로세스(process) 내부의 메모리 영역인 스택(stack) 영역을 사용한다. 상기 스택 영역은 프로세스가 메모리 상에서 구동 중일때에 사용되며, 상기 프로세스가 종료되는 경우에는 스택 영역 자체가 소멸된다. 또한, 상기 스택 영역은 프로세스 내부의 고유 영역이므로 서로 다른 프로세스간, 즉 액티브(active) 프로세스와 스탠바이(standby) 프로세스간에 데이터 공유가 불가능하다.Meanwhile, the buffer queue uses a stack area that is a memory area inside a process. The stack area is used when a process is running on memory, and when the process ends, the stack area itself is destroyed. In addition, since the stack area is a unique area inside a process, data sharing between different processes, that is, between an active process and a standby process is not possible.

그러면, 도 1을 참조로 종래 기술에 따른 과금 데이터를 수집 및 전송을 수행하는 구조를 설명하기로 한다.Next, a structure for performing collection and transmission of charging data according to the prior art will be described with reference to FIG. 1.

도 1은 종래 기술에 따른 과금 데이터 수집 및 전송을 수행하는 구조를 개략적으로 도시한 도면이다.1 is a view schematically showing a structure for performing charging data collection and transmission according to the prior art.

상기 도 1을 참조하면, 종래 기술에 따른 과금 데이터 수집 및 전송 구조는 상기 과금 데이터(102)가 발생되면 이를 감지하여 CDR 정보 형태로 CDR을 생성하는 CDR 생성부(103)와, 상기 CDR 정보를 수집을 위해 동작하는 액티브 프로세스(104)와 스탠바이 프로세스(116)가 존재한다. 상기 액티브 프로세스(104)는 연결 리스트(linked list) 구조로 CDR 큐(106, 108, 110)와, 전송 큐(312)로 구현되며, 상기 스탠바이 프로세스(116)도 이와 동일한 구조로 구현된다. Referring to FIG. 1, the charging data collection and transmission structure according to the related art detects the charging data 102 when it is generated and generates a CDR in the form of CDR information. There is an active process 104 and a standby process 116 that operate for collection. The active process 104 is implemented with CDR queues 106, 108, and 110 and a transmission queue 312 in a linked list structure, and the standby process 116 is implemented with the same structure.

먼저 하나의 호가 발생되면, 이에 따른 과금 데이터(102)가 발생된다. 상기 발생된 과금 데이터를 상기 CDR 생성부(103)가 감지하여 CDR 정보를 생성한다. 상기 액티브 프로세스(104)는 상기 CDR 정보를 수집하게 되고, 이는 전술한 바와 같이 연결 리스트 구조로 상기 과금 데이터(102)가 추가될 때마다 CDR 정보들이 상기 액티브 프로세스(104)의 CDR 큐(106, 108, 110)에 임시 저장된다. 상기 저장된 CDR 정보들을 상기 액티브 프로세스(104)는 GTP' 프로토콜로 부호화하여 전송 큐(112)로 이동시킨 후 상기 CG(126)로 전송한다. 만약에 상기 액티브 프로세스(104)가 수집하는 과금 데이터(102)들이 전송 큐(112)의 용량을 초과하는 경우에 상기 액티브 프로세스(104)는 CDR 정보들을 상기 CDR 큐 용량 한계까지 저장하게 된다. 이 때에 예기치 않은 오류로 인해 상기 액티브 프로세스(104)가 종료되는 경우 이중화 구조에 따라 상기 액티브 프로세스(104)는 스탠바이 프로세스(116)로 절체를 수행(114)한다. 이렇게 되면 상기 액티브 프로세스(104)는 임시 저장하고 있던 CDR 정보들을 스탠바이 프로세스(116)로 전송하지 못하고 유실 처리한다. 이후 상기 스탠바이 프로세스(116)는 절체 이후 발생되는 새로운 과금 데이터들을 수집하게 되고 전송 큐(124)에서 상기 CG(126)로 전송하게 된다. 상기 전송 큐(124)가 CG(126)로 전송한 CDR 정보는 연결 리스트 구조로 구현된 CDR 큐에서 삭제되게 된다.First, when one call is generated, billing data 102 is generated accordingly. The CDR generation unit 103 detects the generated charging data to generate CDR information. The active process 104 collects the CDR information, which means that whenever the charging data 102 is added to the linked list structure, the CDR information is stored in the CDR queue 106 of the active process 104. 108, 110). The stored CDR information is encoded by the GTP 'protocol, moved to the transmission queue 112, and transmitted to the CG 126. If the charging data 102 collected by the active process 104 exceeds the capacity of the transmission queue 112, the active process 104 stores CDR information up to the CDR queue capacity limit. At this time, when the active process 104 is terminated due to an unexpected error, the active process 104 performs the switching to the standby process 116 according to the redundancy structure. In this case, the active process 104 fails to transmit the temporarily stored CDR information to the standby process 116. Thereafter, the standby process 116 collects new charging data generated after the transfer and transmits the data from the transmission queue 124 to the CG 126. The CDR information transmitted by the transmission queue 124 to the CG 126 is deleted from the CDR queue embodied in a linked list structure.

다음으로, 종래 기술에서 사용하는 상기 CDR 정보 포맷을 설명하기로 한다.Next, the CDR information format used in the prior art will be described.

도 2는 종래 기술에 따른 CDR 포맷을 도시한 도면이다.2 illustrates a CDR format according to the prior art.

상기 도 2를 참조하면, 먼저 상기 CDR은 순차적으로 CG로 전송되기 위해서 시퀀스(sequence)(202) 정보를 가진다. 상기 시퀀스 정보는 각 CDR 포맷별로 고유한 값을 가진다. 또한, 상기 CDR 길이가 CDR size 필드(204)에 기록되며, CDR 데이터 필드(206)에는 과금 데이터가 기록된다.Referring to FIG. 2, first, the CDR has sequence 202 information in order to be sequentially transmitted to the CG. The sequence information has a unique value for each CDR format. In addition, the CDR length is recorded in the CDR size field 204, and charging data is recorded in the CDR data field 206.

상술한 바와 같이, 상기 액티브 프로세스는 상기 CDR 정보들을 수집하고, 상기 CG로 전송한다. 이때에 상기 액티브 프로세스는 일정 용량의 CDR 정보들을 상기 버퍼 큐에 임시 저장한 후 순차적으로 상기 CG로 전송한다. 만약, 상기 주 프로세스가 예기치 않은 오류로 인해 종료가 되는 경우 스탠바이 프로세스로 절체가 발생되며, 이 때에 상기 액티브 프로세스 내부 버퍼 큐에 저장된 CDR 정보들은 보존되지 못하고 유실이 발생되는 문제점이 존재한다.As described above, the active process collects the CDR information and sends it to the CG. At this time, the active process temporarily stores CDR information of a predetermined capacity in the buffer queue and sequentially transmits the CDR information to the CG. If the main process is terminated due to an unexpected error, a switchover to a standby process occurs. At this time, there is a problem that CDR information stored in the active process internal buffer queue is not preserved and loss occurs.

따라서 본 발명의 목적은 이동 통신 시스템에서 과금 데이터를 효과적으로 수집하는 장치를 제공함에 있다. Accordingly, an object of the present invention is to provide an apparatus for effectively collecting charging data in a mobile communication system.

본 발명의 다른 목적은 이동 통신 시스템에서 과금 데이터를 유실없이 전송하는 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for transmitting charging data without loss in a mobile communication system.

상기한 목적들을 달성하기 위한 본 발명의 장치는; 액티브 프로세서와, 스탠바이 프로세서의 이중화 구조를 가지는 이동 통신 시스템에서 과금 데이터를 관리하는 장치에 있어서, 과금 데이터들이 발생함을 감지하면 상기 과금 데이터들을 미리 설정된 포맷에 상응하게 과금 데이터 레코드들로 생성한 후 출력하는 과금 데이터 레코드 생성부와, 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 저장하는 과금 디스크와, 제1큐와 제2큐를 가지며, 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제1큐에 저장한 후 그 저장 순서에 상응하게 과금 게이트웨이로 송신하며, 이후 장애가 발생함을 감지하면 상기 스탠바이 프로세서로 절체하는 상기 액티브 프로세서와, 제3큐와 제4큐를 가지며, 상기 절체에 상응하여 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제3큐에 저장하고, 상기 과금 디스크에 저장되어 있는 과금 데이터 레코드들중 미전송 표기된 과금 데이터 레코드들을 상기 제4큐에 저장한 후, 상기 제4큐에 저장되어 있는 과금 데이터 레코드들부터 상기 제3큐에 저장되어 있는 과금 데이터 레코드들의 순서로 그 저장 순서에 상응하게 상기 과금 게이트웨이로 송신하는 상기 스탠바이 프로세서를 포함함을 특징으로 한다. The apparatus of the present invention for achieving the above objects; In an apparatus for managing charging data in a mobile communication system having a dual structure of an active processor and a standby processor, when the charging data is detected, the charging data is generated into charging data records according to a preset format. A billing data record generating unit for outputting, a billing disc for storing billing data records output from the billing data record generating unit, a billing data record for outputting from the billing data record generation unit having a first queue and a second queue; Storing the data in the first queue and transmitting the same to the charging gateway according to the storage order, and then switching to the standby processor when the failure occurs, and having a third queue and a fourth queue. Output from the billing data record generator in accordance with the transfer Storing charging data records stored in the fourth queue after storing the charging data records stored in the third queue, and storing the untransmitted marked charging data records among the charging data records stored in the charging disk in the fourth queue. And a standby processor for transmitting the data records to the charging gateway in the order of the charging data records stored in the third queue.

이하, 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 것이라는 것을 유의하여야 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that in the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts will be omitted so as not to distract from the gist of the present invention.

본 발명은 이동 통신 시스템에서 과금 데이터 효과적으로 수집하여 유실없이 전송하는 장치를 제안한다. 특히 과금 데이터 레코드(CDR: Charging Data Record, 이하 'CDR'이라 칭하기로 한다) 정보를 새롭게 정의하여 버퍼 큐(buffer queue)에 임시 저장하면서 동시에 일종의 보조 기억 메모리인 과금 디스크(disk)에도 상기 CDR을 기록함으로써, 프로세스간에 절체 수행시에도 상기 과금 디스크에 저장된 CDR을 순차적으로 전송하여 데이터 유실이 발생되지 않는다.The present invention proposes an apparatus for effectively collecting and transmitting charging data in a mobile communication system without loss. In particular, the Charging Data Record (CDR) information is newly defined and temporarily stored in a buffer queue, and the CDR is also stored in a billing disk, which is a kind of auxiliary memory. By recording, even when switching between processes, the CDRs stored in the charging disk are sequentially transmitted so that no data loss occurs.

그러면, 도 3을 참조로 본 발명의 실시예에 따른 과금 데이터 수집 및 전송 구조를 설명하기로 한다.Next, the charging data collection and transmission structure according to the embodiment of the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 실시예에 따른 과금 데이터 수집 및 전송을 수행하는 구조를 개략적으로 도시한 도면이다.3 is a diagram schematically illustrating a structure for performing charging data collection and transmission according to an embodiment of the present invention.

상기 도 3을 참조하면, 본 발명의 실시예에 따른 과금 데이터 수집 및 전송 구조는 상기 과금 데이터(302)가 발생되면 이를 감지하여 CDR을 생성하는 CDR 생성부(303)와, 상기 CDR을 수집하기 위해 동작하는 액티브(active) 프로세스(304)와, 스탠바이(standby) 프로세스(320) 및 보조 기억 메모리(일예로 하드 디스크)인 과금 디스크(315)를 구비한다. 상기 액티브 프로세스(304)는 연결 리스트(linked list) 구조로 CDR 큐(306, 308, 310)와, 상기 과금 디스크(315)로부터 CDR 정보를 읽어오는 임시(temporary) CDR 큐(314, 316, 318)와, 전송 큐(312)로 구현되며, 상기 스탠바이 프로세스(320)도 이와 동일한 구조로 구현된다. 한편, 상기 과금 디스크(315)는 본 발명에서 새롭게 정의한 CDR 포맷으로 상기 액티브 프로세스(304) 또는 스탠바이 프로세스(320)에 CDR이 기록될 때 이와 동시에 기록된다. 상기 새로운 CDR 포맷에 대한 설명은 도 4를 참조로 설명하기로 하고 여기서는 생략한다.Referring to FIG. 3, the billing data collection and transmission structure according to an embodiment of the present invention detects the billing data 302 when it is generated and generates a CDR and a CDR generating unit 303 to generate the CDR. And an active process 304 for operating, a standby process 320, and a charging disk 315, which is an auxiliary storage memory (e.g., a hard disk). The active process 304 has CDR queues 306, 308, 310 in a linked list structure, and temporary CDR queues 314, 316, 318 that read CDR information from the charging disk 315. ) And a transmission queue 312, and the standby process 320 is implemented in the same structure. On the other hand, the charging disk 315 is recorded at the same time when the CDR is recorded in the active process 304 or the standby process 320 in the CDR format newly defined in the present invention. The description of the new CDR format will be described with reference to FIG. 4 and will be omitted here.

먼저 호(call)가 발생되면 과금 데이터(302)가 발생된다. 상기 CDR 생성부(303)는 이를 감지하여 본 발명에 따라 새롭게 정의된 CDR 포맷으로 CDR을 생성한다. 상기 액티브 프로세스(304)는 상기 생성된 CDR을 수집 및 기록한다. 이와 동시에 보조 기억 메모리인 과금 디스크(315)도 상기 생성된 CDR을 기록한다. 본 발명에서도 종래 기술과 동일하게 상기 주 프로세스(304) 내부 메모리인 CDR 큐 및 임시(temporary) CDR 큐의 데이터 구조는 연결 리스트(linked list)로 구현되었다. 상기 액티브 프로세스(304)는 상기 과금 데이터, 즉 CDR 정보를 GTP' 프로토콜로 부호화(encoding)한 후 전송 큐(312)에 전송한다. 상기 전송 큐(312)는 상기 부호화 된 CDR 정보들을 순차적으로 과금 게이트웨이(Charging Gateway, 이하 'CG'라 칭하기로 한다)(336)로 전송한다. 상기 CDR을 수신한 상기 CG(336)는 상기 액티브 프로세스(304)로 긍정 응답(ACKnowledge)을 전송한다. 상기 액티브 프로세스(304)는 상기 과금 디스크(315)의 해당 CDR의 전송 플래그(send flag)에 'S'를 기록한다.First, when a call is made, billing data 302 is generated. The CDR generation unit 303 detects this and generates a CDR in a newly defined CDR format according to the present invention. The active process 304 collects and records the generated CDRs. At the same time, the charging disk 315, which is an auxiliary storage memory, also records the generated CDR. In the present invention, as in the prior art, the data structures of the CDR queue and the temporary CDR queue, which are the main process 304 internal memory, are implemented as a linked list. The active process 304 encodes the charging data, that is, CDR information, using the GTP 'protocol and transmits the data to the transmission queue 312. The transmission queue 312 sequentially transmits the encoded CDR information to a charging gateway (hereinafter, referred to as 'CG') 336. Receiving the CDR, the CG 336 sends an acknowledgment to the active process 304. The active process 304 writes 'S' to the send flag of the corresponding CDR of the charging disk 315.

여기서 상기 액티브 프로세스(304)가 상기 CDR 큐에 CDR을 수집하여 기록하는 중에 예기치 않은 오류로 인해 스탠바이 프로세스(320)로 절체가 수행되는 경우를 가정해 본다. 이 경우 종래에는 상기 액티브 프로세스(304)가 임시로 저장하고 있던 CDR 정보들은 유실처리되고, 스탠바이 프로세스(320)로 절체가 수행(319)된다. 그러나, 본 발명에서는 상기 액티브 프로세스(304)에 CDR 정보가 기록될 뿐 아니라 동시에 과금 디스크(315)에도 동일하게 CDR 정보가 기록된다. 물론, 상기 과금 디스크(315)는 스탠바이 프로세스(320)와도 CDR 정보가 공유될 수 있다. 따라서, 상기와 같이 다른 프로세스로 절체가 수행되면 상기 스탠바이 프로세스는 절체가 수행되기 전까지 저장된 CDR 정보들 중 상기 CG(336)로 전송되지 못해 전송 플래그에 'N'으로 기록된 CDR들을 상기 스탠바이 프로세스(320)의 임시 CDR 큐(330, 332, 334)로 읽어와 저장한다. 이와 관련하여 도 4를 참조로 하여 보다 상세하게 설명하기로 한다.In this case, it is assumed that the transfer process is performed to the standby process 320 due to an unexpected error while the active process 304 collects and records the CDRs in the CDR queue. In this case, the CDR information previously stored temporarily by the active process 304 is lost and transferred to the standby process 320 (319). However, in the present invention, not only the CDR information is recorded in the active process 304, but also the CDR information is recorded in the charging disk 315 at the same time. Of course, the charging disk 315 may also share CDR information with the standby process (320). Accordingly, when the transfer is performed to another process as described above, the standby process cannot transfer the CDRs recorded as 'N' in the transmission flag from the stored CDR information to the CG 336 until the standby process ( Read and store the temporary CDR queues 330, 332, 334 of 320. This will be described in more detail with reference to FIG. 4.

도 4는 본 발명의 실시예에 따른 CDR 포맷을 도시한 도면이다.4 illustrates a CDR format according to an embodiment of the present invention.

상기 도 4를 참조하면, 먼저 상기 CDR 생성부(303)는 하기와 같은 필드(field)들로 상기 CDR 정보 형태를 구현한다. 상기 CDR 포맷은 시퀀스(sequence)(402), 전송 플래그(404), 프로세스 식별자(process IDentify)(406), CDR size(408) 및 CDR 데이터(410) 필드로 구성된다. 상기 시퀀스 필드(402)에는 CDR 정보가 발생된 순서에 상응하게 고유한 값이 표기된다. 상기 시퀀스 필드(402)에 표기된 고유값에 따라 상기 CDR 정보가 상기 전송 큐(312, 328)에 순차적으로 전달된다. 다음으로, 상기 전송 플래그 필드(404)에는 상기 전송 큐(312, 328)가 전송하지 못한 CDR에 대해서는 'N'이 표기될 수 있으며, 전송한 CDR에 대해서는 CG(336)의 긍정 응답을 수신한 후 'S'가 표기될 수 있다. 예컨대, 상기 전송 큐(312, 328)가 상기 시퀀스 정보에 따라 상기 CG(336)로 CDR 정보를 순차적으로 전송을 할 때, 전송된 CDR 정보는 삭제되며 상기 과금 디스크(315)의 해당 CDR 필드의 전송 플래그(404)에 'N'이 표기된다. Referring to FIG. 4, first, the CDR generation unit 303 implements the CDR information form with the following fields. The CDR format is composed of a sequence 402, a transport flag 404, a process identifier 406, a CDR size 408 and a CDR data 410 field. The sequence field 402 denotes a unique value corresponding to the order in which CDR information is generated. The CDR information is sequentially delivered to the transmission queues 312 and 328 according to the eigenvalues indicated in the sequence field 402. Next, in the transmission flag field 404, 'N' may be indicated for CDRs that the transmission queues 312 and 328 did not transmit, and the CG 336 received an acknowledgment for the transmitted CDR. 'S' may be indicated. For example, when the transmission queues 312 and 328 sequentially transmit CDR information to the CG 336 according to the sequence information, the transmitted CDR information is deleted and the corresponding CDR field of the charging disk 315 is deleted. 'N' is indicated in the transmission flag 404.

다음으로, 상기 프로세스 식별자(406) 필드에는 상기 CDR 정보가 기록되는 해당 프로세스의 고유 식별자가 기록된다. 예컨대, 상기 액티브 프로세스(304)의 프로세스 식별자 값이 '0'이고, 의도되지 않은 오류 발생으로 인해 스탠바이 프로세스(320)로 절체를 수행하는 경우 상기 과금 디스크(315)는 상기 스탠바이 프로세스(320)의 제어에 의해 자신이 저장하고 있던 CDR 정보중 전송 플래그에 'N'으로 기록된 CDR 정보를 상기 스탠바이 프로세스(320)의 임시 CDR 큐(330, 332, 334)전송한다. 따라서, 상기 스탠바이 프로세스(320)의 임시 CDR 큐(330, 332, 334)에 저장 된 CDR 포맷의 프로세스 식별자 필드에는 상기 액티브 프로세스(304)의 프로세스 식별자인 '0'이 기록되어 있다. Next, in the process identifier 406 field, a unique identifier of the process in which the CDR information is recorded is recorded. For example, when the process identifier value of the active process 304 is '0' and the transfer process is performed to the standby process 320 due to an unintended error occurrence, the charging disk 315 may be configured to perform the standby process 320. By the control, the temporary CDR queues 330, 332, and 334 of the standby process 320 are transmitted to the CDR information recorded as 'N' in the transmission flag of the stored CDR information. Accordingly, a process identifier '0' of the active process 304 is recorded in the process identifier field of the CDR format stored in the temporary CDR queues 330, 332, and 334 of the standby process 320.

이후, 상기 스탠바이 프로세스(320)는 새롭게 생성된 과금 데이터들을 상기 CDR 큐(322, 324, 326)에 수집한다. 이때 상기 스탠바이 프로세스(320)는 상기 프로세스의 고유 프로세스 식별자 값이 '1'일 경우 CDR 정보의 프로세스 식별자 필드에 상기 '1'의 값이 표기된다. 결국, 상기 프로세스별로 각각 수집한 CDR 정보를 상기 프로세스 식별자 필드에 표기된 값으로 구분이 가능하며, 이는 상기 CG(336)로 중복된 CDR 정보를 전송하는 경우를 방지할 수 있다. 다음으로, 상기 CDR size 필드(408)에는 수집되는 CDR 정보의 길이가 표기된다. 상기 CDR 정보는 길이가 일정하지 않은 가변 길이를 가지며, 이는 상기 절체 수행 후의 프로세스가상기 과금 디스크(315)로부터 CDR을 읽어올 경우 필요로 하는 정보이다. 다음으로, 상기 CDR 데이터 필드(410)에는 CDR 정보가 기록된다.Thereafter, the standby process 320 collects the newly generated charging data into the CDR queues 322, 324, and 326. In this case, when the unique process identifier value of the process is '1', the standby process 320 displays the value of '1' in the process identifier field of the CDR information. As a result, the collected CDR information for each process may be distinguished by a value indicated in the process identifier field, which may prevent a case of transmitting duplicate CDR information to the CG 336. Next, the CDR size field 408 indicates the length of the collected CDR information. The CDR information has a variable length whose length is not constant, which is information required when the process after performing the transfer reads the CDR from the charging disk 315. Next, CDR information is recorded in the CDR data field 410.

상기 도 3에서는 과금 데이터 수집 및 전송하는 개략적인 구조를 설명하였고, 상기 도 4에서는 본 발명에서 새롭게 정의한 CDR 포맷을 설명하였다. 이후 도 5에서는 상기 과금 데이터가 수집되어 상기 CDR 포맷에 기록되고 전송되는 절차를 설명하기로 한다.3 illustrates a schematic structure for collecting and transmitting charging data, and FIG. 4 illustrates a CDR format newly defined in the present invention. 5, the procedure in which the charging data is collected, recorded and transmitted in the CDR format will be described.

이하, 설명의 편의상 액티브 프로세스(304)가 동작 중에 오류로 인해 스탠바이 프로세스(320)로 절체를 수행하는 경우를 가정하여 설명하기로 한다. 물론, 스탠바이 프로세스(320)에서 액티브 프로세스(304)로 절체를 수행하는 경우에도 동일한 과정이 적용됨에 유념한다.Hereinafter, for convenience of description, it will be assumed that the active process 304 performs the transfer to the standby process 320 due to an error during operation. Of course, the same process is also applied to the case where the transfer from the standby process 320 to the active process 304 is performed.

도 5는 본 발명의 실시예에 따른 과금 데이터가 수집되어 전송되기까지의 과정을 도시한 흐름도이다.5 is a flowchart illustrating a process of collecting and transmitting charging data according to an embodiment of the present invention.

상기 도 5를 참조하면, 먼저 502단계에서 상기 CDR 생성부(303)는 과금 데이터가 발생되면 이를 감지하고 504단계로 진행한다. 상기 504단계에서 상기 CDR 생성부(303)는 본 발명에서 새롭게 정의한 CDR 포맷으로 CDR을 생성하고 506단계로 진행한다. 상기 506단계에서 상기 액티브 프로세스(304)는 상기 생성된 CDR을 수집하여 CDR 큐에 기록하며, 이와 동시에 상기 과금 디스크(315)에도 상기 CDR을 수집하여 저장하도록 제어하고 508단계로 진행한다. 상기 508단계에서 상기 액티브 프로세스(304)는 상기 CDR을 GTP' 프로토콜로 부호화하고 510단계로 진행한다. 상기 510단계에서 상기 액티브 프로세스(304)는 상기 부호화 된 CDR을 전송 큐(312)로 이동하고 512단계로 진행한다. 상기 512단계에서 상기 전송 큐(312)는 상기 CDR을 CG(336)로 전송하고 514단계로 진행한다. 상기 514단계에서 상기 CG(336)가 상기 CDR을 수신하면 긍정 응답을 상기 액티브 프로세스(304)로 전송하고, 상기 액티브 프로세스(304)는 이를 수신하고 516단계로 진행한다. 상기 516단계에서 상기 과금 디스크(315)는 상기 액티브 프로세스(304)의 제어로 상기 CG(336)로 전송된 해당 CDR의 전송 플래그에 'S'를 표기한다. Referring to FIG. 5, first, in step 502, the CDR generation unit 303 detects the charging data, and proceeds to step 504. In step 504, the CDR generation unit 303 generates a CDR in a CDR format newly defined in the present invention, and proceeds to step 506. In step 506, the active process 304 collects the generated CDRs and records them in a CDR queue. At the same time, the active process 304 controls to collect and store the CDRs in the charging disk 315 and proceeds to step 508. In step 508, the active process 304 encodes the CDR using the GTP 'protocol and proceeds to step 510. In step 510, the active process 304 moves the encoded CDRs to the transmission queue 312 and proceeds to step 512. In step 512, the transmission queue 312 transmits the CDR to the CG 336 and proceeds to step 514. When the CG 336 receives the CDR in step 514, it transmits an acknowledgment to the active process 304, and the active process 304 receives it and proceeds to step 516. In step 516, the charging disk 315 marks 'S' in the transmission flag of the corresponding CDR transmitted to the CG 336 under the control of the active process 304.

상기 도 5는 절체가 발생되지 않고 정상적으로 프로세스가 동작하는 경우를 설명하였으며, 이하 도 6은 절체가 발생되는 경우의 절차를 설명하기로 한다. FIG. 5 has described a case in which a process is normally operated without a switching, and FIG. 6 will be described below in the case of switching.

도 6은 본 발명의 실시예에 따른 절체 발생 후의 처리 과정을 도시한 흐름도이다.6 is a flowchart illustrating a processing procedure after a transfer is generated according to an embodiment of the present invention.

상기 도 6을 참조하면, 먼저 602단계에서 상기 과금 디스크(315)는 상기 프로세스 간에 절체를 수행하는 경우 전송 플래그에 'N'으로 표기된 CDR들을 보조 프로세스(320)의 제어에 의해 임시 CDR 큐에 전송하고 604단계로 진행한다. 상기 604단계에서 상기 스탠바이 프로세스(320)는 새롭게 생성된 CDR들을 상기 프로세스 내의 CDR 큐에 저장하고, 이와 동시에 상기 과금 디스크(315)도 상기 새롭게 발생된 CDR들을 저장한 후 606단계로 진행한다. 상기 606단계에서 상기 스탠바이 프로세스(320)는 임시 CDR 큐에 저장된 CDR부터 GTP' 프로토콜로 부호화 한 후 전송 큐(328)로 이동하고 608단계로 진행한다. 상기 608단계에서 상기 전송 큐(328)는 상기 CDR을 CG(336)로 전송하고 610단계로 진행한다. 상기 610단계에서 상기 스탠바이 프로세스(320)는 상기 CG(336)에서 긍정 응답을 수신하는지 판단한다. 상기 판단 결과 긍정 응답을 수신하면 612단계로 진행하고 그렇지 않을 경우 CG(336)로 재전송한다. 상기 612단계에서 상기 스탠바이 프로세스(320)는 상기 과금 디스크(314)의 전송 CDR의 전송 플래그에 'S'를 표기하고 614단계로 진행한다. 상기 614단계에서 상기 스탠바이 프로세스(320)는 상기 CDR 큐에 새롭게 저장한 CDR들을 전송 큐(328)로 이동하고 다시 608단계부터 수행한다.Referring to FIG. 6, first, in step 602, the charging disk 315 transmits CDRs indicated by 'N' in a transmission flag to a temporary CDR queue under the control of an auxiliary process 320 when performing a transfer between the processes. Proceed to step 604. In step 604, the standby process 320 stores newly generated CDRs in a CDR queue in the process. At the same time, the charging disk 315 also stores the newly generated CDRs in step 606. In step 606, the standby process 320 encodes the CDRs stored in the temporary CDR queue using the GTP 'protocol, and then moves to the transmission queue 328 and proceeds to step 608. In step 608, the transmission queue 328 transmits the CDR to the CG 336 and proceeds to step 610. In step 610, the standby process 320 determines whether the CG 336 receives an affirmative response. If the result of the determination is an acknowledgment, the flow proceeds to step 612 and if not, retransmits to the CG 336. In step 612, the standby process 320 marks 'S' in the transmission flag of the transmission CDR of the charging disk 314 and proceeds to step 614. In step 614, the standby process 320 moves the newly stored CDRs to the transmission queue 328 and performs the operation again from step 608.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.

상술한 바와 같이, 본 발명에서 새롭게 정의한 과금 데이터 기록 정보를 동작 중인 프로세스의 큐(queue)에 저장하며, 이와 동시에 보조 기억 메모리인 과금 디스크에도 저장한다. 상기와 같이 구현함으로써 다른 프로세스로 절체를 수행해야 하는 경우 상기 큐 내의 과금 데이터들을 안전하며 보다 효율적으로 절체 수행 후의 프로세스로 back up 할 수 있어 과금 데이터 유실을 방지할 수 있는 이점이 있다.As described above, the billing data record information newly defined in the present invention is stored in a queue of a running process, and at the same time, it is also stored in a billing disk which is an auxiliary storage memory. By implementing as described above, it is possible to back up the billing data in the queue safely and more efficiently after the changeover is performed in another process, thereby preventing the loss of the billing data.

도 1은 종래 기술에 따른 과금 데이터 수집 및 전송을 수행하는 구조를 개략적으로 도시한 도면1 is a view schematically showing a structure for performing charging data collection and transmission according to the prior art

도 2는 종래 기술에 따른 CDR 포맷을 도시한 도면2 illustrates a CDR format according to the prior art.

도 3은 본 발명의 실시예에 따른 과금 데이터 수집 및 전송을 수행하는 구조를 개략적으로 도시한 도면3 is a diagram schematically showing a structure for performing charging data collection and transmission according to an embodiment of the present invention;

도 4는 본 발명의 실시예에 따른 CDR 포맷을 도시한 도면4 illustrates a CDR format according to an embodiment of the present invention.

도 5는 본 발명의 실시예에 따른 과금 데이터가 수집되어 전송되는 과정을 도시한 흐름도5 is a flowchart illustrating a process in which charging data is collected and transmitted according to an embodiment of the present invention.

도 6은 본 발명의 실시예에 따른 절체 발생 후의 처리 과정을 도시한 흐름도6 is a flowchart illustrating a processing procedure after a transfer is generated according to an embodiment of the present invention.

Claims (6)

액티브 프로세서와, 스탠바이 프로세서의 이중화 구조를 가지는 이동 통신 시스템에서 과금 데이터를 관리하는 장치에 있어서,An apparatus for managing charging data in a mobile communication system having a dual structure of an active processor and a standby processor, 과금 데이터들이 발생함을 감지하면 상기 과금 데이터들을 미리 설정된 포맷에 상응하게 과금 데이터 레코드들로 생성한 후 출력하는 과금 데이터 레코드 생성부와,A billing data record generation unit for generating billing data records according to a preset format and then outputting billing data when detecting that billing data is generated; 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 저장하는 과금 디스크와,A billing disc for storing billing data records output from the billing data record generator; 제1큐와 제2큐를 가지며, 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제1큐에 저장한 후 그 저장 순서에 상응하게 과금 게이트웨이로 송신하며, 이후 장애가 발생함을 감지하면 상기 스탠바이 프로세서로 절체하는 상기 액티브 프로세서와,Having a first queue and a second queue, storing the billing data records output from the billing data record generator in the first queue and transmitting the billing data records to the billing gateway in the order of storage. The active processor switching to the standby processor; 제3큐와 제4큐를 가지며, 상기 절체에 상응하여 상기 과금 데이터 레코드 생성부에서 출력하는 과금 데이터 레코드들을 상기 제3큐에 저장하고, 상기 과금 디스크에 저장되어 있는 과금 데이터 레코드들중 미전송 표기된 과금 데이터 레코드들을 상기 제4큐에 저장한 후, 상기 제4큐에 저장되어 있는 과금 데이터 레코드들부터 상기 제3큐에 저장되어 있는 과금 데이터 레코드들의 순서로 그 저장 순서에 상응하게 상기 과금 게이트웨이로 송신하는 상기 스탠바이 프로세서를 포함함을 특징으로 하는 상기 장치.The third queue has a third queue and a fourth queue, and stores charging data records output from the charging data record generation unit in the third queue according to the switching, and is not transmitted among the charging data records stored in the charging disk. After storing the marked billing data records in the fourth queue, the billing gateway in the order of the billing data records stored in the fourth queue from the billing data records stored in the third queue according to the storage order. The standby processor for transmitting to the standby processor. 제 1항에 있어서,The method of claim 1, 상기 과금 데이터 레코드 생성부는 프로세스 식별자 필드 또는 전송 플래그 필드 중 어느 하나 이상을 포함하여 과금 데이터 레코드 포맷으로 생성함을 특징으로 하는 상기 장치.And the accounting data record generator generates at least one of a process identifier field and a transmission flag field in a billing data record format. 제 2항에 있어서,The method of claim 2, 상기 프로세스 식별자 필드에는 액티브 프로세서 및 스탠바이 프로세서를 구분하기 위한 식별자를 포함하도록 함을 특징으로 하는 상기 장치.And the process identifier field includes an identifier for distinguishing between an active processor and a standby processor. 제 2항에 있어서,The method of claim 2, 상기 전송 플래그 필드에는 과금 데이터 레코드의 전송 완료 여부를 구분하기 위한 식별자를 포함하도록 함을 특징으로 하는 상기 장치.The apparatus as claimed in claim 1, wherein the transmission flag field includes an identifier for distinguishing whether or not the charging data record has been transmitted. 제 1항에 있어서,The method of claim 1, 상기 과금 데이터 레코드 생성부는 생성되는 과금 데이터 레코드를 미전송으로 표기하여 출력함을 특징으로 하는 상기 장치.The billing data record generator is characterized in that for outputting the billing data record generated by marking the untransmitted. 제 1항에 있어서,The method of claim 1, 상기 과금 디스크의 과금 데이터 레코드에는 상기 액티브 또는 스탠바이 프로세서의 제어로 전송 플래그 필드에 미전송 또는 전송 완료로 표기됨을 특징으로 하는 상기 장치.The charging data record of the charging disk is characterized in that the device is marked as untransmitted or transmitted in the transmission flag field under the control of the active or standby processor.
KR1020040009045A 2004-02-11 2004-02-11 Apparatus for collecting and transmission charging data in a mobile communication system KR100575972B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040009045A KR100575972B1 (en) 2004-02-11 2004-02-11 Apparatus for collecting and transmission charging data in a mobile communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040009045A KR100575972B1 (en) 2004-02-11 2004-02-11 Apparatus for collecting and transmission charging data in a mobile communication system

Publications (2)

Publication Number Publication Date
KR20050080880A true KR20050080880A (en) 2005-08-18
KR100575972B1 KR100575972B1 (en) 2006-05-02

Family

ID=37267597

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040009045A KR100575972B1 (en) 2004-02-11 2004-02-11 Apparatus for collecting and transmission charging data in a mobile communication system

Country Status (1)

Country Link
KR (1) KR100575972B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100824450B1 (en) * 2006-04-12 2008-04-22 에스케이 텔레콤주식회사 Charging validation service method of mobile communication network and its system
KR100871953B1 (en) * 2007-01-26 2008-12-08 엘지노텔 주식회사 Media gateway and method for processing calls in a media gateway

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101043163B1 (en) 2008-12-31 2011-06-20 주식회사 케이티 Billing system and method having bypass function in a communication network
KR101486546B1 (en) * 2013-05-15 2015-01-27 주식회사 한국거래소 Duplication system and method for treating system failure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100824450B1 (en) * 2006-04-12 2008-04-22 에스케이 텔레콤주식회사 Charging validation service method of mobile communication network and its system
KR100871953B1 (en) * 2007-01-26 2008-12-08 엘지노텔 주식회사 Media gateway and method for processing calls in a media gateway

Also Published As

Publication number Publication date
KR100575972B1 (en) 2006-05-02

Similar Documents

Publication Publication Date Title
CN103309767B (en) A kind of client log disposal route and device
CN103942252B (en) A kind of method and system for recovering data
US6892244B2 (en) Method of transmitting real-time data from a network element to an application server
CN108347463A (en) A kind of terminal document method for uploading
KR100575972B1 (en) Apparatus for collecting and transmission charging data in a mobile communication system
CN105488108A (en) High-speed parallel storage method and apparatus for multiple video files
JPWO2015059889A1 (en) Initiator terminal, target terminal, initiator terminal error processing method, target terminal error processing method
JPH08328970A (en) Log possessing system for equipment to be managed
US7664863B2 (en) Data transferring method
US20050207546A1 (en) Modem sharing device of PDA phone and method thereof
KR20070028960A (en) Mobile communication terminal transmitting data and its operating method
KR100476986B1 (en) Billing Processing Method in Switching System
US6711179B1 (en) Signal processing apparatus with three layer processing sections, and signal processing system with said two signal processing apparatuses
JP2004186802A (en) Uninterruptible duplication switching apparatus and method
JP2967569B2 (en) Uninterruptible power system
CN111698151B (en) Routing information management method, device and computer storage medium
JPH1051451A (en) Network management system and management method
KR20010011749A (en) Apparatus and method for transmitting and receiving data of a full electronic switching system
KR100318939B1 (en) Method for correcting error of billing file information
KR100324427B1 (en) Method for transmission lost charging data in mobile switching center
JPH06112972A (en) Packet re-transmission system
JP2844709B2 (en) Communication control device
US20090013067A1 (en) Data transfer system, data transfer method and data transfer apparatus
JP3930842B2 (en) Packet transmitter
CN117544617A (en) Data message breakpoint continuous transmission method and device

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
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20160330

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee