KR100583177B1 - Method of processing charging message to prevent double charging, and server therefor - Google Patents
Method of processing charging message to prevent double charging, and server therefor Download PDFInfo
- Publication number
- KR100583177B1 KR100583177B1 KR1020040004410A KR20040004410A KR100583177B1 KR 100583177 B1 KR100583177 B1 KR 100583177B1 KR 1020040004410 A KR1020040004410 A KR 1020040004410A KR 20040004410 A KR20040004410 A KR 20040004410A KR 100583177 B1 KR100583177 B1 KR 100583177B1
- Authority
- KR
- South Korea
- Prior art keywords
- charging
- billing
- message
- key value
- database
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/58—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/64—On-line charging system [OCS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Abstract
중복 과금을 방지하기 위한 과금 메시지 처리 방법 및 그 과금 서버가 개시된다. 본 발명에 따른 중복 과금을 방지하기 위한 과금 메시지 처리 방법은, (a) 클라이언트로부터 과금 메시지를 수신하는 단계; (b) 상기 과금 메시지로부터 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하는 단계; (c) 다수의 과금 키 값이 저장된 과금 데이터베이스를 검색하여, 상기 과금 키 값과 동일한 과금 키 값이 저장되었는지 여부를 판단하는 단계; 및 (d) 상기 과금 데이터베이스에 상기 과금 키 값과 동일한 과금 키 값이 저장되어 있으면, 중복 과금 메시지인 것으로 판단하는 단계를 포함한다. 본 발명에 따르면, 과금 처리 과정에서 발생할 수 있는 중복 과금에 대한 검사를 빌링 시스템이 아닌, 과금 정보의 생성/수집 기능을 수행하는 AAA 서버에서 클라이언트로부터 수신하는 과금 정보에 대한 중복 검사 기능을 구현함으로써, 생성된 과금 정보의 신뢰성을 증가시킬 수 있고, 빌링 시스템의 부하 경감과 프로세스 단순화 등을 달성할 수 있다.Disclosed are a charging message processing method and a charging server for preventing duplicate charging. The charging message processing method for preventing duplicate charging according to the present invention comprises the steps of: (a) receiving a charging message from a client; (b) extracting a charging key value for identification of the charging message from the charging message; (c) searching for a billing database in which a plurality of billing key values are stored and determining whether a billing key value identical to the billing key value has been stored; And (d) if the same charging key value as the charging key value is stored in the charging database, determining that the charging key is a duplicate charging message. According to the present invention, by implementing a duplicate check function for the billing information received from the client in the AAA server that performs the generation / collection function of the billing information, not the billing system for the check for duplicate billing that may occur in the billing process In addition, the reliability of the generated billing information can be increased, and the load reduction of the billing system and the process simplification can be achieved.
Description
도 1은 무선 인터넷 서비스 및 과금을 위한 시스템의 개략도,1 is a schematic diagram of a system for wireless internet service and billing,
도 2는 도 1에 도시된 시스템에 따라 데이터 호 및 과금 처리를 위한 과정을 설명하기 위한 도면,2 is a view for explaining a process for data call and billing processing according to the system shown in FIG. 1;
도 3은 도 1에 도시된 본 발명에 따른 AAA 서버의 블록도의 일 예를 나타내는 도면,3 is a diagram illustrating an example of a block diagram of an AAA server according to the present invention shown in FIG. 1;
도 4는 도 3에 도시된 AAA 서버의 동작에 필요한 각종 애플리케이션의 일 예를 설명하기 위한 도면,4 is a view for explaining an example of various applications required for the operation of the AAA server shown in FIG.
도 5는 본 발명의 일 실시예에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법의 순서도,5 is a flowchart of a charging message processing method for preventing duplicate charging according to an embodiment of the present invention;
도 6은 본 발명에 따른 과금 키 값의 구조의 일 예를 나타내는 도면,6 is a view showing an example of a structure of a charging key value according to the present invention;
도 7은 본 발명에 따른 AAA 서버의 블록도의 다른 예를 나타내는 도면,7 is a diagram showing another example of a block diagram of an AAA server according to the present invention;
도 8A 및 도 8B는 본 발명의 다른 실시예에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법의 순서도이다.8A and 8B are flowcharts of a charging message processing method for preventing duplicate charging according to another embodiment of the present invention.
본 발명은 통신망을 통한 서비스 이용에 대한 과금 처리에 관한 것으로서, 보다 상세하게는 통신망을 통한 서비스 이용에 대한 과금시 중복 과금을 방지하기 위한 과금 메시지 처리 방법 및 그 과금 서버에 관한 것이다.The present invention relates to billing processing for service usage through a communication network, and more particularly, to a billing message processing method and a billing server for preventing duplicate billing when billing for service usage over a communication network.
이동 통신망 또는 인터넷 등의 통신망이 널리 보급됨에 따라 사용자는 통신 단말기를 이용하여 이들 통신망을 통해 제공되는 다양한 서비스를 즐길 수 있게 되었다. 통신망을 통한 서비스 제공자는 통신망을 구성하는 다양한 클라이언트들로부터 과금 정보를 수집하여 사용자에게 서비스 이용에 대한 요금을 청구한다. As communication networks such as mobile communication networks or the Internet have become widespread, users can enjoy various services provided through these communication networks using communication terminals. The service provider through the communication network collects billing information from various clients constituting the communication network and charges the user for the use of the service.
이 때 여러 가지 요인으로 인해 중복 과금이 발생할 가능성이 항상 존재한다. 예컨대, 이동통신망을 통해 제공되는 무선 인터넷 서비스에 대한 과금의 경우, AAA(Authentication, Authorization, Accounting) 서버는 데이터 호 처리를 수행하는 망 구성요소인 다수의 클라이언트들이 생성한 과금 메시지를 수집한다. There is always the possibility of multiple charges due to various factors. For example, in the case of charging for a wireless Internet service provided through a mobile communication network, the AAA (Authentication, Authorization, Accounting) server collects billing messages generated by a plurality of clients, which are network components that perform data call processing.
AAA 서버는 과금 메시지를 정상적으로 수신하지 못한 경우, 비정상 응답신호를 과금 메시지를 송신한 클라이언트로 보낸다. 그러면, 클라이언트는 다시 과금 메시지를 AAA 서버로 재전송한다. 이러한 과정에서 과금 메시지를 생성하는 클라이언트 자체의 문제, 네트워크 상의 문제 또는 AAA 서버 자체의 문제 등으로 인해 중복되는 과금 정보가 발생할 수 있다.If the AAA server does not receive the charging message normally, the AAA server sends an abnormal response signal to the client that sent the charging message. The client then resends the charging message to the AAA server. In this process, duplicate billing information may occur due to a problem of the client itself generating the billing message, a problem on the network, or a problem of the AAA server itself.
또한, 종래의 AAA 서버는 동일 클라이언트로부터 동일 과금 메시지를 중복하여 수신하면 나중에 수신한 과금 메시지를 오류 처리하는 기능만 수행하고 있다. 또한 수신한 과금 메시지를 가공하여 빌링 시스템에서 요구하는 형태의 과금 정보를 생성한 후 전달하는 기능만을 수행하고 있기 때문에, 과금 내용에 대한 오류 검증이나 중복 과금 처리는 빌링 시스템에서 매달 가입자에게 청구할 요금을 계산하는 과정에서 함께 수행된다. 따라서, 빌링 시스템에서 처리해야 할 전체 과금 정보량에 비추어 발생 빈도가 상대적으로 적은 중복 과금 처리를 위해 많은 프로세싱 자원이 소요된다.In addition, the conventional AAA server performs only a function of error processing a later received billing message if the same billing message is repeatedly received from the same client. In addition, since only the billing system generates the billing information required by the billing system and delivers the billing message, the billing system charges the subscriber monthly for error verification or billing. It is done together in the process of calculating. Therefore, in view of the total amount of billing information to be processed in the billing system, a large amount of processing resources are required for the redundant billing process with a relatively low frequency of occurrence.
따라서 본 발명이 이루고자 하는 기술적 과제는, 빌링 과정이 아닌 과금 정보 수집 단계에서 중복 과금 메시지인지 여부를 판단하여 처리함으로써 빌링 시스템의 정보 처리량을 감소시키거나, 중복 과금의 발생을 감소시켜 과금에 대한 신뢰도를 향상시킬 수 있는 중복 과금을 방지하기 위한 방법 및 그 과금 서버를 제공하는데 있다.Therefore, the technical problem to be achieved by the present invention is to determine whether the billing information is a duplicate billing message in the billing information collection step rather than to reduce the information throughput of the billing system, or to reduce the occurrence of duplicate billing reliability of the billing The present invention provides a method and a billing server for preventing duplicate billing that can improve the billing rate.
상기 과제를 이루기 위해, 본 발명의 일 태양에 따른 중복 과금을 방지하기 위한 과금 메시지 처리 방법은, In order to achieve the above object, a billing message processing method for preventing duplicate billing according to an aspect of the present invention,
(a) 클라이언트로부터 과금 메시지를 수신하는 단계; (b) 상기 과금 메시지로부터 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하는 단계; (c) 다수의 과금 키 값이 저장된 과금 데이터베이스를 검색하여, 상기 과금 키 값과 동일한 과금 키 값이 저장되었는지 여부를 판단하는 단계; 및 (d) 상기 과금 데이터베이스에 상기 과금 키 값과 동일한 과금 키 값이 저장되어 있으면, 중복 과금 메시지인 것 으로 판단하는 단계를 포함한다.(a) receiving a charging message from a client; (b) extracting a charging key value for identification of the charging message from the charging message; (c) searching for a billing database in which a plurality of billing key values are stored and determining whether a billing key value identical to the billing key value has been stored; And (d) if the same charging key value as the charging key value is stored in the charging database, determining that the charging key is a duplicate charging message.
나아가, 상기 (a) 단계는 상기 수신한 과금 메시지에 재전송된 과금 메시지라는 정보가 포함되어 있는지 여부를 판단하는 단계를 포함하고, 상기 수신한 과금 메시지에 재전송된 과금 메시지라는 정보가 포함되어 있으면, 상기 (b) 단계 내지 상기 (d) 단계를 수행하는 것이 바람직하다.Furthermore, the step (a) includes determining whether the received charging message includes information called a retransmitted charging message, and if the received charging message includes information called a retransmitted charging message, It is preferable to perform the steps (b) to (d).
상기 과제를 이루기 위해, 본 발명의 다른 태양에 따른 중복 과금을 방지하기 위한 과금 메시지 처리 방법은, In order to achieve the above object, the charging message processing method for preventing duplicate charging according to another aspect of the present invention,
다수의 멤버 시스템을 구비한 다중화된 과금 서버를 이용한 중복 과금 방지를 위한 과금 메시지 처리 방법에 있어서, (a) 상기 다수의 멤버 시스템 중 하나의 멤버 시스템이 네트워크를 통해 클라이언트로부터 과금 메시지를 수신하는 단계; (b) 상기 멤버 시스템이 상기 과금 메시지로부터 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하는 단계; (c) 상기 멤버 시스템 내에 구비된 다수의 과금 키 값이 저장된 과금 데이터베이스를 검색하여, 상기 과금 키 값과 동일한 과금 키 값이 저장되었는지 여부를 판단하는 단계; 및 (d) 상기 과금 데이터베이스에 상기 과금 키 값과 동일한 과금 키 값이 저장되어 있으면, 중복 과금 메시지인 것으로 판단하는 단계를 포함한다.A billing message processing method for preventing duplicate billing using a multiplex billing server having a plurality of member systems, the method comprising: (a) receiving a billing message from a client through a network by one member system of the plurality of member systems; ; (b) the member system extracting a charging key value for identification of the charging message from the charging message; (c) searching a billing database in which a plurality of billing key values provided in the member system are stored, and determining whether a billing key value identical to the billing key value is stored; And (d) if the same charging key value as the charging key value is stored in the charging database, determining that the charging key is a duplicate charging message.
나아가, 상기 (a) 단계는, 상기 수신한 과금 메시지에 재전송된 과금 메시지라는 정보가 포함되어 있는지 여부를 판단하는 단계를 포함하고, 상기 수신한 과금 메시지에 재전송된 과금 메시지라는 정보가 포함되어 있으면, 상기 (b) 단계 내지 상기 (d) 단계를 수행하는 것이 바람직하다.Furthermore, the step (a) may include determining whether the received charging message includes information called a retransmitted charging message, and if the received charging message includes information called a retransmitted charging message. Preferably, the steps (b) to (d) are performed.
상기 과제를 이루기 위해, 본 발명의 일 태양에 따른 과금 서버는,In order to achieve the above object, the billing server according to an aspect of the present invention,
네트워크를 통해 클라이언트로부터 수신한 과금 메시지를 처리하는 과금 서버에 있어서, 다수의 과금 정보를 저장하는 과금 데이터베이스; 상기 클라이언트로부터 과금 메시지를 수신하는 네트워크 연동부; 및 상기 수신한 과금 메시지로부터 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하고, 상기 과금 데이터베이스를 검색하여 상기 과금 메시지로부터 추출한 과금 키 값과 동일한 과금 키 값이 저장되어 있으면, 중복 과금 메시지인 것으로 판단하는 제어부를 포함한다.A billing server for processing a billing message received from a client via a network, the billing server comprising: a billing database for storing a plurality of billing information; A network interworking unit receiving a charging message from the client; And extracting a billing key value for identification of the billing message from the received billing message, searching the billing database and storing a billing key value identical to the billing key value extracted from the billing message, and is a duplicate billing message. It includes a control unit for determining.
나아가, 상기 제어부는 상기 수신한 과금 메시지에 재전송된 과금 메시지라는 정보가 포함되어 있으면, 상기 수신한 과금 메시지로부터 상기 과금 키 값을 추출하고, 상기 과금 메시지로부터 추출한 과금 키 값과 동일한 과금 키 값이 저장되어 있는지를 확인하기 위해 상기 과금 데이터베이스를 검색하는 것이 바람직하다.Further, if the received billing message includes information called a re-transmitted billing message, the controller extracts the billing key value from the received billing message, and a billing key value equal to the billing key value extracted from the billing message is displayed. It is desirable to search the billing database to see if it is stored.
이하, 첨부된 도면들을 참조하여 본 발명에 따른 일 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;
도 1은 무선 인터넷 서비스 및 과금을 위한 시스템의 개략도이다. 본 실시예에서는 이동통신 단말기(10)를 이용하여 이동통신 가입자가 무선 인터넷 서비스를 제공받는 경우에 있어서의 중복 과금 방지를 위한 과금 메시지 처리 방법에 대해 설명한다. 그러나, 무선 인터넷 서비스의 과금 처리 방법에 한정되지 않으며, 유선 인터넷 서비스 등의 다양한 네트워크를 통한 서비스 이용시의 과금 처리에 사용될 수 있다.1 is a schematic diagram of a system for wireless internet service and charging. In the present embodiment, a billing message processing method for preventing duplicate billing when a mobile subscriber is provided with a wireless Internet service using the
도 1을 참조하면, 무선 인터넷 서비스 및 과금을 위한 시스템은 가입자 단말 기(10), AN(Access Network)(20), NAS(Network Access Server)(30), 데이터 코어 네트워크(40), 컨텐츠 제공 서버(50), IPAS(IP Accounting Server)(60), AAA (Authentication, Authorization, Accounting) 서버(70), 과금 정보 데이터베이스(80) 및 빌링 시스템 서버(90)를 포함한다.Referring to FIG. 1, a system for wireless Internet service and billing includes a
가입자 단말기(10)는 이동 통신망을 통해 무선 인터넷이 가능한 모바일 단말기로서 휴대폰 또는 PDA가 해당된다.
도 2는 도 1에 도시된 시스템에 따라 데이터 호 및 과금 처리를 위한 과정을 설명하기 위한 도면이다.FIG. 2 is a diagram illustrating a process for data call and billing processing according to the system shown in FIG. 1.
1. 가입자는 가입자 단말기(10)를 조작하여 무선 인터넷을 위한 데이터 호를 시도하고, 2. AN(20)은 NAS(30)로 데이터 서비스를 위한 세션 설정 요구를 전송한다. 3. NAS(30)는 AAA 서버(70)로 호 설정을 위한 가입자 프로파일과 인증 처리를 요구하고, 4. AAA 서버(70)는 NAS(30)로 가입자 프로파일과 인증 결과를 전송하면, 5. NAS(30)는 가입자 단말기(10)를 위한 데이터 호를 설정한다. 가입자 단말기(10)는 IP로 직접 망에 접속할 수 없기 때문에, 먼저 PPP(Point-to-Point Protocol) 세션을 생성한 다음, LCP(Link Control Protocol), IPCP(IP Control Protocol) 등을 이용하여 IP 세션을 설정한다.1. The subscriber attempts to make a data call for the wireless Internet by operating the
6. NAS(30)는 IPAS(60)으로 과금 수집을 시작하라는 메시지를 전송하고, 7. IPAS(60)는 과금 수집 시작 요구에 대한 응답을 NAS(30)로 전송하면, 8. 가입자 단말기(10)는 원하는 컨텐츠 제공 서버(50)에 접속하여 데이터 서비스를 받는다.6. The NAS 30 transmits a message to start the charging collection to the IPAS 60, 7. The IPAS 60 sends a response to the NAS 30 in response to the charge collection start request, 8. The subscriber terminal ( 10) accesses the desired
9. 가입자 단말기(10)가 데이터 호 종료 명령을 전송하면, 10. AN(20)은 데 이터 서비스 종료를 위한 세션 해제 요구를 NAS(30)로 전송하고, 11. NAS(30)는 IPAS(60)로 과금 수집을 종료하라는 메시지를 전송한다.9. When the
12. IPAS(60)가 과금 수집 종료 요구에 대한 응답을 NAS(30)로 전송하고, 13. IPAS(60)는 수집한 과금 정보를 포함하는 과금 메시지를 AAA 서버(70)로 전송한다. 과금 정보는 망 사용내역 및 가입자 단말기(10)의 위치 정보 등을 포함한다.12. The IPAS 60 transmits a response to the charge collection end request to the
14. AAA 서버(70)는 IPAS(60)가 전송한 과금 메시지가 중복 과금 메시지가 아니라면 과금을 위한 소정의 과정을 수행한 후 IPAS(60)로 정상 응답 메시지를 전송한다. 그러나, 수신한 과금 메시지가 중복 과금 메시지일 경우에는 수신한 과금 메시지를 과금을 위한 소정의 동작을 수행하지 않고 실패 처리한 후 IPAS(60)로 비정상 응답 메시지를 전송한다.14. The
15. AAA 서버(70)는 수집한 과금 정보를 소정 포맷의 파일에 기록하여 과금 정보 데이터베이스(80)에 저장한 후, 소정 시점에 빌링 시스템 서버(90)로 전송한다. 16. 빌링 시스템 서버(90)는 수신한 과금 파일에 대한 응답을 AAA 서버(70)로 전송한다. 빌링 시스템 서버(90)는 수신한 과금 파일에 기초하여 가입자에게 청구할 요금을 계산하여 요금청구서를 생성한 후 가입자에게 요금청구서를 발송한다. 본 발명에서는 AAA 서버(70)가 중복 과금 방지를 위한 소정의 과정을 수행하지만, 중복 과금 문제에 대한 신뢰도를 향상시키기 위해 빌링 시스템 서버(90)는 종래와 같이 중복 과금 여부를 확인하는 과정을 수행할 수도 있다. 15. The
도 2에서 박스 모양의 점선으로 표시된 제13 및 14 과정이 본 발명에 따른 중복 과금을 방지하기 위한 과금 메시지 처리 과정에 해당한다. 이에 대해서는 뒤 에서 보다 상세하게 설명한다.
도 3은 도 1에 도시된 본 발명에 따른 AAA 서버(70)의 블록도의 일 예를 나타내는 도면이다. 도 3을 참조하면 AAA 서버(70)는 네트워크 연동부(71), 제어부(73), 메모리(75) 및 데이터베이스 연동부(77)를 포함한다.3 is a diagram illustrating an example of a block diagram of the
네트워크 연동부(31)는 데이터 코어 네트워크(40)와의 연동기능을 수행한다. 제어부(73)는 본 발명에 따른 중복 과금 방지를 위해 과금 메시지를 처리한다. The network interworking unit 31 performs an interworking function with the
데이터베이스 연동부(77)는 제어부(73)의 제어에 따라 과금 정보 데이터베이스(80)와의 연동을 수행한다.The
메모리(75)는 AAA 서버(70)의 동작에 필요한 각종 애플리케이션 및 MMDB(Main Memory Data Base)(75a)를 저장한다. MMDB(75a)는 IPAS(60)와 같은 클라이언트로부터 수집한 과금 정보를 과금정보 DB(80)에 저장하기 전에 일시 저장하기 위해 메모리(75) 내에 존재하는 데이터베이스이다. The
도 4는 메모리(75)에 저장된, AAA 서버(70)의 동작에 필요한 각종 애플리케이션의 일 예를 설명하기 위한 도면이다. 도 4를 참조하면, AAA 서버(70)의 동작에 필요한 애플리케이션들로는, 과금 정보 수집에 관한 애플리케이션, 빌링 시스템 서버(90)와의 연동을 위한 애플리케이션, 데이터 호를 시도한 가입자의 권한 검증에 관한 애플리케이션, 인증에 관한 애플리케이션, DB 인터페이스, 과금정보 DB(80)와의 연동을 위한 DBMS(Data Base Management System), 클러스터 및 운용시스템(OS) 등이 있다. 4 is a diagram for describing an example of various applications required for the operation of the
클러스터란 AAA 서버(70)가 서버의 가용성을 높이기 위해 복수의 멤버 시스 템으로 다중화하기 위한 응용 프로그램이다. 클러스터에 의해 복수의 멤버 시스템은 상호 연관하여 동작하게 된다. A cluster is an application for the
이하, 도 3에 도시된 AAA 서버(70)의 구조에 기초하여 본 발명에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법에 대해 설명한다.Hereinafter, a charging message processing method for preventing duplicate charging according to the present invention will be described based on the structure of the
도 5는 본 발명의 일 실시예에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법의 순서도이다.5 is a flowchart illustrating a charging message processing method for preventing duplicate charging according to an embodiment of the present invention.
네트워크 연동부(71)는 클라이언트로부터 과금 메시지를 수신한다(제110 단계). 본 실시예에서 과금 메시지를 전송하는 클라이언트는 IPAS(60)에 해당한다. The
제어부(73)는 네트워크 연동부(71)가 수신한 과금 메시지에 재전송 필드가 존재하는지 여부를 확인한다(제120 단계). 재전송 필드가 존재하면, 수신한 과금 메시지가 재전송된 과금 메시지임을 나타낸다. The
AAA 서버(70)가 수신한 모든 과금 메시지에 대해 중복 과금 메시지인지 여부를 확인하는 작업을 수행한다면 AAA 서버(70)의 성능 저하를 유발하기 때문에, 클라이언트가 최초 과금 메시지 전송 시에 AAA 서버(70)로부터 정상 응답을 수신하지 못한 경우, 재전송하는 메시지임을 표시하는 필드 값을 과금 메시지에 추가하여, 다시 전송한 과금 메시지에 대해서만 중복 과금 메시지인지 여부를 확인하는 작업을 수행한다. 그러나 AAA 서버(70)의 데이터 처리 능력이 고성능인 경우, 제120 단계는 생략될 수 있다. 즉, 제120 단계는 본 발명에서 반드시 필요한 단계는 아니며 선택적으로 채용할 수 있다.If the
제어부(73)는 수신한 과금 메시지에 재전송 필드가 존재하지 않으면, MMDB(75a)에 과금 정보 및 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하여 저장한다(제130 단계). 과금 키 값은 각 과금 메시지를 타 과금 메시지와 식별하기 위한 유일한 값이다. If there is no retransmission field in the received charging message, the
과금 키 값은 과금 메시지에 포함된 가입자 번호, 과금 메시지를 전송한 클라이언트의 IP 주소, 호 처리 장비에서 임의의 호를 인지하기 위해 사용하는 세션 ID, 호 시작 시간과 종료 시간 중 적어도 하나를 포함한다. The billing key value includes at least one of the subscriber number included in the billing message, the IP address of the client that sent the billing message, the session ID used by the call processing equipment to recognize any call, the call start time and the end time. .
도 6은 본 발명에 따른 과금 키 값의 일 예를 나타내는 도면이다. 도 6을 참조하면, MMDB(75a)에서의 과금 키 값에 대한 검색 속도를 항상 일정하게 유지하기 위해 AVL(Adelson-Velskii and Landis) 트리 형태로 과금 정보 또는 과금 키 값을 구성한다. 그러나 일정 시간 동안 AAA 서버(70)의 최대 처리 용량에 해당하는 과금 정보를 모두 저장하기 위해서, 과금 키를 구성하는 모든 필드의 AND 조합으로 AVL 트리 노드를 구성하면 트리의 크기가 너무 커질 수 있고, 결과적으로 검색 속도가 저하될 수 있다. 6 is a diagram illustrating an example of a billing key value according to the present invention. Referring to FIG. 6, the charging information or the charging key value is configured in the form of Adelson-Velskii and Landis (AVL) tree in order to maintain a constant search rate for the charging key value in the MMDB 75a. However, in order to store all the billing information corresponding to the maximum processing capacity of the
그러므로 본 실시예에서는 가입자 번호와 세션 ID를 primary 키로 하고, 전송 장비 IP 주소, 호 시작 시간 및 호 종료 시간을 secondary 키로 하여 트리를 구성한다. 또한, 트리에 키를 삽입한 시간을 부가 정보로 저장한다. 키 삽입 시간은 일정 시간이 경과한 후에 과금 정보를 자동적으로 삭제하여 불필요한 검색을 줄이고 MMDB의 가용성을 높이기 위한 것이다. Therefore, in the present embodiment, the tree is constructed with the subscriber number and session ID as the primary key and the transmission equipment IP address, call start time, and call end time as secondary keys. In addition, the time when the key is inserted into the tree is stored as additional information. The key insertion time is to automatically delete the billing information after a certain period of time to reduce unnecessary retrieval and to increase the availability of the MMDB.
제130 단계 후, 제어부(73)는 클라이언트로 정상 응답 신호를 전송한다(제140 단계).After
만약, 제어부(73)는 수신한 과금 메시지에 재전송 필드가 존재하면, 상기 과금 메시지의 식별을 위한 과금 키 값을 추출한 후(제150 단계), 추출된 과금 키 값과 동이란 과금 키 값이 존재하는지 여부를 확인하기 위해 MMDB(75a)를 검색한다(제160 단계).If there is a retransmission field in the received billing message, the
도 6에 도시한 바와 같은 형태로 MMDB의 트리 노드를 구성한 경우, 제어부(73)는 수신한 과금 메시지로부터 추출된 과금 키 값과 동일한 과금 키 값이 존재하는지를 확인하기 위해, 먼저 가입자 번호와 세션 ID로 노드를 검색한다. 그 다음, 해당 노드의 리스트에서 다시 전송 장비 IP 주소, 호 시작 시간 및 호 종료 시간의 순서로 키를 검색한다. When configuring the tree node of the MMDB in the form as shown in FIG. 6, the
제어부(73)는 수신한 과금 메시지로부터 추출된 과금 키 값과 동일한 과금 키 값이 존재하는지 여부에 따라, 수신한 과금 메시지가 중복된 과금 메시지인지 여부를 판단하고(제170 단계), 중복된 과금 메시지로 판단되면 수신한 과금 메시지에 포함된 과금 정보를 MMDB(75a)에 저장하지 않고 실패 처리한 후 클라이언트로 비정상 응답 신호를 전송한다(제180 단계). 그러나 중복된 과금 메시지가 아니라면 제130 단계 및 제140 단계를 수행한다.The
또한, 도면에 도시하지는 아니하였으나, AAA 서버(70)에 의한 과금 메시지 처리 프로세스가 비정상적으로 종료한 후에 다시 기동하더라도 MMDB(75a)의 내용을 이전 상태로 유지하기 위해 MMDB(75a)에 저장된 정보를 과금 정보 데이터베이스(80)에 소정 형식의 파일로 저장/관리한다. 즉, MMDB(75a)와 과금 정보 데이터베이스(80)에 저장된 파일을 자동적으로 동기화시킨다.Although not shown in the figure, even if the charging message processing process by the
또한, 제어부(73)는 일정 시간이 경과한 불필요한 과금 정보를 MMDB(75a)에서 삭제하기 위해, 실시간 또는 주기적으로 MMDB(75a)의 노드를 검사하여 해당 노드의 삽입 시간이 기준 시간을 경과했을 경우에는 해당 노드를 MMDB(75a)에서 삭제한다. 실시간 또는 주기적으로 MMDB(75a) 전체에 대해 불필요한 노드를 삭제할 경우, 주기적인 삭제 작업에 의해 시스템의 부하가 증가하여 타 기능에 영향을 주기 때문에, 각 주기마다 삭제를 위한 검색 개수를 지정하여, 삭제 작업이 전체 MMDB(75a)의 일정 범위 단위로 진행되도록 하여 시스템 부하에 영향을 주지 않도록 하는 것이 바람직하다.In addition, the
도 7은 본 발명에 따른 AAA 서버(70)의 블록도의 다른 예를 나타내는 도면이다. 도 7에 도시된 AAA 서버(70)는 복수의 멤버 시스템을 포함하는 다중화된 구조를 가진다.7 is a diagram illustrating another example of the block diagram of the
AAA 서버(70)와 같은 서버의 경우, 서버의 가용성을 향상시키기 위해 클러스터와 같은 소프트웨어를 이용하여 복수의 멤버 시스템이 다중화된 구조로 구현하는 경우가 많다.In the case of a server such as the
복수의 멤버 시스템으로 구현된 다중화된 AAA 서버(70) 구조에서 클라이언트는 각 멤버 시스템으로 과금 메시지를 전송할 수 있다. 즉, 다중화된 서버 환경에서는 재전송되는 중복 과금 메시지가 초기에 메시지를 수신한 멤버 시스템이 아닌, 다른 멤버 시스템으로 전달될 수 있기 때문에, 클러스터 멤버 시스템 간에도 중복 과금을 처리할 수 있는 절차가 필요하다. 본 실시예에서는 각 멤버 시스템에서 RPC(Remote Procedure Call)를 사용하여, 재전송 필드가 과금 메시지 내에 포함되 어 있을 경우에는 자기 자신의 MMDB 뿐만 아니라 다른 멤버 시스템의 MMDB에서도 해당 과금 정보를 검색한다.In the multiplexed
RPC를 이용함으로써, 클러스터 멤버 시스템 서로 간에 서버와 클라이언트로 동작한다. 서버가 되는 멤버 시스템은 서버 모듈을 구비하고, 클라이언트가 되는 멤버 시스템은 서버 모듈을 호출할 수 있는 클라이언트 모듈을 구비한 다음, 클라이언트 모듈은 과금 중복 검사를 위해 서버 모듈을 호출한다. 즉 RPC를 이용하여 타 멤버 시스템의 중복 검사 루틴을 호출하여, 그 결과에 따라 수신한 과금을 처리한다. By using RPC, cluster member systems act as servers and clients between each other. The member system serving as the server has a server module, and the member system serving as the client has a client module capable of calling the server module, and then the client module calls the server module for checking the billing redundancy. In other words, the RPC is used to call a duplicate check routine of another member system and process the received billing according to the result.
도 7을 참조하면 본 실시예에 따른 AAA 서버(70)는 제1 멤버 시스템(70a) 및 제2 멤버 시스템(70b)을 포함한다. 제1 멤버 시스템(70a) 또는 제2 멤버 시스템(70b)은 각각 도 3에 도시한 바와 같이, 네트워크 연동부, 제어부, 메모리 및 데이터베이스 연동부를 포함한다.Referring to FIG. 7, the
제1 멤버 시스템(70a)과 제2 멤버 시스템(70b)은 이중화된 메모리 채널을 이용하여 클러스터링를 구성한 하드웨어 상에서 구현되어 있고, 클러스터 기능에 의해 과금정보 DB(80)를 각 멤버 시스템이 접근할 수 있다. 또한, AAA 서버(70)는 Active-Active로 동작하는 구조로서 어떠한 멤버 시스템에서 인증 또는 과금 처리 요구를 수신/처리하더라도 결과는 동일하며, 특정 멤버 시스템의 장애 시 다른 멤버 시스템이 서비스를 수행한다. The first member system 70a and the
한편, 도 7에 도시된 실시예에서는 두 개의 멤버 시스템을 구비한 AAA 서버(70)를 예로 들었으나 둘 이상의 멤버 시스템을 구비한 경우도 가능함은 물론 이다. Meanwhile, in the embodiment illustrated in FIG. 7, the
이하, 도 7에 도시된 AAA 서버(70)의 구조에 기초하여 본 발명에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법의 다른 실시예에 대해 설명한다.Hereinafter, another embodiment of a charging message processing method for preventing duplicate charging according to the present invention will be described based on the structure of the
도 8A 및 도 8B는 본 발명의 다른 실시예에 따른 중복 과금 방지를 위한 과금 메시지 처리 방법의 순서도이다. 도 8A는 제1 멤버 시스템(70a)이 클라이언트로부터 과금 메시지를 수신한 경우, 제1 멤버 시스템(70a)에 의해 과금 메시지가 처리되는 과정을 나타내는 도면이고, 도 8B는 제2 멤버 시스템(70b)에 의해 과금 메시지가 처리되는 과정을 나타내는 도면이다.8A and 8B are flowcharts of a charging message processing method for preventing duplicate charging according to another embodiment of the present invention. FIG. 8A is a diagram illustrating a process of processing a charging message by the first member system 70a when the first member system 70a receives a charging message from a client, and FIG. 8B is a
제1 멤버 시스템(70a)이 클라이언트로부터 과금 메시지를 수신하면(제310 단계), 제1 멤버 시스템(70a)은 수신한 과금 메시지에 재전송 필드가 존재하는지 여부를 확인한다(제315 단계). 제315 단계는 본 실시예에서 반드시 필요한 단계는 아니며 선택적으로 채용할 수 있다.When the first member system 70a receives the charging message from the client (step 310), the first member system 70a checks whether a retransmission field exists in the received charging message (step 315). Step 315 is not necessarily required in the present embodiment and may be selectively employed.
제1 멤버 시스템(70a)은 수신한 과금 메시지에 재전송 필드가 존재하지 않으면, 제1 멤버 시스템(70a)의 MMDB에 과금 정보 및 상기 과금 메시지의 식별을 위한 과금 키 값을 추출하여 저장한다(제320 단계). 과금 키 값은 도 6에 도시한 바와 같은 키 값 및 트리 구조를 가지도록 구현될 수 있다. If there is no retransmission field in the received billing message, the first member system 70a extracts and stores the billing information and the billing key value for identification of the billing message in the MMDB of the first member system 70a. Step 320). The charging key value may be implemented to have a key value and a tree structure as shown in FIG. 6.
제320 단계 후, 제1 멤버 시스템(70a)은 클라이언트로 정상 응답 신호를 전송한다(제325 단계).After
만약, 제1 멤버 시스템(70a)은 수신한 과금 메시지에 재전송 필드가 존재하면, 상기 과금 메시지의 식별을 위한 과금 키 값을 추출한 후(제330 단계), 추출된 과금 키 값과 동일한 과금 키 값이 존재하는지 여부를 확인하기 위해 제1 멤버 시스템(70a)의 MMDB를 검색한다(제335 단계).If there is a retransmission field in the received billing message, the first member system 70a extracts the billing key value for identification of the billing message (step 330), and then the billing key value equal to the extracted billing key value. In
제1 멤버 시스템(70a)은 수신한 과금 메시지로부터 추출된 과금 키 값과 동일한 과금 키 값이 존재하는지 여부에 따라, 수신한 과금 메시지가 중복된 과금 메시지인지 여부를 판단하고(제340 단계), 중복된 과금 메시지로 판단되면 수신한 과금 메시지에 포함된 과금 정보를 제1 멤버 시스템(70a)의 MMDB에 저장하지 않고 실패 처리한 후 클라이언트로 비정상 응답 신호를 전송한다(제355 단계). The first member system 70a determines whether the received billing message is a duplicate billing message according to whether a billing key value identical to the billing key value extracted from the received billing message exists (step 340), If it is determined that the charging message is a duplicate, the charging information included in the received charging message is not stored in the MMDB of the first member system 70a and failed, and an abnormal response signal is transmitted to the client (step 355).
그러나 제1 멤버 시스템(70a)의 MMDB를 검색한 결과, 수신한 과금 메시지로부터 추출된 과금 키 값과 동일한 과금 키 값이 존재하지 않으면 제2 멤버 시스템(70b)으로 메시지 중복 검사를 요청한다(제345 단계). 이 때 수신한 과금 메시지로부터 추출된 과금 키 값을 제2 멤버 시스템(70b)으로 전송한다.However, as a result of searching the MMDB of the first member system 70a, if there is no charge key value identical to the charge key value extracted from the received billing message, the
제2 멤버 시스템(70b)은 제1 멤버 시스템(70a)으로부터 메시지 중복 검사 요청과 함께 수신한 과금 메시지로부터 추출된 과금 키 값을 수신하면(제510 단계), 추출된 과금 키 값과 동일한 과금 키 값이 존재하는지 여부를 확인하기 위해 제2 멤버 시스템(70a)의 MMDB를 검색한 후(제530 단계), 그 검색 결과를 제1 멤버 시스템(70a)으로 전송한다.When the
제1 멤버 시스템(70a)은 제2 멤버 시스템(70b)으로부터 수신한 검색 결과가 중복된 과금 메시지를 나타내는 것인지 여부를 판단한 후(제350 단계), 중복된 과금 메시지를 나타내는 것이면 제355 단계를 수행한다. 그러나, 중복된 과금 메시지가 아님을 나타내면 제 320 단계 및 제 325 단계를 수행한다.The first member system 70a determines whether the search result received from the
한편, 도면에 도시하지는 아니하였으나, 각 멤버 시스템(70a, 70b)에 의한 과금 메시지 처리 프로세스가 비정상적으로 종료한 후에 다시 기동하더라도 각 멤버 시스템의 MMDB의 내용을 이전 상태로 유지하기 위해 각 MMDB에 저장된 정보를 과금 정보 데이터베이스(80)에 소정 형식의 파일로 저장/관리한다. 즉, 각 멤버 시스템(70a, 70b)의 MMDB와 과금 정보 데이터베이스(80)에 저장된 파일을 자동적으로 동기화시킨다.On the other hand, although not shown in the figure, even if the billing message processing process by each member system (70a, 70b) is restarted after abnormally terminated, it is stored in each MMDB to maintain the contents of the MMDB of each member system to the previous state The information is stored / managed in the
또한, 각 멤버 시스템(70a, 70b)의 제어부는 일정 시간이 경과한 불필요한 과금 정보를 각 멤버 시스템(70a, 70b)의 MMDB에서 삭제하기 위해, 실시간 또는 주기적으로 각 멤버 시스템(70a, 70b)의 MMDB의 노드를 검사하여 해당 노드의 삽입 시간이 기준 시간을 경과했을 경우에는 해당 노드를 MMDB에서 삭제한다. In addition, the control unit of each member system (70a, 70b) of the member system (70a, 70b) in real time or periodically, in order to delete unnecessary billing information after a certain time has passed from the MMDB of each member system (70a, 70b) Examine the node of MMDB and if the insertion time of the node has passed the reference time, delete the node from the MMDB.
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.
이상에서 설명한 바와 같이, 본 발명에 따르면, 과금 처리 과정에서 발생할 수 있는 중복 과금에 대한 검사를 빌링 시스템이 아닌, 과금 정보의 생성/수집 기능을 수행하는 AAA 서버에서 클라이언트로부터 수신하는 과금 정보에 대한 중복 검 사 기능을 구현함으로써, 생성된 과금 정보의 신뢰성을 증가시킬 수 있고, 빌링 시스템의 부하 경감과 프로세스 단순화 등을 달성할 수 있다.As described above, according to the present invention, the billing information received from the client in the AAA server that performs the generation / collection function of the billing information, not the billing system to check for duplicate billing that may occur in the billing process By implementing the redundancy check function, the reliability of the generated billing information can be increased, and the load reduction of the billing system and the process simplification can be achieved.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040004410A KR100583177B1 (en) | 2004-01-20 | 2004-01-20 | Method of processing charging message to prevent double charging, and server therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040004410A KR100583177B1 (en) | 2004-01-20 | 2004-01-20 | Method of processing charging message to prevent double charging, and server therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050076431A KR20050076431A (en) | 2005-07-26 |
KR100583177B1 true KR100583177B1 (en) | 2006-05-24 |
Family
ID=37264342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040004410A KR100583177B1 (en) | 2004-01-20 | 2004-01-20 | Method of processing charging message to prevent double charging, and server therefor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100583177B1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060028463A (en) * | 2006-03-09 | 2006-03-29 | 정성욱 | Click tracking and management system for online advertisement service |
KR100836743B1 (en) * | 2006-11-29 | 2008-06-10 | 서울통신기술 주식회사 | Etcs system and method for prohibit collection fail due to protection of re-collection toll |
KR100852420B1 (en) * | 2006-12-15 | 2008-08-18 | 주식회사 케이티프리텔 | Device of duplicated call check for preventing double charging in mobile communication network and method thereof |
KR100877081B1 (en) * | 2007-06-14 | 2009-01-07 | 주식회사 케이티프리텔 | Billing method and system for improving performance of processing duplicated call |
KR102505334B1 (en) * | 2016-10-26 | 2023-02-28 | 에스케이텔레콤 주식회사 | Method and Apparatus for Verifying Charging Data Record in IoT Service |
-
2004
- 2004-01-20 KR KR1020040004410A patent/KR100583177B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050076431A (en) | 2005-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4465639B2 (en) | Proxy server, communication system, communication method, and program | |
US7031654B2 (en) | Repeater, mobile radio communication system, fault notification method for said repeater or said mobile radio communication system, and recording medium having, recorded thereon, fault notification program for said repeater or said mobile radio communication system | |
US20040235523A1 (en) | System for replicating data of a mobile station | |
US8117274B2 (en) | Safe output protocol for files to multiple destinations with integrity check | |
CN1647451B (en) | Apparatus, method and system for monitoring of information in a network environment | |
JP4205323B2 (en) | Distribution system, distribution server and distribution method, distribution program | |
CN108055157B (en) | Service node acquisition method and device | |
JP2003143250A (en) | Substitute response method | |
JP3930258B2 (en) | Internet roaming method | |
CN102612164B (en) | A kind of restart for network element after discharge the methods, devices and systems of resource | |
KR100655568B1 (en) | Apparatus and method of a wireless internet services | |
KR100583177B1 (en) | Method of processing charging message to prevent double charging, and server therefor | |
CN110045969A (en) | Application program installation method, server, system, equipment and storage medium | |
KR100194771B1 (en) | Subscription management device for personal communication service (PCS) and its method | |
CN113612811B (en) | Method, system, equipment and medium for client mounting in multiple channels | |
KR980013481A (en) | Personal communication service subscriber information processing device and method thereof | |
CN110635927B (en) | Node switching method, network node and network system | |
CN102624753B (en) | Distributed file transmission method and equipment for enterprise service bus | |
JP2000231524A (en) | Network computing system, communication control method in the system and storage medium with the method storied therein | |
KR100844361B1 (en) | Gateway system for data synchronization | |
KR100496263B1 (en) | A billing method for data service of mobile telecommunication network, and the system therefor | |
KR100681128B1 (en) | Method and system for providing contents in wireless internet | |
CN117093406B (en) | Log center maintenance method and system | |
CN111787497B (en) | Method for storing original charging call ticket by using database cluster | |
KR20060006148A (en) | Method and system for handling wcdma packet cdr |
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: 20110408 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |