KR20010011058A - Data packet damage and loss detection method for data communication system - Google Patents

Data packet damage and loss detection method for data communication system Download PDF

Info

Publication number
KR20010011058A
KR20010011058A KR1019990030254A KR19990030254A KR20010011058A KR 20010011058 A KR20010011058 A KR 20010011058A KR 1019990030254 A KR1019990030254 A KR 1019990030254A KR 19990030254 A KR19990030254 A KR 19990030254A KR 20010011058 A KR20010011058 A KR 20010011058A
Authority
KR
South Korea
Prior art keywords
data packet
sequence number
added
checksum
data
Prior art date
Application number
KR1019990030254A
Other languages
Korean (ko)
Other versions
KR100630051B1 (en
Inventor
윤의철
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990030254A priority Critical patent/KR100630051B1/en
Publication of KR20010011058A publication Critical patent/KR20010011058A/en
Application granted granted Critical
Publication of KR100630051B1 publication Critical patent/KR100630051B1/en

Links

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/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • 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
    • H04L43/0829Packet loss

Abstract

PURPOSE: A method for detecting data packet damage and data packet loss in a data communication system is provided to detect the data packet damage and the loss in terminal modules, to select a module of the data communication system when data packets are damaged or lost, and to monitor an operation state of the selected module. CONSTITUTION: If data packets are supplied from a network, terminal modules calculate a check sum of the data packets to allocate sequence numbers according to subscriber channels, and add the check sum and the sequence numbers to the data packets, then supply the data packets to next modules. If the terminal modules receive data packets added with a check sum for being transmitted to a network and sequence numbers from a module of a data communication system, the terminal modules allocate sequence numbers to the data packets according to subscriber channels, and calculate the check sum of the data packets. The terminal modules retrieve whether the calculated check sum is equal to the check sum added to the data packets. If not, the terminal modules informs a console of data packet damage, and retrieve whether the sequence numbers allocated to the data packets are equal to the sequence numbers added to the data packets. If the calculated check sum is equal to the added check sum, the terminal modules retrieve whether the allocated sequence numbers are equal to the added sequence numbers. If not, the terminal modules informs the console of data loss. If the calculated check sum is equal to the added check sum and if the allocated sequence numbers are equal to the added sequence numbers, the terminal modules remove the added check sum and the added sequence numbers, and transmit the data packets to the network.

Description

데이타 통신 시스템의 데이타 패킷 손상 및 유실 검출방법{DATA PACKET DAMAGE AND LOSS DETECTION METHOD FOR DATA COMMUNICATION SYSTEM}DATA PACKET DAMAGE AND LOSS DETECTION METHOD FOR DATA COMMUNICATION SYSTEM}

본 발명은 데이타 통신 시스템에 관한 것으로, 특히 데이타 통신 시스템의 내부에서 발생되는 데이타 패킷의 손상 및 유실을 검출하는 방법에 관한 것이다.The present invention relates to a data communication system, and more particularly, to a method for detecting corruption and loss of a data packet generated inside a data communication system.

종래의 데이타 통신 시스템의 개략적인 구성도를 도시한 도 1을 참조하면, 상기 데이타 통신 시스템(100)은 제1 내지 제N모듈(1021내지 102N)로 구성되며, 네트워크로부터 제공된 데이타 패킷은 상기 제1 내지 제N모듈(1021내지 102N)을 통해 처리되어 다시 네트워크로 전송될 수 있다.Referring to FIG. 1, which shows a schematic configuration diagram of a conventional data communication system, the data communication system 100 includes first to Nth modules 102 1 to 102 N , and a data packet provided from a network is provided. The first through N th modules 102 1 through 102 N may be processed and transmitted back to the network.

상기 제1 내지 제N모듈(1021내지 102N) 각각에는 데이타 패킷의 손상이나 유실 등의 발생을 모니터하기 위해 콘솔(C)이 연결된다.A console C is connected to each of the first to Nth modules 102 1 to 102 N to monitor the occurrence of data packet damage or loss.

상기 데이타 패킷의 손상이나 유실은 매우 중요한 문제이므로 통상적으로 데이타 패킷의 손상이나 유실이 발생되면 각 모듈에서 비정상 처리관련 메시지를 콘솔로 출력하도록 하였다. 그러나 비정상 처리관련 메시지의 출력여부는 프로그래머의 의사에 좌우되므로, 데이타 통신 시스템에서 발생되는 데이타 패킷의 손상이나 유실 검출에 대한 신뢰성이 높지 않았다.Since damage or loss of the data packet is a very important problem, when a damage or loss of the data packet occurs, each module outputs an abnormal processing related message to the console. However, the output of the abnormal processing message depends on the intention of the programmer, so that the reliability of the detection or damage of the data packet generated in the data communication system is not high.

또한 데이타 통신 시스템의 모듈의 수가 증가되면 그에 대응되게 콘솔도 증가되어야 하는데, 이 수가 증가될수록 한 명의 모니터가 상기 데이타 통신 시스템을 모니터하기가 곤란해졌다.In addition, as the number of modules of the data communication system increases, the console must be increased accordingly. As this number increases, it becomes difficult for one monitor to monitor the data communication system.

상술한 바와 같이 종래에는 데이타 통신 시스템에서 발생되는 데이타 패킷의 손상이나 유실 검출에 대한 신뢰성이 높지 않았으며, 데이타 통신 시스템의 모듈의 수가 증가될수록 데이타 통신 시스템을 모니터하기가 곤란한 점이 있었다.As described above, in the related art, reliability of the detection of damage or loss of data packets generated in the data communication system is not high, and it is difficult to monitor the data communication system as the number of modules of the data communication system increases.

따라서 본 발명의 목적은 데이타 통신 시스템에서 발생하는 데이타 패킷의 손상이나 유실 검출에 대한 신뢰성을 향상시킬 수 있으며, 데이타 통신 시스템의 모듈의 수가 증가되어도 데이타 통신 시스템을 용이하게 모니터할 수 있도록 하는 데이타 통신 시스템의 데이타 패킷 손상 및 유실 검출방법을 제공함에 있다.Accordingly, an object of the present invention is to improve the reliability of the detection of damage or loss of data packets occurring in the data communication system, and to facilitate monitoring of the data communication system even if the number of modules of the data communication system is increased. The present invention provides a method for detecting data packet corruption and loss in a system.

그리고 본 발명의 다른 목적은 데이타 통신 시스템 전체에 걸쳐 데이타 패킷이 손상되거나 유실되는 것을 검출할 수 있으며, 데이타 패킷이 손상되거나 유실되는 지점을 쉽게 검출해낼 수 있는 데이타 통신 시스템의 데이타 패킷 손상 및 유실검출방법을 제공함에 있다.In addition, another object of the present invention is to detect that the data packet is damaged or missing throughout the data communication system, the data packet corruption and loss detection of the data communication system that can easily detect the point where the data packet is damaged or lost In providing a method.

도 1은 종래의 데이타 통신 시스템에 콘솔을 연결한 것을 도시한 도면,1 is a view showing a console connected to a conventional data communication system,

도 2는 본 발명의 바람직한 실시예에 따른 데이타 통신 시스템에 콘솔을 연결한 것을 도시한 도면,2 is a view showing a console connected to a data communication system according to an embodiment of the present invention;

도 3은 데이타 패킷의 구성도,3 is a configuration diagram of a data packet;

도 4는 본 발명의 바람직한 실시예에 따라 체크섬과 시퀀스번호를 부가한 데이타 패킷의 구성도,4 is a block diagram of a data packet added with a checksum and a sequence number according to a preferred embodiment of the present invention;

도 5a 및 도 5b(이하 도 5라 칭함)는 도 2의 종단모듈에서 수행되는 데이타 패킷 손상 및 유실 검출방법의 흐름도,5A and 5B (hereinafter referred to as FIG. 5) are flowcharts of a data packet corruption and loss detection method performed in the termination module of FIG. 2;

도 6은 도 2의 각 모듈에서 수행되는 시퀀스번호 할당방법의 흐름도,6 is a flowchart of a sequence number assignment method performed in each module of FIG. 2;

도 7은 도 2의 콘솔에서의 처리 흐름도,7 is a process flow diagram at the console of FIG. 2;

도 8a 및 도 8b(이하 도 8이라 칭함)는 도 2의 종단모듈을 제외한 모듈에서 수행되는 데이타 패킷 손상 및 유실 검출방법의 흐름도.8A and 8B (hereinafter referred to as FIG. 8) are flowcharts of a data packet corruption and loss detection method performed in a module except the termination module of FIG. 2.

상술한 목적을 달성하기 위한 본 발명은 다수의 모듈중 종단모듈들이 네트워크로부터 데이타 패킷이 제공되면, 그 데이타 패킷의 체크섬을 계산하고, 가입자 채널별로 시퀀스 번호를 할당한 후에, 그 데이타 패킷에 상기 체크섬과 시퀀스 번호를 부가하여 다음 모듈로 제공하는 단계와, 상기 종단모듈들이 데이타 통신 시스템의 모듈로부터 네트워크로 전송할 체크섬과 시퀀스 번호가 부가된 데이타 패킷을 제공받으면, 그 데이타 패킷에 가입자 채널별로 시퀀스 번호를 할당하고, 그 데이타 패킷의 체크섬을 계산하는 단계와, 상기 계산된 체크섬이 상기 제공받은 데이타 패킷에 부가된 체크섬과 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하지 않으면 콘솔에 데이타 패킷의 손상을 통보하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하면, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 상기 콘솔에 데이타 유실을 통보하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하면, 상기 제공받은 데이타 패킷에 부가된 체크섬과 시퀀스 번호를 제거한 후에 상기 네트워크로 전송하는 단계를 구비하는 것을 특징으로 한다.In order to achieve the above object, according to the present invention, when end modules among a plurality of modules provide a data packet from a network, the checksum of the data packet is calculated, the sequence number is assigned to each subscriber channel, and the checksum is assigned to the data packet. And providing a sequence number to the next module by adding the sequence number to the next module, and receiving the data packet with the checksum and the sequence number to be transmitted to the network from the module of the data communication system. Assigning and calculating a checksum of the data packet, retrieving whether the calculated checksum matches the checksum appended to the provided data packet, and checking the computed checksum and the checksum appended to the provided data packet. If it does not match, notify console of data packet corruption And searching whether the sequence number assigned to the provided data packet and the sequence number appended to the provided data packet match, and if the calculated checksum matches the checksum added to the provided data packet, Searching whether the sequence number assigned to the provided data packet and the sequence number added to the data packet match; and if the assigned sequence number does not match the sequence number added to the provided data packet, the data is transmitted to the console. Notifying the loss, and if the calculated checksum and the checksum added to the provided data packet match, and the sequence number assigned to the provided data packet matches the sequence number added to the provided data packet, Checksum and sequence number added to the received data packet. After the removal, characterized in that it comprises the step of transmitting to the network.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있으나, 이들 특정 상세들은 본 발명의 설명을 위해 예시한 것으로 본 발명이 그들에 한정됨을 의미하는 것은 아니다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. While many specific details are set forth in the following description and in the accompanying drawings, to provide a more general understanding of the invention, these specific details are illustrated for the purpose of illustrating the invention and are not meant to limit the invention thereto. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

본 발명이 적용가능한 데이타 통신 시스템을 개략적으로 도시한 도 2를 참조하면, 상기 데이타 통신 시스템(200)은 제1 내지 제N모듈(2021내지 202N)로 구성되며, 네트워크로부터 제공된 데이타 패킷은 상기 제1 내지 제N모듈(2021내지 202N)을 통해 처리되어 다시 네트워크로 전송될 수 있다. 상기 네트워크로부터 제공되거나, 네트워크로 전송되는 데이타 패킷의 구조는 도 3에 도시한 바와 같이 헤더와 데이타로 구성된다.Referring to FIG. 2 schematically showing a data communication system to which the present invention is applicable, the data communication system 200 is composed of first to Nth modules 202 1 to 202 N , and a data packet provided from a network The first through N th modules 202 1 through 202 N may be processed and transmitted back to the network. The structure of the data packet provided from or transmitted to the network is composed of a header and data as shown in FIG.

상기 제1 내지 제N모듈(2021내지 202N) 중 종단모듈인 제1 및 제N모듈(2021및 202N)에는 데이타 패킷의 손상 및 유실 검출을 위한 콘솔(C)이 연결되고, 그외의 모듈에는 필요시에만 콘솔(C)이 연결되어 해당 모듈에서의 데이타 패킷의 손상 및 유실 검출이 수행될 수 있다. 상기 종단모듈인 제1 및 제N모듈(2021및 202N)는 데이타 패킷의 손상 및 유실을 검출하기 위해 도 4에 도시한 바와 같이 데이타 패킷에 체크섬과 시퀀스번호를 부가한다.The first through the N modules (202 1 to 202 N) of the termination module, the first and the N modules (202 1 and 202 N), the console (C) for the damage and loss of detection of the data packet is connected, and so on The console C is connected to the module of C only if necessary so that corruption and loss of data packets in the module can be performed. The first and Nth modules 202 1 and 202 N , which are end modules, add checksums and sequence numbers to the data packets as shown in FIG. 4 to detect damage and loss of the data packets.

이제 상기와 같은 데이타 통신 시스템에 적용가능한 본 발명의 바람직한 실시예에 따른 데이타 패킷 손상 및 유실 검출방법을 상세히 설명한다.Now, a data packet corruption and loss detection method according to a preferred embodiment of the present invention applicable to such a data communication system will be described in detail.

먼저 종단모듈인 제1 및 제N모듈(2021및 202N)에서 이루어지는 데이타 패킷의 손상 및 유실검출을 위한 동작을 설명하며, 상기 제1 및 제N모듈(2021및 202N)에서 이루어지는 데이타 손상 및 유실검출을 위한 동작은 동일하므로, 이하 제1모듈(2021)에서 이루어지는 동작만을 도 5의 흐름도를 참조하여 설명한다.First it described the termination module of claim 1 and an operation for the damage and loss of detection of the data packets takes place in the N modules (202 1 and 202 N), and data composed in the first and the N modules (202 1 and 202 N) Since the operations for damage and loss detection are the same, only operations performed by the first module 201 1 will be described with reference to the flowchart of FIG.

상기 제1모듈(2021)은 (300)단계에서 네트워크로부터 데이타 패킷이 제공되는지를 검색한다. 이때 제1모듈(2021)은 데이타 패킷이 제공되면 (302)단계로 진행하여 제공된 데이타 패킷의 체크섬을 계산한다. 여기서, 상기 체크섬 산출방식은 여러가지가 사용될 수 있는 데, 예를들어 CRC-32나 CRC-16 등이 사용될 수 있다. 상기 데이타 패킷의 체크섬을 계산한 후에 제1모듈(2021)은 (304)단계로 진행하여 제공된 데이타 패킷에 할당된 시퀀스 번호를 검색한다. 여기서 데이타 패킷의 시퀀스 번호는 도 6에 도시한 흐름도에 따라 할당되며, 이에대한 설명은 후술된다. 상기 데이타 패킷에 할당된 시퀀스 번호가 검색되면, 제1모듈(2021)은 (306)단계로 진행하여 제공된 데이타 패킷에 체크섬과 시퀀스번호를 부가한 후에 (308)단계로 진행하여 그 데이타 패킷을 다음 모듈인 제2모듈(2022)에 제공한다. 이후 제1모듈(2021)은 (310)단계로 진행하여 제2모듈(2022)로부터 체크섬과 시퀀스번호가 부가되었으며, 네트워크로 전송할 데이타 패킷이 제공되는지를 검색한다. 이때 제1모듈(2021)은 체크섬과 시퀀스번호가 부가된 데이타 패킷이 제공되면 (314)단계로 진행하고, 그렇지 않으면 (312)단계로 진행하여 해당동작을 수행한다. 상기 (314)단계에서 제1모듈(2021)은 제공된 데이타 패킷의 체크섬을 계산한다. 이렇게 체크섬을 계산한 후에 제1모듈(2021)은 (316)단계로 진행하여 계산된 체크섬과 데이타 패킷에 부가된 체크섬이 일치하는지를 검색한다. 이때 제1모듈(2021)은 계산된 체크섬과 데이타 패킷에 데이타 패킷에 부가된 체크섬이 일치하면 (318)단계로 진행하고, 그렇지 않으면 (324)단계로 진행한다. 상기 (318)단계에서 제1모듈(2021)은 제공된 데이타 패킷에 할당된 시퀀스 번호를 검색한 후에 (320)단계로 진행한다. 상기 (320)단계에서 제1모듈(2021)은 데이타 패킷에 할당된 시퀀스 번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색한다. 이때 제1모듈(2021)은 할당된 시퀀스 번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 (330)단계로 진행하고, 그렇지 않으면 (322)단계로 진행하여 제공된 데이타 패킷에 부가된 체크섬과 시퀀스 번호를 제거한 후에 네트워크로 전송한다.The first module 202 1 searches whether the data packet is provided from the network in operation 300. At this time, the first module (202 1) was when the data packet is available the process proceeds to 302, step calculates the checksum of the data packet included. Here, the checksum calculation method may be used in various ways, for example, CRC-32 or CRC-16 may be used. After calculating the checksum of the data packet, the first module 202 1 proceeds to step 304 to retrieve the sequence number assigned to the provided data packet. Here, the sequence number of the data packet is allocated according to the flowchart shown in FIG. 6, which will be described later. When the sequence number assigned to the data packet is found, the first module 201 1 proceeds to step 306 to add a checksum and sequence number to the provided data packet, and then proceeds to step 308 to process the data packet. It is provided to the next module, the second module 202 2 . Thereafter, the first module 202 1 proceeds to step 310 to search whether the checksum and sequence number have been added from the second module 202 2 , and whether a data packet to be transmitted to the network is provided. In this case, when the data packet to which the checksum and the sequence number are added is provided, the first module 201 1 proceeds to step 314, otherwise proceeds to step 312 to perform a corresponding operation. In step 314, the first module 202 1 calculates a checksum of the provided data packets. After calculating the checksum in this manner, the first module 202 1 proceeds to step 316 and searches whether the calculated checksum matches the checksum added to the data packet. In this case, if the calculated checksum and the checksum added to the data packet coincide with the data packet, the first module 202 1 proceeds to step 318; otherwise, proceeds to step 324. In step 318, the first module 201 1 searches for the sequence number assigned to the provided data packet, and then proceeds to step 320. The first module in the 320 step (202 1) and searches whether there is a sequence number added to the sequence number and the packet data assigned to the data packet match. In this case, if the allocated sequence number and the sequence number added to the data packet do not match, the first module 201 1 proceeds to step 330, otherwise proceeds to step 322 and checksum added to the provided data packet. Remove the sequence number and send it to the network.

상기 (316)단계에서 계산된 데이타 패킷의 체크섬과 데이타 패킷에 부가된 체크섬이 일치하지 않으면 제1모듈(2021)은 (324)단계로 진행하여 콘솔(C)에 데이타 패킷의 손상을 통보한 후에 (326)단계로 진행한다. 상기 (326)단계에서 제1모듈(2021)은 제공된 데이타 패킷에 할당된 시퀀스 번호를 검색한 후에 (328)단계로 진행한다. 상기 (328)단계에서 제1모듈(2021)은 검색된 데이타 패킷의 시퀀스 번호와 데이타 패킷에 부가된 시퀀스번호가 일치하는지를 검색한다. 이때 제1모듈(2021)은 검색된 시퀀스 번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 (330)단계로 진행하여 콘솔(C)에 데이타 패킷의 유실을 통보한다.If the checksum of the data packet calculated in step 316 and the checksum added to the data packet do not match, the first module 201 1 proceeds to step 324 to notify the console C of the data packet corruption. After that, the flow proceeds to step 326. In step 326, the first module 202 1 searches for the sequence number assigned to the provided data packet, and then proceeds to step 328. In step 328, the first module 202 1 searches whether the sequence number of the retrieved data packet matches the sequence number added to the data packet. In this case, if the found sequence number does not match the sequence number added to the data packet, the first module 2021 1 proceeds to step 330 and notifies the console C of the loss of the data packet.

상기 데이타 통신 시스템(200)의 모든 모듈들은 데이타 패킷이 제공되면 시퀀스 번호를 할당하는데, 이를 도 6을 참조하여 설명한다. 상기 데이타 통신 시스템(200)의 모듈중 제1모듈(2021)에서의 동작을 설명하면, 제1모듈(2021)은 (400)단계에서 제1모듈(2021)은 네트워크 또는 제2모듈(2022)로부터 데이타 패킷이 제공되는지를 검색하여, 데이타 패킷이 제공되면 (404)단계로 진행하여 제공된 데이타 패킷의 가입자 채널을 검색한다. 상기 데이타 패킷의 가입자 채널이 검색되면 제1모듈(2021)은 (406)단계로 진행하여 검색된 가입자 채널의 시퀀스 번호를 증가시키고, 그 시퀀스 번호를 해당 데이타 패킷의 시퀀스 번호로 할당한다.All modules of the data communication system 200 assign sequence numbers when data packets are provided, which will be described with reference to FIG. 6. Referring to the operation of the first module (202 1 ) of the module of the data communication system 200, the first module (202 1 ) in step 400, the first module (202 1 ) is a network or second module (202 2) search for that data packet is provided from the, if the data packet is available the process proceeds to 404 to retrieve a step of the subscriber channel data packets provided. When the subscriber channel of the data packet is found, the first module 201 1 proceeds to step 406 to increment the sequence number of the found subscriber channel and assigns the sequence number to the sequence number of the corresponding data packet.

이와같이 데이타 통신 시스템(202)의 모든 모듈들은 데이타 패킷의 시퀀스 번호를 가입자 채널에 따라 분리하여 할당하며, 이러한 데이타 패킷의 시퀀스 번호는 데이타 통신 시스템(200)의 모든 모듈에서 동일하게 된다.As such, all modules of the data communication system 202 allocate the sequence numbers of the data packets separately according to subscriber channels, and the sequence numbers of these data packets are the same in all modules of the data communication system 200.

상술한 바와 같이 상기 제1 및 제N모듈(2021및 202N)은 네트워크로부터 데이타 패킷이 제공되면 체크섬과 시퀀스 번호를 그 데이타 패킷에 부가하고, 이후 네트워크로 다시 전송할 때에는 그 체크섬과 시퀀스 번호가 정상적인지를 검색하여 데이타 통신 시스템 내부에서 데이타 패킷이 손상되거나 유실되었는지를 검색한다. 이때 데이타 패킷이 손상되거나 유실되지 않았으면 체크섬과 시퀀스 번호가 부가된 데이타 패킷에서 체크섬과 시퀀스 번호를 제거한 후에 다시 네트워크로 전송한다.As described above, when the data packet is provided from the network, the first and Nth modules 202 1 and 202 N add the checksum and the sequence number to the data packet. It checks whether the data packet is damaged or lost inside the data communication system by checking whether it is normal. At this time, if the data packet is not damaged or lost, the checksum and sequence number are removed from the data packet to which the checksum and sequence number are added, and then transmitted again to the network.

이와같이 본 발명은 종단모듈에서만 데이타 패킷의 손상을 모니터링하여 데이타 패킷이 데이타 통신 시스템에서 손상되거나 유실되는지를 일차적으로 검출한다.As such, the present invention primarily monitors the corruption of data packets only at the end module to detect whether the data packets are damaged or lost in the data communication system.

그런데 상기 데이타 통신 시스템 내부에서 데이타 패킷이 손상되거나 유실되면 모니터는 어느 모듈에서 데이타 패킷의 손상이나 유실이 발생되었는지를 파악하기 위하여 콘솔을 종단모듈이 아닌 모듈에 연결하여, 그 모듈에서의 데이타 패킷의 손상이나 유실을 검출한다. 이를 콘솔(C)의 처리 흐름도를 도시한 도 7과 콘솔(C)이 연결된 모듈(이하 제3모듈(2023)로 가정함)의 처리 흐름도를 도시한 도 8을 참조하여 설명한다.However, if a data packet is damaged or lost in the data communication system, the monitor connects the console to a module rather than an end module to determine in which module the data packet is damaged or lost. Detect damage or loss. This will be described with reference to FIG. 8 shows a process flow diagram of the console (also assumed to be less than a third module (202 3)) (C) module showing a process flow diagram associated with Figure 7 and the console (C) of.

먼저 콘솔(C)은 (500)단계로 진행하여 콘솔(C)을 사용하여 데이타 통신 시스템을 모니터링하는 모니터가 콘솔(C)과 연결된 제3모듈(2023)에서의 데이타 패킷의 손상 및 유실검출을 명령하는지를 검색한다. 이때 콘솔(C)은 모니터가 데이타 패킷의 손상 및 유실검출을 명령하면 (502)단계로 진행하고, 그렇지 않으면 (504)단계로 진행한다. 상기 (502)단계에서 콘솔(C)은 제3모듈(2023)에 데이타 패킷의 손상 및 유실 검출을 명령한다. 상기 (504)단계에서 콘솔(C)은 제3모듈(2023)로부터 데이타 패킷의 손상 또는 유실검출이 통보되는지를 검색한다. 이때 콘솔(C)은 제3모듈(2023)로부터 데이타 패킷의 손상 또는 유실검출이 통보되면 (508)단계로 진행하여 제3모듈(2023)로부터의 데이타 패킷의 손상 또는 유실검출 사실을 모니터에 안내한다. 여기서, 데이타 패킷의 손상 또는 유실검출을 모듈로부터 통보받아 모니터에 안내하는 것은 종단모듈에 연결된 콘솔(C)에서도 동일하게 적용된다.First, the console (C) proceeds to step (500) and the monitor for monitoring the data communication system using the console (C) detects the damage and loss of data packets in the third module (202 3 ) connected to the console (C). Search for the command. In this case, the console C proceeds to step 502 if the monitor commands damage and loss of the data packet, and otherwise proceeds to step 504. The console (C) in 502 steps, instructs detection of the damage and loss of data packets to a third module (202 3). The console (C) in the 504 step searches whether the corruption or loss detection is notified of a data packet from a third module (202 3). The console (C) is a third module (202 3) If from the damage of the data packets or loss detection is notified proceeds to 508, step a third module (202 3) to monitor the damaged or lost data packet is detected in fact from Guide to. Here, the notification of the damage or loss of the data packet from the module to guide the monitor is equally applicable to the console C connected to the end module.

상기와 같이 콘솔(C)이 데이타 패킷의 손상 및 유실검출을 명령하면, 제3모듈(2023)은 데이타 패킷의 손상 및 유실을 검출하여 이를 콘솔(C)에 통보한다. 이를 도 8을 참조하여 설명하면, 제3모듈(2023)은 콘솔(C)로부터 데이타 패킷의 손상 또는 유실검출 명령이 제공되는지를 검색한다. 이때 제3모듈(2023)은 데이타 패킷의 손상 또는 유실검출 명령이 제공되면 (604)단계로 진행하여 데이타 통신 시스템의 모듈, 즉 제2모듈(2022) 또는 제4모듈(2024)로부터 체크섬과 시퀀스 번호가 부가된 데이타 패킷이 제공되는지를 검색한다. 이때 제3모듈(2023)은 데이타 패킷이 제공되면 (606)단계로 진행하여 제공된 데이타 패킷의 체크섬을 계산한 후에 (608)단계로 진행한다. 상기 (608)단계에서 제3모듈(2023)은 계산된 데이타 패킷의 체크섬과 데이타 패킷에 부가된 체크섬이 일치하는지를 검색한다. 이때 제3모듈(2023)은 데이타 패킷의 체크섬과 데이타 패킷에 부가된 체크섬이 일치하면 (610)단계로 진행하여 제공된 데이타 패킷에 할당된 시퀀스 번호를 검색한 후에 (612)단계로 진행한다. 상기 (612)단계에서 제3모듈(2023)은 데이타 패킷에 할당된 시퀀스 번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색한다. 이때 제3모듈(2023)은 할당된 시퀀스 번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 (620)단계로 진행하여 콘솔(C)에 데이타 패킷의 유실을 통보한다.If the console (C) a command to damage and loss of detection of the data packet as described above, the third module (202 3) to detect the damage and loss of data packets notifies the console (C). This is explained with reference to Figure 8, a third module (202 3) searches whether the damage or loss is detected command is given of the data packet from the console (C). At this time, from a third module (202 3) If the service is damaged or lost, the detection command of the data packet module of the data communication system, the process proceeds to 604 steps, that is, the second module (202 2) or the fourth module (202 4) Retrieves whether a data packet is appended with a checksum and sequence number. The third module (202 3) If the data packet is available the process proceeds to 606 and proceeds to step 608. After step calculates the checksum of the data packet it included. A third module (202 3) in the 608 step is to search to see if the checksum in addition to the checksum and packet data of the calculated data packet match. The third module (202 3) proceeds as if the checksum in addition to the checksum and the data packet of the data packet match After retrieving the sequence number assigned to a data packet included the process proceeds to 610, step 612 steps. In the 612 step a third module (202 3) searches whether there is a sequence number added to the sequence number and the packet data assigned to the data packet match. The third module (202 3) is notified of the loss of a data packet to the console (C) proceeds to 620. If the step does not match the sequence number in addition to the sequence number and the data packet is assigned.

상기 (608)단계에서 계산된 데이타 패킷의 체크섬과 데이타 패킷에 부가된 체크섬이 일치하지 않으면 제3모듈(2023)은 (614)단계로 진행하여 콘솔(C)에 데이타 패킷의 손상을 통보한다. 상기 콘솔(C)에 데이타 패킷의 손상을 통보한 후에 제3모듈(2023)은 제공된 데이타 패킷에 할당된 시퀀스 번호를 검색한 후에 (618)단계로 진행한다. 상기 (618)단계에서 제3모듈(2023)은 데이타 패킷에 할당된 시퀀스번호와 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색한다. 이때 제3모듈(2023)은 할당된 시퀀스번호와 데이타 패킷에 부가된 시퀀스번호가 일치하지 않으면 (620)단계로 진행하여 콘솔(C)에 데이타 패킷의 유실을 통보한다.And if a checksum in addition to the checksum and the data packets of the data packet calculated in the 608 phase do not match a third module (202 3) is notified of the damage of the data packet to the console (C) proceeds to 614. Step . After informed of the damage of the data packet to the console (C) a third module (202 3) proceeds to 618 after the step retrieving the sequence number assigned to a data packet included. In the 618 step a third module (202 3) searches whether there is a sequence number added to the sequence number and the packet data assigned to the data packet match. The third module (202 3) is notified of the loss of a data packet to the console (C) proceeds to 620. If the step does not match the sequence number in addition to the sequence number and the data packet is assigned.

이와같이 본 발명은 다수의 모듈로 구성된 데이타 통신 시스템의 각 모듈에 콘솔을 연결한 후에 모든 모듈의 동작 상태를 모니터링하도록 하는 것이 아니라, 종단모듈에서의 데이타 패킷의 손상 및 유실을 검출하여 일단 데이타 패킷에 손상이나 유실이 발생하면 데이타 통신 시스템의 모듈을 선택하여 동작상태를 모니터링하도록 한다.As such, the present invention does not monitor the operation status of all modules after connecting the console to each module of the data communication system composed of a plurality of modules, but detects the damage and loss of the data packet in the end module, and then In the event of damage or loss, select a module in the data communication system to monitor its operation.

이에따라 데이타 통신 시스템에서 발생하는 데이타 손상 및 유실을 적은 수의 콘솔과 모니터로 모니터링할 수 있도록 한다.As a result, data corruption and loss in data communications systems can be monitored by a small number of consoles and monitors.

또한 프로그래머의 의사에 좌우되는 비정상 처리관련 메시지에 따라 데이타 패킷의 손상이나 유실을 검색하는 것이 아니라 데이타 통신 시스템 전체에서 데이타 패킷의 손상이나 유실을 검색함으로써, 데이타 패킷의 손상이나 유실 검출의 신뢰성을 향상시킬 수 있다.It also improves the reliability of data packet damage or loss detection by detecting damage or loss of data packets throughout the data communication system, instead of detecting data packet damage or loss according to abnormal processing messages that depend on the programmer's intention. You can.

상술한 바와 같이 본 발명은 적은 수의 콘솔과 모니터로 데이타 통신 시스템에서 발생하는 데이타 손상 및 유실을 정확하게 파악할 수 있으며, 데이타 패킷의 손상이나 유실 검출의 신뢰성을 향상시킬 수 있는 이점이 있다.As described above, the present invention can accurately identify data corruption and loss occurring in a data communication system with a small number of consoles and monitors, and has an advantage of improving reliability of detecting or detecting data packet loss or loss.

Claims (2)

다수의 모듈로 구성되는 데이타 통신 시스템의 데이타 패킷 손상 및 유실 검출방법에 있어서,In the data packet corruption and loss detection method of a data communication system composed of a plurality of modules, 상기 다수의 모듈중 종단모듈들이 네트워크로부터 데이타 패킷이 제공되면, 그 데이타 패킷의 체크섬을 계산하고, 가입자 채널별로 시퀀스 번호를 할당한 후에, 그 데이타 패킷에 상기 체크섬과 시퀀스 번호를 부가하여 다음 모듈로 제공하는 단계와,When the end modules among the plurality of modules are provided with data packets from the network, the checksums of the data packets are calculated, the sequence numbers are assigned to each subscriber channel, and the checksums and sequence numbers are added to the data packets to the next module. To provide, 상기 종단모듈들이 데이타 통신 시스템의 모듈로부터 네트워크로 전송할 체크섬과 시퀀스 번호가 부가된 데이타 패킷을 제공받으면, 그 데이타 패킷에 가입자 채널별로 시퀀스 번호를 할당하고, 그 데이타 패킷의 체크섬을 계산하는 단계와,When the end modules receive a data packet appended with a checksum and a sequence number to be transmitted to a network from a module of a data communication system, assigning a sequence number for each subscriber channel to the data packet, and calculating a checksum of the data packet; 상기 계산된 체크섬이 상기 제공받은 데이타 패킷에 부가된 체크섬과 일치하는지를 검색하는 단계와,Retrieving whether the calculated checksum matches the checksum added to the provided data packet; 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하지 않으면 콘솔에 데이타 패킷의 손상을 통보하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와,If the calculated checksum and the checksum added to the provided data packet do not match, the console is notified of the corruption of the data packet, and the sequence number assigned to the provided data packet and the sequence number added to the provided data packet are notified. Searching for a match; 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하면, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와,If the calculated checksum matches the checksum appended to the provided data packet, searching whether the sequence number assigned to the provided data packet matches the sequence number appended to the data packet; 상기 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 상기 콘솔에 데이타 유실을 통보하는 단계와,Notifying the console of data loss if the assigned sequence number and the sequence number added to the provided data packet do not match; 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하면, 상기 제공받은 데이타 패킷에 부가된 체크섬과 시퀀스 번호를 제거한 후에 상기 네트워크로 전송하는 단계를 구비하는 것을 특징으로 하는 데이타 통신 시스템의 데이타 패킷 손상 및 유실 검출방법.If the calculated checksum and the checksum added to the provided data packet match, and the sequence number assigned to the provided data packet and the sequence number added to the provided data packet match, appended to the provided data packet. And removing the checked checksum and sequence number and transmitting the same to the network. 제1항에 있어서,The method of claim 1, 상기 다수의 모듈 중 어느 한 모듈에 연결된 콘솔로부터 데이타 패킷 손상 및 유실검출이 명령되면, 상기 데이타 통신 시스템의 모듈로부터 데이타 패킷을 제공받아 그 데이타 패킷에 가입자 채널별로 시퀀스 번호를 할당하고, 그 데이타 패킷의 체크섬을 계산하는 단계와,When data packet corruption and loss detection is ordered from a console connected to any one of the plurality of modules, a data packet is received from a module of the data communication system, and a sequence number is assigned for each subscriber channel to the data packet. Calculating the checksum of 상기 계산된 체크섬이 상기 제공받은 데이타 패킷에 부가된 체크섬과 일치하는지를 검색하는 단계와,Retrieving whether the calculated checksum matches the checksum added to the provided data packet; 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하지 않으면 콘솔에 데이타 패킷의 손상을 통보하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와,If the calculated checksum and the checksum added to the provided data packet do not match, the console is notified of the corruption of the data packet, and the sequence number assigned to the provided data packet and the sequence number added to the provided data packet are notified. Searching for a match; 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하면, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와,If the calculated checksum matches the checksum appended to the provided data packet, searching whether the sequence number assigned to the provided data packet matches the sequence number appended to the data packet; 상기 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 상기 콘솔에 데이타 유실을 통보하는 단계를 더 구비하는 것을 특징으로 하는 데이타 통신 시스템의 데이타 패킷 손상 및 유실 검출방법.And notifying the console of data loss if the assigned sequence number and the sequence number added to the provided data packet do not match.
KR1019990030254A 1999-07-24 1999-07-24 Data packet damage and loss detection method for data communication system KR100630051B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990030254A KR100630051B1 (en) 1999-07-24 1999-07-24 Data packet damage and loss detection method for data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990030254A KR100630051B1 (en) 1999-07-24 1999-07-24 Data packet damage and loss detection method for data communication system

Publications (2)

Publication Number Publication Date
KR20010011058A true KR20010011058A (en) 2001-02-15
KR100630051B1 KR100630051B1 (en) 2006-09-27

Family

ID=19604443

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990030254A KR100630051B1 (en) 1999-07-24 1999-07-24 Data packet damage and loss detection method for data communication system

Country Status (1)

Country Link
KR (1) KR100630051B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100602646B1 (en) * 2004-02-06 2006-07-19 삼성전자주식회사 Method for processing interfacing malfunction of network processor
KR100666997B1 (en) * 2006-01-26 2007-01-10 삼성전자주식회사 Apparatus and method for processing checksum
CN111835587A (en) * 2020-06-23 2020-10-27 郑州信大捷安信息技术股份有限公司 Network data packet-based verification method and system
CN111865494A (en) * 2020-06-23 2020-10-30 郑州信大捷安信息技术股份有限公司 Data self-checking device and method based on checksum

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100602646B1 (en) * 2004-02-06 2006-07-19 삼성전자주식회사 Method for processing interfacing malfunction of network processor
KR100666997B1 (en) * 2006-01-26 2007-01-10 삼성전자주식회사 Apparatus and method for processing checksum
CN111835587A (en) * 2020-06-23 2020-10-27 郑州信大捷安信息技术股份有限公司 Network data packet-based verification method and system
CN111865494A (en) * 2020-06-23 2020-10-30 郑州信大捷安信息技术股份有限公司 Data self-checking device and method based on checksum
CN111865494B (en) * 2020-06-23 2022-02-18 郑州信大捷安信息技术股份有限公司 Data self-checking device and method based on checksum

Also Published As

Publication number Publication date
KR100630051B1 (en) 2006-09-27

Similar Documents

Publication Publication Date Title
US7738461B2 (en) Communication apparatus and switching device
US6282669B1 (en) Ethernet communication redundancy method
US20020141334A1 (en) Dynamic protection bandwidth allocation in BLSR networks
US8379509B2 (en) Electronic device protection systems and methods
CN103473143A (en) Fault correcting treatment, fault correcting method and device
CN102571492B (en) Method and device for detecting failure of routing equipment
CN110740072A (en) fault detection method, device and related equipment
EP3142312A1 (en) Method and apparatus for processing upstream data anomaly
CN113971087A (en) Task allocation method, device and system and computer storage medium
CN108337069B (en) Improved error rate reducing end parallel grouping CRC (Cyclic redundancy check) system
CN108683561B (en) Site state detection method and device
KR100630051B1 (en) Data packet damage and loss detection method for data communication system
JP2002359596A (en) Burst light output monitoring method and device thereof
US8619627B2 (en) Automatic determination of groupings of communications interfaces
CN108337135B (en) Communication control system, method and device
CN115514623A (en) Fault processing method, stacking device and storage medium
JPH09219720A (en) Fault detection method and device for communication network
US7159148B2 (en) Method for performance and fault management in a telecommunication network
JP7417773B1 (en) Network interface card and transmission performance monitoring method
JP2867865B2 (en) Protection line switching control method
JPH05219084A (en) Monitoring method for ring network
JP2022100543A (en) Continuity test device, continuity test method, and program
US20030091065A1 (en) Method and apparatus for chained operation of SDH boards
JPH0653995A (en) Line correspondence part for packet switching device
KR0174001B1 (en) Path selector of high level data link control procedure frame

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee