KR101087886B1 - Device and method for controlling tcp connection of server - Google Patents

Device and method for controlling tcp connection of server Download PDF

Info

Publication number
KR101087886B1
KR101087886B1 KR1020090020473A KR20090020473A KR101087886B1 KR 101087886 B1 KR101087886 B1 KR 101087886B1 KR 1020090020473 A KR1020090020473 A KR 1020090020473A KR 20090020473 A KR20090020473 A KR 20090020473A KR 101087886 B1 KR101087886 B1 KR 101087886B1
Authority
KR
South Korea
Prior art keywords
client
connection
server
link error
socket
Prior art date
Application number
KR1020090020473A
Other languages
Korean (ko)
Other versions
KR20100101996A (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 KR1020090020473A priority Critical patent/KR101087886B1/en
Publication of KR20100101996A publication Critical patent/KR20100101996A/en
Application granted granted Critical
Publication of KR101087886B1 publication Critical patent/KR101087886B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network 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

Abstract

본 발명은 TCP 통신을 하는 서버가 클라이언트로부터 TCP 접속이 된 상태에서 이더넷 링크 상태와 TCP 접속 상태를 감시하여 비정상적인 상황이 되면 신속하게 대처할 수 있는 서버의 TCP 접속 제어 장치 및 그 방법에 관한 것으로, 이를 위하여 본 발명은, 클라이언트와 연결된 이더넷 네트워크를 통해 TCP 통신데이터의 송수신을 제어하는 MAC 컨트롤러, 및 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 클라이언트와의 접속시간을 카운트하고, 카운트한 접속시간이 미리 설정된 대기시간을 초과하는 동안 상기 클라이언트로부터 데이터의 요청이 없을 경우에는 상기 클라이언트 소켓을 소멸한 후 접속을 종료하는 제어부를 구비한다.The present invention relates to an apparatus and method for controlling a TCP connection of a server capable of quickly responding to an abnormal situation by monitoring an Ethernet link state and a TCP connection state in a state in which a TCP communication server makes a TCP connection from a client. The present invention provides a MAC controller for controlling the transmission and reception of TCP communication data through an Ethernet network connected to a client, and generates a client socket upon connection request of the client, permits the connection, and counts the connection time with the client. And, if there is no request for data from the client while the counted connection time exceeds the preset waiting time, the control unit terminates the connection after destroying the client socket.

서버, 클라이언트, 링크, 에러, 접속시간 Server, client, link, error, connection time

Description

서버의 TCP 접속 제어 장치 및 그 방법{DEVICE AND METHOD FOR CONTROLLING TCP CONNECTION OF SERVER}DEVICE AND METHOD FOR CONTROLLING TCP CONNECTION OF SERVER}

본 발명은 이더넷 통신망에서 TCP 접속 제어에 관한 것으로, 특히 TCP 통신을 하는 서버가 클라이언트로부터 TCP 접속이 된 상태에서 이더넷 링크 상태와 TCP 접속 상태를 감시하여 비정상적인 상황이 되면 신속하게 대처할 수 있는 서버의 TCP 접속 제어 장치 및 그 방법에 관한 것이다.The present invention relates to TCP connection control in an Ethernet communication network. In particular, the server of the server that can communicate quickly when an abnormal situation is achieved by monitoring the Ethernet link state and the TCP connection state in a state where the TCP communication server is a TCP connection from the client. A connection control apparatus and a method thereof are provided.

다수의 네트워크 장비를 허브(Hub)에 연결해서 사용하는 방식인 스타 토폴로지(Star topology) 구조의 이더넷 통신망에서, 지능형 전자장치(IED; Intelligent Electronic Device)는 서버(Server)가 되고 감시반(PC)은 클라이언트(Cient)가 되어 소정의 통신 네트워크를 통해 TCP 통신을 하여 데이터를 주고받는다.In an Ethernet communication network in a star topology structure, in which a plurality of network devices are connected to a hub, an intelligent electronic device (IED) becomes a server and the monitoring panel (PC) It is a client and sends and receives data through TCP communication through a predetermined communication network.

TCP 통신은 신뢰성이 강화된 통신방식으로 산업용 프로토콜에서 많이 사용되고 있는 통신방식이며, 서버와 클라이언트 간에 접속을 맺은 후 데이터 통신을 하는 특성을 가지고 있다.TCP communication is a reliable communication method, which is widely used in industrial protocols, and has a characteristic of data communication after establishing a connection between a server and a client.

클라이언트(감시반)와 여러 개의 서버(IED 장치) 사이에 통신을 하기 위해서는 기본적으로 허브와 같은 네트워크 중계장치와 기기 간 연결해 주는 케이블이 필요하다.In order to communicate between a client (monitor board) and multiple servers (IED devices), a cable that basically connects a network relay device such as a hub and a device is required.

케이블의 단선이나 허브의 고장 및 클라이언트의 비정상적으로 접속이 종료되었을 경우에도 서버는 이에 대한 대응책이 있어야 신뢰성있는 통신이 가능하다.Even if the cable is disconnected or the hub is broken and the client's connection is abnormally terminated, the server must take countermeasures for reliable communication.

도 1의 네트워크 시스템에서 보는 바와 같이, 서버(10)는 허브(20)를 통해 클라이언트(30)와 이더넷 케이블로 연결되어 있다.As shown in the network system of FIG. 1, the server 10 is connected to the client 30 with an Ethernet cable through a hub 20.

도 2의 서버의 세부 구성에서 보면, 서버(10)는 클라이언트(30)로부터 전송된 수신 프레임을 해석하고 송신 프레임을 만드는 제어부(11)와, 이더넷 층의 데이터 송수신을 관장하는 MAC컨트롤러(13)와, 이더넷 층의 물리적인 연결을 담당하는 링크연결부(15)로 구성되어 있다.In the detailed configuration of the server of FIG. 2, the server 10 interprets a reception frame transmitted from the client 30 and generates a transmission frame, and a MAC controller 13 that manages data transmission and reception of the Ethernet layer. And, it is composed of a link connection portion 15 that is responsible for the physical connection of the Ethernet layer.

도 1에서 도시된 바와 같이 서버는 허브를 통해 클라이언트와 이더넷 케이블로 연결되어 있고, 클라이언트가 TCP 접속요청을 하면 서버는 TCP 소켓을 생성하고 접속이 되었음을 알리는 프레임을 클라이언트에게 전송한다.As shown in FIG. 1, the server is connected to the client through an hub via an Ethernet cable. When the client requests a TCP connection, the server creates a TCP socket and transmits a frame indicating that the connection is established.

이후 클라이언트는 서버에 데이터를 요청하고, 서버는 응답 데이터를 구성하여 클라이언트에 보내는 동작을 일정 주기마다 반복되면서 클라이언트는 서버와 통신을 한다.After that, the client requests data from the server, and the server constructs response data and sends it to the client at regular intervals, and the client communicates with the server.

도 2의 이더넷 링크를 통해서 서버로 수신된 프레임은 링크연결부(15)와 MAC 컨트롤러(13)를 거쳐 제어부(11)로 입력된 후 제어부(11)에 의해 수신 프레임이 해석된다. 이어, 제어부(11)는 응답프레임을 생성하여 MAC 컨트롤러(13)와 링크연결 부(15)를 통해 클라이언트(30) 측으로 전송하게 된다.The frame received by the server through the Ethernet link of FIG. 2 is input to the control unit 11 via the link connection unit 15 and the MAC controller 13, and the received frame is interpreted by the control unit 11. Subsequently, the controller 11 generates a response frame and transmits the response frame to the client 30 through the MAC controller 13 and the link connection unit 15.

만일, 클라이언트에서의 데이터 요구 명령이 케이블 단선에 따라 서버로 전송되지 않으면, 클라이언트는 TCP 접속 종료 처리를 하고 자신은 새로운 포트 번호로 재접속 요구를 보내게 된다. 그러나, 서버는 클라이언트에서 접속 중단 요구를 단선 중이기 때문에 받지 못하게 되어 접속 상태가 유지된 채로 있게 된다.If the data request command from the client is not sent to the server according to the cable disconnection, the client terminates the TCP connection and sends a reconnection request to the new port number. However, because the server is disconnecting the disconnect request from the client, the server does not receive it and remains connected.

이 상태에서 케이블을 재접속했을 때 클라이언트에서 새로운 포트번호로 재접속 요구를 해도, 서버는 이미 접속된 것으로 인식하기 때문에 재접속을 하지 않아 서버와 클라이언트 사이의 통신이 이루어지지 않게 된다.In this state, even if the client reconnects to the new port number when the cable is reconnected, the server recognizes that the connection has already been made.

이러한 현상을 해결하기 위하여 기존에는 아래와 같은 2가지 방식을 이용하고 있다.In order to solve this phenomenon, the following two methods are used.

첫째로, 클라이언트에서, 예를 들어 서버의 약속된 메모리 어드레스에 일정 주기로 임의의 고정 데이터를 기입하고, 서버의 프로그램으로는 약속된 메모리 어드레스에 기입된 고정 데이터를 감시하여 예를 들어, 60초 이상 데이터 변화가 없을 경우, 서버의 포트를 강제로 접속 종료한 뒤 재접속 대기 상태로 만들어 준다. 이러한 방식은 별도의 데이터 프레임을 주고받게 되어 불필요한 트래픽이 발생하게 되는 문제점이 있다.First, the client writes some fixed data at a predetermined period, for example, to the server's promised memory address, and the server's program monitors the fixed data written to the promised memory address, for example, at least 60 seconds. If there is no data change, forcibly terminates the server port and makes the connection wait. This method has a problem in that unnecessary traffic is generated by exchanging separate data frames.

둘째로, TCP 소켓 옵션인 keep-alive 기능을 이용하는 방법이다. 서버에서 클라이언트가 살아있는지를 체크하기 위해 keep-alive 파라미터를 설정하면, 주기적으로 체크 프레임을 클라이언트에 보내게 된다.The second method is to use the keep-alive function, which is a TCP socket option. Setting the keep-alive parameter on the server to check if the client is alive will periodically send a check frame to the client.

keep-alive 패킷에 대한 응답이 없는 경우에는 문제가 발생한 것으로 간주하 여 TCP 소켓을 종료하여 다음 접속을 기다리게 된다.If there is no response to the keep-alive packet, the problem is considered to be a problem and the TCP socket is closed to wait for the next connection.

그러나 이와 같은 keep-alive의 기능은 모든 TCP/IP 제품에서 제공되는 것은 아니며, 장비의 가격을 상승시키는 요인으로 작용한다. 또한, keep-alive 파라미터 값을 설정하는 것은 기술적으로 어려운 부분이고, 시스템에 상당히 의존적이여서 효율성이 떨어지게 된다. 또한, 주기적으로 keep-alive 패킷이 전송이 되므로 불필요한 트래픽이 발생하게 되어 정상 상태에서는 트래픽 효율이 떨어지는 문제점이 있다.However, this keep-alive function is not provided in all TCP / IP products, and increases the price of equipment. Also, setting the keep-alive parameter value is a technically difficult part, and is very dependent on the system, resulting in inefficiency. In addition, since keep-alive packets are periodically transmitted, unnecessary traffic is generated, which causes a problem that traffic efficiency is lowered in a normal state.

본 발명은 TCP 통신을 하는 서버가 클라이언트로부터 TCP 접속이 된 상태에서 이더넷 링크 상태를 감시하고, 접속시간카운터를 이용하여 TCP 접속 상태를 감시하여 비정상적인 상황이 되면 신속하게 대처할 수 있는 서버의 TCP 접속 제어 장치 및 그 방법을 제공하기 위한 것이다.The present invention monitors the Ethernet link status in a state where a TCP communication server is connected to a TCP connection from a client, and monitors the TCP connection state using a connection time counter so that a server can quickly respond to an abnormal situation. An apparatus and a method thereof are provided.

상기 목적을 달성하기 위한 본 발명의 기술적 수단은, 클라이언트와 연결된 이더넷 네트워크를 통해 TCP 통신데이터의 송수신을 제어하는 MAC 컨트롤러; 및 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 클라이언트와의 접속시간을 카운트하고, 카운트한 접속시간이 미리 설정된 대 기시간을 초과하는 동안 상기 클라이언트로부터 데이터의 요청이 없을 경우에는 상기 클라이언트 소켓을 소멸한 후 접속을 종료하는 제어부;를 포함하는 것을 특징으로 한다.Technical means of the present invention for achieving the above object, MAC controller for controlling the transmission and reception of TCP communication data via an Ethernet network connected to the client; And allowing a connection by creating a client socket when the client requests a connection, counting a connection time with the client, and requesting no data from the client while the counted connection time exceeds a preset waiting time. In this case, the control unit for terminating the connection after the client socket is destroyed.

구체적으로, 상기 제어부는 클라이언트의 접속 요청시 접속시간을 초기화한 후 카운트하는 것을 특징으로 한다.Specifically, the controller is characterized in that the count after initializing the access time when the client requests the connection.

상기 목적을 달성하기 위한 본 발명의 다른 기술적 수단은, 클라이언트와 연결된 이더넷 네트워크의 비정상시에 이를 감지하여 링크 에러 인터럽트를 발생하는 MAC 컨트롤러; 및 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 MAC 컨트롤러로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅하고, 상기 링크 에러 플래그가 세팅된 경우 상기 클라이언트 소켓을 소멸한 후 클라이언트와의 접속을 종료하는 제어부;를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a MAC controller that detects an abnormality of an Ethernet network connected to a client and generates a link error interrupt; And creating a client socket when the client requests a connection and allowing the connection, and setting a link error flag when a link error interrupt is transmitted from the MAC controller, and destroying the client socket when the link error flag is set. And a controller for terminating the connection with the client afterwards.

상기 목적을 달성하기 위한 본 발명의 또다른 기술적 수단은, 클라이언트와 연결된 이더넷 네트워크를 통해 TCP 통신데이터의 송수신을 제어함과 아울러 상기 이더넷 네트워크의 비정상시에 이를 감지하여 링크 에러 인터럽트를 발생하는 MAC 컨트롤러; 및 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용하는 통신제어부와, 상기 클라이언트와 접속시 접속시간을 카운트하고 카운트한 접속시간이 미리 설정된 대기시간을 초과하는 동안 데이터의 요청이 없을 경우 접속이 종료되도록 하는 접속시간카운터, 및 상기 MAC 컨트롤러로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅한 후 클라이언트와의 접속이 종 료되도록 하는 인터럽트처리부를 구비한 제어부;를 포함하는 것을 특징으로 한다.Another technical means of the present invention for achieving the above object is a MAC controller for controlling the transmission and reception of TCP communication data through an Ethernet network connected to the client, and detects it when the Ethernet network is abnormal and generates a link error interrupt. ; And a communication control unit which allows a connection by creating a client socket when the client requests a connection, and connects when there is no request for data while the connection time is counted when the connection with the client exceeds a preset waiting time. And a control unit including an access time counter for terminating the connection and an interrupt processing unit for terminating a connection with a client after setting a link error flag when a link error interrupt is transmitted from the MAC controller. .

상기 제어부는 클라이언트와 접속을 종료할 경우 생성된 클라이언트 소켓을 소멸시키는 것을 특징으로 하며, 상기 서버는 지능형 전자장치이고, 클라이언트는 감시반인 것을 특징으로 한다.The controller may be configured to destroy the generated client socket when the connection with the client is terminated. The server may be an intelligent electronic device, and the client may be a monitoring panel.

상기 목적을 달성하기 위한 본 발명의 기술적 방법은, 서버는 생성된 서버 소켓을 통해 클라이언트의 접속 요청을 확인하는 단계; 상기 클라이언트로부터 접속 요청이 있을 경우 클라이언트 소켓을 생성하여 접속을 허용하는 단계; 상기 접속을 허용한 후 접속 시간을 초기화하여 카운트하는 단계; 및 상기 카운트한 접속시간이 미리 설정된 대기시간을 초과할 동안 클라이언트로부터 데이터 요청이 없을 경우 클라이언트와의 접속을 종료하고, 클라이언트 소켓을 소멸하는 단계;를 수행하는 것을 특징으로 한다.Technical method of the present invention for achieving the above object, the server comprising the steps of confirming the connection request of the client through the created server socket; Allowing a connection by creating a client socket when a connection request is made from the client; Initializing and counting an access time after allowing the access; And terminating the connection with the client and destroying the client socket when there is no data request from the client while the counted connection time exceeds the preset waiting time.

상기 목적을 달성하기 위한 본 발명의 다른 기술적 방법은, 서버는 생성된 서버 소켓을 통해 클라이언트의 접속 요청을 확인하는 단계; 상기 클라이언트로부터 접속 요청이 있을 경우 클라이언트 소켓을 생성하여 접속을 허용하는 단계; 상기 접속을 허용한 후 서버는 이더넷 네트워크의 비정상 여부를 체크하여 비정상시에 링크 에러 인터럽트를 발생하는 단계; 및 상기 링크 에러 인터럽트가 발생되면 링크 에러 플래그를 세팅한 후 클라이언트와의 접속을 종료하고, 클라이언트 소켓을 소멸하는 단계;를 수행하는 것을 특징으로 한다.Another technical method of the present invention for achieving the above object, the server comprises the steps of confirming the connection request of the client through the created server socket; Allowing a connection by creating a client socket when a connection request is made from the client; After allowing the connection, the server checks whether the Ethernet network is abnormal and generates a link error interrupt in abnormality; And if the link error interrupt occurs, terminating the connection with the client after setting the link error flag and destroying the client socket.

이상에서 설명한 바와 같이 본 발명은 서버의 링크 에러 감지와 접속 타이머 기능으로 허브와 서버 사이의 이더넷 케이블의 단선, 허브 자체의 비정상, 허브 감시반 사이의 이더넷 케이블의 단선, 클라이언트(감시반) 자체의 이상상태와 같은 비정상적인 현상에 대해 신속한 대처가 가능한 이점이 있다.As described above, the present invention provides a link error detection and a connection timer function of a server, such as disconnection of an Ethernet cable between a hub and a server, an abnormality of a hub itself, an disconnection of an Ethernet cable between a hub monitor, and an abnormal state of a client (monitor panel) itself. There is an advantage that can quickly deal with abnormal phenomena such as.

또한, 링크 에러를 감지하여 허브와 서버(IED장치) 사이의 연결케이블 비정상 상태를 신속하게 판단 및 표시할 수 있고, 접속 타이머를 이용하므로 서버와 클라이언트 사이에 별도의 체크 프레임을 교환하지 않으므로 불필요한 트래픽이 발생하지 않으며, 클라이언트에 추가 설정이나 프로그래밍이 필요하지 않아 설치 및 유지 보수가 용이한 이점이 있다.In addition, by detecting a link error, it is possible to quickly determine and display the abnormal state of the connection cable between the hub and the server (IED device), and because it uses an access timer, unnecessary traffic is not exchanged between the server and the client. This does not happen, and there is no need for additional setup or programming on the client, which is easy to install and maintain.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 대하여 보다 상세하게 설명하고자 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 의한 서버와 클라이언트를 포함한 네트워크 시스템을 나타낸 구성도로서, 서버(100; Server)와 허브(200; Hub) 및 클라이언트(300; Client)를 포함하고 있다.3 is a block diagram illustrating a network system including a server and a client according to the present invention, and includes a server (100), a hub (200), and a client (300).

서버(100)는 이더넷 네트워크와 허브(200)를 통해 클라이언트(300)와 연결되어 있는 데, 클라이언트(300)가 TCP 접속요청을 하면 서버(100)는 TCP 소켓을 생성하고 접속이 되었음을 알리는 프레임을 클라이언트(300)에게 전송하는 지능형 전자장치(IED; Intelligent Electronic Device)로 구성되어 있다. The server 100 is connected to the client 300 through the Ethernet network and the hub 200. When the client 300 makes a TCP connection request, the server 100 creates a TCP socket and generates a frame indicating that the connection is established. It is composed of an intelligent electronic device (IED) for transmitting to the client (300).

이와 같은 서버(100)는 기본적으로 클라이언트(300)로부터 전송된 수신 프레임을 해석하고 송신 프레임을 만드는 제어부(110)와, 이더넷 층의 데이터 송수신을 담당하는 MAC컨트롤러(120), 및 이더넷 층의 물리적인 연결을 담당하는 링크연결부(130)를 포함하여 구성되어 있다.The server 100 basically interprets the reception frame transmitted from the client 300 and creates a transmission frame, the MAC controller 120 in charge of data transmission and reception of the Ethernet layer, and the physical layer of the Ethernet layer. It is configured to include a link connector 130 that is in charge of the connection.

상기 제어부(110)의 경우, 클라이언트(300)의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 클라이언트(300)와의 접속시간을 카운트하고, 카운트한 접속시간이 미리 설정된 대기시간을 초과하는 동안 상기 클라이언트(300)로부터 데이터의 요청이 없을 경우에는 상기 클라이언트 소켓을 소멸한 후 접속을 종료하도록 구성되어 있다.In the case of the controller 110, the client 300 creates a client socket to allow a connection and counts a connection time with the client 300, and the counted connection time exceeds a preset waiting time. When there is no request for data from the client 300, the client socket is configured to terminate the connection after destroying the client socket.

또한, 제어부(110)는 클라이언트(300)의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 MAC 컨트롤러(120)로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅하고, 상기 링크 에러 플래그가 세팅된 경우 상기 클라이언트 소켓을 소멸한 후 클라이언트(300)와의 접속을 종료하도록 구성되어 있다.In addition, the controller 110 allows a connection by creating a client socket when the client 300 requests a connection, and sets a link error flag when a link error interrupt is transmitted from the MAC controller 120. If the flag is set, it is configured to terminate the connection with the client 300 after destroying the client socket.

그리고, MAC 컨트롤러(120)의 경우 클라이언트(300)와 연결된 이더넷 네트워크를 통해 TCP 통신데이터의 송수신을 제어함과 아울러 상기 이더넷 네트워크의 비정상시에 이를 감지하여 링크 에러 인터럽트를 발생하도록 구성되어 있다.In addition, the MAC controller 120 is configured to control transmission and reception of TCP communication data through an Ethernet network connected to the client 300 and to detect a link error when the Ethernet network is abnormal and generate a link error interrupt.

상기에서 제어부(110)는 도 3과 같이 통신제어부(111)와 접속시간카운터(113) 및 인터럽트처리부(115)를 포함하여 구성되어 있는 데, 상기 통신제어부(111)는 상기 클라이언트(300)의 접속 요청시 클라이언트 소켓을 생성하여 접속 을 허용함과 아울러 클라이언트(300)로부터 전송된 수신 프레임을 해석하여 송신 프레임을 생성하도록 구성되어 있고, 접속시간카운터(113)는 상기 클라이언트(300)와 접속시 접속시간을 카운트하고 카운트한 접속시간이 미리 설정된 대기시간을 초과하는 동안 데이터의 요청이 없을 경우 접속이 종료되도록 하고, 인터럽트처리부(115)는 상기 MAC 컨트롤러(120)로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅한 후 클라이언트(300)와의 접속이 종료되도록 한다.The control unit 110 is configured to include a communication control unit 111, the connection time counter 113 and the interrupt processing unit 115, as shown in FIG. 3, the communication control unit 111 of the client 300 It is configured to allow a connection by creating a client socket upon a connection request, and to generate a transmission frame by analyzing a reception frame transmitted from the client 300. The connection time counter 113 is connected to the client 300. If there is no request for data while the access time is counted and the counted access time exceeds the preset waiting time, the connection is terminated, and the interrupt processor 115 transmits a link error interrupt from the MAC controller 120. After setting the link error flag, the connection with the client 300 is terminated.

즉, 이더넷 네트워크를 통해서 서버(100)로 전송된 프레임은, 서버(100)의 링크연결부(130)와 MAC 컨트롤러(120)를 거쳐 제어부(110)로 입력된 후 제어부(110)의 통신제어부(111)에 의해 수신 프레임이 해석된다. 이어, 제어부(110)는 응답프레임을 생성하여 MAC컨트롤러(120)와 링크연결부(130)를 통해 클라이언트(300) 측으로 전송하게 된다.That is, the frame transmitted to the server 100 through the Ethernet network is input to the control unit 110 via the link connection unit 130 and the MAC controller 120 of the server 100 and then the communication control unit ( 111) the received frame is interpreted. Subsequently, the controller 110 generates a response frame and transmits the response frame to the client 300 through the MAC controller 120 and the link connection unit 130.

클라이언트(300)는 서버(100)에 데이터를 요청하고 서버(100)로부터 응답 데이터를 수신하는 동작을 일정 주기마다 반복하면서 서버(100)와 통신을 하는 PC와 같은 감시반으로 구성되어 있다.The client 300 is configured as a monitoring panel such as a PC that communicates with the server 100 while repeating an operation of requesting data from the server 100 and receiving response data from the server 100 at regular intervals.

한편, 서버(100)는, 상기 제어부(110)와 버스 인터페이스로 연결된 정주기 타이머(140)와, 상기 제어부(110)와 버스 인터페이스로 연결된 메모리(150)와, 상기 제어부(110)에 연결되어 있어 LCD표시부(171)에 디스플레이된 접속 대기시간(max idle time)을 변경 입력하는 키입력부(160)와, 상기 제어부(110)에 연결되어 접속 종료 타이머(140) 값을 표시하는 LCD표시부(171)와 링크 에러(Fail)시에 제어부(110)의 제어신호에 따라 점등되는 LED표시부(175)를 각각 구비한 표시 부(170)를 더 포함한다.On the other hand, the server 100 is connected to the control unit 110 and the fixed period timer 140 connected to the bus interface, the memory 150 connected to the control unit 110 and the bus interface, and the control unit 110 Key input unit 160 for changing the input idle time displayed on the LCD display unit 171 and an LCD display unit 171 connected to the control unit 110 to display a connection termination timer 140 value. ) And a display unit 170 each having an LED display unit 175 that is turned on according to a control signal of the controller 110 at the time of a link error Fail.

아울러, 상기 MAC컨트롤러(120)는 제어부(110) 및 링크연결부(130)와 DMA와 이더넷 인터페이스로 각각 연결되어 있고, 링크연결부(130)는 커넥터(180)와 연결되어 있으며, 커넥터(180)는 외부 이더넷 네트워크와 연결되어 있다.In addition, the MAC controller 120 is connected to the control unit 110 and the link connecting unit 130 and DMA and the Ethernet interface, respectively, the link connecting unit 130 is connected to the connector 180, the connector 180 is It is connected to an external Ethernet network.

도 4는 본 발명에 의한 제어부(110)와 MAC컨트롤러(120) 사이의 데이터 흐름을 나타낸 도면으로서, 제어부(110)와 MAC컨트롤러(120)는 정상적인 통신을 할 경우에 TCP 통신 데이터를 주고받으며, 링크 상태가 정상상태가 아닌 경우에 MAC컨트롤러(120)는 제어부(110)로 링크 에러(Fail) 인터럽트를 발생시켜 제어부(110)가 링크상태를 인지할 수 있게 한다. 4 is a diagram illustrating a data flow between the controller 110 and the MAC controller 120 according to the present invention. The controller 110 and the MAC controller 120 exchange TCP communication data when performing normal communication. When the link state is not in the normal state, the MAC controller 120 generates a link error (Fail) interrupt to the controller 110 so that the controller 110 can recognize the link state.

도 3과 같이 허브(200)로 연결된 스타 토폴로지(Star topology) 구조의 이더넷 통신망에서, IED 장치는 서버(100)가 되고 감시반은 클라이언트(300)가 된다.In the Ethernet communication network of the star topology structure connected to the hub 200 as shown in FIG. 3, the IED device becomes the server 100 and the monitoring panel becomes the client 300.

서버(100; IED장치)가 클라이언트(300; 감시반)와 통신을 하기 위해서는 TCP 통신에 필요한 파라미터인 IP 어드레스, TCP 포트번호 및 타임아웃(대기시간) 설정 등이 필요하며, 서버(100)의 제어부(110)는 이와 같은 파라미터를 키입력부(160)를 통해 입력받아 메모리(150)에 저장하게 된다. In order for the server 100 (IED device) to communicate with the client 300 (monitoring panel), an IP address, a TCP port number, and a timeout (wait time) setting, which are necessary parameters for TCP communication, are required, and the control unit of the server 100 is provided. 110 receives such a parameter through the key input unit 160 and stores it in the memory 150.

클라이언트(300)로부터 TCP 접속요구가 서버(100)에서 받아들여지면, 클라이언트(300)와의 TCP 통신이 이루어진다. When a TCP connection request is received from the client 300 at the server 100, TCP communication with the client 300 is performed.

한편, 서버(100)의 제어부(110)는 접속 감시 루틴에 따라 TCP 접속이 된 상태에서 접속시간카운터(113)를 동작시키고, 링크상태 감시도 이루어진다. On the other hand, the control unit 110 of the server 100 operates the connection time counter 113 in a state of TCP connection in accordance with the connection monitoring routine, the link state monitoring is also performed.

클라이언트(300)의 데이터 요청명령은 이더넷 네트워크를 통해 링크연결 부(130)와 MAC 컨트롤러(120)를 거쳐 제어부(110)로 입력된다. The data request command of the client 300 is input to the controller 110 via the link connection unit 130 and the MAC controller 120 through the Ethernet network.

제어부(110)는 요청명령을 해석하여 응답프레임을 작성하여 출력하면, MAC컨트롤러(120)와 링크연결부(130), 및 이더넷 네트워크를 통해 결국 클라이언트(300)로 전송된다. When the controller 110 interprets the request command, prepares and outputs a response frame, the controller 110 is eventually transmitted to the client 300 through the MAC controller 120, the link connection unit 130, and the Ethernet network.

만일, 허브(200)와 서버(100) 사이의 이더넷 네트워크 등의 단선으로 인한 링크 에러(Fail)가 발생하였을 경우 MAC컨트롤러(120)는 이를 즉시 감지하여 링크 에러 인터럽트를 제어부(110)로 전달하고, 제어부(110)는 링크 에러 인터럽트에 따라 TCP 접속을 종료하고, 링크 에러가 발생했음을 알리기 위해 LED표시부(175)를 제어하여 LED를 점등하게 된다.If a link error (Fail) occurs due to a disconnection between the hub 200 and the server 100, such as an Ethernet network, the MAC controller 120 immediately detects this and delivers a link error interrupt to the controller 110. The controller 110 terminates the TCP connection according to the link error interrupt, and controls the LED display unit 175 to light up the LED to indicate that a link error has occurred.

이더넷 네트워크를 교체하여 정상상태로 돌아올 경우에는 제어부(110)는 LED표시부(175)의 LED를 다시 소등하여 정상상태로 복귀되었음을 사용자에게 알려준다.When the Ethernet network is replaced and returned to the normal state, the controller 110 turns off the LED of the LED display unit 175 again to inform the user that the state has been returned to the normal state.

허브(200)와 클라이언트(300) 사이의 링크 에러에 대한 판별은 클라이언트(300)의 접속시에 접속시간을 카운트하고, 카운트된 접속시간이 설정된 대기시간을 초과할 경우 제어부(110)는 TCP 접속을 종료하고 접속을 대기시킨다. 여기서, 설정된 대기시간은 10초 내지 60초 사이의 값이 설정될 수 있다. 물론, 클라이언트(300)가 리셋되어 정상적인 접속을 종료하지 못하였거나 클라이언트(300)가 접속을 유지한 후에 소프트웨어의 오류로 장시간 동안 통신을 하지 않은 경우에도 접속시간이 미리 설정된 대기시간을 초과할 경우 타임아웃되어 서버(100)는 접속을 종료하고 접속 대기하게 된다.The determination of the link error between the hub 200 and the client 300 counts the connection time when the client 300 is connected, and when the counted connection time exceeds the set waiting time, the controller 110 connects to the TCP connection. Terminate and wait for connection. Here, the set waiting time may be set to a value between 10 seconds and 60 seconds. Of course, even if the client 300 is not reset because the normal connection is not terminated or the client 300 does not communicate for a long time due to a software error after maintaining the connection, the connection time exceeds the preset waiting time. The server 100 terminates the connection and waits for the connection.

클라이언트(300)는 정상상태로 복귀 후에 새로운 연결을 요청하면, 서버(100)는 대기 모드에서 재접속되어 TCP 통신이 재개된다.If the client 300 requests a new connection after returning to the normal state, the server 100 reconnects in the standby mode and TCP communication is resumed.

따라서, 본 발명에서는 TCP 접속 감시를 위해 접속시간 카운트와 링크 에러 인터럽트 정보를 이용하게 되는 데, 클라이언트(300)의 접속 후 접속시간카운터(113)를 통한 증가된 값이 미리 설정된 대기시간보다 클 경우에 TCP 접속을 종료하는 방법과, 이더넷 네트워크의 상태를 감시하여 비정상이 발생하였을 경우에 링크 에러 인터럽트를 발생시켜 접속을 종료하는 방법을 조합함에 따라 기존 방법 대비 신속하게 접속 대기상태로 돌아갈 수 있게 된다. Therefore, in the present invention, the connection time count and link error interrupt information are used to monitor the TCP connection. When the increased value through the connection time counter 113 after the connection of the client 300 is greater than a preset waiting time, It is possible to return to the connection standby state more quickly than the existing method by combining the method of terminating the TCP connection with the network and the method of terminating the connection by generating the link error interrupt when an abnormality occurs by monitoring the status of the Ethernet network. .

도 5는 본 발명에 의한 서버의 접속 처리 과정을 나타낸 플로우챠트로서, 도 3 및 도 4를 참조하여 살펴보면 아래와 같다. 5 is a flowchart illustrating a connection process of a server according to the present invention, which will be described below with reference to FIGS. 3 and 4.

먼저, 서버(100)는 부팅시에 TCP 서버(100) 프로그램을 실행하면서, 하나의 소켓(socket)을 생성하여 서버 소켓(server socket)으로 자체 등록하게 된다(S1). First, the server 100 executes the TCP server 100 program at boot time, generates one socket, and registers itself as a server socket (S1).

이어, 서버(100)는 서버 소켓을 통해 클라이언트(300)로부터 접속이 요청되었는지를 확인하게 된다(S2). Subsequently, the server 100 checks whether a connection is requested from the client 300 through the server socket (S2).

상기 클라이언트(300)의 접속이 요청되었으면 클라이언트(300)의 접속요청을 허락하고, 클라이언트(300)와 통신을 위해 클라이언트 소켓을 생성하게 된다(S3, S4). If the client 300 is requested to connect, the client 300 permits the connection request, and creates a client socket for communication with the client 300 (S3 and S4).

이어, 서버(100)는 클라이언트(300)의 접속시간 카운트를 증가시키기 전에 카운트값을 '0'으로 초기화한 후 접속시간 카운트를 증가시키게 된다(S5). Subsequently, the server 100 increases the access time count after initializing the count value to '0' before increasing the access time count of the client 300 (S5).

이어, 서버(100)는 클라이언트 소켓을 통해 클라이언트(300)로부터 데이터의 요청이 있는지를 확인하고(S6), 데이터의 요청이 있는 경우 해당 데이터를 클라이언트(300)로 송신한다(S7). 그리고, 서버(100)는 접속시간 카운트를 초기화한 후 데이터의 재요청을 대기하게 된다(S6).Subsequently, the server 100 checks whether there is a request for data from the client 300 through the client socket (S6), and if there is a request for data, transmits the corresponding data to the client 300 (S7). The server 100 waits for re-request of data after initializing the access time count (S6).

하지만, 데이터의 요청이 수신되지 않았을 경우 서버(100)는 접속시간카운터(113)를 통해 카운트한 접속시간이 미리 설정된 대기시간을 초과하였는지를 비교 판단하게 되고(S8), 접속시간이 대기시간을 초과하였을 경우에는 접속을 종료한 후 클라이언트 소켓을 소멸시켜 접속 대기 상태로 돌아간다(S11).However, when the request for data is not received, the server 100 determines whether the access time counted through the access time counter 113 exceeds a preset waiting time (S8), and the access time exceeds the waiting time. If the connection is terminated, the client socket is terminated after the connection is terminated to return to the connection waiting state (S11).

또한, 서버(100)는 동작 중에 MAC컨트롤러(120)로부터 링크 에러 인터럽트 신호가 전달되면, 인터럽트처리부(115)는 링크 에러 플래그(Link fail flag)를 세팅시키게 되는 데, 서버(100)는 상기 링크 에러 플래그를 확인하여 세팅되어 있으면(S9), 접속을 종료한 후 클라이언트 소켓을 소멸시켜 접속 대기 상태로 돌아간다(S11). 예컨대, MAC컨트롤러(120)는 이더넷 네트워크의 단선으로 인해 링크상태 이상이 감지되었을 경우에 링크 에러 인터럽트 신호를 제어부(110)로 전달하고, 제어부(110)의 인터럽트처리부(115)는 링크 에러 플래그를 설정된 값('1' 또는 '0')으로 세팅한다.In addition, if a link error interrupt signal is transmitted from the MAC controller 120 while the server 100 is in operation, the interrupt processor 115 sets a link fail flag, and the server 100 sets the link error flag. If the error flag is checked and set (S9), after the connection is terminated, the client socket is destroyed to return to the connection waiting state (S11). For example, the MAC controller 120 transmits a link error interrupt signal to the controller 110 when a link state abnormality is detected due to disconnection of the Ethernet network, and the interrupt processor 115 of the controller 110 sends a link error flag. Set to the set value ('1' or '0').

그리고, 서버(100)는 동작 중에 클라이언트(300)로부터 TCP 접속 종료 요청이 수신되면(S10), TCP 접속을 종료한 후 클라이언트 소켓을 소멸시켜 접속 대기 상태로 돌아간다(S11).When the TCP connection termination request is received from the client 300 during operation (S10), the server 100 terminates the TCP connection and then terminates the client socket and returns to the connection waiting state (S11).

따라서, 본 발명에서는 TCP 통신을 하는 서버(100)인 IED 장치가 클라이언트(300)로부터 TCP 접속이 된 상태에서 선로상태를 감시하거나 접속시간카운 터(113)를 이용하여 TCP 접속 상태를 감시하여 비정상적인 상황으로 판단될 경우에 신속하게 해당 접속을 종료하고 대기상태로 돌아가 다른 TCP 접속을 기다릴 수 있도록 한다.Therefore, in the present invention, an IED device, which is a server 100 for TCP communication, monitors a line state in a state in which a TCP connection is made from a client 300, or monitors a TCP connection state using an access time counter 113, and thus is abnormal. If it is determined that the situation is terminated quickly, the connection can be terminated and the standby state can be waited for another TCP connection.

이에 따라 본 발명은 서버(100)의 링크 에러 감지와 접속 타이머(140) 기능으로 허브(200)와 서버(100) 사이의 이더넷 네트워크 단선, 허브(200) 자체의 비정상, 허브(200) 감시반 사이의 이더넷 네트워크 단선, 클라이언트(300; 감시반) 자체의 이상상태와 같은 비정상적인 현상에 대해 기존의 기술보다 대처가 우수하게 된다.Accordingly, the present invention provides a link error detection and a connection timer 140 function of the server 100, an Ethernet network disconnection between the hub 200 and the server 100, an abnormality of the hub 200 itself, and a hub 200 between the monitoring panel. It is possible to cope better with the conventional technology against abnormal phenomena such as disconnection of Ethernet network and abnormal state of the client 300 (monitor panel) itself.

즉, 링크 에러를 감지하여 허브(200)와 서버(100; IED장치) 사이의 연결 네트워크의 비정상 상태를 신속하게 판단 및 표시할 수 있고, 감시 타이머(140)를 이용하므로 서버(100)와 클라이언트(300) 사이에 별도의 체크 프레임을 교환하지 않으므로 불필요한 트래픽이 발생하지 않으며, 클라이언트(300)에 추가 설정이나 프로그래밍이 필요하지 않아 설치 및 유지 보수가 용이하게 된다.That is, by detecting a link error, it is possible to quickly determine and display an abnormal state of the connection network between the hub 200 and the server 100 (IED device), and use the watchdog timer 140 so that the server 100 and the client Since no separate check frames are exchanged between the 300, unnecessary traffic does not occur, and no additional setting or programming is required for the client 300, thereby facilitating installation and maintenance.

상기의 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가진 당업자라면 본 발명의 기술적 사상 내에서 다양한 수정, 변경 및 부가가 가능할 것이다. 그러므로, 이러한 수정, 변경 및 부가는 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Preferred embodiments of the present invention are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit of the present invention. Therefore, such modifications, changes and additions should be determined not only by the claims below, but also by equivalents to those claims.

도 1은 종래기술에 의한 서버와 클라이언트를 포함한 네트워크 시스템이다.1 is a network system including a server and a client according to the prior art.

도 2는 종래기술에 의한 서버의 세부 구성을 나타낸 도면이다.2 is a view showing a detailed configuration of a server according to the prior art.

도 3은 본 발명에 의한 서버와 클라이언트를 포함한 네트워크 시스템을 나타낸 구성도이다.3 is a block diagram showing a network system including a server and a client according to the present invention.

도 4는 본 발명에 의한 제어부와 MAC컨트롤러 사이의 데이터 흐름을 나타낸 도면이다.4 is a diagram illustrating a data flow between a controller and a MAC controller according to the present invention.

도 5는 본 발명에 의한 서버의 접속 처리 과정을 나타낸 플로우챠트이다.5 is a flowchart showing a server connection process according to the present invention.

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

100: 서버 110: 제어부100: server 110: control unit

111: 통신제어부 113: 접속시간카운터111: communication control unit 113: connection time counter

115: 인터럽트처리부 120: MAC 컨트롤러115: interrupt processor 120: MAC controller

130: 링크연결부 140: 타이머130: link connection 140: timer

150: 메모리 160: 키입력부150: memory 160: key input unit

170: 표시부 180: 커넥터170: display unit 180: connector

200: 허브 300: 클라이언트200: hub 300: client

Claims (8)

삭제delete 삭제delete 클라이언트와 연결된 이더넷 네트워크의 비정상시에 이를 감지하여 링크 에러 인터럽트를 발생하는 MAC 컨트롤러; 및A MAC controller which detects an abnormality of the Ethernet network connected to the client and generates a link error interrupt; And 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용함과 아울러 상기 MAC 컨트롤러로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅하고, 상기 링크 에러 플래그가 세팅된 경우 상기 클라이언트 소켓을 소멸한 후 클라이언트와의 접속을 종료하는 제어부;를 포함하는 서버의 TCP 접속 제어 장치.When the client requests a connection, the client socket is created to allow the connection, and when the link error interrupt is transmitted from the MAC controller, the link error flag is set; when the link error flag is set, the client socket is destroyed. And a controller for terminating the connection with the client. 클라이언트와 연결된 이더넷 네트워크를 통해 TCP 통신데이터의 송수신을 제어함과 아울러 상기 이더넷 네트워크의 비정상시에 이를 감지하여 링크 에러 인터럽트를 발생하는 MAC 컨트롤러; 및A MAC controller that controls transmission and reception of TCP communication data through an Ethernet network connected to a client, and detects when an abnormality of the Ethernet network occurs, thereby generating a link error interrupt; And 상기 클라이언트의 접속 요청시 클라이언트 소켓을 생성하여 접속을 허용하는 통신제어부와, 상기 클라이언트와 접속시 접속시간을 카운트하고 카운트한 접속시간이 미리 설정된 대기시간을 초과하는 동안 데이터의 요청이 없을 경우 접속이 종료되도록 하는 접속시간카운터, 및 상기 MAC 컨트롤러로부터 링크 에러 인터럽트가 전달될 경우 링크 에러 플래그를 세팅한 후 클라이언트와의 접속이 종료되도록 하는 인터럽트처리부를 구비한 제어부;를 포함하는 서버의 TCP 접속 제어 장치.A communication control unit which allows a connection by creating a client socket when the client requests a connection; and when there is no request for data while the connection time is counted and the counted connection time exceeds a preset waiting time. A control unit including a connection time counter for terminating and an interrupt processing unit for terminating a connection with a client after setting a link error flag when a link error interrupt is transmitted from the MAC controller; . 제 4 항에 있어서,The method of claim 4, wherein 상기 제어부는 클라이언트와 접속을 종료할 경우 생성된 클라이언트 소켓을 소멸시키는 것을 특징으로 하는 서버의 TCP 접속 제어 장치.The control unit TCP connection control device of the server, characterized in that for destroying the generated client socket when the connection is terminated with the client. 제 3 항 내지 제 5 항 중 어느 한 항에 있어서,The method according to any one of claims 3 to 5, 상기 서버는 지능형 전자장치이고, 클라이언트는 감시반인 것을 특징으로 하는 서버의 TCP 접속 제어 장치.And the server is an intelligent electronic device and the client is a monitoring panel. 삭제delete 서버는 생성된 서버 소켓을 통해 클라이언트의 접속 요청을 확인하는 단계;The server confirms the connection request of the client through the created server socket; 상기 클라이언트로부터 접속 요청이 있을 경우 클라이언트 소켓을 생성하여 접속을 허용하는 단계; Allowing a connection by creating a client socket when a connection request is made from the client; 상기 접속을 허용한 후 서버는 이더넷 네트워크의 비정상 여부를 체크하여 비정상시에 링크 에러 인터럽트를 발생하는 단계; 및After allowing the connection, the server checks whether the Ethernet network is abnormal and generates a link error interrupt in abnormality; And 상기 링크 에러 인터럽트가 발생되면 링크 에러 플래그를 세팅한 후 클라이언트와의 접속을 종료하고, 클라이언트 소켓을 소멸하는 단계;를 수행하는 서버의 TCP 접속 제어 방법.When the link error interrupt occurs, terminating a connection with a client after setting a link error flag, and destroying a client socket.
KR1020090020473A 2009-03-10 2009-03-10 Device and method for controlling tcp connection of server KR101087886B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090020473A KR101087886B1 (en) 2009-03-10 2009-03-10 Device and method for controlling tcp connection of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090020473A KR101087886B1 (en) 2009-03-10 2009-03-10 Device and method for controlling tcp connection of server

Publications (2)

Publication Number Publication Date
KR20100101996A KR20100101996A (en) 2010-09-20
KR101087886B1 true KR101087886B1 (en) 2011-11-30

Family

ID=43007295

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090020473A KR101087886B1 (en) 2009-03-10 2009-03-10 Device and method for controlling tcp connection of server

Country Status (1)

Country Link
KR (1) KR101087886B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266560B (en) * 2019-06-25 2021-04-27 宁波三星医疗电气股份有限公司 Communication test method and device, storage medium and electronic equipment
KR102535531B1 (en) * 2022-10-20 2023-05-30 주식회사 망고부스트 TOE-Based Network Interface Device, Operation Method thereof, and Server Device Including the Same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10105490A (en) * 1996-09-30 1998-04-24 Hitachi Ltd Method for monitoring server fault and its countermeasure method
US20030037164A1 (en) 2001-08-16 2003-02-20 International Business Machines Corporation System and method for protecting a TCP connection serving system from high-volume of TCP connection requests

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10105490A (en) * 1996-09-30 1998-04-24 Hitachi Ltd Method for monitoring server fault and its countermeasure method
US20030037164A1 (en) 2001-08-16 2003-02-20 International Business Machines Corporation System and method for protecting a TCP connection serving system from high-volume of TCP connection requests

Also Published As

Publication number Publication date
KR20100101996A (en) 2010-09-20

Similar Documents

Publication Publication Date Title
US9509895B2 (en) Pan-tilt-zoom device identification method, pan-tilt-zoom device, camera, and pan-tilt-zoom device control system
US7792914B2 (en) Server with network-based remote access and server management functions using reduced number of network connections
TWI618380B (en) Management methods, service controller devices and non-stransitory, computer-readable media
JP5400135B2 (en) Adjustable server transmission rate for fixed speed backplane connections within a multi-server enclosure
CN104363117A (en) IPMI (intelligent platform management interface) based method for serial port redirection
CN103490945B (en) Method for testing maximum telnet user number
US11516229B2 (en) Control device and control system
KR101087886B1 (en) Device and method for controlling tcp connection of server
US7920560B2 (en) Method for detecting topology of computer systems
CN105554150A (en) Network logging-in method and apparatus
CN114296995B (en) Method, system, equipment and storage medium for server to autonomously repair BMC
US8693483B2 (en) Adjusting MSS of packets sent to a bridge device positioned between virtual and physical LANS
TWM574793U (en) Network device capable of detecting state of external device
KR101031873B1 (en) Apparatus for controlling socket connection and method thereof
CN102932196B (en) A kind of detection method of hosting system status and device
KR102464345B1 (en) Network interface module system
CN217238646U (en) Monitoring system for state of network gate equipment
JP2002026932A (en) Monitor control system
TWI697782B (en) Baseboard management controller switching method for sharing network protocol
CN102096617A (en) Detection device and detection method
JP2002344460A (en) Power grid monitor control system and record medium with connection establishment state monitoring control program recorded thereon
JPH10105490A (en) Method for monitoring server fault and its countermeasure method
KR100780710B1 (en) Data processing system in financial network
JP2007183739A (en) Information processor and method, and program
JP3317278B2 (en) FDDI fault monitoring method, FDDI fault monitoring device, recording medium storing program, and network system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151002

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161010

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171011

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 8