KR100630051B1 - 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 PDFInfo
- Publication number
- KR100630051B1 KR100630051B1 KR1019990030254A KR19990030254A KR100630051B1 KR 100630051 B1 KR100630051 B1 KR 100630051B1 KR 1019990030254 A KR1019990030254 A KR 1019990030254A KR 19990030254 A KR19990030254 A KR 19990030254A KR 100630051 B1 KR100630051 B1 KR 100630051B1
- Authority
- KR
- South Korea
- Prior art keywords
- data packet
- sequence number
- checksum
- module
- match
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0847—Transmission error
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
가. 청구범위에 기재된 발명이 속한 기술분야
본 발명은 데이타 통신 시스템 내부에서 발생되는 데이타 패킷의 손상과 유실을 검출하는 방법에 관한 것이다.
나. 발명이 해결하고자 하는 기술적 과제
적은 수의 콘솔과 모니터로 데이타 통신 시스템에서 발생하는 데이타 손상 및 유실을 정확하게 파악할 수 있게 한다.
다. 발명의 해결방법의 요지
다수의 모듈 중 일측 종단모듈에 네트워크로부터 데이타 패킷이 제공되면, 상기 데이타 패킷의 체크섬을 계산하고, 가입자 채널별로 시퀀스 번호를 할당한 후에, 상기 데이타 패킷에 상기 체크섬과 시퀀스 번호를 부가하여 다음 모듈로 제공하는 단계와, 타측 종단모듈이 상기 다수의 모듈들을 통해 상기 일측 종단 모듈로부터 상기 네트워크로 전송할 체크섬과 시퀀스 번호가 부가된 데이타 패킷을 제공받으면, 상기 데이타 패킷에 가입자 채널별로 시퀀스 번호를 할당하고, 상기 데이타 패킷의 체크섬을 계산하는 단계와, 상기 타측 종단 모듈이 상기 계산된 체크섬이 상기 제공받은 데이타 패킷에 부가된 체크섬과 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하지 않으면 상기 타측 종단 모듈에 연결된 콘솔에 데이타 패킷의 손상을 통보하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하면, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 상기 타측 종단 모듈에 연결된 콘솔에 데이타 유실을 통보하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하면, 상기 제공받은 데이타 패킷에 부가된 체크섬과 시퀀스 번호를 제거한 후에 상기 네트워크로 전송하는 단계와, 상기 계산된 체크섬과 제공받은 데이터 패킷에 부가된 체크섬이 일치하지 않거나, 상기 제공받은 데이터 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이터 패킷에 부가된 시퀀스 번호가 일치하지 않으면, 다수의 모듈 중 종단 모듈이 아닌 중간 모듈에 콘솔을 연결하여 상기 데이터 패킷의 체크섬 및/또는 시퀀스 번호가 일치하는지 확인하는 단계를 구비하는 것을 특징으로 한다.
라. 발명의 중요한 용도
본 발명은 데이타 통신 시스템에 사용될 수 있다.
데이타 통신 시스템, 데이타 패킷
end. The technical field to which the invention described in the claims belongs
The present invention relates to a method for detecting corruption and loss of a data packet generated inside a data communication system.
I. The technical problem to be solved by the invention
A small number of consoles and monitors enable you to pinpoint data corruption and loss in data communications systems.
All. Summary of Solution of the Invention
When a data packet is provided from one network to one end module among a plurality of modules, a checksum of the data packet is calculated, a sequence number is assigned to each subscriber channel, and the checksum and sequence number are added to the data packet to the next module. If the other end module is provided with a data packet to which the checksum and the sequence number to be transmitted from the one end module to the network through the plurality of modules, and assigns the sequence number for each subscriber channel to the data packet, Calculating a checksum of the data packet, the other end module searching for whether the calculated checksum matches a checksum added to the provided data packet, appending the calculated checksum and the provided data packet The other end if the checked sum does not match Notifying the console connected to the module that the data packet is damaged, retrieving whether the sequence number assigned to the provided data packet matches the sequence number appended to the provided data packet, the calculated checksum and the received If the checksum appended to the data packet matches, searching for whether the sequence number assigned to the provided data packet and the sequence number appended to the data packet match; adding to the assigned sequence number and the provided data packet Notifying the console connected to the other end module if the sequence number does not match, the calculated checksum and the checksum added to the provided data packet match, and the sequence assigned to the provided data packet Number and sequence number appended to the provided data packet If is matched, after removing the checksum and sequence number added to the provided data packet and transmitting to the network, the calculated checksum and the checksum added to the provided data packet do not match, or the provided data packet If the sequence number assigned to and the sequence number added to the provided data packet do not match, connect the console to an intermediate module, not an end module, among the plurality of modules to check whether the checksum and / or sequence number of the data packet match. Characterized in that it comprises a step.
la. Important uses of the invention
The present invention can be used in a data communication system.
Data communication systems, data packets
Description
도 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.
본 발명은 데이타 통신 시스템에 관한 것으로, 특히 데이타 통신 시스템의 내부에서 발생되는 데이타 패킷의 손상 및 유실을 검출하는 방법에 관한 것이다. 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
상기 제1 내지 제N모듈(1021 내지 102N) 각각에는 데이타 패킷의 손상이나 유실 등의 발생을 모니터하기 위해 콘솔(C)이 연결된다.A console C is connected to each of the first to
상기 데이타 패킷의 손상이나 유실은 매우 중요한 문제이므로 통상적으로 데이타 패킷의 손상이나 유실이 발생되면 각 모듈에서 비정상 처리관련 메시지를 콘솔로 출력하도록 하였다. 그러나 비정상 처리관련 메시지의 출력여부는 프로그래머의 의사에 좌우되므로, 데이타 통신 시스템에서 발생되는 데이타 패킷의 손상이나 유실 검출에 대한 신뢰성이 높지 않았다. 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.
상술한 목적을 달성하기 위한 본 발명은 다수의 모듈 중 일측 종단모듈에 네트워크로부터 데이타 패킷이 제공되면, 상기 일측 종단 모듈들이 상기 데이타 패킷의 체크섬을 계산하고, 가입자 채널별로 시퀀스 번호를 할당한 후에, 상기 데이타 패킷에 상기 체크섬과 시퀀스 번호를 부가하여 다음 모듈로 제공하는 단계와, 타측 종단모듈이 상기 다수의 모듈들을 통해 상기 일측 종단 모듈로부터 상기 네트워크로 전송할 체크섬과 시퀀스 번호가 부가된 데이타 패킷을 제공받으면, 상기 데이타 패킷에 가입자 채널별로 시퀀스 번호를 할당하고, 상기 데이타 패킷의 체크섬을 계산하는 단계와, 상기 타측 종단 모듈이 상기 계산된 체크섬이 상기 제공받은 데이타 패킷에 부가된 체크섬과 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하지 않으면 상기 타측 종단 모듈에 연결된 콘솔에 데이타 패킷의 손상을 통보하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하면, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 데이타 패킷에 부가된 시퀀스 번호가 일치하는지를 검색하는 단계와, 상기 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하지 않으면 상기 타측 종단 모듈에 연결된 콘솔에 데이타 유실을 통보하는 단계와, 상기 계산된 체크섬과 상기 제공받은 데이타 패킷에 부가된 체크섬이 일치하고, 상기 제공받은 데이타 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이타 패킷에 부가된 시퀀스 번호가 일치하면, 상기 제공받은 데이타 패킷에 부가된 체크섬과 시퀀스 번호를 제거한 후에 상기 네트워크로 전송하는 단계와, 상기 계산된 체크섬과 제공받은 데이터 패킷에 부가된 체크섬이 일치하지 않거나, 상기 제공받은 데이터 패킷에 할당된 시퀀스 번호와 상기 제공받은 데이터 패킷에 부가된 시퀀스 번호가 일치하지 않으면, 다수의 모듈 중 종단 모듈이 아닌 중간 모듈에 콘솔을 연결하여 상기 데이터 패킷의 체크섬 및/또는 시퀀스 번호가 일치하는지 확인하는 단계를 구비하는 것을 특징으로 한다. According to the present invention for achieving the above object, when one end module of a plurality of modules is provided with a data packet from the network, the one end module calculates a checksum of the data packet, and after assigning a sequence number for each subscriber channel, Providing the checksum and the sequence number to the data packet to the next module, and providing a data packet including the checksum and the sequence number to be transmitted by the other end module from the one end module to the network through the plurality of modules. On receipt, assigning a sequence number for each subscriber channel to the data packet, calculating a checksum of the data packet, and the other end module searches for whether the calculated checksum matches the checksum added to the provided data packet. Step, the calculated checksum and the received If the checksum added to the data packet does not match, the console connected to the other end module is notified of the corruption of the data packet, and whether the sequence number assigned to the provided data packet and the sequence number added to the provided data packet match. Retrieving if the calculated checksum and the checksum added to the provided data packet match, if the sequence number assigned to the provided data packet matches the sequence number added to the data packet; Notifying the console connected to the other end module if the allocated sequence number and the sequence number added to the provided data packet do not match; the calculated checksum and checksum added to the provided data packet; Is matched and assigned to the received data packet If the sequence number and the sequence number added to the provided data packet match, removing the checksum and sequence number added to the provided data packet and transmitting the sequence number to the network; If the added checksum does not match or the sequence number assigned to the provided data packet and the sequence number added to the provided data packet do not match, the console is connected to an intermediate module which is not an end module among the plurality of modules. Determining whether the checksum and / or sequence number of the data packet match.
이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있으나, 이들 특정 상세들은 본 발명의 설명을 위해 예시한 것으로 본 발명이 그들에 한정됨을 의미하는 것은 아니다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다. 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
상기 제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, an operation for detecting damage and loss of a data packet in the first and Nth modules 202 1 and 202 N which are end modules will be described, and the data performed in the first and Nth modules 202 1 and 202 N will be described. 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. 5.
상기 제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
상기 (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
상기 데이타 통신 시스템(200)의 모든 모듈들은 데이타 패킷이 제공되면 시퀀스 번호를 할당하는데, 이를 도 6을 참조하여 설명한다. 상기 데이타 통신 시스 템(200)의 모듈중 제1모듈(2021)에서의 동작을 설명하면, 제1모듈(2021)은 (400)단계에서 제1모듈(2021)은 네트워크 또는 제2모듈(2022)로부터 데이타 패킷이 제공되는지를 검색하여, 데이타 패킷이 제공되면 (404)단계로 진행하여 제공된 데이타 패킷의 가입자 채널을 검색한다. 상기 데이타 패킷의 가입자 채널이 검색되면 제1모듈(2021)은 (406)단계로 진행하여 검색된 가입자 채널의 시퀀스 번호를 증가시키고, 그 시퀀스 번호를 해당 데이타 패킷의 시퀀스 번호로 할당한다. All modules of the
이와같이 데이타 통신 시스템(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
상술한 바와 같이 상기 제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 damaging a data packet.
Claims (2)
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 KR20010011058A (en) | 2001-02-15 |
KR100630051B1 true 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) |
Families Citing this family (4)
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 |
CN111865494B (en) * | 2020-06-23 | 2022-02-18 | 郑州信大捷安信息技术股份有限公司 | Data self-checking device and method based on checksum |
-
1999
- 1999-07-24 KR KR1019990030254A patent/KR100630051B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20010011058A (en) | 2001-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7738461B2 (en) | Communication apparatus and switching device | |
US5710777A (en) | Communication system | |
US5383178A (en) | Network commentator | |
US6430714B1 (en) | Failure detection and isolation | |
CN110740072B (en) | Fault detection method, device and related equipment | |
US20020141334A1 (en) | Dynamic protection bandwidth allocation in BLSR networks | |
CN102571492B (en) | Method and device for detecting failure of routing equipment | |
CN103473143A (en) | Fault correcting treatment, fault correcting method and device | |
CN108337069B (en) | Improved error rate reducing end parallel grouping CRC (Cyclic redundancy check) system | |
JP2010187244A (en) | System for detecting/recovering token abnormality between terminal apparatuses | |
KR100630051B1 (en) | Data packet damage and loss detection method for data communication system | |
CA2529599C (en) | Method and apparatus for providing tandem connection, performance monitoring, and protection architectures over ethernet protocols | |
RU2383067C2 (en) | Method of storing data packets using pointer technique | |
US8619627B2 (en) | Automatic determination of groupings of communications interfaces | |
CN114884767B (en) | Synchronous dual-redundancy CAN bus communication system, method, equipment and medium | |
JP3199420B2 (en) | Asynchronous time division multiplexing cell transmission link control information transmission method | |
US20020198988A1 (en) | Communication monitoring system in which monitoring server is connected with network | |
CN109699041A (en) | A kind of RRU channel failure diagnosis processing method and RRU device | |
CN108337135B (en) | Communication control system, method and device | |
JPH09219720A (en) | Fault detection method and device for communication network | |
US7159148B2 (en) | Method for performance and fault management in a telecommunication network | |
JPH05219084A (en) | Monitoring method for ring network | |
CN115499452B (en) | Data synchronization method based on next | |
JP7417773B1 (en) | Network interface card and transmission performance monitoring method | |
JPH11234347A (en) | Buffer management method and system in data communication |
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 |