KR100837434B1 - Mediation apparatus processing interface between client and server and interface method thereof - Google Patents

Mediation apparatus processing interface between client and server and interface method thereof Download PDF

Info

Publication number
KR100837434B1
KR100837434B1 KR1020060095355A KR20060095355A KR100837434B1 KR 100837434 B1 KR100837434 B1 KR 100837434B1 KR 1020060095355 A KR1020060095355 A KR 1020060095355A KR 20060095355 A KR20060095355 A KR 20060095355A KR 100837434 B1 KR100837434 B1 KR 100837434B1
Authority
KR
South Korea
Prior art keywords
client
interface
sequence
server
message
Prior art date
Application number
KR1020060095355A
Other languages
Korean (ko)
Other versions
KR20080029362A (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 KR1020060095355A priority Critical patent/KR100837434B1/en
Publication of KR20080029362A publication Critical patent/KR20080029362A/en
Application granted granted Critical
Publication of KR100837434B1 publication Critical patent/KR100837434B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2466Traffic characterised by specific attributes, e.g. priority or QoS using signalling traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

클라이언트와 서버 간의 인터페이스를 수행하는 매개장치 및 그의 인터페이스방법이 개시된다. 본 매개장치는 클라이언트가 연결되면, 클라이언트와 인터페이스하기 위한 오브젝트(Object)를 생성하는 인터페이스관리부, 클라이언트로부터 요청메시지가 전송되면, 요청메시지에 대한 시퀀스(Sequence)ID를 생성한 후, 요청메시지를 프로토콜 변환한 요청 패킷에 시퀀스ID를 포함시켜 서버로 전송하는 프로토콜파서부, 그리고, 서버로부터 요청메시지에 대한 응답메시지인 응답 패킷이 수신되면, 응답 패킷에 포함된 시퀀스ID에 대응되는 오브젝트를 검색한 후, 클라이언트에 응답메시지를 전송하는 ACK관리부를 포함한다. 이에 따라, 복수의 클라이언트와 서버 간의 효율적인 인터페이스를 수행할 수 있게 된다.Disclosed are an intermediary device for performing an interface between a client and a server, and an interface method thereof. This device is an interface management unit that creates an object for interfacing with a client when the client is connected, and when a request message is sent from the client, generates a sequence ID for the request message, and then requests the protocol. The protocol parser unit transmits the sequence ID to the server by including the sequence ID in the converted request packet, and when the response packet that is the response message for the request message is received from the server, the object corresponding to the sequence ID included in the response packet is searched for. It includes an ACK management unit for transmitting a response message to the client. Accordingly, an efficient interface between the plurality of clients and the server can be performed.

클라이언트, 서버, 인터페이스, 오브젝트, 시퀀스, 요청메시지, 응답메시지 Client, Server, Interface, Object, Sequence, Request Message, Response Message

Description

클라이언트와 서버 간의 인터페이스를 수행하는 매개장치 및 그의 인터페이스방법 { Mediation apparatus processing interface between client and server and interface method thereof }Mediation apparatus processing interface between client and server and interface method

도 1은 종래의 클라이언트와 서버 간의 인터페이스를 나타낸 도면,1 is a diagram illustrating an interface between a conventional client and a server;

도 2는 본 발명의 일 실시예에 따라 클라이언트와 서버 간의 인터페이스를 수행하는 매개장치를 나타낸 도면, 그리고,2 is a diagram showing an intermediary device for performing an interface between a client and a server according to an embodiment of the present invention; and

도 3 및 도 4는 본 발명의 일 실시예에 따른 매개장치의 인터페이스방법을 설명하기 위한 흐름도이다.3 and 4 are flowcharts illustrating an interface method of an intermediate apparatus according to an embodiment of the present invention.

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

100-1 : 클라이언트 1 100-2 : 클라이언트 2100-1: Client 1 100-2: Client 2

100-n : 클라이언트 N 200 : 매개장치100-n: Client N 200: Intermediate device

220 : 인터페이스관리부 240 : ACK관리부220: interface management unit 240: ACK management unit

260 : 프로토콜 파서부 280 : 테이블저장부260: protocol parser 280: table storage unit

300 : 서버300: server

본 발명은 클라이언트와 서버 간의 인터페이스를 수행하는 매개장치 및 그의 인터페이스방법에 관한 것으로, 더욱 상세하게는 복수의 클라이언트와 서버 사이에서 인터페이스를 수행하는 매개장치 및 그의 인터페이스방법에 관한 것이다.The present invention relates to an intermediary device for performing an interface between a client and a server and an interface method thereof, and more particularly, to an intermediary device for performing an interface between a plurality of clients and a server and an interface method thereof.

도 1은 종래의 클라이언트와 서버 간의 인터페이스를 나타낸 도면이다.1 is a diagram illustrating an interface between a conventional client and a server.

도 1을 참조하면, 종래의 클라이언트(10)와 서버(20)는 1:1 연결구조를 갖는다. 먼저, 클라이언트(10)가 서버(20)와의 인터페이스를 위해, 서버(20)에 연결(Connect)을 요청하면, 서버(20)가 클라이언트(10)와의 연결을 수락한다. 그리고, 클라이언트(10)가 요청메시지를 서버(20)에 전달하면, 서버(20)는 요청메시지에 대한 응답메시지를 클라이언트(10)에 전달하게 된다.Referring to FIG. 1, the conventional client 10 and the server 20 have a 1: 1 connection structure. First, when the client 10 requests a connection to the server 20 for an interface with the server 20, the server 20 accepts the connection with the client 10. When the client 10 transmits the request message to the server 20, the server 20 delivers a response message to the client 10.

이상과 같은 1:1 연결구조에서는 클라이언트(10)와 서버(20)가 1:1 통신을 수행하게 되므로, 클라이언트(10)와 서버(20) 간의 인터페이스 관리가 필요하지 않다. 그러나, 복수의 클라이언트(10)가 서버(20)와 인터페이스 하게 되는 경우, 복수의 클라이언트(10) 간에 응답메시지를 공유할 수 없게 된다.In the 1: 1 connection structure as described above, since the client 10 and the server 20 perform 1: 1 communication, interface management between the client 10 and the server 20 is not required. However, when the plurality of clients 10 interface with the server 20, the response message may not be shared between the plurality of clients 10.

또한, 각각의 클라이언트(10)가 프로토콜 파싱(Parsing)을 개별적으로 구현해야하므로, 클라이언트(10)에 부하가 크게 발생하여 성능이 저하된다. 그리고, 복수의 클라이언트(10)에 전송되어야할 응답메시지에 대한 구별이 어려워, 응답메시지가 전송되지 않는 클라이언트(10)의 상태를 처리하는 것이 불가능하게 된다.In addition, since each client 10 needs to implement protocol parsing separately, the client 10 may be heavily loaded, thereby degrading performance. In addition, since it is difficult to distinguish the response message to be transmitted to the plurality of clients 10, it becomes impossible to process the state of the client 10 in which the response message is not transmitted.

따라서, 본 발명의 목적은 복수의 클라이언트 간의 응답메시지를 공유하고, 각 클라이언트의 성능을 향상시키며, 응답메시지가 전송되지 않는 클라이언트가 없 도록 하기 위해, 복수의 클라이언트와 서버 간의 인터페이스를 수행하는 매개장치 및 그의 인터페이스방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an intermediary device that performs an interface between a plurality of clients and a server in order to share response messages among a plurality of clients, improve performance of each client, and to ensure that no clients do not transmit response messages. And an interface method thereof.

상기 목적을 달성하기 위한 본 발명에 따른 매개장치는 클라이언트가 연결되면, 상기 클라이언트와 인터페이스하기 위한 오브젝트(Object)를 생성하는 인터페이스관리부, 상기 클라이언트로부터 요청메시지가 전송되면, 상기 요청메시지에 대한 시퀀스(Sequence)ID를 생성한 후, 상기 요청메시지를 프로토콜 변환한 요청 패킷에 상기 시퀀스ID를 포함시켜 서버로 전송하는 프로토콜파서부, 및 상기 서버로부터 상기 요청메시지에 대한 응답메시지인 응답 패킷이 수신되면, 상기 응답 패킷에 포함된 시퀀스ID에 대응되는 상기 오브젝트를 검색한 후, 상기 클라이언트에 상기 응답메시지를 전송하는 ACK관리부를 포함한다.In order to achieve the above object, an intermediate apparatus according to the present invention includes an interface manager for generating an object for interfacing with the client when a client is connected, and a sequence for the request message when the request message is transmitted from the client. After generating the Sequence) ID, the protocol parser unit for transmitting the request message including the sequence ID in the protocol-transformed request packet to the server, and a response packet that is a response message for the request message from the server, And an ACK management unit for searching for the object corresponding to the sequence ID included in the response packet and transmitting the response message to the client.

또한, 본 발명에 따른 매개장치는 상기 클라이언트를 구분하기 위한 인터페이스ID, 상기 인터페이스ID에 대응되는 상기 오브젝트, 상기 시퀀스ID에 대응되는 상기 인터페이스ID, 및 상기 요청 패킷의 전송시간이 저장되는 저장부를 더 포함하며, 상기 ACK관리부는 상기 시퀀스ID를 이용하여, 상기 인터페이스ID에 대응되는 상기 오브젝트를 검색하는 것을 특징으로 한다.In addition, the intermediate apparatus according to the present invention further comprises a storage unit for storing the interface ID for identifying the client, the object corresponding to the interface ID, the interface ID corresponding to the sequence ID, and the transmission time of the request packet. And the ACK management unit searches for the object corresponding to the interface ID by using the sequence ID.

또한, 상기 ACK관리부는 상기 전송시간을 참조하여, 타임아웃(timeout)된 클라이언트의 오브젝트를 검색하여, 타임아웃된 클라이언트에 타임아웃 메시지를 전송한 후, 상기 클라이언트에 대한 시퀀스ID, 인터페이스ID, 및 전송시간을 상기 저장부로부터 삭제하는 것을 특징으로 한다.In addition, the ACK management unit searches for the object of the timed out client by referring to the transmission time, transmits a timeout message to the timed out client, and then sequence ID, interface ID, and The transmission time may be deleted from the storage unit.

그리고, 상기 ACK관리부는 상기 클라이언트에 상기 응답메시지의 전송이 완료되면, 상기 클라이언트에 대한 시퀀스ID, 인터페이스ID, 및 전송시간을 상기 저장부로부터 삭제하는 것을 특징으로 한다.When the transmission of the response message to the client is completed, the ACK management unit deletes the sequence ID, the interface ID, and the transmission time for the client from the storage unit.

한편, 본 발명에 따른 매개장치의 인터페이스방법은 클라이언트가 연결되면, 상기 클라이언트와 인터페이스하기 위한 오브젝트(Object) 및 상기 클라이언트를 구분하기 위한 인터페이스ID(Identification)를 생성하는 단계, 상기 클라이언트로부터 요청메시지가 전송되면, 상기 요청메시지에 대한 시퀀스(Sequence)ID를 생성한 후, 상기 요청메시지가 프로토콜 변환된 요청 패킷에 상기 시퀀스ID를 포함시켜 서버로 전송하는 단계, 상기 서버로부터 상기 요청메시지에 대한 응답메시지인 응답 패킷이 수신되면, 상기 응답 패킷에 포함된 시퀀스ID에 대응되는 상기 오브젝트를 검색한 후, 상기 클라이언트에 상기 응답메시지를 전송하는 단계, 상기 요청 패킷의 전송시간을 참조하여, 타임아웃(timeout)된 클라이언트의 오브젝트를 검색하여, 타임아웃된 클라이언트에 타임아웃 메시지를 전송하는 단계, 상기 클라이언트에 상기 응답메시지 및 상기 타임아웃 메시지 중, 적어도 하나의 메시지 전송이 완료되면, 상기 시퀀스ID에 대응되는 인터페이스ID 및 전송시간을 삭제하는 단계, 및 상기 클라이언트에 대한 연결이 해제되면, 상기 클라이언트에 대한 인터페이스ID 및 오브젝트를 삭제하는 단계를 포함한다.Meanwhile, in the interface method of the intermediate apparatus according to the present invention, when a client is connected, generating an object for interfacing with the client and an interface ID for identifying the client, wherein the request message is received from the client. If so, generating a Sequence ID for the request message, and then transmitting the request message to the server including the sequence ID in a protocol-converted request packet, from the server to the response message. When the in response packet is received, searching for the object corresponding to the sequence ID included in the response packet, transmitting the response message to the client, referring to the transmission time of the request packet, timeout Retrieves the client's object from timeout Transmitting an out-out message, deleting at least one of the response message and the time-out message to the client, deleting the interface ID and the transmission time corresponding to the sequence ID; and If the connection is released, deleting the interface ID and the object for the client.

이하에서는 첨부된 도면들을 참조하여 본 발명의 일 실시예를 보다 상세하게 설명한다. 다만, 본 발명을 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우, 그 에 대한 상세한 설명은 축약하거나 생략한다.Hereinafter, with reference to the accompanying drawings will be described in detail an embodiment of the present invention. However, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be abbreviated or omitted.

도 2는 본 발명의 일 실시예에 따라 클라이언트와 서버 간의 인터페이스를 수행하는 매개장치를 나타낸 도면이다.2 is a diagram illustrating an intermediary device for performing an interface between a client and a server according to an embodiment of the present invention.

도 2를 참조하면, 복수의 클라이언트(100-1,100-2,...,100-n)와 서버(300) 간의 인터페이스를 수행하는 매개장치(200)는 인터페이스관리부(220), ACK관리부(240), 프로토콜 파서부(260), 및 테이블저장부(280)를 포함한다.Referring to FIG. 2, the intermediate apparatus 200 for performing an interface between the plurality of clients 100-1, 100-2,..., 100-n and the server 300 includes an interface manager 220 and an ACK manager 240. ), A protocol parser unit 260, and a table storage unit 280.

인터페이스관리부(220)는 복수의 클라이언트(100-1,100-2,...,100-n) 중, 클라이언트 1(100-1)이 연결을 요청하면, 클라이언트 1(100-1)에 대응되는 인터페이스ID(Identification) 및 클라이언트 1(100-1)과 인터페이스하기 위한 쓰레드(Thread)인 오브젝트(Object)를 생성한다. 여기서, 생성된 인터페이스ID는 복수의 클라이언트(100-1,100-2,...,100-n)가 서버(300)에 연결된 경우, 각각의 클라이언트(100-1,100-2,...,100-n)를 구분하기 위한 것이다.The interface manager 220, when the client 1 (100-1) requests a connection among the plurality of clients (100-1, 100-2, ..., 100-n), the interface corresponding to the client 1 (100-1) Creates an object that is a thread for interfacing with ID and client 1 (100-1). Herein, the generated interface IDs are each of the clients 100-1, 100-2, ..., 100- when the plurality of clients 100-1, 100-2, ..., 100-n are connected to the server 300. n).

인터페이스ID 및 오브젝트는 서버(300)에 연결된 클라이언트 1(100-1)에 대한 인터페이스 정보는 다음 표1과 같은 테이블 형태로 후술 되는 테이블저장부(280)에 저장된다.The interface ID and the object are stored in the table storage unit 280, which will be described later, in the form of a table as shown in Table 1 below.

인터페이스IDInterface ID 오브젝트Object Client 1Client 1 Object 1Object 1

또한, 인터페이스관리부(220)는 클라이언트 1(100-1)이 연결 해제를 요청하면, 클라이언트 1(100-1)에 대응되는 인터페이스 정보인 'Client 1' 및 'Object 1'을 삭제한다.In addition, when the client 1 (100-1) requests the connection release, the interface manager 220 deletes 'Client 1' and 'Object 1', which are interface information corresponding to the client 1 (100-1).

프로토콜 파서부(260)는 클라이언트 1(100-1)이 요청메시지를 전송하면, 이를 프로토콜 변환하여 요청 패킷을 생성한다. 이때, 프로토콜 파서부(260)는 클라이언트 1(100-1)의 요청메시지에 대한 시퀀스(Sequence)ID를 생성하여, 요청 패킷에 포함시켜 전송한다. 여기서, 생성된 시퀀스ID는 요청 패킷을 서버(300)로 전송한 전송시간 및 인터페이스관리부(220)에서 생성된 인터페이스ID와 함께 요청 정보로 표 2의 테이블 형태로 테이블저장부(280)에 저장된다.When the client 1 100-1 transmits a request message, the protocol parser unit 260 converts the protocol into a request packet. At this time, the protocol parser unit 260 generates a sequence ID for the request message of the client 1 (100-1), transmits it by including it in the request packet. Here, the generated sequence ID is stored in the table storage unit 280 in the form of a table in Table 2 as request information together with the transmission time of transmitting the request packet to the server 300 and the interface ID generated by the interface manager 220. .

시퀀스IDSequence ID 인터페이스IDInterface ID 전송시간Transmission time 0000000100000001 Client 1Client 1 10:10:0010:10:00

ACK관리부(240)는 요청메시지에 대한 응답메시지인 응답 패킷이 서버(300)로부터 전송되면, 응답 패킷에 포함된 시퀀스ID에 대응되는 오브젝트를 검색하여, 클라이언트 1(100-1)에 응답메시지를 전송한다. 즉, 응답 패킷의 시퀀스ID가 '00000001'인 경우, 이에 대응되는 인터페이스ID인 'Client 1'을 검색하여, 표 1의 'Object 1'을 검색한다. 검색된 'Object 1'을 통해 클라이언트 1(100-1)에 응답메시지를 전송한다. 그리고, ACK관리부(240)는 클라이언트 1(100-1)의 요청정보를 테이블저장부(280)에서 삭제한다.When the response packet, which is a response message for the request message, is transmitted from the server 300, the ACK manager 240 searches for an object corresponding to the sequence ID included in the response packet, and sends a response message to the client 1 (100-1). send. That is, when the sequence ID of the response packet is '00000001', the corresponding interface ID 'Client 1' is searched for and 'Object 1' of Table 1 is searched. The response message is transmitted to the client 1 (100-1) through the retrieved 'Object 1'. In addition, the ACK manager 240 deletes the request information of the client 1 (100-1) from the table storage unit 280.

만약, 클라이언트 1(100-1)이 타임아웃(timeout)이 된 경우, ACK관리부(240)는 타임아웃된 클라이언트 1(100-1)의 시퀀스ID로 인터페이스ID 및 오브젝트를 검색하여, 클라이언트 1(100-1)에 타임아웃 메시지를 전송한다. 여기서, 타임아웃된 클라이언트 1(100-1)은 표 2의 전송시간을 통해 검색할 수 있다.If the client 1 100-1 has timed out, the ACK management unit 240 searches for the interface ID and the object with the sequence ID of the client 1 100-1 that has timed out. Send a timeout message to 100-1). Here, the timed out client 1 (100-1) can search through the transmission time of Table 2.

예를 들면, ACK관리부(240)가 요청 패킷을 전송한 시간이 '10:10:00'인 경우, 소정 시간 이상 클라이언트 1(100-1)에 응답메시지가 전송되지 않으면, 클라이언트 1(100-1)이 타임아웃된 것으로 판단하여, 클라이언트 1(100-1)에 타임아웃 메시지를 전송한다.For example, when the time when the ACK management unit 240 transmits the request packet is '10: 10: 00 ', if the response message is not transmitted to the client 1 (100-1) for more than a predetermined time, the client 1 (100-) It is determined that 1) has timed out, and transmits a timeout message to client 1 (100-1).

그리고, ACK관리부(240)는 클라이언트 1(100-1)의 요청 정보인 '00000001', 'Client 1' 및 '10:10:00'을 테이블저장부(280)에서 삭제한다.The ACK manager 240 deletes the request information '00000001', 'Client 1', and '10: 10: 00 'of the client 1 100-1 from the table storage unit 280.

한편, 클라이언트(100-1,100-2,...,100-n)가 요청메시지를 보내지 않은 상태에서, 서버(300)가 일방적으로 메시지를 보내는 경우, 예를 들면, 서버(300)에서 알람을 발생한 경우, ACK관리부(240)는 서버(300)로부터 받은 알람 메시지를 복수의 클라이언트(100-1,100-2,...,100-n)에 모두 전송할 수도 있다.On the other hand, when the server 300 unilaterally sends a message without the client 100-1, 100-2, ..., 100-n sending a request message, for example, the server 300 alerts the user. If so, the ACK manager 240 may transmit all of the alarm messages received from the server 300 to the plurality of clients 100-1, 100-2, ..., 100-n.

도 3 및 도 4는 본 발명의 일 실시예에 따른 매개장치의 인터페이스방법을 설명하기 위한 흐름도이다.3 and 4 are flowcharts illustrating an interface method of an intermediate apparatus according to an embodiment of the present invention.

먼저, 도 3을 참조하면, 매개장치(200)가 클라이언트(100-1,100-2,...,100-n)와 연결되면(S400), 인터페이스관리부(220)는 연결된 클라이언트(100-1,100-2,...,100-n)의 인터페이스ID 및 오브젝트를 생성하여 저장한다(S405). 예를 들어, 클라이언트 1(100-1)이 연결을 요청하면, 인터페이스관리부(220)가 인터페이스정보인 'Client 1' 및 'Object 1'을 생성하여, 표 1에 나타낸 바와 같은 테이블 형태로 테이블저장부(280)에 저장한다.First, referring to FIG. 3, when the intermediate apparatus 200 is connected to the clients 100-1, 100-2,..., 100-n (S400), the interface manager 220 is connected to the client 100-1, 100-. 2, ..., 100-n) generates the interface ID and the object (S405). For example, when the client 1 100-1 requests a connection, the interface manager 220 generates 'Client 1' and 'Object 1', which are interface information, and stores the table in a table form as shown in Table 1 below. Stored in the unit 280.

이때, 프로토콜 파서부(260)가 클라이언트(100-1,100-2,...,100-n)로부터 요청메시지를 수신하면(S410), 요청메시지를 프로토콜 변환하여 시퀀스ID가 포함된 요청 패킷을 생성한다(S415). 그리고 나서, 프로토콜 파서부(260)는 생성된 요청 패킷을 서버(300)로 전송한다(S420).At this time, when the protocol parser unit 260 receives a request message from the clients 100-1, 100-2, ..., 100-n (S410), protocol conversion of the request message generates a request packet including a sequence ID. (S415). Then, the protocol parser 260 transmits the generated request packet to the server 300 (S420).

예를 들어, 클라이언트 1(100-1)이 요청메시지를 전송하면, 프로토콜 파서부(260)가 이를 수신하여 요청 패킷으로 변환한 후, 요청메시지에 대한 시퀀스ID '00000001'를 요청 패킷에 포함시켜 서버(300)로 전송한다.For example, when the client 1 (100-1) transmits a request message, the protocol parser unit 260 receives it, converts it into a request packet, and then includes the sequence ID '00000001' for the request message in the request packet. Send to server 300.

그리고, 도 4를 참조하면, 서버(300)로부터 응답 패킷이 수신되면(S430), ACK관리부(240)는 응답 패킷에 포함된 시퀀스ID를 이용하여 인터페이스ID 및 오브젝트를 검색한다(S435). 그리고, ACK관리부(240)는 검색된 오브젝트를 통해 클라이언트(100-1,100-2,...,100-n)에 응답메시지를 전송한 후(S440), 요청정보를 삭제한다(S445).4, when a response packet is received from the server 300 (S430), the ACK manager 240 searches for an interface ID and an object using the sequence ID included in the response packet (S435). Then, the ACK management unit 240 transmits the response message to the client (100-1, 100-2, ..., 100-n) through the retrieved object (S440), and deletes the request information (S445).

다시 말해서, 응답 패킷에는 요청 패킷에 포함된 시퀀스ID '00000001'이 포함되어 전송되며, ACK관리부(240)는 테이블저장부(280)에 저장된 표 2의 '00000001'을 이용하여 'Client 1'을 검색하고, 표 1의 'Client 1'을 이용하여 'Object 1'을 검색한다. 그리고, ACK관리부(240)는 'Object 1'을 통해 클라이언트 1(100-1)에 응답메시지를 전송한 후, 테이블저장부(280)에 저장된 요청정보인 '00000001', 'Client 1', 및 '10:10:00'을 삭제한다.In other words, the response packet is transmitted with the sequence ID '00000001' included in the request packet, and the ACK management unit 240 uses the '00000001' of Table 2 stored in the table storage unit 280 to transmit 'Client 1'. Search and search for 'Object 1' using 'Client 1' in Table 1. Then, the ACK management unit 240 transmits a response message to the client 1 (100-1) through the 'Object 1', the request information stored in the table storage unit 280 '00000001', 'Client 1', and Delete '10: 10: 00 '

이때, 타임아웃된 클라이언트(100-1,100-2,...,100-n)가 존재하는 것으로 판단되면(S450), ACK관리부(240)는 타임아웃된 클라이언트의 인터페이스ID 및 오브젝트를 검색한다(S455). 그리고, 검색된 오브젝트를 통해 해당 클라이언트(100-1,100-2,...,100-n)에 타임아웃 메시지를 전송한다(S460). 마지막으로, ACK관리부(240)는 타임아웃 메시지를 전송한 클라이언트의 요청정보를 삭제한다(S465).At this time, if it is determined that there is a timed out client (100-1, 100-2, ..., 100-n) (S450), the ACK management unit 240 searches for the interface ID and the object of the timed out client ( S455). Then, the timeout message is transmitted to the corresponding client (100-1, 100-2, ..., 100-n) through the retrieved object (S460). Finally, the ACK management unit 240 deletes the request information of the client that sent the timeout message (S465).

좀 더 상세히 설명하면, ACK관리부(240)는 전송시간 '10:10:00'을 참조하여, 클라이언트 1(100-1)에 소정 시간이내 응답메시지가 전송되지 않은 것으로 판단되면, 표 2의 '10:10:00'을 이용하여 'Client 1'을 검색하고, 표 1의 'Clent 1'을 이용하여 'Object 1'을 검색한다. 그리고, ACK관리부(240)는 'Object 1'을 통해 클라이언트 1(100-1)에 타임아웃 메시지를 전송한 후, 응답메시지를 전송한 클라이언트(100-1,100-2,...,100-n)의 요청정보를 삭제한다. 즉, 요청정보인 표 2의 '00000001', 'Client 1', 및 '10:10:00'을 테이블저장부(280)로부터 삭제한다.In more detail, if it is determined that the response message is not transmitted within the predetermined time to the client 1 (100-1) with reference to the transmission time '10: 10: 00 ', the ACK manager 240, 10:10:00 'to search for' Client 1 'and' Clent 1 'in Table 1 to search for' Object 1 '. In addition, the ACK manager 240 transmits the timeout message to the client 1 (100-1) through 'Object 1', and then transmits the response message (100-1,100-2, ..., 100-n). Delete request information of). That is, the request information '00000001', 'Client 1', and '10: 10: 00 'of Table 2 are deleted from the table storage unit 280.

이러한 과정을 통해, 매개장치(200)는 복수의 클라이언트(100-1,100-2,...,100-n)와 서버(300) 간의 인터페이스를 수행할 수 있게 된다.Through this process, the intermediate apparatus 200 may perform an interface between the plurality of clients 100-1, 100-2,..., 100-n and the server 300.

이상 설명한 바와 같이 본 발명에 따르면, 복수의 클라이언트와 서버 간의 인터페이스를 수행함으로써, 복수의 클라이언트와 서버 간의 응답메시지 공유가 가능하며, 타임아웃된 클라이언트에 이를 알릴 수 있게 되고, 클라이언트의 프로토콜 처리를 위한 부하를 줄여 클라이언트의 성능을 향상시킬 수 있게 된다.As described above, according to the present invention, by performing an interface between a plurality of clients and a server, it is possible to share a response message between a plurality of clients and a server, and to notify the timed out client, and to process the protocol of the client. By reducing the load, you can improve the performance of the client.

또한, 이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the above-described specific embodiment, the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Anyone of ordinary skill in the art that various modifications can be made, as well as such changes are within the scope of the claims.

Claims (5)

클라이언트가 연결되면, 상기 클라이언트와 인터페이스하기 위한 오브젝트(Object) 및 상기 클라이언트를 구분하기 위한 인터페이스ID를 생성하는 인터페이스관리부;An interface manager configured to generate an object for interfacing with the client and an interface ID for distinguishing the client when the client is connected; 상기 클라이언트로부터 요청메시지가 전송되면, 상기 요청메시지에 대한 시퀀스(Sequence)ID를 생성한 후, 상기 요청메시지를 프로토콜 변환한 요청 패킷에 상기 시퀀스ID를 포함시켜 서버로 전송하는 프로토콜파서부; 및A protocol parser configured to generate a sequence ID for the request message when the request message is transmitted from the client, and to transmit the request message to the server by including the sequence ID in a request packet obtained by protocol conversion; And 상기 서버로부터 상기 요청메시지에 대한 응답메시지인 응답 패킷이 수신되면, 상기 응답 패킷에 포함된 시퀀스ID를 이용하여, 상기 인터페이스ID에 대응되는 상기 오브젝트를 검색한 후, 상기 클라이언트에 상기 응답메시지를 전송하는 ACK관리부;를 포함하는 것을 특징으로 하는 매개장치.When a response packet that is a response message to the request message is received from the server, the object ID corresponding to the interface ID is searched using the sequence ID included in the response packet, and then the response message is transmitted to the client. An ACK management unit; an intermediary device comprising a. 제1항에 있어서,The method of claim 1, 상기 인터페이스ID, 상기 인터페이스ID에 대응되는 상기 오브젝트, 상기 시퀀스ID에 대응되는 상기 인터페이스ID, 및 상기 요청 패킷의 전송시간이 저장되는 저장부;를 더 포함하는 것을 특징으로 하는 매개장치.And a storage unit for storing the interface ID, the object corresponding to the interface ID, the interface ID corresponding to the sequence ID, and a transmission time of the request packet. 제2항에 있어서,The method of claim 2, 상기 ACK관리부는 상기 전송시간을 참조하여, 타임아웃(timeout)된 클라이언트의 오브젝트를 검색하여, 타임아웃된 클라이언트에 타임아웃 메시지를 전송한 후, 상기 클라이언트에 대한 시퀀스ID, 인터페이스ID, 및 전송시간을 상기 저장부로부터 삭제하는 것을 특징으로 하는 매개장치.The ACK management unit searches for an object of a timed out client by referring to the transmission time, transmits a timeout message to the timed out client, and then transmits a sequence ID, an interface ID, and a transmission time for the client. Intermediate device, characterized in that for deleting from the storage. 제2항에 있어서,The method of claim 2, 상기 ACK관리부는 상기 클라이언트에 상기 응답메시지의 전송이 완료되면, 상기 클라이언트에 대한 시퀀스ID, 인터페이스ID, 및 전송시간을 상기 저장부로부터 삭제하는 것을 특징으로 하는 매개장치.And when the transmission of the response message to the client is completed, the ACK management unit deletes the sequence ID, the interface ID, and the transmission time for the client from the storage unit. 클라이언트가 연결되면, 상기 클라이언트와 인터페이스하기 위한 오브젝트(Object) 및 상기 클라이언트를 구분하기 위한 인터페이스ID(Identification)를 생성하는 단계;When the client is connected, generating an object for interfacing with the client and an interface ID for identifying the client; 상기 클라이언트로부터 요청메시지가 전송되면, 상기 요청메시지에 대한 시퀀스(Sequence)ID를 생성한 후, 상기 요청메시지가 프로토콜 변환된 요청 패킷에 상기 시퀀스ID를 포함시켜 서버로 전송하는 단계;Generating a sequence ID for the request message when the request message is transmitted from the client, and transmitting the request message to the server by including the sequence ID in the protocol-requested request packet; 상기 서버로부터 상기 요청메시지에 대한 응답메시지인 응답 패킷이 수신되면, 상기 응답 패킷에 포함된 시퀀스ID에 대응되는 상기 오브젝트를 검색한 후, 상기 클라이언트에 상기 응답메시지를 전송하는 단계;In response to receiving a response packet that is a response message for the request message from the server, searching for the object corresponding to the sequence ID included in the response packet, and then transmitting the response message to the client; 상기 요청 패킷의 전송시간을 참조하여, 타임아웃(timeout)된 클라이언트의 오브젝트를 검색하여, 타임아웃된 클라이언트에 타임아웃 메시지를 전송하는 단계;Searching for an object of a client timed out by referring to a transmission time of the request packet, and transmitting a timeout message to the client that timed out; 상기 클라이언트에 상기 응답메시지 및 상기 타임아웃 메시지 중, 적어도 하나의 메시지 전송이 완료되면, 상기 시퀀스ID에 대응되는 인터페이스ID 및 전송시간을 삭제하는 단계; 및Deleting an interface ID and a transmission time corresponding to the sequence ID when transmission of at least one message among the response message and the timeout message is completed to the client; And 상기 클라이언트에 대한 연결이 해제되면, 상기 클라이언트에 대한 인터페이스ID 및 오브젝트를 삭제하는 단계;를 포함하는 것을 특징으로 하는 인터페이스방법.And when the connection to the client is released, deleting the interface ID and the object for the client.
KR1020060095355A 2006-09-29 2006-09-29 Mediation apparatus processing interface between client and server and interface method thereof KR100837434B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060095355A KR100837434B1 (en) 2006-09-29 2006-09-29 Mediation apparatus processing interface between client and server and interface method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060095355A KR100837434B1 (en) 2006-09-29 2006-09-29 Mediation apparatus processing interface between client and server and interface method thereof

Publications (2)

Publication Number Publication Date
KR20080029362A KR20080029362A (en) 2008-04-03
KR100837434B1 true KR100837434B1 (en) 2008-06-12

Family

ID=39531943

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060095355A KR100837434B1 (en) 2006-09-29 2006-09-29 Mediation apparatus processing interface between client and server and interface method thereof

Country Status (1)

Country Link
KR (1) KR100837434B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010129367A2 (en) * 2009-04-28 2010-11-11 Zte (Usa) Inc. Dedicated acknowledgement and delivery of management messages in wireless communication systems
US9485321B2 (en) 2011-11-11 2016-11-01 Samsung Electronics Co., Ltd. Method and apparatus for brokering server and device communications and computer-readable storage medium for executing the method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101645002B1 (en) * 2009-06-23 2016-08-02 삼성전자주식회사 Mediator, System, and Method for providing virtual interface in behalf of remote computing
CN103516673A (en) * 2012-06-21 2014-01-15 腾讯科技(深圳)有限公司 Network data communication method, network data communication system, network data communication client and network data communication server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000045106A (en) * 1998-12-30 2000-07-15 이계철 Communicating method between multiple access client and single access server
KR20010107955A (en) * 1998-11-10 2001-12-07 찰스 더블유. 웰치 Internet client-server multiplexer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010107955A (en) * 1998-11-10 2001-12-07 찰스 더블유. 웰치 Internet client-server multiplexer
KR20000045106A (en) * 1998-12-30 2000-07-15 이계철 Communicating method between multiple access client and single access server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010129367A2 (en) * 2009-04-28 2010-11-11 Zte (Usa) Inc. Dedicated acknowledgement and delivery of management messages in wireless communication systems
WO2010129367A3 (en) * 2009-04-28 2011-02-03 Zte (Usa) Inc. Dedicated acknowledgement and delivery of management messages in wireless communication systems
US8300663B2 (en) 2009-04-28 2012-10-30 Zte (Usa) Inc. Dedicated acknowledgement and delivery of management messages in wireless communication systems
US9485321B2 (en) 2011-11-11 2016-11-01 Samsung Electronics Co., Ltd. Method and apparatus for brokering server and device communications and computer-readable storage medium for executing the method

Also Published As

Publication number Publication date
KR20080029362A (en) 2008-04-03

Similar Documents

Publication Publication Date Title
CN100583828C (en) Packet message processing method and device
CN103248724A (en) SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
KR20080068110A (en) A method for processing data synchronization and client terminal, server and data synchronization system thereof
KR20110071453A (en) Zigbee gateway and method for identifying message of the same
CN104601468A (en) Message forwarding method and device
CN106936896B (en) Kafka cluster data transmission method and device
KR100837434B1 (en) Mediation apparatus processing interface between client and server and interface method thereof
CN112118171A (en) Message intercommunication system, method, device, computer equipment and readable storage medium
WO2009111965A1 (en) Method, device and system of data synchronization
CN102223378B (en) File synchronization method and system
CN106331147A (en) REDIS distributed type invoking method and system thereof
CN104639613B (en) Implementation method based on the mobile data synchronization middleware for improving procotol
CN1885786A (en) Data updating system and method
JP2006338417A (en) Proxy device
CN104423965A (en) Information processing apparatus, information processing method, and program
WO2021120708A1 (en) Message processing method and device, storage medium, and electronic device
CN105323270B (en) Network information push method and system
WO2016062079A1 (en) Off-line message processing method and apparatus
CN103281318B (en) A kind of attack test device for software definition network
CN106936824B (en) LLDP neighbor information processing method and LLDP neighbor information processing device
KR20010058123A (en) SIP protocol server apparatus
CN103744888A (en) Method and system for anti-spam gateway to query database
KR100844361B1 (en) Gateway system for data synchronization
JP2015049745A (en) Server device, information processing method, and program
CN109639850A (en) A kind of method and system for realizing active and standby DHCP SERVER based on VRRP

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

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee