KR100655187B1 - System and method for analyzing the amount of data transmitted - Google Patents

System and method for analyzing the amount of data transmitted Download PDF

Info

Publication number
KR100655187B1
KR100655187B1 KR1020050100328A KR20050100328A KR100655187B1 KR 100655187 B1 KR100655187 B1 KR 100655187B1 KR 1020050100328 A KR1020050100328 A KR 1020050100328A KR 20050100328 A KR20050100328 A KR 20050100328A KR 100655187 B1 KR100655187 B1 KR 100655187B1
Authority
KR
South Korea
Prior art keywords
data
transmitted
transmission
transaction
tcp
Prior art date
Application number
KR1020050100328A
Other languages
Korean (ko)
Other versions
KR20060049313A (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 주식회사 유프레스토
Publication of KR20060049313A publication Critical patent/KR20060049313A/en
Application granted granted Critical
Publication of KR100655187B1 publication Critical patent/KR100655187B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

가입자 및 서비스 서버간 데이터 전송량을 정확하고 신뢰성 있게 산출 및 분석하기 위하여, 가입자 및 서비스 서버 간에 전송되는 데이터를 각각 별도로 복사하여 출력하며, 상기 복사되어 출력되는 데이터 대하여, 소스 (source) 식별 정보와 목적지 (destination) 식별 정보의 어느 하나만을 가지고 산출 대상 데이터인지 판별하며, 당해 데이터를 통신 프로토콜별로 분류하며, 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별하며, 시간적 비교 또는 식별 정보를 이용하여, 전송 완료된 데이터에 대하여 트랙젝션까지 완료된 데이터인지를 판별하는 데이터 전송량 분석 시스템 및 그 방법을 개시한다.In order to accurately and reliably calculate and analyze the amount of data transmission between the subscriber and the service server, the data transmitted between the subscriber and the service server are copied and output separately, and the source identification information and the destination are respectively copied and output. (destination) Determining whether the data to be calculated with only one of the identification information, classifying the data by communication protocol, and if the data is a TCP / IP protocol, the Acknowledgment Number of the TCP header of the data to be calculated corresponds. To determine whether the data has been transmitted until only the data that is equal to or greater than the sum of the sequence number and the data amount of the TCP body is transmitted, and whether the data has been completed until the transaction is completed using the temporal comparison or identification information. Data transmission analysis system and methods The.

패킷, 데이터, 전송량, 과금, 휴대폰, 이동 통신 Data, Mobile Phone, Packet, Mobile Phone, Mobile Communication

Description

데이터 전송량 분석 시스템 및 데이터 전송량 분석 방법 {System and method for analyzing the amount of data transmitted}System and method for analyzing the amount of data transmitted}

도 1은 본 발명의 바람직한 실시예에 의한 데이터 전송량 분석 시스템 (100)이 이용되는 예를 개념적으로 도시한 블록도.1 is a block diagram conceptually illustrating an example in which a data transfer analysis system 100 according to a preferred embodiment of the present invention is used.

도 2는 본 발명의 일실시예에 따른 과금 데이터 망에서 전송 확인된 사용자 데이터 패킷의 산출 및 과금을 수행하는 과정을 도시한 도면.2 is a diagram illustrating a process of calculating and charging a user data packet confirmed to be transmitted in a charging data network according to an embodiment of the present invention.

도 3은 본 발명의 바람직한 실시예에 의한 과금 세분화 분석 장치 (120)의 내부 구성을 도시한 블록도.Figure 3 is a block diagram showing the internal configuration of the billing segmentation analysis device 120 according to a preferred embodiment of the present invention.

도 4은 본 발명의 바람직한 실시예에 의한 패킷 복사 장치 (110)의 패킷 복사 및 추출 과정을 도시한 도면.4 is a diagram illustrating a packet copying and extracting process of the packet copying apparatus 110 according to the preferred embodiment of the present invention.

도 5는 추출된 데이터 패킷의 소스 및 목적지를 식별하는 과정을 개념적으로 도시한 흐름도.5 is a flowchart conceptually illustrating a process of identifying a source and a destination of an extracted data packet.

도 6는 식별된 데이터 패킷을 프로토콜 별로 분류하는 과정을 개념적으로 도시한 흐름도.6 is a flowchart conceptually illustrating a process of classifying identified data packets by protocols;

도 7는 분류된 TCP (Transmission Control Protocol) 데이터를 재구성하는 구조를 개념적으로 도시한 흐름도.7 is a flow diagram conceptually illustrating a structure for reconstructing classified Transmission Control Protocol (TCP) data.

도 8은 도 6의 TCP 데이터를 재구성한 패킷으로 HTTP서비스처리 구조를 개 념적으로 도시한 흐름도.8 is a flowchart conceptually showing an HTTP service processing structure as a packet reconstructed the TCP data of FIG.

도 9은 도 6 혹은 도 7의 분석된 패킷으로 SSL서비스처리 구조를 개념적으로 도시한 흐름도.9 is a flowchart conceptually illustrating an SSL service processing structure with the analyzed packet of FIG. 6 or FIG.

도 10는 도 5와 도 6의 분석된 패킷으로 VOD서비스처리 구조를 개념적으로 도시한 흐름도.10 is a flowchart conceptually illustrating a VOD service processing structure with the analyzed packets of FIGS. 5 and 6;

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

100 데이터 전송량 분석 시스템 110 패킷 복사 장치100 Data Transmission Analysis System 110 Packet Copy Device

120 과금 세분화 정보 분석 장치 130 과금 세분화 정보 처리 장치120 billing segmentation information analysis device 130 billing segmentation information processing device

140 과금 처리 시스템 150 서비스 게이트 웨이 서버140 billing processing system 150 service gateway server

160 콘텐츠 제공자 170 인터넷160 content providers 170 internet

10 패킷 교환기 102 대상 판별부10 Packet Switcher 102 Target Determination Unit

104 데이터 분류부 106 전송 완료 판별부104 Data classification unit 106 Transmission completion determination unit

108 데이터 첵섬부 110 트랜젝션 완료 판별부108 Data Checksum 110 Transaction Completed Determination Unit

본 발명은 데이터 전송량 분석 시스템 및 그 방법에 관한 것이다. 특히, 본 발명은 데이터 통신망에서 데이터의 전송이 완료되었는지 및 그 트랜젝션이 완료되었는지 여부를 분석할 수 있는 데이터 전송량 분석 시스템 및 그 방법에 관한 것이다.The present invention relates to a data throughput analysis system and method thereof. In particular, the present invention relates to a data throughput analysis system and method for analyzing whether data transmission is completed and a transaction is completed in a data communication network.

현재 데이터 서비스가 활성화됨에 따라서 패킷 교환기의 네트워크에서 흐르는 데이터를 Router혹은 Dummy Hub에서 복사하여 사용자별 서비스/콘텐츠별 패킷 사용량 및 사용시간을 기록하여 CDR (Call Detail Record) 데이터를 생성하여 전송하는 과금시스템이 도입되고 있다. 이러한 시스템에서 제공하는 패킷 사용량은 네트워크에서 흐른 데이터 사용량을 계산하는 방식으로 계산된다.Charging system that generates and transmits CDR (Call Detail Record) data by recording packet usage and usage time by service / content by user by copying data flowing from network of packet exchanger in router or dummy hub as the current data service is activated. This is being introduced. Packet usage provided by such a system is calculated by calculating the data usage flowing in the network.

종래의 데이터 전송량 산출 방식 및 과금 방식에는 다음과 같은 문제점이 있다. Conventional data transfer calculation methods and charging methods have the following problems.

첫째, 패킷 수집의 측면에서, 종래의 방식인 Router에서 Port Mirror 또는 Dummy Hub에서 데이터를 수집하는 방식은 그 전송 용량에 있어서 문제점을 가진다.First, in terms of packet collection, a method of collecting data in a port mirror or a dummy hub in a conventional router has a problem in its transmission capacity.

즉, Router에서의 Port Mirror 방식으로 데이터 수집하는 경우, Fast Ethernet의 Full Duplex Mode에서 최대 사용할 수 있는 초당 양방향 100Mbits의 데이터(TX/RX 총 200Mbps)를 1개의 Ethernet Line으로 전송받기 때문에 초당 최대 100Mbits의 데이터(RX 100Mbps)를 전송받을 수 있으며, 나머지 100Mbits는 내부적인 Buffering을 통해 수 초간은 처리가능 하나, 그 이상이 되면, 데이터를 전송받을 수 없다.That is, in case of collecting data through the port mirror method in the router, the maximum 100Mbits of bi-directional 100Mbits per second (TX / RX total 200Mbps) that can be used in Full Duplex Mode of Fast Ethernet is transmitted to one Ethernet line. Data (RX 100Mbps) can be transmitted, and the remaining 100Mbits can be processed for a few seconds through internal buffering, but when more than that, data cannot be received.

한편, Dummy Hub의 경우, 하나의 입력된 Ethernet Frame을 Dummy Hub에 접속되어 있는 모든 Ethernet Line에 전송하는 Broadcasting방식이기 때문에, Router에서의 Port Mirror 방식 보다 더 많은 데이터를 손실이 생길 수 있다.On the other hand, in the case of Dummy Hub, since a single input Ethernet frame is transmitted to all Ethernet Lines connected to the Dummy Hub, more data may be lost than the Port Mirror method in a router.

둘째, 과금의 신뢰성의 측면에서, 종래 CDMA1100 1X 및 EV-DO에서 사용되는 과금 방식에서 데이터 패킷 전송량을 계산함에 있어서는, 해당 패킷이 목적지에 전 송 완료된 것이 확인된 데이터가 아니라, 단순히 네트워크에서 흐른 데이터 패킷 전송량을 계산하여 가입자의 데이터를 추출하여 패킷 전송량을 계산하고 있다. 따라서, 실제로 전송 완료되지 않은 데이터를 전송된 데이터인 것으로 잘못 계산할 수 있으며, 이는 부당한 과금으로 이어질 수 있는 문제점이 있다.Second, in terms of billing reliability, in calculating the data packet transmission amount in the billing method used in the conventional CDMA1100 1X and EV-DO, it is not simply data confirmed that the packet has been transmitted to the destination, but simply data flowed from the network. The packet transmission amount is calculated and the subscriber data is extracted to calculate the packet transmission amount. Therefore, data that is not actually transmitted can be wrongly calculated as being transmitted data, which may lead to unfair charging.

셋째, 데이터를 최종 처리에 있어서, 종래에는 해당되는 양방향 혹은 단방향 FIN Flag를 받은 시점에서 데이터를 최종 처리하고, 양방향에서 전송되는 FIN Flag에 대한 ACK 메시지를 정상적으로 처리하고 있지 않기 때문에, 해당 데이터가 유/무선 네트워크상에 가입자 단말기 혹은 서비스 제공자 (Contents Provider)로 최종 전송하지 못한 데이터량이 과금에 포함됨으로써 가입자에게 부당하게 과금이 부가되는 문제점이 있다.Third, in the final processing of the data, conventionally, the data is finally processed at the time when the corresponding bidirectional or unidirectional FIN Flag is received and the ACK message for the FIN Flag transmitted in both directions is not normally processed. There is a problem that the billing is unfairly added to the subscriber because the billing amount of data that was not finally transmitted to the subscriber station or the contents provider on the wireless network is included in the billing.

넷째, 패킷 단위의 전송 완료된 데이터 대하여 과금을 행하더라도, 트랜잭션의 차원에서 하나의 단위 트랜젝션에서의 모든 데이터가 전송 완료되었는지를 확인하지 않는다면, 단위 트랜젝션이 완료하지 않고 도중에 전송 실패한 경우, 그 이전의 전송 완료되었던 일부 데이터만큼은 부당하게 과금이 행해질 수 있는 문제점이 있으며, 종래에는 상기 트랜젝션 차원에서 데이터의 전송이 완료되었는지를 확인하는 처리가 전혀 없었다.Fourth, even if charging is performed on the transmitted data in packet units, if it is not confirmed that all data in one unit transaction is completed in the transaction dimension, if the unit transaction does not complete and the transmission fails in the middle, the previous transmission is performed. There is a problem that charging can be performed unjustly for some data that has been completed, and conventionally, there is no processing for confirming whether data transmission is completed at the transaction level.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은 전송 완료된 데이터의 전송량을 보다 정확하고, 신뢰성 있게 산출 및 분석할 수 있는 데이터 전송량 분석 시스템 및 그 방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a data transmission amount analysis system and method capable of more accurately and reliably calculating and analyzing the amount of data transmitted.

상기 목적을 달성하기 위하여 본 발명은, 데이터 통신망에 연결된 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터의 전송량을 산출하고 이를 분석하는 데이터 전송량 분석 시스템에 있어서, 상기 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터를 복사하여 출력하는 데이터 복사부; 상기 데이터 복사부가 출력하는 데이터에 대하여 상기 제1 또는 제2 데이터 송수신 장치 방향의 전송 데이터로서 그 전송량을 산출 및/또는 분석하는 산출 분석부; 및 상기 산출 분석부에, 산출 및/또는 분석의 대상이 되는 제1 및/또는 제2 데이터 송수신 장치의 식별 정보를 포함하는 정보로서 전송량 산출 및/또는 분석의 개시 또는 종료를 지시하는 정보를 전송하며, 상기 산출 분석부가 산출 및/또는 분석한 상기 제1 및 제2 데이터 송수신 장치 간에 전송된 데이터의 전송량에 관한 정보를 소정의 외부 장치에 제공하는 정보 처리부를 포함하되, 상기 산출 분석부는, 상기 데이터 복사부로부터 출력되는 데이터 중에서, 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 (source) 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 (destination) 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하고, 한편, 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 식별 정보와 상기 제1 데이터 송수신 장치 의 식별 정보만을 비교하여 당해 데이터가 산출 및 분석의 대상인지를 판별하는 대상 판별부; 상기 데이터 복사부가 출력한 데이터를 당해 데이터의 통신 프로토콜별로 분류하는 데이터 분류부; 및 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별하는 전송 완료 판별부를 포함하는 데이터 전송량 분석 시스템을 제공한다.In order to achieve the above object, the present invention, in the data transmission amount analysis system for calculating and analyzing the amount of data transmitted between the first and second data transceiver connected to the data communication network, the first and second data transmission and reception apparatus A data copying unit for copying and outputting data transmitted between them; A calculation analysis unit for calculating and / or analyzing a transmission amount of the data output by the data copy unit as transmission data in the direction of the first or second data transmission / reception apparatus; And information indicating the start or end of the transmission amount calculation and / or analysis as information including identification information of the first and / or second data transmission / reception apparatus to be calculated and / or analyzed. And an information processor configured to provide a predetermined external device with information about a transmission amount of data transmitted between the first and second data transceivers calculated and / or analyzed by the calculation analyzer, wherein the calculation analyzer comprises: Among the data output from the data copying unit, for data transmitted from the first data transceiver to the second data transceiver, source identification information included in the data and identification information of the first data transceiver Compare only or transmit and receive destination identification information included in the data and the second data Value identification information, and on the other hand, with respect to data transmitted from the second data transmission / reception apparatus to the first data transmission / reception apparatus, only source identification information included in the data is compared with identification information of the second data transmission / reception apparatus, or An object discriminating unit which compares only destination identification information included in the data with identification information of the first data transmitting / receiving device to determine whether the data is subject to calculation and analysis; A data classifying unit classifying the data output by the data copying unit for each communication protocol of the data; And when the data is a TCP / IP protocol, only the data that is equal to or larger than the sum of the corresponding Sequence Number and the amount of data of the TCP body is determined as data that has been transmitted by acknowledgment number of the TCP header of the data to be calculated. It provides a data transmission amount analysis system including a transmission completion determination unit.

본 발명의 다른 국면에 의하면, 본 발명은 데이터 통신망에 연결된 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터의 전송량을 산출하고 이를 분석하는 데이터 전송량 분석 방법에 있어서, (1) 산출 및/또는 분석의 대상이 되는 제1 및/또는 제2 데이터 송수신 장치의 식별 정보를 포함하는 정보로서 전송량 산출 및/또는 분석의 개시를 나타내는 정보를 수신하는 단계; (2) 상기 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터를 복사하여 출력하는 단계; (3) 상기 데이터 복사부가 출력하는 데이터에 대하여 상기 제1 또는 제2 데이터 송수신 장치 방향의 전송 데이터로서 그 전송량을 산출 및/또는 분석하는 단계; 및 (4) 상기 단계 (3)에서 산출 및/또는 분석된 전송량에 관한 정보를 외부의 장치에 전송하는 단계를 포함하되, 상기 단계 (3)은, (5) 상기 단계 (2)에서 출력되는 데이터 중에서, 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 (source) 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 (destination) 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하고, 한편, 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하여 당해 데이터가 산출 및 분석의 대상인지를 판별하는 단계; (6) 상기 단계 (2)에서 출력된 데이터를 당해 데이터의 통신 프로토콜별로 분류하는 단계; 및 (7) 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별하는 단계를 포함하는 데이터 전송량 분석 방법을 제공한다. According to another aspect of the present invention, the present invention provides a data transmission amount analysis method for calculating and analyzing the amount of data transmitted between the first and second data transceiver connected to the data communication network, (1) calculation and / or analysis Receiving information indicating the start of the transmission amount calculation and / or analysis as information including identification information of the first and / or second data transmission / reception apparatus to be subjected to; (2) copying and outputting data transmitted between the first and second data transceiving devices; (3) calculating and / or analyzing a transmission amount of the data output by the data copying unit as transmission data in a direction of the first or second data transmission / reception apparatus; And (4) transmitting information on the amount of transmission calculated and / or analyzed in step (3) to an external device, wherein step (3) comprises (5) outputting in step (2). Among the data, for data transmitted from the first data transceiver to the second data transceiver, only source identification information included in the data and identification information of the first data transceiver are compared or not. Compared with the destination identification information included and the identification information of the second data transceiver, the data transmitted from the second data transceiver to the first data transceiver is included in the data. Compares only source identification information with identification information of the second data transmission / reception apparatus, or includes a destination included in the data Determining whether the data is the target of calculating the art and analyzed by comparing only the identification information of the specific information from the first data transmitting and receiving apparatus; (6) classifying the data output in step (2) for each communication protocol of the data; And (7) When the data is a TCP / IP protocol, only transmission of data for which the Acknowledgment Number of the TCP header of the data to be calculated is equal to or greater than the sum of the corresponding Sequence Number and the data amount of the TCP body is completed. It provides a data transmission analysis method comprising the step of determining the data.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 관하여 상세히 설명한다. 도 1은 본 발명의 바람직한 실시예에 의한 데이터 전송량 분석 시스템(100)이 이용되는 예를 개념적으로 도시한 블록도이다. 도 1에 도시된 바와 같이, 본 실시예에 의한 데이터 전송량 분석 시스템 (이하, 간략히 "시스템"이라고도 한다.) 100은 패킷 복사 장치(110), 과금 세분화 정보 분석 장치(120) 및 과금 세분화 정보 처리 장치(130)를 포함한다. 상기 패킷 복사 장치(110), 과금 세분화 정보 분석 장치(120) 및 과금 세분화 정보 처리 장치(130)는 각각 본 발명의 데이터 복사부, 산출 분석부 및 정보 처리부의 일례이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. 1 is a block diagram conceptually illustrating an example in which the data transfer amount analysis system 100 according to a preferred embodiment of the present invention is used. As shown in Fig. 1, the data transfer amount analysis system (hereinafter, also simply referred to as "system") 100 according to the present embodiment is a packet copying apparatus 110, a billing segmentation information analyzing apparatus 120, and a billing segmentation information processing. Device 130. The packet copying apparatus 110, the billing segmentation information analyzing apparatus 120, and the billing segmentation information processing apparatus 130 are examples of the data copying unit, the calculation analyzing unit, and the information processing unit of the present invention, respectively.

패킷 교환기(10)는 동기식 패킷 교환기인 PDSN(Packet Data Support Node)과 비동기식 패킷 교환기인 SGSN(Serving GPRS Support Node), GGSN(Gateway GPRS Support Node) 등이 있다. 패킷 교환기(10)는 이동 통신 가입자에게 패킷 데이터 서비스를 제공하는 시스템인 DCN (Data Core Network)의 핵심 구성요소로 무선망 접속부에 해당하는 RAN(Radio Access Network)과 DCN(Data Core Network)간 상호연동을 통해 무선신호를 IP 네트워크에 연결하는 장비이다. 한편, 패킷 교환기(10)는 본 발명의 제1 또는 제2 데이터 송수신 장치의 일례이다.The packet switch 10 includes a PDSN (Packet Data Support Node), which is a synchronous packet switch, a Serving GPRS Support Node (SGSN), a Gateway GPRS Support Node (GGSN), and the like, which are an asynchronous packet switch. The packet switch 10 is a core component of a data core network (DCN), which is a system for providing packet data service to a mobile subscriber, and is a reciprocal between a radio access network (RAN) corresponding to a wireless network connection and a data core network (DCN). It is a device that connects wireless signal to IP network through interworking. On the other hand, the packet switch 10 is an example of the first or second data transmission and reception apparatus of the present invention.

패킷 교환기(10)는 시그널링 경로(11)를 통해 과금 세분화 정보 처리 장치(130)에 연결되고, 데이터 경로(12)를 통해 패킷 복사 장치(110)을 거쳐 데이터 경로(103)를 경유하여 서비스 게이트웨이 서버(150) 및 인터넷(170)과 연결되어, 가입자 단말기(도시 안됨)와 콘텐츠 제공자(160) 및 인터넷(170)간의 데이터 패킷 송수신을 할 수 있도록 한다. 한편, 상기 가입자 단말기는 본 발명의 제1 또는 제2 데이터 송수신 장치의 일례이며, 콘텐츠 제공자(160)는 본 발명의 제2 또는 제1 데이터 송수신 장치의 일례이다.The packet switch 10 is connected to the billing segmentation information processing device 130 via the signaling path 11, and via the data path 103 via the packet copy device 110 via the data path 12 to the service gateway. It is connected to the server 150 and the Internet 170 to enable the transmission and reception of data packets between the subscriber terminal (not shown), the content provider 160 and the Internet 170. Meanwhile, the subscriber terminal is an example of the first or second data transmission / reception apparatus of the present invention, and the content provider 160 is an example of the second or first data transmission / reception apparatus of the present invention.

패킷 복사 장치(110)는 서비스 서버 방향 데이터 복사 경로(14)와 패킷 교환기 방향 데이터 복사 경로(15)를 통해 과금 세분화 정보 분석 장치(120)에 연결되어 있어 데이터 패킷을 과금 세분화 정보 분석 장치(120)로도 전송한다.The packet copying apparatus 110 is connected to the billing segmentation information analyzing apparatus 120 through the service server directional data copying path 14 and the packet switcher directional data copying path 15 to convert the data packet into the billing segmentation information analyzing apparatus 120. Also send).

과금 세분화 정보 처리 장치(130)는 패킷 교환기(10) 및 과금 처리 시스템(140)과 연결되며, 패킷 교환기(10)로부터 가입자 번호 및 패킷 교환기(10)가 할당한 사용자 IP 주소 등을 포함하는 과금 개시 메시지를 전송 받아 당해 메시 지를 과금 세분화 정보 분석 장치(120)에 전송한다. The billing segmentation information processing device 130 is connected to the packet switch 10 and the billing processing system 140, and includes a billing number including a subscriber number and a user IP address assigned by the packet switch 10 from the packet switch 10. Receives the start message and transmits the message to the billing segmentation information analysis device 120.

과금 세분화 정보 분석 장치(120)는 전송된 데이터를 분석하여 RDR(Row Data Record)를 생성하며, 생성된 RDR을 과금 세분화 정보 처리 장치(130)전송한다. 과금 세분화 정보 처리 장치(130)는 전송 받은 해당 RDR을 과금 처리 시스템(140)으로 전송한다. 또한, 과금 세분화 정보 처리 장치(130)는, 패킷 교환기(10)가 해당 호 설정이 종료된 경우 과금 중지 메시지를 과금 세분화 정보 처리 장치(130)에 전송하게 되면 해당 메시지를 과금 세분화 정보 분석 장치(120)로 전송한다. 이 메시지에 의해 분석되어야 할 자료가 남아 있는 경우 최종 RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하며, 과금 세분화 정보 처리 장치(130)는 최종 과금 처리절차를 수행하도록 한다. The billing segmentation information analyzing apparatus 120 analyzes the transmitted data to generate a low data record (RDR), and transmits the generated RDR to the billing segmentation information processing apparatus 130. The billing segmentation information processing device 130 transmits the received RDR to the billing processing system 140. In addition, the billing segmentation information processing device 130 transmits the billing stop message to the billing segmentation information processing device 130 when the packet switch 10 completes the call setup. 120). If data to be analyzed by this message remains, a final low data record (RDR) is generated and transmitted to the billing segmentation information processing unit 130, and the billing segmentation information processing unit 130 is configured to perform a final billing processing procedure. do.

과금 세분화 정보 분석 장치(120)는 데이터 패킷 필터링 및 패킷 재구성을 수행하여, 가입자 단말기가 사용한 데이터로서 실제로 가입자 단말기에 전송 확인된 데이터를 서비스별로 Transaction에 대한 정보 및 전송량을 추출하여 이를 과금 세분화 정보 처리 장치(130)로 전송한다. 과금 세분화 정보 분석 장치(120)의 상세에 대하여는 후술한다.The billing segmentation information analyzing apparatus 120 performs data packet filtering and packet reconstruction, extracts the information and the amount of transmission for each service from the data actually confirmed to the subscriber station as data used by the subscriber station, and processes the billing segmentation information. Transmit to device 130. Details of the billing segmentation information analysis device 120 will be described later.

과금 세분화 정보 처리 장치(130)는 패킷 교환기(10)으로부터 전송 받은 과금 개시 또는 종료 메시지를 해당 과금 세분화 정보 분석 장치(120)에 전송하고, 과금 세분화 정보 분석 장치(120)에서 전송되는 RDR(Row Data Record)을 해당 과금 처리 시스템(140)에 전송 한다. 또한, 과금 세분화 정보 처리 장치(130)는 내부적으로 사용자 세션 및 정보를 관리하여도 좋다.The billing segmentation information processing apparatus 130 transmits the billing start or end message received from the packet exchanger 10 to the billing segmentation information analyzing apparatus 120 and transmits the RDR (RDR) transmitted from the billing segmentation information analyzing apparatus 120. Data Record) is transmitted to the billing processing system 140. In addition, the billing segmentation information processing apparatus 130 may manage user sessions and information internally.

도 2는 본 발명의 일실시예에 따른 과금 데이터 망에서 전송 확인된 사용자 데이터 패킷의 산출 및 과금을 수행하는 과정을 도시한 도면이다. 패킷 교환기(10)가 과금 세분화 정보 처리 장치(130)로 과금 개시 메시지(S100)를 전송한다. 상술한 바와 같이, 과금 개시 메시지에는 가입자 번호 및 패킷 교환기(10)가 할당한 IP 주소 등의 정보가 포함되어 있다. 과금 세분화 정보 처리 장치(130)는 수신한 과금 개시 메시지를 과금 세분화 정보 분석 장치(120)로 전송하여(S110), 가입자의 데이터 수집 및 분석을 시작하라고 지시한다. 또한, 과금 세분화 정보 분석 장치(120)에서 정상적으로 데이터 수집 및 분석이 시작되었으면, 해당 과금 개시 메시지를 과금 처리 시스템(140)에게 전송한다(S111).2 is a diagram illustrating a process of calculating and charging a user data packet confirmed to be transmitted in a charging data network according to an embodiment of the present invention. The packet switch 10 transmits the charging start message S100 to the charging segmentation information processing apparatus 130. As described above, the charging start message includes information such as the subscriber number and the IP address assigned by the packet switch 10. The billing segmentation information processing apparatus 130 transmits the received billing initiation message to the billing segmentation information analyzing apparatus 120 (S110) and instructs the subscriber to start collecting and analyzing data. In addition, when data collection and analysis has normally started in the billing segmentation information analyzing apparatus 120, the billing start message is transmitted to the billing processing system 140 (S111).

과금 세분화 정보 분석 장치(120)는, 패킷 복사 장치(110)에서 복사되어 전송된 패킷 중에서, 서비스 서버 방향으로 복사된 패킷의 IP Header의 소스 IP(Source IP)가 사용자에게 할당된 IP와 일치하거나, 혹은 패킷 교환기 방향으로 복사된 패킷의 IP Header의 목적지 IP(Destination IP)가 사용자에게 할당된 IP와 일치하는 경우, 패킷을 재구성한다.The billing segmentation information analyzing apparatus 120, among the packets copied and transmitted by the packet copying apparatus 110, the source IP (Source IP) of the IP header of the packet copied to the service server direction matches the IP assigned to the user or Or, if the destination IP (Destination IP) of the IP header of the packet copied to the packet exchanger matches the IP assigned to the user, the packet is reconfigured.

나아가, 과금 세분화 정보 분석 장치(120)는 전송 확인된 패킷에 대하여 TCP(Transmission Control Protocol)서비스, HTTP서비스, SSL서비스, VOD서비스 등 다양한 프로토콜에 대응하는 Transaction을 분석하여 RDR(Row Data Record)을 생성하고, 생성된 RDR(Row Data Record)을 과금 세분화 정보 처리 장치(130)에 전송한다(S120). 한편, 소스 IP 및 목적지 IP는 본 발명의 제1 또는 제2 데이터 송수신 장치의 소스 식별 정보 및 목적지 식별 정보의 일례이다.In addition, the billing segmentation information analysis device 120 analyzes a transaction corresponding to various protocols such as a Transmission Control Protocol (TCP) service, an HTTP service, an SSL service, and a VOD service on a transmission confirmed packet to perform a RDR (Row Data Record). In operation S120, the generated low data record (RDR) is transmitted to the billing segmentation information processing apparatus 130. On the other hand, the source IP and the destination IP is an example of source identification information and destination identification information of the first or second data transmission and reception apparatus of the present invention.

과금 세분화 정보 처리 장치(130)는 과금 세분화 정보 분석 장치(120)로부터 RDR 메시지를 전송 받으면 해당 사용자 세션 정보를 변경한 후, 과금 처리 시스템(140)에 당해 RDR 메시지를 전송한다(S132). When the billing segmentation information processing device 130 receives the RDR message from the billing segmentation information analysis device 120, the corresponding user session information is changed, and then the billing system 140 transmits the RDR message to the billing processing system 140 (S132).

또한, 과금 세분화 정보 분석 장치(120)는, RDR이 생기는 즉시, RDR 메시지의 내부의 Sequence Number를 증가하여, 과금 세분화 정보 처리 장치(130)에 전송하고(S121), 과금 세분화 정보 처리 장치(130)는 해당 RDR 메시지를 과금 처리 시스템(140)에 전송하게 된다(S133).In addition, as soon as the RDR is generated, the billing segmentation information analyzing apparatus 120 increments the sequence number inside the RDR message and transmits it to the billing segmentation information processing apparatus 130 (S121). ) Transmits the corresponding RDR message to the charging processing system 140 (S133).

한편, 패킷 교환기(10)에서 과금 세분화 정보 처리 장치(130)로 과금 중지 메시지를 전송하면(S101), 과금 세분화 정보 처리 장치(130)는 수신한 과금 중지 요청메시지를 과금 세분화 정보 분석 장치(120)로 전송한다(S134). 최종적으로, 과금 세분화 정보 분석 장치(120)는 과금 중지 요청메시지를 수신하여, 기존에 분석중인 Transaction이 존재하면, 해당 RDR 메시지를 과금 세분화 정보 처리 장치(130)에 전송하고(S122), 과금 중지 응답메시지를 과금 세분화 정보 처리 장치(130)로 전송한다(S123). 그렇지 않고 분석중인 Transaction이 존재하지 않는 경우, 과금 중지 응답 메시지만을 과금 세분화 정보 처리 장치(130)에 전송한다(S123). On the other hand, if the packet exchanger 10 transmits the charging stop message to the charging segmentation information processing apparatus 130 (S101), the charging segmentation information processing apparatus 130 receives the charging stop request message from the charging segmentation information analysis apparatus 120. (S134). Finally, the billing segmentation information analysis device 120 receives a billing stop request message, and if a transaction under analysis exists, transmits the corresponding RDR message to the billing segmentation information processing device 130 (S122). The response message is transmitted to the billing segmentation information processing device 130 (S123). Otherwise, if the transaction under analysis does not exist, only the charging stop response message is transmitted to the charging segmentation information processing apparatus 130 (S123).

과금 세분화 정보 처리 장치(130)는 과금 중지 응답 메시지가 전송되기 전에 RDR 메시지가 전송되면, 해당 RDR 메시지를 과금 처리 시스템(140)에 전송하고(S135), 과금 중지 응답메시지가 과금 세분화 정보 분석 장치(120)에서 전 송되면, 해당 사용자세션 정보를 최종적으로 처리하고 이를 과금 처리 시스템(140)에 전송하여(S136) 최종적으로 실제 과금 처리를 수행하도록 한다.If the RDR message is transmitted before the billing breakdown response message is transmitted, the billing segmentation information processing device 130 transmits the corresponding RDR message to the billing processing system 140 (S135), and the billing breakdown response message is the billing segmentation information analyzing device. When transmitted at 120, the user session information is finally processed and transmitted to the billing processing system 140 (S136) to finally perform the actual billing processing.

도 3은 본 발명의 바람직한 실시예에 의한 과금 세분화 분석 장치(120)의 내부 구성을 도시한 블록도이다. 본 실시예에 의한 과금 세분화 분석 장치(120)은 대상 판별부(102), 데이터 분류부(104), 전송 완료 판별부(106), 데이터 첵섬부(108) 및 트랜젝션 완료 판별부 (110)을 포함한다.3 is a block diagram showing the internal configuration of the billing segmentation analysis device 120 according to a preferred embodiment of the present invention. The billing segmentation analyzing apparatus 120 according to the present embodiment includes a target determining unit 102, a data classification unit 104, a transmission completion determining unit 106, a data checking unit 108, and a transaction completion determining unit 110. Include.

대상 판별부(102)는 과금 세분화 정보 처리 장치(130)로부터 과금 개시 메시지를 수신하는 경우, 당해 전송되는 데이터가 수신한 과금 개시 메시지에 포함된 가입자에 대한 데이터인지를 여부를 확인함으로써, 데이터 전송량을 산출할 대상인지를 판별한다.When the object determining unit 102 receives the charging start message from the charging segmentation information processing apparatus 130, the object determining unit 102 checks whether the data transmitted is data for the subscriber included in the received charging start message, thereby transmitting data. Determine whether the target is to be calculated.

즉, 대상 판별부(102)는 패킷 복사 장치(110)가 복사한 패킷 데이터 중에서, 서비스 서버 방향으로 전송되는 패킷에 대하여는 상기 패킷에 포함되어 있는 소스 IP와 할당된 가입자 단말기의 IP 주소 만을 비교하거나 상기 패킷에 포함되어 있는 목적지 IP와 콘텐츠 제공자(160)의 IP 주소만을 비교하고, 패킷 교환기 방향으로 전송되는 패킷에 대하여는 상기 패킷에 포함되어 있는 소스 IP와 콘텐츠 제공자(160)의 IP 주소만을 비교하거나 상기 패킷에 포함되어 있는 목적지 IP와 할당된 가입자 단말기의 IP 주소 만을 비교하여 전송되는 패킷의 소스 및 목적지를 식별한다.That is, the target determination unit 102 compares only the source IP included in the packet with the IP address of the allocated subscriber station in the packet transmitted from the packet copying apparatus 110 to the service server. Compare only the destination IP included in the packet with the IP address of the content provider 160, and compare only the source IP included in the packet with the IP address of the content provider 160 with respect to the packet transmitted in the packet exchanger direction. The source IP and the destination of the transmitted packet are identified by comparing only the destination IP included in the packet with the IP address of the assigned subscriber station.

따라서, 본 발명에 의하면, 데이터의 입력 방향을 소스 또는 목적지 방향으 로 미리 지정 둠으로써, 소스 또는 목적지 어느 한쪽의 IP만을 비교하는 것으로 데이터 산출 대상인지 판별 가능하므로, 시스템의 효율이 향상된다.Therefore, according to the present invention, since the input direction of the data is designated in advance as the source or destination direction, it is possible to determine whether the data is the calculation target by comparing only the IP of either the source or the destination, thereby improving the efficiency of the system.

데이터 첵섬부(108)는 패킷 복사 장치(110)가 복사한 패킷을 수신하여, IP 프로토콜에 근거하여 IP 헤더의 IP 첵섬을 행하여 전송된 데이터에 오류가 발생하였는지를 확인한다. The data checksum unit 108 receives the packet copied by the packet copy apparatus 110, performs IP checksum of the IP header based on the IP protocol, and checks whether an error has occurred in the transmitted data.

데이터 분류부(104)는 패킷 복사 장치(110)에 의해 복사된 패킷 데이터를 수신하여, 당해 패킷 데이터의 형식을 파악하여 패킷 데이터가 속하는 통신 프로토콜별로 분류한다. 본 실시예에서의 데이터 분류부(104)는 복사된 패킷 데이터를 TCP, HTTP, SSL, VOD 등으로 분류한다.The data classifying unit 104 receives the packet data copied by the packet copying apparatus 110, grasps the format of the packet data, and classifies the packet data into communication protocols to which the packet data belongs. The data classifying unit 104 in this embodiment classifies the copied packet data into TCP, HTTP, SSL, VOD, and the like.

전송 완료 판별부(106)는 당해 데이터가 전송 완료되었는지를 확인한다. 즉, 전송 완료 판별부(106)는 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별한다. 따라서, 본 발명에 의하면, 전송 완료 확인된 데이터에 대하여만 데이터 전송량을 산출하므로, 데이터 전송량 산출의 신뢰성이 높아진다.The transmission completion determination unit 106 confirms whether the data has been transmitted. That is, when the data is the TCP / IP protocol, the transmission completion determination unit 106 determines that the Acknowledgment Number of the TCP header of the data to be calculated is equal to or greater than the sum of the corresponding Sequence Number and the data amount of the TCP body. Only the data is determined as the transferred data. Therefore, according to the present invention, since the data transfer amount is calculated only for the data that has been confirmed to be transferred, the reliability of the data transfer amount is increased.

한편, 본 발명의 과금 세분화 분석 장치(120)은 전송 완료 판별부(106)에 의해 전송 완료된 것으로 판별된 전송 데이터에 대하여, 가입자와 서비스 서버 간의 당해 트랜젝션 (transaction)이 완료되었는지를 판별하는 트랜젝션 완료 판별부(110)를 더욱 포함한다.On the other hand, the billing segmentation analysis apparatus 120 of the present invention completes the transaction for determining whether the transaction between the subscriber and the service server is completed for the transmission data determined by the transmission completion determining unit 106 to be completed. The determination unit 110 further includes.

트랜젝션 완료 판별부(110)는, 당해 데이터가 HTTP 프로토콜인 경우, 가입 자 단말기와 서비스 서버 중 요청 (Request)측으로부터 전송된 데이터를 저장하는 요청측 메모리(1102) 및 가입자 단말기와 서비스 서버 중 응답 (Response)측으로부터 전송된 데이터를 저장하는 응답측 메모리(1104)를 포함한다. 트랜젝션 완료 판별부(110)은 요청측 및 응답측 메모리(1102) 및 (1104)에 저장된 양측의 데이터를 시간순으로 대응시킴으로써, 양측의 트랜젝션이 완료되었는지를 판별한다.The transaction completion determination unit 110, when the data is the HTTP protocol, the request side memory (1102) for storing the data transmitted from the request (Request) side of the subscriber terminal and the service server and the response of the subscriber terminal and the service server A response side memory 1104 for storing data transmitted from the (Response) side. The transaction completion determination unit 110 determines whether the transactions on both sides have been completed by matching the data on both sides stored in the requesting and response side memories 1102 and 1104 in chronological order.

다른 실시예로서, 트랜젝션 완료 판별부(110)은, 당해 데이터가 HTTP 프로토콜인 경우, 응답측로부터 전송되는 데이터에 포함되어 있는 정보로서 요청측로부터의 요청임을 식별할 수 있는 정보를 생성한 방식과 동일한 방식으로, 상기 요청측로부터 전송되는 데이터에 대하여 트랜젝션 키를 생성하는 트랜젝션 키 생성부(1106)를 더욱 포함한다. 트랜젝션 완료 판별부(110)은 트랜젝션 키 생성부(1106)가 생성한 트랜젝션 키와 응답측으로부터 전송되는 데이터에 포함된 요청측 식별 정보를 비교함으로써, 양측의 트랜젝션이 완료되었는지를 판별한다. 본 실시예의 트랜젝션 키 생성부(1106)는 응답측의 URL을 소정의 알고리즘을 이용하여 8바이트 크기로 코딩한 정보를 당해 트랜젝션의 트랜젝션 키로서 미리 생성하여 소정의 메모리에 저장해 둔다.In another embodiment, the transaction completion determining unit 110, when the data is the HTTP protocol, and the information generated in the data transmitted from the response side as information contained in the data that can be identified from the request side and the request from the request side; In the same manner, it further includes a transaction key generation unit 1106 for generating a transaction key for the data transmitted from the requesting side. The transaction completion determination unit 110 compares the transaction key generated by the transaction key generation unit 1106 with the request side identification information included in the data transmitted from the response side, and determines whether the transaction on both sides is completed. The transaction key generation unit 1106 of this embodiment generates, in advance, information stored by encoding a URL on the response side into an 8-byte size using a predetermined algorithm as a transaction key of the transaction, and stores it in a predetermined memory.

따라서, 본 발명에 의하면, 전송 완료된 데이터 뿐만 아니라, 트랜젝션까지 완료되었는지를 판별하는 것이 가능하기 때문에, 데이터 과금을 신뢰성있게 수행할 수 있는 기초 자료를 제공하는 것이 가능하다.Therefore, according to the present invention, it is possible to determine whether not only the transmitted data but also the transaction is completed, so that it is possible to provide the basic data capable of performing data charging reliably.

도 4는 본 발명의 바람직한 실시예에 의한 패킷 복사 장치(110)의 패킷 복 사 및 추출 과정을 도시한 도면이다. 패킷 복사 장치(110)는 패킷 교환기(10)에서 출력된 서비스 서버 방향 입력신호(210)가 발생하면, 서비스 서버 방향 복사 출력신호(212)를 제공하고, 서비스 서버 방향 출력신호(211)로 인터넷(170) 혹은 서비스 게이트웨이 서버(150)로 출력한다. 한편, 인터넷(170) 혹은 서비스 게이트웨이 서버(150)에서 출력된 패킷 교환기 방향 입력신호(220)가 발생하면, 패킷 교환기 방향 복사 출력신호(222)를 제공하고, 패킷 교환기 방향 출력신호(221)를 패킷 교환기(10)로 출력한다.4 is a diagram illustrating a packet copying and extracting process of the packet copying apparatus 110 according to an exemplary embodiment of the present invention. When the service server direction input signal 210 output from the packet switch 10 is generated, the packet copy apparatus 110 provides a service server direction copy output signal 212, and provides the Internet with the service server direction output signal 211. Or output to the service gateway server 150. On the other hand, when the packet switch direction input signal 220 output from the Internet 170 or the service gateway server 150 is generated, the packet switch direction output signal 222 is provided, and the packet switch direction output signal 221 is provided. Output to the packet switch 10.

즉, 본 발명의 패킷 복사 장치(110)은 서비스 서버 방향과 패킷 교환기 방향으로 입력되는 데이터에 대하여 각각 별도로 이를 복사하여 출력하는 제1 출력부 및 제2 출력부를 가진다. 따라서, 본 발명에 의하면, 2개의 입력에 대응하는 2개의 출력부를 구비함으로써, 패킷 수집 단계에서 데이터 전송 용량의 문제를 해소할 수 있게 된다. 한편, 여기에서의 패킷 복사는 태핑(Tapping)과정을 거치며, 여기서 태핑은 전기적인 신호를 복사하는 것으로 전기적으로 연결하여 같은 신호를 추출해내는 것이다.That is, the packet copy apparatus 110 of the present invention has a first output unit and a second output unit which copy and output the data input to the service server direction and the packet exchanger direction separately. Therefore, according to the present invention, by providing two output units corresponding to two inputs, it is possible to solve the problem of data transmission capacity in the packet collection step. On the other hand, the packet copy here is a tapping (Tapping) process, where the tapping is to copy the electrical signal to the electrical connection to extract the same signal.

도 5는 도 4의 데이터 패킷을 수집하는 구조를 개념적으로 도시한 도면이다. 패킷 복사 장치(110)의 서비스 서버 방향 복사 출력신호(212)가 있는지 확인하여(S200), 해당 데이터 링크 계층의 Frame이 존재하는지 확인한다(S201). 해당 Frame이 존재하면, Frame을 분석하여 IP Protocol인지 확인(S202)하여 IP Header정보를 분석 추출하여(S203), 해당 Frame이 정상인지 IP Checksum오류를 확 인한다(S204). 해당 Frame이 정상일 경우 IP Header의 목적지 IP(Destination IP)와 목적지 Port(Destination Port)가 분석해야 하는 서비스 서버 IP와 포트인지 확인하여(S205), 도 6의 패킷분석처리를 한다. 해당 패킷분석처리가 완료된 경우와 위의 내용 중 기타 상황에 대해서는 패킷 복사 장치(110)의 패킷 교환기-클라이언트 방향 복사 출력신호(222)가 있는지 확인하는 단계로 이동한다(S210). 5 is a diagram conceptually illustrating a structure of collecting the data packet of FIG. 4. By checking whether there is a service server direction copy output signal 212 of the packet copying apparatus 110 (S200), it is checked whether a frame of the corresponding data link layer exists (S201). If the frame exists, the frame is analyzed to determine whether it is an IP protocol (S202), and the IP header information is analyzed and extracted (S203), and the IP checksum error is checked to see if the frame is normal (S204). If the frame is normal, the packet analysis process of FIG. 6 is performed by checking whether the destination IP (Destination IP) and the destination port (Destination Port) of the IP header are service server IPs and ports to be analyzed (S205). When the packet analysis process is completed and other situations described above, the process proceeds to checking whether there is a packet switch-client direction copy output signal 222 of the packet copying apparatus 110 (S210).

해당 패킷 교환기 방향의 Frame을 수집하는 단계는 위의 서술한 단계(S201)(S202)(S203) (S204)까지 동일하며, 해당 Frame이 정상일 경우 IP Header의 소스 IP(Source IP)와 소스 Port(Source Port)가 분석해야 하는 서비스 서버 IP와 포트인지 확인한다(S211). 해당 패킷이 서비스서버와 관련된 경우, 도 6의 패킷분석처리를 한다. 해당 패킷분석처리가 완료된 경우와 위의 내용 중 기타 상황에 대해서는 서비스 서버 방향 복사 출력신호(212)가 있는지 확인하는 단계로 이동하여(S200) 다시 시작한다.Collecting a frame in the direction of the packet switch is the same as the above-described steps S201, S202, S203, and S204. If the frame is normal, the source IP and the source port of the IP header are normal. Source Port) checks whether the service server IP and the port to be analyzed (S211). If the packet is related to the service server, the packet analysis process of FIG. 6 is performed. When the packet analysis process is completed and other situations described above, go to the step of checking whether there is a service server direction copy output signal 212 and start again (S200).

도 7는 도 5의 수집된 데이터를 서비스별로 분석하는 구조를 개념적으로 도시한 도면이다. 서비스 서버방향인 패킷인 경우, 소스 IP(Source IP)가, 패킷 교환기 방향인 패킷인 경우, 목적지 IP(Destination IP)가 과금 세분화 정보 처리 장치(130)에서 과금 개시 메시지(S131)로부터 처리해야 할 단말기 IP인지 확인한다(S300). 해당 과금 개시 메시지(S131)에 의해 생성된 사용자에 대한 정보(Call Session)가 존재하지 않는 경우, 종료한다. 그렇지 않고 존재하는 경우 Ethernet Frame을 분석한 정보에서 TCP(Transmission Control Protocol)인지 확인 한다(S301). TCP(Transmission Control Protocol)인 경우, TCP(Transmission Control Protocol) Header정보를 추출(S303)하여, TCP(Transmission Control Protocol) Checksum 오류를 확인하여(S303), 해당 패킷이 정상인지 확인한다. 오류가 발생하면, 분석을 종료한다. 정상인 경우 도 7의 TCP(Transmission Control Protocol) 패킷 재구성을 수행한다(S304). 수행한 결과 분석해야할 데이터가 존재하는 경우(S305), 해당 패킷이 TCP(Transmission Control Protocol)서비스 인지(S306), HTTP서비스 인지(S307), SSL서비스 인지(S308) 확인하여, 해당 서비스분석 처리인 TCP(Transmission Control Protocol)서비스(S320), 도 8의 HTTP서비스(S330), 도 9의 SSL서비스(S340), 도 10의 VOD서비스(S350)에 대한 처리를 수행한다. 모든 서비스 처리가 수행되면 분석을 종료한다. FIG. 7 is a diagram conceptually illustrating a structure of analyzing the collected data of FIG. 5 for each service. If the source IP is a packet directed to the service server, and the source IP is a packet directed to the packet exchanger, the destination IP should be processed from the charging start message S131 by the charging segmentation information processing apparatus 130. Check whether the terminal IP (S300). If there is no information (Call Session) for the user generated by the charging start message (S131), it ends. Otherwise, if it exists, check whether it is Transmission Control Protocol (TCP) from the information analyzed by the Ethernet frame (S301). In the case of Transmission Control Protocol (TCP), Transmission Control Protocol (TCP) Header information is extracted (S303), and a Transmission Control Protocol (TCP) Checksum error is checked (S303) to check whether the corresponding packet is normal. If an error occurs, the analysis ends. If normal, the TCP (Transmission Control Protocol) packet reconstruction of FIG. 7 is performed (S304). If there is data to be analyzed as a result (S305), whether the packet is a Transmission Control Protocol (TCP) service (S306), HTTP service (S307), SSL service (S308), and checks the corresponding service analysis process. A process is performed for a Transmission Control Protocol (TCP) service (S320), an HTTP service (S330) of FIG. 8, an SSL service (S340) of FIG. 9, and a VOD service (S350) of FIG. 10. The analysis ends when all service processing is performed.

TCP(Transmission Control Protocol) 인지 확인하여(S301)하여, TCP(Transmission Control Protocol)가 아닌 경우 UDP(User Datagram Protocol)인지 다시 확인한다(S311). UDP(User Datagram Protocol)인 경우, UDP(User Datagram Protocol) Header정보를 추출(S312)하여, UDP(User Datagram Protocol) Checksum오류를 확인한다(S313). 정상인 경우 도 10의 VOD 서비스를 수행한다(S350). 오류가 발행한 경우와 VOD서비스를 수행된 후에 분석을 종료한다.Check whether it is TCP (Transmission Control Protocol) (S301), and if it is not TCP (Transmission Control Protocol), check again whether it is UDP (User Datagram Protocol) (S311). In case of User Datagram Protocol (UDP), User Datagram Protocol (UDP) Header information is extracted (S312), and a User Datagram Protocol (UDP) Checksum error is checked (S313). If normal, the VOD service of FIG. 10 is performed (S350). The analysis is terminated when an error is issued and after the VOD service is performed.

도 7은 도 4의 분석하는 구조 중 TCP(Transmission Control Protocol) 데이터를 재구성하여, 전송확인된 데이터를 추출하는 구조를 개념적으로 도시한 도면이다. 해당 패킷의 정보로 단말기 IP/PORT와 서비스서버 IP/PORT로 구성된 TCP세션이 존재하는지 확인한다. 존재하지 않는 경우, 이전에 생성되었던 TCP세션이거나 혹은 TCP RST Flag가 존재하는 경우, 분석을 종료한다. 그렇지 않는 경우 TCP 세션을 생성을 하고, TCP SIN Flag가 존재하지 않는 경우, 해당 TCP 세션에 비정상생성정보를 저장한다. TCP Payload 데이터가 존재하는 경우, 해당 데이터를 서비스 서버방향 패킷이면, TCP Request Stack에 저장하고, 그렇지 않는 경우 TCP Response Stack에 저장한 후 분석을 종료한다.FIG. 7 is a diagram conceptually illustrating a structure for extracting transmission confirmed data by reconfiguring Transmission Control Protocol (TCP) data among the structures of FIG. 4 analyzed. Check whether there is a TCP session composed of terminal IP / PORT and service server IP / PORT using the packet information. If it does not exist, the analysis is terminated if it is a previously created TCP session or if the TCP RST Flag exists. If not, a TCP session is created. If the TCP SIN Flag does not exist, abnormal generation information is stored in the TCP session. If the TCP Payload data exists, the data is stored in the TCP Request Stack if it is a service server direction packet. Otherwise, the analysis is terminated after storing in the TCP Response Stack.

동일한 TCP 세션이 존재하는 하는 경우, 서비스 서버방향 TCP 패킷이면, 해당 TCP 패킷이 TCP Header의 Sequence Number를 기존 저장정보와 비교하여 재전송(Retransmission) 패킷인지 확인한다. 재전송(Retransmission)패킷인 경우, 분석을 종료한다. 그렇지 않은 패킷인 경우, TCP SYN Flag가 존재하는 지 확인하여, 존재하는 경우 기생성된 TCP 세션 종료처리 및 서비스 처리에 전달할 메모리에 기생성되었던 TCP 세션 종료 정보를 저장하여, 도6의 수행한 결과 분석해야할 데이터(S305)가 존재하도록 한다. 그리고, TCP 세션을 새로 생성하며, Payload데이터가 존재하면, TCP Request Stack에 해당 정보를 저장한 후 분석을 종료한다. If the same TCP session exists, if it is a service server direction TCP packet, it is checked whether the corresponding TCP packet is a retransmission packet by comparing the sequence number of the TCP header with existing stored information. If the packet is a retransmission packet, the analysis ends. If it is not the packet, check whether the TCP SYN Flag exists, and if so, store the generated TCP session termination information in the memory to be transmitted to the already generated TCP session termination service and service processing, and the result of FIG. The data S305 to be analyzed is present. In addition, a new TCP session is created. If payload data exists, the analysis is completed after storing the information in the TCP request stack.

TCP SYN Flag가 존재하지 않는 경우, TCP Payload Data가 존재하는지 확인하여, TCP Request Stack에 저장한다. 또한 TCP Header의 Acknowledgment Number가 Response Stack의 패킷 Sequence Number와 Payload 데이터 양을 합한 값과 같거나 큰 경우, 해당 Response Stack에 저장된 패킷에 대하여, 도 6의 수행한 결과에 대하여 분석할 수 있도록(S305) 데이터를 저장한다. 그리고, TCP Header의 Acknowledgment Number에 해당하는 Response FIN 상태인지 확인하여, TCP Response FIN종료 상태로 변경한다. 또한 TCP FIN Flag가 존재하는지 확인하여, TCP Request에 대한 상태를 FIN으로 변경한다. 그리고, 혹은, TCP RST Flag가 존재하거나, TCP Request와 Response 모두 FIN종료상태이면, 도 6의 수행한 결과에 대하여 분석할 수 있도록(S305) 데이터를 저장하고, 해당 TCP 세션을 종료한다. 그렇지 않는 경우 해당 TCP 세션의 정보를 변경하고, 분석을 종료한다.If the TCP SYN Flag does not exist, check whether TCP Payload Data exists and store it in the TCP Request Stack. In addition, when the acknowledgment number of the TCP header is equal to or greater than the sum of the packet sequence number of the response stack and the payload data amount, the packet stored in the response stack may be analyzed for the result of FIG. 6 (S305). Save the data. Then, it checks whether the response FIN state corresponding to the Acknowledgment Number of the TCP header is changed to the TCP response FIN end state. Also, check whether TCP FIN Flag exists and change the status of TCP Request to FIN. Or, if the TCP RST Flag is present, or if both the TCP Request and Response are in the FIN termination state, the data is stored to be analyzed (S305) and the corresponding TCP session is terminated. If not, change the information of the TCP session and finish the analysis.

동일한 TCP 세션이 존재하는 하는 경우, 서비스 서버방향 TCP 패킷이 아니면(패킷 교환기 방향 TCP패킷이면), 해당 TCP 패킷이 TCP Header의 Sequence Number를 기존 저장정보와 비교하여 재전송(Retransmission) 패킷인지 확인한다. 재전송(Retransmission)패킷인 경우, 분석을 종료한다. 그렇지 않은 패킷인 경우, TCP Payload Data가 존재하는지 확인하여, TCP Response Stack에 저장한다. 또한 TCP Header의 Acknowledgment Number가 Request Stack의 패킷 Sequence Number와 Payload 데이터 양을 합한 값과 같거나 큰 경우, 해당 Request Stack에 저장된 패킷에 대하여, 도 6의 수행한 결과에 대하여 분석할 수 있도록(S305) 데이터를 저장한다. 그리고, TCP Header의 Acknowledgment Number에 해당하는 Request FIN 상태인지 확인하여, TCP Request FIN종료상태로 변경한다. 또한 TCP FIN Flag가 존재하는지 확인하여, TCP Response에 대한 상태를 FIN으로 변경한다. 혹은, TCP RST Flag가 존재하거나, TCP Request/Response 모두 FIN종료상태이면, 도 5의 수행한 결과에 대하여 분석할 수 있도록(S305) 데이터를 저장하고, 해당 TCP 세션을 종료한다. 그렇지 않는 경우 해당 TCP 세션의 정보를 변경하고, 분석을 종료한다.If the same TCP session exists, if it is not a service server-oriented TCP packet (or a packet exchanger-oriented TCP packet), it is checked whether the corresponding TCP packet is a retransmission packet by comparing the sequence number of the TCP header with existing stored information. If the packet is a retransmission packet, the analysis ends. If not, check if TCP Payload Data exists and store it in the TCP Response Stack. In addition, when the acknowledgment number of the TCP header is equal to or greater than the sum of the packet sequence number and the payload data amount of the request stack, the packet stored in the request stack can be analyzed for the result of FIG. 6 (S305). Save the data. Then, it checks whether the Request FIN state corresponding to the Acknowledgment Number of the TCP Header is changed to the TCP Request FIN end state. Also, check whether TCP FIN Flag exists and change the status of TCP Response to FIN. Alternatively, if the TCP RST Flag is present or both TCP Request / Response is in the FIN termination state, the data is stored to be analyzed (S305) and the corresponding TCP session is terminated. If not, change the information of the TCP session and finish the analysis.

도 8은 도 6의 TCP(Transmission Control Protocol) 데이터를 재구성한 전송완료된 패킷으로 도 6의 HTTP서비스처리(S330) 구조를 개념적으로 도시한 도면이다. 해당 전송확인된 패킷에 대한 TCP 세션이 존재하는지 확인한다. TCP 세션이 존재하지만, TCP 세션 상태가 SSL서비스상태인 경우, SSL 서비스 처리를 통해 분석처리하고 종료한다.FIG. 8 is a conceptual diagram illustrating the structure of the HTTP service process (S330) of FIG. 6 as a completed packet in which TCP (Transmission Control Protocol) data of FIG. 6 is reconstructed. Check whether a TCP session exists for the acknowledged packet. If the TCP session exists, but the TCP session state is SSL service state, the analysis process is terminated through the SSL service process.

해당 TCP세션이 존재하고, TCP세션상태가 SSL서비스상태가 아닌 경우, TCP FIN Flag 패킷이나 혹은, 과금 세분화 정보 처리 장치(130)에서 전송된 과금중지요청메시지(S134)이면, 전송해야할 데이터가 남아 있는지 확인하여, RDR(Row Data Record)를 생성하여 전송하고, 해당 HTTP Transaction을 삭제하고, TCP 세션을 삭제한다. If the TCP session exists and the TCP session state is not the SSL service state, if the TCP FIN Flag packet or the billing request message sent from the billing segmentation information processing apparatus 130 (S134), data to be transmitted remains. Check if it exists, create and send a low data record (RDR), delete the HTTP transaction, and delete the TCP session.

TCP FIN 혹은 과금중지요청메시지가 아니고, 서비스 서버 방향이 아닌 패킷 교환기 방향 메시지에 대하여 HTTP Response시작메시지로 판단되면, HTTP Response 메시지를 분석하여, Transaction Key를 생성한 후, 해당 Response 메시지에 대한 HTTP Request Transaction을 찾는다. 해당 Transaction에 대한 정보를 변경한 후 HTTP Request에 대한 Response가 종료되었는지 확인하고, 종료되었다고 판단되면, RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하고, HTTP Transaction을 삭제한다. 그렇지 않고 분석되지 않은 데이터가 존재하면 Response Stack에 분석하지 못한 데이터를 저장한다. If it is determined that the HTTP response start message is not a TCP FIN or a charge stop request message and is not a service server direction message, the HTTP response message is analyzed, an HTTP request is generated after generating a transaction key. Find Transaction After changing the information on the transaction, check whether the response to the HTTP request is terminated, and if it is determined that it is terminated, generate a RDR (Row Data Record) and transmit it to the billing segmentation information processing device 130, and delete the HTTP transaction. do. Otherwise, if there is unanalyzed data, the unsaved data is stored in the response stack.

HTTP Response 시작메시지가 아닌 경우, HTTP Response에 대한 마지막에 저장한 미분석 Stack이 존재하는지 확인한다. 미분석된 Stack이 있으면, 해당 내용을 추가하여 재분석한 후 저장한다. HTTP Request에 대한 Response가 종료되었는지 확인하고, 종료되었다고 판단되면, RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하고, HTTP Transaction을 삭제한다. 그렇지 않고 분석되지 않은 데이터가 존재하면 Response Stack에 분석하지 못한 데이터를 저장한다.If it is not an HTTP response start message, check whether there is an unresolved stack saved last for the HTTP response. If there is an unanalyzed stack, add it and reanalyze it and save it. If it is determined that the response to the HTTP request is terminated, and determines that the response is terminated, a RDR (Row Data Record) is generated and transmitted to the billing segmentation information processing apparatus 130, and the HTTP transaction is deleted. Otherwise, if there is unanalyzed data, the unsaved data is stored in the response stack.

TCP FIN 혹은 과금중지요청메시지가 아니고, 서비스 서버 방향 메시지에 대하여 HTTP Request 시작 메시지로 판단되면, HTTP Transaction에 대한 정보를 저장하면서, HTTP Request Header 정보를 분석하여 저장한다. 해당 Header정보를 분석완료되었으면, HTTP Request에 대한 Transaction Key를 Transaction 생성룰에 의해 작성한 후, HTTP서비스 분석을 종료한다. 그렇지 않고, HTTP Request에 대한 Header 정보를 모두 분석하지 못한 경우, Request Stack에 해당 분석하지 못한 정보를 저장한다. HTTP Request 시작 메시지가 아니고, SSL 서비스 시작메시지이면, TCP 세션에 대한 SSL서비스상태로 변경 후, SSL서비스 처리를 통해 분석처리하고 종료한다. SSL서비스 시작메시지가 아닌 경우, HTTP Request에 대한 마지막에 저장된 미분석 Stack이 존재하면, 해당 내용을 추가하여 재분석한다. 재분석한 결과 해당 Header정보를 분석완료되었으면, HTTP Request에 대한 Transaction Key를 Transaction 생성룰에 의해 작성한 후, HTTP서비스 분석을 종료한다. 그렇지 않고, HTTP Request에 대한 Header 정보를 모두 분석하지 못한 경우, Request Stack에 해당 분석하지 못한 정보를 저장한다. HTTP Request에 대한 마지막에 저장된 미분석 Stack이 존재하지 않으면 해당 Transaction정보에 추가 저장하고 분석완료한다.If it is determined that the HTTP Request start message is not a TCP FIN or a billing request message, but the service server direction message, the HTTP Request Header information is analyzed and stored while storing the information about the HTTP Transaction. After analyzing the header information, the transaction key for the HTTP request is created by the transaction generation rule, and the analysis of the HTTP service is terminated. Otherwise, if all the header information for the HTTP request could not be analyzed, the unresolved information is stored in the request stack. If it is not an HTTP Request start message, but the SSL service start message, after changing to the SSL service state for the TCP session, the analysis process and ends through the SSL service processing. If it is not an SSL service start message, if there is an unanalyzed stack stored at the end of the HTTP request, add it and reanalyze it. As a result of re-analysis, when the corresponding header information is analyzed, the transaction key for the HTTP request is created by the transaction generation rule, and then the HTTP service analysis is terminated. Otherwise, if all the header information for the HTTP request could not be analyzed, the unresolved information is stored in the request stack. If there is no unanalyzed stack stored at the end of HTTP request, it is added to the relevant transaction information and completed.

서비스 서버 방향의 메시지면, 새로운 TCP세션정보를 저장한다. 또한 해당 패킷이 HTTP Request 시작메시지로 판단되면, HTTP Transaction에 대한 정보를 저장하면서, HTTP Request Header 정보를 분석하여 저장한다. 해당 Header정보를 분석완료되었으면, HTTP Request에 대한 Transaction Key를 Transaction 생성룰에 의해 작성한 후, HTTP서비스 분석을 종료한다. 그렇지 않고, HTTP Request에 대한 Header 정보를 모두 분석하지 못한 경우, Request Stack에 해당 분석하지 못한 정보를 저장한다. If it is a message directed to the service server, it stores new TCP session information. In addition, when the packet is determined to be an HTTP request start message, the HTTP request header information is analyzed and stored while storing information on the HTTP transaction. After analyzing the header information, the transaction key for the HTTP request is created by the transaction generation rule, and the analysis of the HTTP service is terminated. Otherwise, if all the header information for the HTTP request could not be analyzed, the unresolved information is stored in the request stack.

도 9는 도 7 또는 8의 분석된 패킷으로 SSL서비스처리 구조를 개념적으로 도시한 도면이다. 해당 전송확인된 패킷에 대한 TCP 세션이 존재하는지 확인한다. 존재하지 않는 경우, 서비스 서버 방향메시지이면, 새로운 TCP 세션 정보를 생성하여 저장한다. 그리고, SSL Request시작메시지인지 확인하여, SSL Request Header를 분석하여 해당 Request Transaction정보를 저장한다. SSL Request Header에 대한 분석이 완료된 경우, SSL Request에 대한 Key 생성룰에 의해 생성된 Key를 Transaction에 저장하고, SSL Transaction의 상태를 응답상태로 변경한다. SSL Request에 대한 분석이 완료되지 않은 경우, ㄲRequest 시작 Stack에 해당 분석되지 못한 정보를 저장한다. FIG. 9 is a diagram conceptually illustrating an SSL service processing structure with the analyzed packet of FIG. 7 or 8. FIG. Check whether a TCP session exists for the acknowledged packet. If it does not exist, if it is a service server direction message, it creates and stores new TCP session information. Then, it checks whether the SSL request start message, analyzes the SSL request header, and stores the corresponding request transaction information. When the analysis of the SSL Request Header is completed, the key generated by the key generation rule for the SSL request is stored in the transaction, and the state of the SSL transaction is changed to the response state. If the analysis of the SSL request is not complete, the unresolved information is stored in the request start stack.

TCP 세션이 존재하고, TCP FIN Flag 혹은 패킷 교환기(10)에서 전송된 과금중지메시지(S100)을 과금 세분화 정보 처리 장치(130)에서 전송 받은 경우(S134), 전송해야할 데이터가 남이 있으면 RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하고 해당 SSL Transaction 및 TCP세션을 삭제하고, 전 송해야할 데이터가 남아 있지 않는 경우는 해당 TCP 세션만 삭제한다. If there is a TCP session, and the TCP FIN Flag or the billing stop message S100 transmitted from the packet switch 10 is received from the billing segmentation information processing apparatus 130 (S134), if there is data to be transmitted, RDR (Row Data Record) is generated and transmitted to the billing segmentation information processing device 130, and deletes the corresponding SSL Transaction and TCP session, and deletes only the corresponding TCP session if there is no data to be transmitted.

TCP 세션이 존재하고, TCP FIN Flag 혹은 과금중지메시지(S134)가 아닌 경우, 서비스 서버방향 메시지에 대하여 SSL Request시작메시지인지 확인한다. 해당 메시지가 SSL Request시작메시지인 경우, SSL Request Header를 분석하여 해당 Request Transaction정보를 저장한다. SSL Request Header에 대한 분석이 완료된 경우, SSL Request에 대한 Key 생성룰에 의해 생성된 Key를 Transaction에 저장하고, SSL Transaction의 상태를 응답상태로 변경한다. SSL Request에 대한 분석이 완료되지 않은 경우, Request 시작 Stack에 해당 분석되지 못한 정보를 저장한다. If a TCP session exists and is not a TCP FIN Flag or a billing stop message (S134), check whether the SSL Request Start message is for the service server direction message. If the message is the SSL request start message, the request transaction information is stored by analyzing the SSL request header. When the analysis of the SSL Request Header is completed, the key generated by the key generation rule for the SSL request is stored in the transaction, and the state of the SSL transaction is changed to the response state. If the analysis of the SSL request is not completed, the unresolved information is stored in the request start stack.

SSL Request 시작 메시지가 아닌 경우, SSL Request 종료메시지인지 확인하여, SSL Request 종료 메시지인 경우 해당 메시지를 분석하여 SSL Request 종료메시지에 대한 Transaction을 검색한다. 해당 검색된 Transaction이 존재하는 경우, 해당 정보를 저장한다. 그리고, SSL Request에 대한 종료메시지가 분석완료되었는지 확인하여, 종료된 경우에 RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하고 해당 SSL Transaction을 삭제한다. 분석완료되지 않은 경우에 해당 Transaction의 Request 종료 Stack에 저장하고, SSL Transaction상태를 SSL종료상태로 변경처리한다.If it is not the SSL Request start message, check whether it is the SSL Request end message, and if it is the SSL Request end message, search the transaction for the SSL Request end message by analyzing the message. If the searched transaction exists, the information is saved. When the termination message for the SSL request is analyzed and completed, the terminal generates a low data record (RDR) and transmits it to the billing segmentation information processing apparatus 130 and deletes the corresponding SSL transaction. If the analysis is not completed, it is saved in the request end stack of the transaction and the SSL transaction status is changed to the SSL termination status.

SSL Request 종료 메시지가 아닌 경우, SSL Request에 대한 마지막에 저장된 미분석 Stack이 존재한는지 확인한다. 존재하는 경우 SSL이 종료상태이면, SSL Request종료 Stack에 해당 메시지를 추가하여 재분석한다. 재분석한 결과를 저장하고, SSL Request 종료메시지가 분석완료되었는지 확인하여, 종료된 경우에 RDR(Row Data Record)를 생성하여 과금 세분화 정보 처리 장치(130)에 전송하고 해당 SSL Transaction을 삭제한다. 분석완료되지 않은 경우에 해당 Transaction의 Request 종료 Stack에 저장하고, SSL Transaction상태를 SSL종료상태로 변경처리한다. SSL이 종료상태가 아니면, SSL Request시작 Stack에 해당 메시지를 추가하여 재분석한다. 재분석결과가 SSL Request Header에 대한 분석이 완료된 경우, SSL Request에 대한 Key 생성룰에 의해 생성된 Key를 Transaction에 저장하고, SSL Transaction의 상태를 응답상태로 변경한다. SSL Request에 대한 분석이 완료되지 않은 경우, Request 시작 Stack에 해당 분석되지 못한 정보를 저장한다. If it is not an SSL request end message, check whether there is an unresolved stack saved last for the SSL request. If present, if SSL is terminated, re-analyze by adding the message to the SSL Request End Stack. The result of re-analysis is stored, the SSL request end message is checked for completion of analysis, and when terminated, a RDR (Row Data Record) is generated and transmitted to the billing segmentation information processing device 130, and the corresponding SSL transaction is deleted. If the analysis is not completed, it is saved in the request end stack of the transaction and the SSL transaction status is changed to the SSL termination status. If SSL is not terminated, add the message to SSL request start stack and reanalyze it. When the reanalysis result completes the analysis of the SSL request header, the key generated by the key generation rule for the SSL request is stored in the transaction, and the state of the SSL transaction is changed to the response state. If the analysis of the SSL request is not completed, the unresolved information is stored in the request start stack.

TCP 세션이 존재하고, TCP FIN Flag 혹은 과금중지메시지(S134)가 아닌 경우, 패킷 교환기 방향메시지에 대하여 SSL Response시작메시지인지 확인한다. 해당 메시지가 SSL Request시작메시지인 경우, 메시지를 분석하여 해당 Request Transaction정보를 찾는다. 해당 Transaction이 존재하는 경우, 분석된 정보를 저장한 후, SSL Request에 대한 Response가 종료되었는지 확인하여 SSL Transaction을 SSL전송상태로 변경한다. 그렇지 않고 분석되지 않는 데이터가 존재하면 Response Stack에 해당 정보를 저장하고, Transaction을 SSL 응답상태로 변경한다. If the TCP session exists and is not the TCP FIN Flag or the charging stop message (S134), it is checked whether the packet response message is the SSL response start message. If the message is an SSL request start message, the message is analyzed to find the corresponding request transaction information. If the transaction exists, save the analyzed information and check whether the response to the SSL request is terminated and change the SSL transaction to the SSL transmission state. Otherwise, if there is data that cannot be analyzed, the information is stored in the response stack and the transaction is changed to the SSL response state.

SSL Response 시작 메시지가 아닌 경우, SSL Response에 대하여 마지막 Transaction에 대하여미분석된 Stack이 존재하는지 확인한다. 존재하는 경우, SSL Response Stack에 대한 내용을 추가하여 재분석한다. 재분석한 결과를 해당 Transaction정보에 저장하고, SSL Request에 대한 Response가 종료되었는지 확인하여 SSL Transaction을 SSL전송상태로 변경한다. 그렇지 않고 분석되지 않는 데이터 가 존재하면 Response Stack에 해당 정보를 저장하고, Transaction을 SSL 응답상태로 변경한다.If it is not an SSL response start message, check whether there is an unanalyzed stack for the last transaction for the SSL response. If it exists, re-analyze it by adding the contents of the SSL Response Stack. Save the re-analyzed result in the relevant transaction information and check whether the response to the SSL request is terminated and change the SSL transaction to the SSL transmission state. Otherwise, if there is data that cannot be analyzed, the information is stored in the response stack, and the transaction is changed to the SSL response state.

도 10은 도 6과 도 7의 분석된 패킷으로 VOD서비스처리 구조를 개념적으로 도시한 도면이다. VOD서비스 처리는 TCP의 RTSP와 UDP의 RTCP/RTP에 대한 조합으로 처리된다. 해당 메시지에 대하여 VOD세션이 존재하는지 확인한다. VOD세션이 존재하지 않는 경우, 서비스 서버 방향 메시지이면, VOD세션정보를 새로 추가생성하여, 분석된 정보를 저장한다. 메시지를 분석한 결과 RTSP시작메지인지 확인하여, 새로운 RTSP Transaction을 생성한다. 추가적으로 분석하여 RTSP시작 정보를 저장한다. RTSP시작메시지분석이 완료된 경우, VOD Transaction상태를 VOD시작응답상태로 변경하여 저장한다. 그렇지 않고 RTSP시작메시지분석이 완료되지 않은 경우, 분석되지 못한 정보를 Transaction의 시작 Stack에 저장하고, VOD Transaction상태를 VOD시작요청상태로 변경하여 저장한다. RTSP시작메시지가 아닌 경우, 분석을 종료한다.FIG. 10 is a diagram conceptually illustrating a VOD service processing structure with the analyzed packets of FIGS. 6 and 7. VOD service processing is a combination of TCP's RTSP and UDP's RTCP / RTP. Check that a VOD session exists for the message. If the VOD session does not exist, if the message is a service server direction, the VOD session information is newly generated and the analyzed information is stored. After analyzing the message, check whether it is the RTSP start message and create a new RTSP Transaction. It analyzes additionally and saves RTSP start information. When RTSP start message analysis is completed, change VOD Transaction status to VOD start response and save. Otherwise, if RTSP start message analysis is not completed, the unresolved information is stored in the start stack of transaction, and the VOD transaction state is changed to VOD start request state and saved. If not the RTSP start message, the analysis ends.

VOD세션이 존재하는 경우, TCP FIN Flag 혹은 과금중지메시지(S134)가 아니고, TCP 패킷이면, 서비스 서버방향 메시지인지 확인한다. 확인결과 서비스 서버 방향 메시지인 경우, RTSP시작메시지이면, 새로운 RTSP Transaction을 생성한다. 추가적으로 분석하여 RTSP시작 정보를 저장한다. RTSP시작메시지분석이 완료된 경우, VOD Transaction상태를 VOD시작응답상태로 변경하여 저장한다. 그렇지 않고 RTSP시작메시지분석이 완료되지 않은 경우, 분석되지 못한 정보를 Transaction의 시작 Stack에 저장하고, VOD Transaction상태를 VOD시작요청상태로 변경하여 저장한다. RTSP시작메시지가 아닌 경우, 분석을 종료한다. RTSP 시작메시지가 아닌 RTSP종료메시지이면, 해당 RSTP종료메시지를 분석하여 RTSP 종료메시지에 대한 Transaction을 찾는다. 해당 Transaction이 존재하는 경우, Transaction정보에 분석내용을 저장하고, RTSP종료메시지에 대한 분석이 완료되었는지 확인한다. 분석이 완료된 경우, VOD Transaction상태를 종료응답상태로 변경하여 저장하고, 그렇지 않은 경우, 분석되지 못한 정보를 RSTP종료 Stack에 저장하고, VOD 종료요청상태로 변경한다. RTSP시작/종료메시지가 아닌 경우, 해당 Transaction에 대하여 마지막으로 분석되지 않은 Stack이 존재하는 지 확인한다. 존재하는 경우, VOD Transaction에 대한 상태가 종료요청상태가 아니면, 시작 Stack에 대한 내용에 메시지를 추가하여 재분석한다. 재분석된 결과를 RSTP시작정보에 추가 저장하고, RTSP시작메시지분석이 완료되었는지 확인한다. 분석이 완료된 경우, VOD Transaction상태를 VOD시작응답상태로 변경하여 저장한다. 그렇지 않고 RTSP시작메시지분석이 완료되지 않은 경우, 분석되지 못한 정보를 Transaction의 시작 Stack에 저장하고, VOD Transaction상태를 VOD시작요청상태로 변경하여 저장한다. VOD Transaction에 대한 상태가 종료요청상태이면 종료요청 Stack에 대한 내용에 메시지를 추가하여 재분석한다. 재분석된 결과를 해당 Transaction정보에 추가저장하고, RTSP종료메시지분석이 완료된 경우, VOD Transaction상태를 VOD시작응답상태로 변경하여 저장한다. 그렇지 않고 RTSP시작메시지분석이 완료되지 않은 경우, 분석되지 못한 정보를 Transaction의 시작 Stack에 저장하고, VOD Transaction상태를 VOD시작요청상태로 변경하여 저장한다.If there is a VOD session, if it is not a TCP FIN flag or a charging stop message (S134), but a TCP packet, it is checked whether the message is a service server direction message. If the result of the check is a service server direction message, if the RTSP start message, a new RTSP transaction is created. It analyzes additionally and saves RTSP start information. When RTSP start message analysis is completed, change VOD Transaction status to VOD start response and save. Otherwise, if RTSP start message analysis is not completed, the unresolved information is stored in the start stack of transaction, and the VOD transaction state is changed to VOD start request state and saved. If not the RTSP start message, the analysis ends. If RTSP end message is not RTSP start message, the relevant RSTP end message is analyzed to find Transaction for RTSP end message. If the transaction exists, save the analysis contents in transaction information and check whether the analysis of RTSP end message is completed. When the analysis is completed, the VOD Transaction status is changed to the termination response state and stored. Otherwise, the unanalyzed information is stored in the RSTP end stack and the VOD transaction completion state is changed. If it is not an RTSP start / end message, check if there is a stack that was not analyzed last for the transaction. If present, if the state of VOD Transaction is not end request state, re-analyze by adding message to start stack. Save the reanalyzed result to RSTP start information and check if RTSP start message analysis is completed. If analysis is completed, change VOD Transaction status to VOD start response and save. Otherwise, if RTSP start message analysis is not completed, the unresolved information is stored in the start stack of transaction, and the VOD transaction state is changed to VOD start request state and saved. If the status of the VOD Transaction is in the end request state, the message is added to the end request stack and re-analyzed. The reanalyzed result is added and saved in the relevant transaction information. When RTSP end message analysis is completed, the VOD transaction status is changed to the VOD start response state and stored. Otherwise, if RTSP start message analysis is not completed, the unresolved information is stored in the start stack of transaction, and the VOD transaction state is changed to VOD start request state and saved.

패킷 교환기 방향 메시지이고, RSTP 종료응답메시지인 경우, RSTP종료응답메시지를 분석한다. RTSP종료응답메시지에 대한 Transaction이 존재하면, 해당 Transaction정보에 추가 저장한다. RSTP종료응답메시지를 분석완료한 경우 RDR(Row Data Record)를 생성하여, 과금 세분화 정보 처리 장치(130)에 전송하고, VOD Transaction 및 VOD 세션을 삭제한다. 분석완료되지 못한 경우, 해당 정보를 종료응답 Stack에 저장하고, Transaction상태를 종료응답상태로 변경한다. RTSP종료응답메시지가 아닌 경우, RTSP시작응답메시지인지 확인한다. RTSP시작응답메시지인 경우, RSTP시작응답메시지를 분석하여, RTSP시작응답메시지에 대한 Transaction이 존재하면, 해당 Transaction정보에 추가 저장한다. RSTP시작응답메시지를 분석완료한 경우, VOD Transaction상태를 서비스전송상태로 변경 저장한다. 분석완료되지 못한 경우, 해당 정보를 시작응답 Stack에 저장하고, Transaction상태를 시작응답상태로 변경한다. RTSP 시작/종료 응답메시지가 아닌 경우, 종료응답상태인지 확인하다. 종료응답상태인 경우 RSTP메시지를 종료 응답 Stack에 추가하여 재분석한다. 재분석한 결과를 해당 Transaction에 저장하고, RSTP종료응답메시지를 분석완료한 경우 RDR(Row Data Record)를 생성하여, 과금 세분화 정보 처리 장치(130)에 전송하고, VOD Transaction 및 VOD 세션을 삭제한다. 분석완료되지 못한 경우, 해당 정보를 종료응답 Stack에 저장하고, Transaction상태를 종료응답상태로 변경한다. 해당 메시지가 종료응답상태가 아닌 경우, RTSP 시작 응답 Stack에 해당 내용을 추가하여 재분석한다. 재분석한 내용을 해당 Transaction에 저장한 후, 해당 결과가 RSTP시작응답메시지를 분석완료인 경우, VOD Transaction상태를 서비스전송상태로 변경 저장한다. 분석완료되지 못한 경우, 해당 정보를 시작응답 Stack에 저장하고, Transaction상태를 시작응답상태로 변경한다. RTSP 시작/종료 응답메시지가 아닌 경우, 종료응답상태인지 확인하다.If it is a packet switch direction message and the RSTP end response message, the RSTP end response message is analyzed. If there is a transaction for RTSP end response message, it is added and stored in the relevant transaction information. When the analysis of the RSTP end response message is completed, a RDR (Row Data Record) is generated and transmitted to the billing segmentation information processing apparatus 130, and the VOD transaction and the VOD session are deleted. If the analysis is not completed, the relevant information is stored in the termination response stack, and the transaction state is changed to the termination response state. If it is not an RTSP end response message, check if it is an RTSP start response message. In case of RTSP start response message, RSTP start response message is analyzed and if transaction for RTSP start response message exists, it is additionally stored in the relevant transaction information. When the analysis of the RSTP start response message is completed, the VOD transaction status is changed to the service transmission state and stored. If the analysis is not completed, the information is stored in the start response stack, and the transaction state is changed to the start response state. If it is not RTSP start / end response message, check whether it is in end response status. In case of termination response status, RSTP message is added to termination response stack and re-analyzed. The reanalyzed result is stored in the corresponding transaction, and when the analysis of the RSTP termination response message is completed, a RDR (Row Data Record) is generated, transmitted to the billing segmentation information processing device 130, and the VOD Transaction and the VOD session are deleted. If the analysis is not completed, the relevant information is stored in the termination response stack, and the transaction state is changed to the termination response state. If the message is not in the end response state, add it to the RTSP start response stack and reanalyze it. After re-analyzed content is saved in the relevant transaction, if the result is analysis completion of RSTP start response message, VOD transaction status is changed to service transmission state. If the analysis is not completed, the information is stored in the start response stack, and the transaction state is changed to the start response state. If it is not RTSP start / end response message, check whether it is in end response status.

해당 메시지가 TCP패킷이 아닌 경우, RTCP메시지인지 확인한다. RTCP메시지인 경우, 해당 내용을 분석하여 단말기에 전송된 상태를 확인 및 저장한다. RTCP메시지가 아닌 경우 RTP 메시지인지 확인한다. RTP메시지인 경우 RTP의 내용을 분석하여 단말기에 전송상태를 확인 및 저장한다.If the message is not a TCP packet, check if it is an RTCP message. In case of RTCP message, the contents are analyzed and the status transmitted to the terminal is checked and stored. If it is not an RTCP message, check if it is an RTP message. In case of an RTP message, the contents of the RTP are analyzed and the transmission status is confirmed and stored in the terminal.

이상, 본 발명을 상기 언급된 바람직한 실시예와 관련하여 설명하였으나, 본 발명의 요지로부터 벗어남이 없이 다양한 수정이나 변형을 하는 것이 가능하다. 따라서 첨부된 특허청구범위는 본 발명의 요지에 속하는 이러한 수정이나 변형을 포함한다.While the invention has been described above in connection with the preferred embodiments mentioned above, it is possible to make various modifications or variations without departing from the spirit of the invention. Accordingly, the appended claims include such modifications and variations as fall within the spirit of the invention.

예컨대, 본발명의 데이터 수신 장치를 휴대 단말기로 예시하고 설명하였으나, 본 발명은 이에 국한되지 않고, 그 외에 유선 단말기, 유무선 랜 등 데이터 통신에서 패킷 데이터 전송량에 의해 과금이 되는 각종 통신 단말기에도 적용 가능함은 물론이다.For example, the data receiving apparatus of the present invention has been illustrated and described as a portable terminal, but the present invention is not limited thereto, and can be applied to various communication terminals charged by packet data transmission amount in data communication such as wired terminal and wired / wireless LAN. Of course.

또한, 상기 실시예에서는 과금 시스템을 예시하고 설명하였으나, 본 발명은 이에 국한되지 않고, IP 주소와 가입자 전화 번호가 있는 네트워크에도 적용될 수 있다. 즉, IP 주소만 알고 가입자 전화번호를 모르는 경우 해당 가입자의 전화 번호를 인식할 수 있을 때까지의 호 상태 정보나 로그 메시지 등을 알아내고자 하는 경우에도 적용할 수 있다.In addition, in the above embodiment has been illustrated and described the charging system, the present invention is not limited to this, it can be applied to a network having an IP address and a subscriber telephone number. That is, if only the IP address is known and the subscriber's telephone number is not known, the present invention can also be applied to find out call status information or log messages until the subscriber's telephone number can be recognized.

상기한 바와 같이, 따라서, 본 발명에 의하면, 전송 완료 확인된 데이터에 대하여만 데이터 전송량을 산출하므로, 부당하게 데이터 과금하는 것이 막을 수 있으며 데이터 전송량 산출의 신뢰성이 높아진다.As described above, according to the present invention, therefore, the data transfer amount is calculated only for the data which has been confirmed that the transfer has been completed, so that unfair data charging can be prevented and the reliability of the data transfer amount is increased.

또한, 본 발명에 의하면, 전송 완료된 데이터 뿐만 아니라, 트랜젝션까지 완료되었는지를 판별하는 것이 가능하기 때문에, 데이터 과금을 신뢰성있게 수행할 수 있는 기초 자료를 제공하는 것이 가능하다.In addition, according to the present invention, it is possible to determine whether not only the transmitted data but also the transaction is completed, so that it is possible to provide the basic data capable of performing data charging reliably.

또한, 본 발명에 의하면, 데이터 복사 장치가 2개의 입력에 대응하는 2개의 출력부를 구비함으로써, 데이터 수집 단계에서 데이터 전송 용량의 문제를 해소할 수 있게 된다.In addition, according to the present invention, the data copying apparatus includes two output units corresponding to two inputs, thereby solving the problem of data transmission capacity in the data collection step.

또한, 본 발명에 의하면, 전송량 산출 대상인지를 판별함에 있어서, 데이터의 입력 방향을 소스 또는 목적지 방향으로 미리 지정 둠으로써, 소스 또는 목적지 어느 한쪽의 IP만을 비교하는 것으로 데이터 산출 대상인지 판별 가능하므로, 시스템의 효율이 향상된다.In addition, according to the present invention, in determining whether the data is to be calculated, by specifying the input direction of the data in the source or destination direction in advance, it is possible to determine whether the data is to be calculated by comparing only the IP of either the source or the destination. The efficiency of the system is improved.

또한, 본 발명에 의하면, 데이터를 최종 처리에 있어서, 양방향으로 전송되는 데이터의 FIN 플래그가 존재하고 당해 FIN 플래그 Sequence Number에 대한 Acknowledgment Number의 패킷이 존재할 때까지 TCP 세션을 유지하며, FIN 플래그와 TCP body의 데이터가 같이 전송되는 경우 당해 데이터에 대한 처리를 FIN 플래그보다 먼저 처리함으로써, 가입자 단말기 혹은 서비스 제공자로 최종 전송하지 못 한 데이터에 대하여 과금이 수행되는 문제점이 해소된다.Further, according to the present invention, in the final processing of the data, the TCP session is maintained until the FIN flag of the data transmitted in both directions and the packet of Acknowledgment Number for the FIN flag Sequence Number exists, and the FIN flag and TCP When data of the body is transmitted together, the processing of the data is processed before the FIN flag, thereby eliminating the problem that charging is performed on data that was not finally transmitted to the subscriber station or service provider.

Claims (14)

데이터 통신망에 연결된 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터의 전송량을 산출하고 이를 분석하는 데이터 전송량 분석 시스템에 있어서,In the data transmission amount analysis system for calculating and analyzing the amount of data transmitted between the first and second data transceiver connected to the data communication network, 상기 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터를 복사하여 출력하는 데이터 복사부;A data copying unit which copies and outputs data transmitted between the first and second data transmitting and receiving apparatuses; 상기 데이터 복사부가 출력하는 데이터에 대하여 상기 제1 또는 제2 데이터 송수신 장치 방향의 전송 데이터로서 그 전송량을 산출 및/또는 분석하는 산출 분석부; 및A calculation analysis unit for calculating and / or analyzing a transmission amount of the data output by the data copy unit as transmission data in the direction of the first or second data transmission / reception apparatus; And 상기 산출 분석부에, 산출 및/또는 분석의 대상이 되는 제1 및/또는 제2 데이터 송수신 장치의 식별 정보를 포함하는 정보로서 전송량 산출 및/또는 분석의 개시 또는 종료를 지시하는 정보를 전송하며, 상기 산출 분석부가 산출 및/또는 분석한 상기 제1 및 제2 데이터 송수신 장치 간에 전송된 데이터의 전송량에 관한 정보를 소정의 외부 장치에 제공하는 정보 처리부를 포함하되,Transmitting information indicating the start or end of the transmission amount calculation and / or analysis as information including identification information of the first and / or second data transmission / reception apparatus to be calculated and / or analyzed, to the calculation analysis unit; And an information processor configured to provide a predetermined external device with information about a transmission amount of data transmitted between the first and second data transceivers calculated and / or analyzed by the calculation analyzer. 상기 산출 분석부는,The calculation analysis unit, 상기 데이터 복사부로부터 출력되는 데이터 중에서, 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 (source) 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 (destination) 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하고, 한편, 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하여 당해 데이터가 산출 및 분석의 대상인지를 판별하는 대상 판별부;Among the data output from the data copying unit, the data transmitted from the first data transmitting and receiving device to the second data transmitting and receiving device includes source identification information included in the data and identification of the first data transmitting and receiving device. Compares only information or compares only destination identification information included in the data with identification information of the second data transmission / reception device, and compares data transmitted from the second data transmission / reception device to the first data transmission / reception device. The data is calculated by comparing only the source identification information included in the data with the identification information of the second data transceiver or the destination identification information included in the data and the identification information of the first data transceiver. To determine if it is the subject of analysis A discrimination unit; 상기 데이터 복사부가 출력한 데이터를 당해 데이터의 통신 프로토콜별로 분류하는 데이터 분류부; 및A data classifying unit classifying the data output by the data copying unit for each communication protocol of the data; And 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별하는 전송 완료 판별부를 포함하는 데이터 전송량 분석 시스템.In the case where the data is a TCP / IP protocol, only the data that has been transmitted is determined as data that has been transmitted only for data whose Acknowledgment Number of the TCP header of the data to be calculated is equal to or larger than the sum of the corresponding Sequence Number and the data amount of the TCP body. Data transmission amount analysis system including a transmission completion determination unit. 제1항에 있어서,The method of claim 1, 상기 데이터 복사부는,The data copy unit, 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터를 복사하여 출력하는 제1 출력부; 및A first output unit configured to copy and output data transmitted from the first data transceiver to the second data transceiver; And 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터를 복사하여 출력하는 제2 출력부를 포함하는 데이터 전송량 분석 시스템.And a second output unit configured to copy and output data transmitted from the second data transceiver to the first data transceiver. 제1항에 있어서,The method of claim 1, 상기 산출 분석부는, 상기 데이터 복사부가 출력한 데이터에 대하여, IP 프로토콜에 근거하여 IP 헤더의 IP 첵섬을 행하여 데이터의 오류가 발생하였는지를 확인하는 데이터 첵섬부를 더욱 포함하는 데이터 전송량 분석 시스템.And the calculation analyzer further comprises a data checksum unit for checking whether data errors have occurred by performing IP checksum of an IP header on the data output by the data copy unit. 제1항에 있어서,The method of claim 1, 상기 산출 분석부는, 당해 데이터가 TCP/IP 프로토콜인 경우, 상기 제1 및 제2 데이터 송수신 장치 양방향으로 전송되는 데이터의 TCP 헤더의 FIN 플래그가 존재하고 당해 FIN 플래그 Sequence Number에 대한 Acknowledgment Number의 패킷이 존재할 때까지 TCP 세션을 유지하며, FIN 플래그와 TCP body의 데이터가 같이 전송되는 경우 당해 데이터에 대한 처리를 FIN 플래그보다 먼저 처리하는 데이터 전송량 분석 시스템.If the data is a TCP / IP protocol, the calculation analyzer may include a FIN flag in a TCP header of data transmitted in both the first and second data transceivers, and a packet of an Acknowledgment Number corresponding to the FIN flag Sequence Number. A data transfer analysis system that maintains a TCP session until it exists and processes the data before the FIN flag when the FIN flag and the TCP body data are transmitted together. 제1항에 있어서,The method of claim 1, 상기 산출 분석부는,The calculation analysis unit, 상기 전송 완료 판별부에 의해 전송 완료된 것으로 판별된 전송 데이터에 대하여, 상기 제1 및 제2 데이터 송수신 장치간의 당해 트랜젝션 (transaction)이 완료되었는지를 판별하는 트랜젝션 완료 판별부를 더욱 포함하는 데이터 전송량 분석 시스템.And a transaction completion determination unit for determining whether the transaction between the first and second data transmission / reception apparatuses is completed with respect to the transmission data determined to have been transmitted by the transmission completion determination unit. 제5항에 있어서,The method of claim 5, 상기 트랜젝션 완료 판별부는, 당해 데이터가 HTTP 프로토콜인 경우,The transaction completion determination unit, if the data is HTTP protocol, 상기 제1 및 제2 데이터 송수신 장치 중 요청 (Request)측으로부터 전송된 데이터를 저장하는 요청측 메모리; 및A request side memory configured to store data transmitted from a request side of the first and second data transceiving devices; And 상기 제1 및 제2 데이터 송수신 장치 중 응답 (Response)측으로부터 전송된 데이터를 저장하는 응답측 메모리를 포함하며,A response side memory for storing data transmitted from a response side of the first and second data transmission and reception apparatuses, 상기 요청측 및 응답측 메모리에 저장된 양측의 데이터를 시간순으로 대응시킴으로써, 양측의 트랜젝션이 완료되었는지를 판별하는 데이터 전송량 분석 시스템.And a data transfer amount analysis system for determining whether the transaction of both sides is completed by chronologically matching data of both sides stored in the requesting and response memory. 제5항에 있어서,The method of claim 5, 상기 트랜젝션 완료 판별부는, The transaction completion determination unit, 상기 응답측 데이터 송수신 장치로부터 전송되는 데이터에 포함되어 있는 정보로서 상기 요청측 데이터 송수신 장치로부터의 요청임을 식별할 수 있는 정보를 생성한 방식과 동일한 방식으로, 상기 요청측 데이터 송수신 장치로부터 전송되는 데이터에 대하여 트랜젝션 키를 생성하는 트랜젝션 키 생성부를 더욱 포함하며,Data transmitted from the requesting side data transmitting / receiving apparatus in the same manner as information generated in the data transmitted from the response side data transmitting / receiving apparatus for identifying information that is a request from the requesting side data transmitting / receiving apparatus. Further comprising a transaction key generation unit for generating a transaction key with respect to, 상기 트랜젝션 키 생성부가 생성한 트랜젝션 키와 상기 응답측 데이터 송수신 장치로부터 전송되는 데이터에 포함된 요청측 식별 정보를 비교함으로써, 양측의 트랜젝션이 완료되었는지를 판별하는 데이터 전송량 분석 시스템.And comparing the transaction key generated by the transaction key generator with request-side identification information included in the data transmitted from the response-side data transceiver to determine whether the transaction on both sides is completed. 데이터 통신망에 연결된 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터의 전송량을 산출하고 이를 분석하는 데이터 전송량 분석 방법에 있어서,In the data transmission amount analysis method for calculating and analyzing the amount of data transmitted between the first and second data transceiver connected to the data communication network, (1) 산출 및/또는 분석의 대상이 되는 제1 및/또는 제2 데이터 송수신 장치의 식별 정보를 포함하는 정보로서 전송량 산출 및/또는 분석의 개시를 나타내는 정보를 수신하는 단계;(1) receiving information indicating the start of the transmission amount calculation and / or analysis as information including identification information of the first and / or second data transmission / reception apparatus subject to calculation and / or analysis; (2) 상기 제1 및 제2 데이터 송수신 장치 간에 전송되는 데이터를 복사하여 출력하는 단계;(2) copying and outputting data transmitted between the first and second data transceiving devices; (3) 상기 데이터 복사부가 출력하는 데이터에 대하여 상기 제1 또는 제2 데이터 송수신 장치 방향의 전송 데이터로서 그 전송량을 산출 및/또는 분석하는 단계; 및(3) calculating and / or analyzing a transmission amount of the data output by the data copying unit as transmission data in a direction of the first or second data transmission / reception apparatus; And (4) 상기 단계 (3)에서 산출 및/또는 분석된 전송량에 관한 정보를 외부의 장치에 전송하는 단계를 포함하되,(4) transmitting information on the amount of transmission calculated and / or analyzed in step (3) to an external device, 상기 단계 (3)은,Step (3), (5) 상기 단계 (2)에서 출력되는 데이터 중에서, 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 (source) 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 (destination) 식별 정보와 상기 제2 데이터 송수신 장치의 식별 정보만을 비교하고, 한편, 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터에 대하여는 상기 데이터에 포함되어 있는 소스 식별 정보와 상기 제2 데이터 송수신 장치 의 식별 정보만을 비교하거나 상기 데이터에 포함되어 있는 목적지 식별 정보와 상기 제1 데이터 송수신 장치의 식별 정보만을 비교하여 당해 데이터가 산출 및 분석의 대상인지를 판별하는 단계;(5) Among the data output in the step (2), for the data transmitted from the first data transmission / reception apparatus to the second data transmission / reception apparatus, source identification information and the first data included in the data are included. Compares only identification information of the transceiver, or compares only identification information of the second data transceiver with destination identification information included in the data, from the second data transceiver to the first data transceiver; For the transmitted data, only the source identification information included in the data and the identification information of the second data transceiver are compared, or the destination identification information included in the data and the identification information of the first data transceiver are compared. Determining whether the data is subject to calculation and analysis; (6) 상기 단계 (2)에서 출력된 데이터를 당해 데이터의 통신 프로토콜별로 분류하는 단계; 및(6) classifying the data output in step (2) for each communication protocol of the data; And (7) 당해 데이터가 TCP/IP 프로토콜인 경우, 산출 대상이 되는 당해 데이터의 TCP 헤더의 Acknowledgment Number가 대응하는 Sequence Number와 TCP body의 데이터 양을 합한 값과 같거나 큰 데이터에 대하여만 전송 완료된 데이터로 판별하는 단계(7) When the data is a TCP / IP protocol, data that has been transmitted only for data that is equal to or larger than the sum of the corresponding sequence number and the data amount of the TCP body, in which the acknowledgment number of the TCP header of the data to be calculated is equal Steps to Determine 를 포함하는 데이터 전송량 분석 방법.Data throughput analysis method comprising a. 제8항에 있어서,The method of claim 8, 상기 단계 (2)에서는,In step (2), 상기 제1 데이터 송수신 장치로부터 상기 제2 데이터 송수신 장치로 전송되는 데이터 및 상기 제2 데이터 송수신 장치로부터 상기 제1 데이터 송수신 장치로 전송되는 데이터는 각각 별도의 전송선을 통하여 복사되어 출력되는 데이터 전송량 분석 방법.Data transmission amount analysis method in which data transmitted from the first data transceiver to the second data transceiver and data transmitted from the second data transceiver to the first data transceiver are copied and output through separate transmission lines, respectively . 제8항에 있어서,The method of claim 8, 상기 단계 (3)은, (8) 상기 데이터 복사부가 출력한 데이터에 대하여, IP 프로토콜에 근거하여 IP 헤더의 IP 첵섬을 행하여 데이터의 오류가 발생하였는지를 확인하는 단계를 더욱 포함하는 데이터 전송량 분석 방법.The step (3) further comprises the step of (8) performing an IP checksum of the IP header on the data output by the data copying unit to determine whether an error of the data has occurred. 제8항에 있어서,The method of claim 8, 상기 단계 (3)에서는, 당해 데이터가 TCP/IP 프로토콜인 경우, 상기 제1 및 제2 데이터 송수신 장치 양방향으로 전송되는 데이터의 TCP 헤더의 FIN 플래그가 존재하고 당해 FIN 플래그 Sequence Number에 대한 Acknowledgment Number의 패킷이 존재할 때까지 TCP 세션을 유지하며, FIN 플래그와 TCP body의 데이터가 같이 전송되는 경우 당해 데이터에 대한 처리를 FIN 플래그보다 먼저 처리하는 데이터 전송량 분석 방법.In step (3), if the data is a TCP / IP protocol, there is a FIN flag in the TCP header of the data transmitted in both the first and second data transceiving devices, and the Acknowledgment Number for the FIN flag Sequence Number is present. A method of analyzing a data transmission amount that maintains a TCP session until a packet exists and processes the data before the FIN flag when the FIN flag and the TCP body data are transmitted together. 제8항에 있어서,The method of claim 8, 상기 단계 (3)에서는,In the step (3), (9) 상기 전송 완료 판별부에 의해 전송 완료된 것으로 판별된 전송 데이터에 대하여, 상기 제1 및 제2 데이터 송수신 장치간의 당해 트랜젝션 (transaction)이 완료되었는지를 판별하는 단계를 더욱 포함하는 데이터 전송량 분석 방법.(9) a data transmission amount analysis method further comprising determining whether the transaction between the first and second data transmission / reception apparatuses is completed with respect to the transmission data determined to have been transmitted by the transmission completion determining unit; . 제12항에 있어서,The method of claim 12, 상기 단계 (9)는, 당해 데이터가 HTTP 프로토콜인 경우,In step (9), if the data is HTTP protocol, (10) 상기 제1 및 제2 데이터 송수신 장치 중 요청 (Request)측으로부터 전 송된 데이터를 요청측 메모리에 저장하는 단계; 및(10) storing data transmitted from a request side of the first and second data transceiving devices in a request side memory; And (11) 상기 제1 및 제2 데이터 송수신 장치 중 응답 (Response)측으로부터 전송된 데이터를 응답측 메모리에 저장하는 단계를 포함하며,(11) storing data transmitted from a response side of the first and second data transmission / reception apparatuses in a response side memory, 상기 단계 (9)에서는, 상기 요청측 및 응답측 메모리에 저장된 양측의 데이터를 시간순으로 대응시킴으로써, 양측의 트랜젝션이 완료되었는지를 판별하는 데이터 전송량 분석 방법.In the step (9), data transmission amount analysis method for determining whether the transaction of both sides is completed by correlating the data of both sides stored in the request-side and response-side memory in chronological order. 제12항에 있어서,The method of claim 12, 상기 단계 (9)는, Step (9), (12) 상기 응답측 데이터 송수신 장치로부터 전송되는 데이터에 포함되어 있는 정보로서 상기 요청측 데이터 송수신 장치로부터의 요청임을 식별할 수 있는 정보를 생성한 방식과 동일한 방식으로, 상기 요청측 데이터 송수신 장치로부터 전송되는 데이터에 대하여 트랜젝션 키를 생성하는 단계를 더욱 포함하며,(12) From the requesting side data transmitting / receiving apparatus in the same manner as the information generated in the data transmitted from the responding side data transmitting / receiving apparatus to generate information for identifying the request from the requesting side data transmitting / receiving apparatus. Generating a transaction key for the transmitted data; 상기 단계 (9)에서는, 상기 단계 (12)에서 생성된 트랜젝션 키와 상기 응답측 데이터 송수신 장치로부터 전송되는 데이터에 포함된 요청측 식별 정보를 비교함으로써, 양측의 트랜젝션이 완료되었는지를 판별하는 데이터 전송량 분석 방법.In the step (9), by comparing the transaction key generated in the step (12) and the request side identification information included in the data transmitted from the response data transmitting and receiving apparatus, the amount of data transmission for determining whether the transaction of both sides is completed; Analytical Method.
KR1020050100328A 2004-10-25 2005-10-24 System and method for analyzing the amount of data transmitted KR100655187B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20040085408 2004-10-25
KR1020040085408 2004-10-25

Publications (2)

Publication Number Publication Date
KR20060049313A KR20060049313A (en) 2006-05-18
KR100655187B1 true KR100655187B1 (en) 2006-12-08

Family

ID=37149916

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050100328A KR100655187B1 (en) 2004-10-25 2005-10-24 System and method for analyzing the amount of data transmitted

Country Status (1)

Country Link
KR (1) KR100655187B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010101075A (en) * 1998-11-24 2001-11-14 추후보정 Apparatus and method for collecting and analyzing communications data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010101075A (en) * 1998-11-24 2001-11-14 추후보정 Apparatus and method for collecting and analyzing communications data

Also Published As

Publication number Publication date
KR20060049313A (en) 2006-05-18

Similar Documents

Publication Publication Date Title
Holland et al. New directions in automated traffic analysis
US8149705B2 (en) Packet communications unit
WO2019144836A1 (en) Data transmission method, apparatus and system
CN101009607B (en) Systems and methods for detecting and preventing flooding attacks in a network environment
RU2438177C2 (en) Method and system for service billing, network access server and protocol information analysing device
CN106612284B (en) Streaming data transmission method and device
US9356844B2 (en) Efficient application recognition in network traffic
US20120005369A1 (en) System and method of tcp tunneling
JP2003078565A (en) Wireless communication equipment
US10355961B2 (en) Network traffic capture analysis
CN103907327A (en) Unobtrusive content compression in a telecommunications network
US20090245103A1 (en) Congestion detection method, congestion detection apparatus, and recording medium storing congestion detection program recorded thereon
CN109450733A (en) A kind of network-termination device recognition methods and system based on machine learning
CN109922083B (en) Network protocol flow control system
KR100655187B1 (en) System and method for analyzing the amount of data transmitted
CN115002008B (en) Method, device, equipment and storage medium for measuring network delay
US20140086091A1 (en) Method, apparatus, and system for analyzing network transmission characteristic
CN105282050B (en) The method and apparatus of aggregate data flow
CN114710570A (en) UDP data zero-copy transmission method based on kernel mode protocol stack
Henze A Machine-Learning Packet-Classification Tool for Processing Corrupted Packets on End Hosts
WO2014101047A1 (en) Method, device, and system for identifying network packet loss type
KR100393424B1 (en) Charging system and method used sniffing technology for network communication
CN113904787A (en) Flow auditing method, device, equipment and computer readable storage medium
JP3872311B2 (en) NETWORK QUALITY MANAGEMENT METHOD, ITS DEVICE, ITS PROGRAM, AND MEDIUM CONTAINING THE PROGRAM
CN110337115A (en) A method of wechat payment perception is judged based on Transmission Control Protocol

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: 20130531

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131226

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141127

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee