KR100439238B1 - Method for operating reliable protocol of transmit data between transmission unit - Google Patents
Method for operating reliable protocol of transmit data between transmission unit Download PDFInfo
- Publication number
- KR100439238B1 KR100439238B1 KR10-2000-0081246A KR20000081246A KR100439238B1 KR 100439238 B1 KR100439238 B1 KR 100439238B1 KR 20000081246 A KR20000081246 A KR 20000081246A KR 100439238 B1 KR100439238 B1 KR 100439238B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- transmission
- port
- data unit
- transmitting
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
본 발명의 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법은, 전송유니트간에서 작동하는 릴라이어블 서비스 모듈에 릴라이어블 서비스를 수행하기 위한 포트와 디바이스 드라이버를 등록하는 단계와; 상기 포트와 디바이스 드라이버의 등록이 이루어지면, 하위 계층에서 수신대상 데이터를 해당 디바이스가 전송할 수 있는 크기만큼 단편화하여 세그먼트 데이터 유니트 단위로 상위 계층으로 전송하는 단계와; 상기 세그먼트 데이터 단위 신호의 송신시 하위 계층에서는 시퀀스 오류의 발생이 확인되면 재전송을 수행하고, 상위 계층에서는 수신되는 세그먼트 데이터 단위 신호를 수신하여 상기 수신된 데이터를 재조립하고 송신측으로 응답 메시지를 전달하는 단계를 포함하여 이루어져, 전송유니트내에서 각 셀프간 및 장치간의 통신시 송수신 데이터에 대한 신뢰성과 안정성을 보장할 수 있다.According to another aspect of the present invention, there is provided a method of operating a release protocol for transmitting / receiving data between transmission units, the method comprising: registering a port and a device driver for performing a release service to a release service module operating between transmission units; When the port and the device driver are registered, fragmenting the target data in a lower layer to a size that can be transmitted by the corresponding device and transmitting the fragment data unit to the upper layer in segment data unit units; In the transmission of the segment data unit signal, the lower layer performs retransmission when the occurrence of the sequence error is confirmed, and the upper layer receives the received segment data unit signal to reassemble the received data and transmit a response message to the sender. Including the steps, it is possible to ensure the reliability and stability of the transmission and reception data during communication between each self and the device in the transmission unit.
Description
본 발명은 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법에 관한 것으로, 특히 다수의 전송유니트로 네트워크 구성시 네트워크상에 존재하는 임의의 장치에 대한 각종 데이터베이스의 자원을 관리함에 있어서 송수신 데이터가 오류 없이 전송되도록 함으로써 안정성과 신뢰성을 향상시키기 위한 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법에 관한 것이다.The present invention relates to a method of operating a release protocol for transmitting / receiving data between transmission units. In particular, the transmission / reception data is error in managing resources of various databases for any device existing on the network when a plurality of transmission units are configured. The present invention relates to a method of operating a release protocol of transmit / receive data between transmission units to improve stability and reliability by allowing transmission to be performed without transmission.
일반적으로 IPC(Interprocess Communication)는 두 개의 프로세스가 서로 통신을 할 수 있도록 운영체제가 제공하는 기능으로, 동일한 시스템 내에서나 네트웍을 통한 다른 시스템의 프로세스를 사용할 수 있도록 한다.In general, IPC (Interprocess Communication) is a function provided by the operating system to allow two processes to communicate with each other, so that processes of other systems can be used within the same system or over a network.
그래서 IPC는 같은 시스템이나 다른 시스템일지라도 시스템 커널을 통하여 통신이 이루어진다. 이때 공유된 어떤 자원을 여러 프로세스가 사용하려고 했을 때, 그 자원을 한 번에 오직 한 프로세스만이 사용할 수 있도록 할 수 있는 형식이 필요하다. 그래서 각 프로세스는 일련번호 파일을 읽는 단계와, 읽은 일련번호를 사용하는 단계와, 일련번호를 증가시키는 단계를 수행한다.So IPC communicates with the system kernel even on the same or different systems. When multiple processes try to use a shared resource, they need a format that can make that resource available to only one process at a time. So each process performs the steps of reading the serial number file, using the read serial number, and incrementing the serial number.
그리고 전송유니트에 의한 전송서비스가 수행되는 경우에 있어서, 프로토콜은 개체가 사용하도록 별도의 부수적인 서비스를 제공할 수 있다.In the case where the transmission service by the transmission unit is performed, the protocol may provide a separate additional service for use by the entity.
즉, 네트워크 상에서 프레임들이 지연되지 않고 전달되도록 하기 위하여 우선 순위를 적용하게 되며, 재전송 데이터는 이전 전송보다 우선 순위가 높게 부여되고, 제어 메시지와 같은 특정 메시지는 최소의 지연시간 안에 목적지로 갈 필요가 있도록 한다. 이때 메시지를 단위로 하여 우선 순위를 할당하거나 연결을 기본으로 하여 우선 순위를 할당하는 방법을 사용한다.In other words, priority is applied to ensure that frames are delivered without delay on the network, retransmitted data is given a higher priority than previous transmissions, and certain messages, such as control messages, need to reach their destination within a minimum delay. Make sure At this time, the priority is assigned based on the message, or the priority is assigned based on the connection.
또한, 서비스의 등급을 설정하여 특정 종류의 데이터가 최소의 처리율이나 최대의 지연시간을 요청하는 경우에 적응하고, 보안성을 확보하게 된다.In addition, by setting the class of the service, it is adapted to the case where a certain kind of data requests the minimum throughput or the maximum delay time, and secures the security.
더불어 OSI 참조모델에 있어서, 각 계층간의 데이터 전송은 데이터 단위(data unit)로 이루어진다. 이러한 데이터 단위는 동일한 개체 또는 서비스 액세스점을 통하여 인접 계층의 개체간에 정보를 교환하는 단위로, 서비스 데이터 단위(SDU : Service Data Unit)와 프로토콜 데이터 단위(PDU : Protocol Data Unit)의 2가지가 있다.In addition, in the OSI reference model, data transmission between layers is performed in data units. This data unit is a unit for exchanging information between entities of adjacent layers through the same entity or service access point. There are two types of data units: a service data unit (SDU) and a protocol data unit (PDU). .
(N) 계층 SDU는 (N+1) 개체 상호간에 전송되는 데이터를 (N) 서비스 관점에서 본 것이고, (N)계층 PDU는 (N+1) 개체 상호간에 전송되는 데이터를 (N) 프로토콜 관점에서 본 것으로 (N) 계층 프로토콜 제어 정보(PCI)와 (N) 계층 서비스 데이터 단위(SDU)로 구성된다.(N) Layer SDUs look at data transmitted between (N + 1) entities from (N) service perspectives, and (N) Layer PDUs look at (N) protocol views of data transmitted between (N + 1) entities. As seen from (N) layer protocol control information (PCI) and (N) layer service data unit (SDU).
그래서 송신측에서는 최상위 계층에서 최하위 계층으로 데이터 단위에 하위층에서 부가되는 데이터 단위로 캡슐화(Encapsulation)가 이루어지며, 수신측에서는 최하위 계층에서 최상위 계층으로 수신된 데이터 단위에서 자신의 계층에서 필요한 데이터만을 추출한 나머지를 상위 계층에 전달해주는 역 캡슐화(Decapsulization)가 수행된다.Therefore, the sender encapsulates the data unit added from the lower layer to the data layer from the highest layer to the lowest layer, and the receiver extracts only the necessary data from its own layer from the data unit received from the lowest layer to the highest layer. Decapsulization is performed to deliver to the higher layers.
그런데 종래에는 전송유니트간 네트워크를 구성하여 각 셀프(Shelf)간 및 장치간의 통신시 송수신 데이터에 대한 신뢰성과 안정성이 충분히 보장되지 않는 기술적 한계가 있었다.However, in the related art, there is a technical limitation that the reliability and stability of the transmission / reception data are not sufficiently secured during the communication between the units and the devices by configuring the transmission unit network.
본 발명은 상기와 같은 종래의 문제점을 해소하기 위해 창출된 것으로, 본 발명의 목적은 다수의 전송유니트로 네트워크 구성시 네트워크상에 존재하는 임의의 장치에 대한 각종 데이터베이스의 자원을 관리함에 있어서 송수신 데이터가 오류 없이 전송되도록 함으로써 안정성과 신뢰성을 향상시키기 위한 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법을 제공하는 데 있다.The present invention was created to solve the above-mentioned conventional problems, and an object of the present invention is to transmit / receive data in managing resources of various databases for an arbitrary device existing on a network when configuring a network with a plurality of transmission units. The present invention provides a method of operating a protocol for transmitting / receiving data between transmission units to improve stability and reliability by ensuring that the data is transmitted without error.
상기 목적을 달성하기 위한 본 발명의 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법은, 전송유니트간에서 작동하는 릴라이어블 서비스 모듈에 릴라이어블 서비스를 수행하기 위한 포트와 디바이스 드라이버를 등록하는 단계와; 상기 포트와 디바이스 드라이버의 등록이 이루어지면, 하위 계층에서 수신대상 데이터를 해당 디바이스가 전송할 수 있는 크기만큼 단편화하여 세그먼트 데이터 유니트 단위로 상위 계층으로 전송하는 단계와; 상기 세그먼트 데이터 단위 신호의 송신시 하위 계층에서는 시퀀스 오류의 발생이 확인되면 재전송을 수행하고, 상위 계층에서는 수신되는 세그먼트 데이터 단위 신호를 수신하여 상기 수신된 데이터를 재조립하고 송신측으로 응답 메시지를 전달하는 단계를 포함하는 것을 그 특징으로 한다.In order to achieve the above object, a method of operating a protocol for transmitting / receiving data between transmission units according to an embodiment of the present invention includes registering a port and a device driver for performing a release service to a release service module operating between transmission units. Steps; When the port and the device driver are registered, fragmenting the target data in a lower layer to a size that can be transmitted by the corresponding device and transmitting the fragment data unit to the upper layer in segment data unit units; In the transmission of the segment data unit signal, the lower layer performs retransmission when the occurrence of the sequence error is confirmed, and the upper layer receives the received segment data unit signal to reassemble the received data and transmit a response message to the sender. It is characterized by including the step.
도1은 본 발명에 따른 릴라이어블 서비스 모듈의 블록도이고,1 is a block diagram of a relatable service module according to the present invention;
도2는 본 발명이 적용되는 마스터 슬레이브 블록도이며,2 is a master slave block diagram to which the present invention is applied;
도3은 전송유니트의 송수신측 데이터 손실의 예시도 이고,3 is an exemplary diagram of data transmission / reception side data loss of a transmission unit;
도4는 모듈시험시의 마스터 슬레이브 블록도이며,4 is a master slave block diagram during module testing;
도5는 본 발명의 실시예에 의한 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법의 순서도 이다.5 is a flowchart of a method of operating a release protocol of transmission / reception data between transmission units according to an embodiment of the present invention.
이하, 첨부도면을 참조하여 본 발명에 따른 바람직한 실시예를 설명한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
도1은 본 발명에 따른 릴라이어블 서비스 모듈의 블록도이고, 도2는 본 발명이 적용되는 마스터 슬레이브 블록도이며, 도3은 전송유니트의 송수신측 데이터 손실의 예시도 이고, 도4는 모듈시험시의 마스터 슬레이브 블록도이며, 도5는 본 발명의 실시예에 의한 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법의 순서도 이다.1 is a block diagram of a relatable service module according to the present invention, FIG. 2 is a master slave block diagram to which the present invention is applied, FIG. 3 is an exemplary diagram of data transmission / reception side data loss of a transmission unit, and FIG. 4 is a module. Fig. 5 is a block diagram of a master slave block at the time of testing, and Fig. 5 is a flowchart of a method of operating a release protocol of transmission / reception data between transmission units according to an embodiment of the present invention.
본 발명의 릴라이어블 프로토콜(Reliable Protocol)은 송신 데이터가 신뢰성이 높지 않은 채널을 통하여 전송되더라도 송신되는 데이터가 손실 없이 수신측에수신되도록 보장해주는 프로토콜이다.The Reliable Protocol of the present invention is a protocol that guarantees that the transmitted data is received at the receiving side without loss even if the transmitted data is transmitted through a channel with high reliability.
그래서 OSI 계층 2레벨의 릴라이어블 서비스를 제공하는 모듈을 구현하며, 윈도우 흐름제어와 Go-back-N 에러제어를 적용한다.Therefore, it implements a module that provides two levels of relatable services of OSI layer, and applies window flow control and Go-back-N error control.
이에 따라 릴라이어블 서비스 모듈은, 상위 계층에서 PDU를 보내기 위한 함수를 호출하는 rpl2_send와, 상위 계층에서 릴라이어블 서비스가 정상적으로 수행되었을 통지하는 confirm과, PDU를 보내는데 실패하였음을 알리는 타임아웃과, 정상적으로 수신된 데이터를 재조합한 후 회신함수를 통해 상위 계층으로 전달하는 received를 포함한다.Accordingly, the relatable service module may include: rpl2_send calling a function for sending a PDU at a higher layer, a confirm notifying that the relatable service has been normally performed at a higher layer, a timeout indicating that the PDU failed to be sent, Receives data that is normally received and recombines the received data to the upper layer through the reply function.
그리고 프로세서간의 통신을 위하여 적용되는 IPC 디바이스 드라이버는 MDIPC 드라이버, MTIPC 드라이버, MPC860 HDLC 드라이버 등이 있다.IPC device drivers applied for communication between processors include MDIPC driver, MTIPC driver, and MPC860 HDLC driver.
MDIPC 드라이버는 DPRAM을 방향성 있게 두개로 분할하여 한쪽은 A에서 쓰고 B에서 읽으며, 다른 한쪽은 B에서 쓰고 A에서 읽어 가는 구조로써 포인트 대 포인트 구조에서 이용된다. MDIPC의 특징은 비트 수준의 에러제어가 지원되지 않으며, 한번에 송수신 가능한 프레임의 크기는 DPRAM의 크기에 의존적이다.The MDIPC driver directionally divides the DPRAM into two, one for writing in A and reading in B, and the other for writing in B and reading from A. It is used in point-to-point structure. The feature of MDIPC is that bit-level error control is not supported, and the size of frame that can be transmitted / received at one time depends on the size of DPRAM.
그리고 MTIPC는 MT8952와 같은 HDLC 디바이스를 이용하여 다중점을 지원하고 있는 디바이스 드라이버로 비트 수준의 에러제어를 지원하며, 송수신 가능한 프레임의 크기는 현재 사용되고 있는 것은 256 바이트이나 속도에 문제가 없고 8의 배수이면 그 이상의 속도로도 사용 가능하다.MTIPC is a device driver that supports multi-point using HDLC devices such as MT8952 and supports bit-level error control.The size of the frame that can be transmitted / received is 256 bytes but there is no problem in speed and it is a multiple of 8 Can be used at higher speeds.
더불어 MPC860 HDLC 드라이버는 HDLC 프로토콜을 지원하며, MT8953의 대체용으로 사용 가능하다.In addition, the MPC860 HDLC driver supports the HDLC protocol and can be used as a replacement for the MT8953.
이와 같은 IPC 드라이버들의 인터페이스로는 send와 queue를 통한 receive 함수가 제공된다.The interfaces of these IPC drivers are provided with send and receive functions.
그러므로 본 실시예의 릴라이어블 서비스 모듈의 구현시, 모듈내 송신함수는 각 디바이스의 send 함수를 이용하여 송신하고, 수신함수는 각 디바이스에서 제공하는 수신함수를 이용하여 데이터를 가져와 처리하며, 세그먼트의 크기는 디바이스 인스톨 단계에서 정의한다. 만약 디바이스 드라이버가 수신된 데이터를 회신기능으로 RPL2(Reliable Protocol Layer 2)에 전달할 경우에는 RPL2에 데이터 수신 회신함수를 정의하여 디바이스 드라이버로부터 데이터를 수신하도록 한다.Therefore, in the implementation of the relatable service module of the present embodiment, the transmit function in the module is transmitted by using the send function of each device, and the receive function is obtained by using the receive function provided by each device to process the data. The size is defined at the device installation stage. If the device driver sends the received data to the Reliable Protocol Layer 2 (RPL2) as a reply function, the data driver defines a data reception reply function in the RPL2 to receive data from the device driver.
그러면 도5에 도시된 바와 같이, 포트와 디바이스의 등록이 이루어진다(ST21).Then, as shown in Fig. 5, registration of the port and the device is performed (ST21).
도2에는 포트와 디바이스의 등록관계가 도시되어 있다.2 shows a registration relationship between a port and a device.
포트는 사용자에 의해 등록되며, 포트를 통하여 데이터 송수신, 릴라이어블 서비스를 제공하게 된다. 포트 등록정보로는 포트 아이디, 사용할 디바이스의 아이디, 디바이스의 논리적 링크번호, 윈도우 크기, 상위 계층의 최대 프레임 크기, 상위 계층에서 정의된 회신함수 등이다.The port is registered by the user and provides data transmission and reception services through the port. Port properties include port ID, device ID to use, logical link number of device, window size, maximum frame size of upper layer, and reply function defined in higher layer.
디바이스 등록은 디바이스 아이디, 하위 계층 최대 프레임 크기, 디바이스의 송수신 함수의 포인터를 등록한다. 또한, 디바이스 드라이버가 데이터수신을 RPL2에 전달하기 위해 디바이스 드라이버내 수신함수를 제공하는지 아니면 회신함수를 통해 RPL2에서 제공해야 하는지 여부도 등록하여 사용자에게 알려준다.Device registration registers a device ID, a lower layer maximum frame size, and a pointer of a device's transmission / reception function. It also registers and informs the user whether the device driver should provide a reception function in the device driver to deliver data reception to RPL2, or whether it should be provided by RPL2 through a reply function.
이상 설명한 포트와 디바이스 드라이버의 등록을 예시하면, 다음의 표 1 및표 2와 같다.For example, the registration of the above-described ports and device drivers is shown in Tables 1 and 2 below.
그래서 포트와 디바이스 드라이버의 등록이 이루어지면, 하위 계층에서 수신대상 데이터를 해당 디바이스가 전송할 수 있는 크기만큼 단편화하여 세그먼트 데이터 유니트 단위(Segment Data Unit)로 상위 계층에 전송한다(ST22).Thus, when the port and the device driver are registered, the receiving target data is fragmented by the lower layer to the size that the corresponding device can transmit and transmitted to the upper layer in the segment data unit (ST22).
단계 ST22에서 하위 계층의 디바이스는 SDU 신호의 생성시 세그먼테이션(Segmentation)을 수행하고, 이처럼 전송되는 SDU 신호를 상위 계층에서 수신하여 재조립(Reassemble)하게 된다.In operation ST22, the lower layer device performs segmentation when generating the SDU signal, and receives the SDU signal transmitted from the upper layer and reassembles the SDU signal.
세그먼테이션은 상위 계층으로 보내고자 하는 데이터를 하위 계층의 디바이스가 보낼 수 있는 크기만큼 잘라서 보내는 것으로, 하나의 SDU는 같은 일련번호를 부여하여 PDU(Protocol Data Unit)의 개수, 데이터의 크기와 함께 헤더정보에 입력하여 SDU에 해당하는 계수만큼 PDU를 만들어 준비된 send 버퍼에 저장함으로써 디바이스 드라이버가 송신할 수 있도록 한다. 이때 일련번호는 응용 프로그램별로 관리하고 최대 65535까지 가능하며 65536이 되면 0으로 재귀하여 순환하게 된다.Segmentation is to cut the data to send to the upper layer as large as the device of the lower layer can be sent, one SDU is assigned the same serial number, the number of PDU (Protocol Data Unit), the header information together with the size of the data The PDU creates a PDU with the coefficient corresponding to the SDU and stores it in the prepared send buffer so that the device driver can send it. At this time, serial number can be managed by application and up to 65535. When 65536 is reached, it recursively returns to 0.
재조립의 경우, 수신된 데이터는 일련번호를 확인하여 같은 번호이면 수신 데이터의 헤더를 제거한 후 헤더 정보에 있는 PDU 개수로 지시되는 수만큼 수신이 완료될 때까지 준비된 수신버퍼에 저장하게 된다. 이어서 수신버퍼의 포인터와 크기를 상위 계층에 보내고 다음 PDU 수신을 위한 새로운 수신버퍼를 해당 포트에 준비하여 다음 PDU를 수신한다.In the case of reassembly, the received data is stored in the prepared receiving buffer until the reception is completed as much as the number indicated by the number of PDUs in the header information after removing the header of the received data if the same number is checked. Subsequently, the pointer and size of the receiving buffer are sent to the upper layer, and a new receiving buffer is prepared in the corresponding port for receiving the next PDU, and the next PDU is received.
더불어 송신시 버퍼 매니지먼트는, 세그먼트화된 PDU를 윈도우 크기로 나눈 나머지 값을 시퀀스 번호로써 부여하여 해당 포트의 준비된 송신버퍼에 순차적으로 저장하며, 송신 PDU가 들어갈 위치를 current_input_ptr 값으로 관리한다. 송신버퍼는 정해진 크기로 고정되며 끝에 도달하면 다시 처음으로 current_input_ptr를 이동시켜 관리한다.In addition, when transmitting, the buffer management sequentially assigns the remaining value obtained by dividing the segmented PDU by the window size as a sequence number, and sequentially stores the prepared PDU in the corresponding port, and manages the location of the transmitting PDU as a current_input_ptr value. The transmit buffer is fixed at a fixed size. When the end is reached, the current buffer is moved and managed for the first time.
수신시 버퍼 매니지먼트의 경우, 각 포트별로 수신버퍼를 상위 계층의 최대 버퍼 크기만큼 할당하여 수신된 PDU를 일련번호 단위로 저장하고, 하나의 SDU가 만들어지면 상위 계층으로 전달하고 새로운 수신버퍼를 할당받아 다음 SDU를 저장하게 된다. 상위 계층으로 보내진 버퍼는 상위 계층에서 자유롭다.In case of receiving buffer management, the receiving buffer is allocated for each port by the maximum buffer size of the upper layer, and the received PDU is stored in the serial number unit.When one SDU is created, it is delivered to the upper layer and a new receiving buffer is allocated. The next SDU will be saved. The buffer sent to the upper layer is free at the upper layer.
윈도우 크기는 디바이스의 성능에 맞추어 사용자가 포트 인스톨 단계에서 정의하도록 하며, 윈도우 크기만큼 응답 메시지 없이 PDU를 보낼 수 있다. 윈도우는 윈도우 시작점과 종점을 통해 관리된다. 그래서 수신측으로부터 응답 메시지가 도착하면, 윈도우는 수신 확인된 PDU의 개수만큼 이동하게 된다.The window size is defined by the user at the port installation stage according to the performance of the device. As the window size, the PDU can be sent without a response message. Windows are managed through the window start and end points. Thus, when a response message arrives from the receiving side, the window moves by the number of acknowledged PDUs.
그리고 단계 ST22에서 세그먼트 데이터 단위로 데이터 송신시 하위 계층에서는 시퀀스 오류의 발생 여부를 판단하여 시퀀스 오류가 확인되면, 해당 SDU를 재전송하는 Go-Back-N 에러제어를 수행하게 된다(ST24, ST25).In step ST22, when transmitting data in units of segment data, the lower layer determines whether a sequence error has occurred and if the sequence error is confirmed, Go-Back-N error control for retransmitting the corresponding SDU is performed (ST24 and ST25).
즉, 도3에 도시된 바와 같이, 송신측이 프레임 i를 전송하던 중 송신 프레임이 유실되고 계속하여 다음 프레임을 전송하였다면 수신측에서는 시퀀스 번호의 순서가 맞지 않으므로 REJ i 프레임을 만들어 송신측에 전송하고 REJ 프레임을 받은 송신측에서는 i번 프레임부터 재전송을 수행한다. 동일한 프레임에 대해 정해진 횟수 이상으로 재전송이 발생되면, 재전송 오류 메시지를 상위 계층으로 전달한다.That is, as shown in FIG. 3, if the transmitting frame is lost while the transmitting side transmits frame i and continues to transmit the next frame, the receiving side creates a REJ i frame and transmits it to the transmitting side because the sequence numbers are not in order. Receiving the REJ frame, the transmitting side retransmits from frame i. If retransmission occurs more than a predetermined number of times for the same frame, a retransmission error message is transmitted to a higher layer.
송신측에서 윈도우 크기만큼 프레임을 송신하고 수신측으로부터 응답 메시지를 기다리게 되는데, 이때 송신측에서는 설정된 타이머를 작동시키고 정해진 시간만큼 대기한다. 이러한 대기시간 동안 아무런 메시지가 없으면 송신측에서는 타임아웃(timeout) 신호를 수신측에 보내고 타이머를 재작동시킨다.The transmitting side transmits the frame as much as the window size and waits for a response message from the receiving side. At this time, the transmitting side starts the set timer and waits for the predetermined time. If there is no message during this waiting time, the sender sends a timeout signal to the receiver and restarts the timer.
타임아웃을 받은 수신측은 수신기대(Receive Expect) 프레임에 수신대기중인 프레임 번호를 실어 보낸다. 수신기대 신호를 받은 송신측은 보내온 프레임 번호부터 재전송한다. 만약 타임아웃 타이머도 소멸된다면 3번까지 타임아웃 신호를 보내고 그 이상이 되면 수신측과의 링크가 단절되었음을 통지한다.The receiving end receiving the timeout sends the frame number being received in the receive Expect frame. The receiver receiving the receiver-to-signal signal retransmits the received frame number. If the timeout timer also expires, it sends a timeout signal up to three times, and if it is longer, it notifies that the link with the receiver has been disconnected.
타이머, 재전송 카운터에 관한 정보는 각 포트별로 관리되어 진다.Information about timers and retransmission counters is maintained for each port.
그러면, 상위 계층에서는 수신되는 세그먼트 데이터 단위 신호를 수신하여 데이터를 재조립하고 송신측으로 응답 메시지(ACK)를 전달한다(ST26, ST27).Then, the higher layer receives the received segment data unit signal, reassembles the data, and transmits a response message (ACK) to the transmitter (ST26 and ST27).
이처럼 동작하는 릴라이어블 서비스 모듈에 대한 시험은 도4에 도시된 바와 같은 마스터 슬레이브 블록에 적용될 수 있다.The test for the relatable service module thus operating may be applied to the master slave block as shown in FIG.
시험을 위한 모듈은 널 링크 디바이스 드라이버 에뮬레이터(Null LinkDevice Driver Emulator)를 이용하여 PTM(Point To Multipoint) 환경으로 구현된다. 시험 모듈에서 제공되는 인터페이스는 도움말 명령을 통해 확인 가능하도록 한다.The module for testing is implemented in a Point To Multipoint (PTM) environment using a Null LinkDevice Driver Emulator. The interface provided by the test module can be confirmed by the help command.
시험환경을 만들어 주기 위하여 각 터미널 별로 환경변수를 세팅하게 된다. 시험 디렉토리에 있는 nlk_ptm.ncf 파일이 ptm 환경설정을 위한 스크립트이다. 이 파일을 실행시키면 node.nlk0, node2.nlk1, node3.nlk2가 생성된다.To create a test environment, environment variables are set for each terminal. The nlk_ptm.ncf file in the test directory is the script for the ptm configuration. Running this file produces node.nlk0, node2.nlk1, and node3.nlk2.
터미널에서 소스 node1.nlk0을 수행하면 디바이스의 논리적 링크번호가 0인 환경이 설정된다. 다른 터미널에서도 동일한 방법으로 수행하면, 도4에 도시된 바와 같은 환경이 설정된다.Running source node1.nlk0 on the terminal establishes an environment where the logical link number of the device is zero. Performing the same way in other terminals, an environment as shown in Fig. 4 is set.
그래서 각 터미널 별로 포트와 디바이스에 고유의 아이디를 할당하여 등록하고 초기화를 수행하게 되면 송수신 가능한 상태가 된다So, by assigning unique ID to port and device for each terminal, registering and initializing, it becomes possible to send and receive
예를 들어,E.g,
master : 포트-ins 0 1 1 1500 128master: port-ins 0 1 1 1500 128
포트-ins 1 1 2 1500 128Port-ins 1 1 2 1500 128
dev-ins 1 512dev-ins 1 512
initinit
slave 1 : 포트-ins 0 1 0 1500 128slave 1: port-ins 0 1 0 1500 128
dev-ins 1 512dev-ins 1 512
initinit
slave 2 : 포트-ins 0 1 0 1500 128slave 2: port-ins 0 1 0 1500 128
dev-ins 1 512dev-ins 1 512
initinit
send 1 0 1200send 1 0 1200
// 0번 포트를 통해 크기가 1200바이트인 SDU를 1회 송신// Send SDU of size 1200 byte once through port 0
send-on 0 1200send-on 0 1200
// 0번 포트를 통해 크기가 1200바이트인 SDU를 설정된 시간 단위로 송신// Send SDU of size 1200 bytes through port 0 in set time unit
send-off 0send-off 0
// 0번 포트로 보내고 있는 송신작업을 중단시킴// stops sending to port 0
time 100time 100
// 전송시간을 100 클럭틱(Clock Tick) 단위로 수행하도록 시간을 설정// Set time to perform transmission time in 100 clock ticks
discard 0 10discard 0 10
// 디바이스의 논리적 링크번호가 0인 다바이스로부터 오는 데이터를 10% 버림// Discard 10% of data from device with logical link number of device 0
과 같다('//' 이하는 주석임).('//' is a comment)
이에 따라 데이터의 오류 여부 및 전송의 정확성 여부를 판단함으로써 전송유니트의 데이터 전송의 신뢰성을 증대시킬 수 있게 된다.Accordingly, it is possible to increase the reliability of the data transmission of the transmission unit by determining whether the data is error or correct.
본 발명의 전송유니트간 송수신 데이터의 릴라이어블 프로토콜 운용방법에 따르면, 전송유니트내에서 각 셀프(Shelf)간 및 장치간의 통신시 송수신 데이터에 대한 신뢰성과 안정성을 보장함으로써 사용자에게 전송유니트 및 시스템 제어 관리의 편의성을 보장하고 시스템의 신뢰성을 향상시킬 수 있는 효과가 있다.According to the method of operating a release protocol of transmission / reception data between transmission units according to the present invention, the transmission unit and system control to a user are assured by ensuring the reliability and stability of the transmission / reception data during communication between each Self and devices within the transmission unit. It has the effect of ensuring the convenience of management and improving the reliability of the system.
이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Therefore, the above description does not limit the scope of the following claims.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2000-0081246A KR100439238B1 (en) | 2000-12-23 | 2000-12-23 | Method for operating reliable protocol of transmit data between transmission unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2000-0081246A KR100439238B1 (en) | 2000-12-23 | 2000-12-23 | Method for operating reliable protocol of transmit data between transmission unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20020052064A KR20020052064A (en) | 2002-07-02 |
| KR100439238B1 true KR100439238B1 (en) | 2004-07-05 |
Family
ID=27685372
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR10-2000-0081246A Expired - Fee Related KR100439238B1 (en) | 2000-12-23 | 2000-12-23 | Method for operating reliable protocol of transmit data between transmission unit |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR100439238B1 (en) |
Families Citing this family (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100776084B1 (en) * | 2001-09-17 | 2007-11-15 | 엘지노텔 주식회사 | Apparatus and method for providing releasable service in TPC / IP protocol layer 2 |
| KR100746790B1 (en) * | 2001-11-14 | 2007-08-06 | 엘지노텔 주식회사 | Encoding method for status information |
| US8155120B2 (en) | 2005-06-09 | 2012-04-10 | Whirlpool Corporation | Software architecture system and method for discovering components within an appliance using fuctionality identifiers |
| EP1889160A2 (en) | 2005-06-09 | 2008-02-20 | Whirlpool Corporation | Software architecture system and method for communication with, and management of, at least one component within a household appliance |
| US8533253B2 (en) | 2005-06-09 | 2013-09-10 | Whirlpool Corporation | Distributed object-oriented appliance control system |
| US20080137670A1 (en) * | 2005-06-09 | 2008-06-12 | Whirlpool Corporation | Network System with Message Binding for Appliances |
| US8005780B2 (en) | 2005-06-09 | 2011-08-23 | Whirlpool Corporation | Taxonomy engine and dataset for operating an appliance |
| US7917914B2 (en) | 2005-06-09 | 2011-03-29 | Whirlpool Corporation | Event notification system for an appliance |
| US7813831B2 (en) | 2005-06-09 | 2010-10-12 | Whirlpool Corporation | Software architecture system and method for operating an appliance in multiple operating modes |
| US9401822B2 (en) | 2005-06-09 | 2016-07-26 | Whirlpool Corporation | Software architecture system and method for operating an appliance exposing key press functionality to a network |
| US9009811B2 (en) | 2005-06-09 | 2015-04-14 | Whirlpool Corporation | Network system with electronic credentials and authentication for appliances |
| US7921429B2 (en) | 2005-06-09 | 2011-04-05 | Whirlpool Corporation | Data acquisition method with event notification for an appliance |
| US9665838B2 (en) | 2008-12-03 | 2017-05-30 | Whirlpool Corporation | Messaging architecture and system for electronic management of resources |
| CN115174442B (en) * | 2022-06-24 | 2024-04-05 | 硕橙(厦门)科技有限公司 | Multi-mode process data transmission method and device |
| CN116112581B (en) * | 2022-12-27 | 2024-10-29 | 卡斯柯信号有限公司 | Method, equipment and medium for transmitting and processing serial port communication big data subpackage |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5289469A (en) * | 1991-01-17 | 1994-02-22 | Kabushiki Kaisha Toshiba | Communication control unit with lower layer protocol control and higher layer protocol control |
| JPH10164131A (en) * | 1996-11-29 | 1998-06-19 | Chokosoku Network Computer Gijutsu Kenkyusho:Kk | Method for controlling congestion |
| KR20000059636A (en) * | 1999-03-05 | 2000-10-05 | 정규석 | The composition of service data units into protocol data units in datalink layer |
| KR20000065674A (en) * | 1999-04-08 | 2000-11-15 | 서평원 | Radio Protocol in Next-generation Mobile Communication System, and Method for operating communication following the each Layer |
-
2000
- 2000-12-23 KR KR10-2000-0081246A patent/KR100439238B1/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5289469A (en) * | 1991-01-17 | 1994-02-22 | Kabushiki Kaisha Toshiba | Communication control unit with lower layer protocol control and higher layer protocol control |
| JPH10164131A (en) * | 1996-11-29 | 1998-06-19 | Chokosoku Network Computer Gijutsu Kenkyusho:Kk | Method for controlling congestion |
| KR20000059636A (en) * | 1999-03-05 | 2000-10-05 | 정규석 | The composition of service data units into protocol data units in datalink layer |
| KR20000065674A (en) * | 1999-04-08 | 2000-11-15 | 서평원 | Radio Protocol in Next-generation Mobile Communication System, and Method for operating communication following the each Layer |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20020052064A (en) | 2002-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100439238B1 (en) | Method for operating reliable protocol of transmit data between transmission unit | |
| EP3716546B1 (en) | Data transmission method and first device | |
| KR100765121B1 (en) | How to poll the protocol data unit of the send buffer | |
| EP1323264B1 (en) | Mechanism for completing messages in memory | |
| US5440545A (en) | Packet delivery system | |
| US5754754A (en) | Transmission order based selective repeat data transmission error recovery system and method | |
| EP0796533B1 (en) | Multi-processor environments | |
| US6519223B1 (en) | System and method for implementing a semi reliable retransmission protocol | |
| US20030137931A1 (en) | Method for operating a mobile radio network | |
| US9258230B2 (en) | In flight TCP window adjustment to improve network performance | |
| EP0420531A2 (en) | Channel adapter for broadband communications at channel speeds | |
| JP2001306506A (en) | Protocol for executing transaction | |
| KR20060090191A (en) | Method and device for requesting / transmission of status report for retransmission control in mobile communication system | |
| JPH0793638B2 (en) | Satellite packet communication method | |
| US20040003127A1 (en) | Apparatus, system and method of distributing block data on a private network without using TCP/IP | |
| WO1999052236A1 (en) | Wireless packet data communication apparatus and method | |
| US4551834A (en) | Method and system for communicating over an open communication network | |
| KR100776084B1 (en) | Apparatus and method for providing releasable service in TPC / IP protocol layer 2 | |
| EP1505759B1 (en) | Method and device for transmitting/receiving data using acknowledged transport layer protocols | |
| Cisco | Troubleshooting WAN Connectivity | |
| KR100776083B1 (en) | Data call traffic frame control method of mobile communication system | |
| JPH08223214A (en) | Transmission control method | |
| CN119316492B (en) | Transparent transmission method and system for Bluetooth-CAN communication | |
| CN118714183B (en) | Message transmission method and device | |
| KR20010094288A (en) | Method for transmitting/receiving message in the inter-processor communication apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| A201 | Request for examination | ||
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| N231 | Notification of change of applicant | ||
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| R17-X000 | Change to representative recorded |
St.27 status event code: A-3-3-R10-R17-oth-X000 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R14-asn-PN2301 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 8 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 9 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| FPAY | Annual fee payment |
Payment date: 20130516 Year of fee payment: 10 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 10 |
|
| FPAY | Annual fee payment |
Payment date: 20140520 Year of fee payment: 11 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 11 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20150626 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20150626 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |