KR100428777B1 - Method for Synchronization Between Client of Client/Server System - Google Patents

Method for Synchronization Between Client of Client/Server System Download PDF

Info

Publication number
KR100428777B1
KR100428777B1 KR10-2002-0007922A KR20020007922A KR100428777B1 KR 100428777 B1 KR100428777 B1 KR 100428777B1 KR 20020007922 A KR20020007922 A KR 20020007922A KR 100428777 B1 KR100428777 B1 KR 100428777B1
Authority
KR
South Korea
Prior art keywords
client
server
message
response
clients
Prior art date
Application number
KR10-2002-0007922A
Other languages
Korean (ko)
Other versions
KR20030068237A (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 KR10-2002-0007922A priority Critical patent/KR100428777B1/en
Publication of KR20030068237A publication Critical patent/KR20030068237A/en
Application granted granted Critical
Publication of KR100428777B1 publication Critical patent/KR100428777B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

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

Abstract

본 발명은 클라이언트/서버 시스템의 클라이언트간의 동기화 방법에 관한 것으로, 좀더 상세하게는, 다수의 클라이언트 및 서버로 구성되는 클라이언트/서버 시스템에서, 각 클라이언트가 서버에 요청 및 보고할 내용을 응답 범위 항목이 삽입되어 있는 메시지를 통하여 서버로 전송하면, 서버가 각 클라이언트로부터 전송된 메시지에 대한 처리 결과 응답 메시지를 상기 응답 범위 항목에 해당하는 클라이언트로 전송하는 과정으로 이루어지는 클라이언트/서버 시스템의 클라이언트간의 동기화 방법에 관한 것이다.The present invention relates to a method of synchronizing between clients of a client / server system. More specifically, in a client / server system composed of a plurality of clients and servers, a response range item is provided for each client to request and report to the server. In the method of synchronizing between the client and the client system of the client / server system, the server transmits a response message for the message transmitted from each client to the client corresponding to the response range when the message is transmitted to the server through the inserted message. It is about.

본 발명에 따르면, 서버의 응답을 필요로 하는 클라이언트들에게만 서버의 처리 응답 메시지가 전송되므로 불필요한 메시지 전송 동작을 막을 수 있으며, 특정 클라이언트의 경보 및 장애 발생 등과 같이 모든 클라이언트의 동기화가 필요한 사항에 대해서는 서버가 해당 내용을 브로드캐스트로 모든 클라이언트에게 통보하여 주므로 클라이언트의 폴링 동작이 필요 없게 되어 네트웍 및 시스템의 부하가 현저히 감소되는 장점이 있다.According to the present invention, since the processing response message of the server is transmitted only to the clients requiring the response of the server, unnecessary message transmission operations can be prevented, and for matters requiring synchronization of all clients such as alerts and failures of a specific client, Since the server notifies all the clients by broadcasting the contents, there is no need for the polling operation of the client, which significantly reduces the load on the network and the system.

Description

클라이언트/서버 시스템의 클라이언트간의 동기화 방법 {Method for Synchronization Between Client of Client/Server System}Method for Synchronization Between Client of Client / Server System}

본 발명은 다수의 클라이언트 및 서버로 구성되는 클라이언트/서버 시스템에서, 각 클라이언트가 서버에 요청 및 보고할 내용을 응답 범위 항목이 삽입되어 있는 메시지를 통하여 서버로 전송하면, 서버가 각 클라이언트로부터 전송된 메시지에 대한 처리 결과 응답 메시지를 상기 응답 범위 항목에 해당하는 클라이언트로 전송하는 과정으로 이루어지는 클라이언트/서버 시스템의 클라이언트간의 동기화 방법에 관한 것이다.According to the present invention, in a client / server system composed of a plurality of clients and servers, when each client transmits a request and report to the server through a message in which a response range item is inserted, the server transmits from each client. The present invention relates to a method for synchronizing between clients of a client / server system, comprising transmitting a response message of a message to a client corresponding to the response range item.

일반적으로, 네트웍 관리자 또는 시삽이 통신 네트웍을 통제하는데 사용되는 네트웍 관리 시스템(NMS : Network Management System, 이하 NMS로 약칭)은 클라이언트/서버 시스템 구조로 구현된다.In general, a network management system (NMS: Network Management System (NMS)), which is used by a network manager or sysop to control a communication network, is implemented in a client / server system structure.

통상, 이러한 클라이언트/서버 시스템은 다수의 클라이언트를 하나의 서버가 일괄적으로 관리하는 구조로 이루어져 있으며, 각 클라이언트 및 서버는 시시각각 변하는 각 클라이언트들의 설정, 조회 및 장애 상태 등의 각종 정보를 상호간에 인지하고 상태 정보를 공유하기 위하여 상호 동기화 되어 져야 한다.In general, such a client / server system has a structure in which a single server manages a plurality of clients in a batch, and each client and server recognizes each other's various information such as setting, inquiry, and failure status of each client that changes from time to time. It must be synchronized with each other in order to share status information.

종래의 클라이언트/서버 시스템에서의 동기화 방법은 도 1 및 도 2에 도시된 바와 같이, 크게 2가지 방법으로 나뉠 수 있다.The synchronization method in the conventional client / server system can be largely divided into two methods, as shown in FIGS. 1 and 2.

첫 번째 방법은 도 1과 같이, 상호 동기를 맞추기 위하여 각각의 클라이언트(20)에서 주기적으로 서버(10)로 폴링(Polling)하여 상태를 체크하도록 하는 방법이다.In the first method, as shown in FIG. 1, in order to synchronize with each other, each client 20 periodically polls the server 10 to check its status.

여기서 폴링이란 한 프로그램이나 장치에서 다른 프로그램이나 장치들이 어떤 상태에 있는지를 지속적으로 체크하는 전송제어 방식으로서, 서버는 클라이언트가 아직도 접속되어 있는 지와 데이터 전송을 원하는지 등을 확인한다.Here, polling is a transmission control method that continuously checks the state of other programs or devices in one program or device. The server checks whether the client is still connected and wants to transmit data.

그런데, 이러한 방법은 일정 주기로 모든 클라이언트(20)가 서버(10)로 각각 폴링을 수행하여야 하므로 데이터 양에 따라서는 시간이 많이 소모될 가능성이 있다.However, in this method, since all clients 20 must poll each server 10 at regular intervals, it may be time consuming depending on the amount of data.

또한, 상태의 변경이 없는 경우에도 상기 주기 때마다 서버(10)에 폴링을 통한 상태 체크를 수행하여야 하므로, 실지로 필요하지 않은 경우에도 폴링을 수행하기 위한 통신 프로세서들의 작동하게 되고 이에 따라 불필요한 비용이 발생하게 되는 문제점이 발생하게 된다.In addition, even if there is no change in the state, it is necessary to perform a state check through polling the server 10 at every cycle, so that communication processors to perform polling are performed even if they are not actually necessary, and thus unnecessary costs are required. Problems that occur occur.

두 번째 방법은 클라이언트(20) 및 서버(10)간의 정보를 맞추기 위하여, 도 2에 도시된 바와 같이, 서버(10)에서 파악하고 있는 특정 클라이언트(20a) 정보의 변동이 있을 때마다 서버(10)가 모든 클라이언트(20)에 처리보고 메시지를 전송하여, 상기 변동을 보고하는 방법이다.In the second method, in order to match the information between the client 20 and the server 10, as shown in FIG. 2, whenever there is a change in the information of the specific client 20a grasped by the server 10, the server 10 ) Sends a process report message to all clients 20 to report the change.

그러나, 이러한 경우에도 상기 변동 보고에 대한 정보가 필요 없는 클라이언트에도 서버(10)의 보고가 수행되므로, 이런 방법을 사용하면 불필요한 메시지의 전달이 빈번히 일어나게 되어, 통신 네트웍의 부하가 가중되므로 비효율적이라 할수 있다.However, even in such a case, since the report of the server 10 is performed even for the client that does not need the information on the change report, the use of this method frequently results in unnecessary message transmission, which incurs an increase in the load of the communication network. have.

이와 같이, NMS에 사용되는 종래의 클라이언트/서버 시스템에서 클라이언트간의 동기화 방법에 의하면 일정한 주기로 계속 폴링을 하여야 하거나, 불필요한 메시지의 전달이 이루어지는 등의 단점이 있으며, 이로 인하여 클라이언트 수에 따라 시스템의 부하가 불필요하게 가중되는 문제점이 발생한다.As described above, in the conventional client / server system used for NMS, the synchronization method between clients has a disadvantage of continuously polling at regular intervals or unnecessary message delivery. Therefore, the load of the system depends on the number of clients. Unnecessarily weighted problems arise.

본 발명은 이러한 문제점들을 해결하기 위하여 창안된 것으로, NMS 등에 사용되는 클라이언트/서버 시스템의 클라이언트간의 동기화 시에, 주기적 폴링의 문제점 및 불필요한 메시지의 전달을 제거하여 네트웍 및 시스템이 부하를 현저히 감소시킴으로써, 효율적인 동기화를 수행할 수 있도록 하는 클라이언트/서버 시스템의 동기화 방법을 제공하는데 그 목적이 있다.The present invention was devised to solve these problems, and the network and system significantly reduce the load by eliminating the problem of periodic polling and the transmission of unnecessary messages during synchronization between clients of the client / server system used for NMS. An object of the present invention is to provide a synchronization method of a client / server system that enables efficient synchronization.

도 1은 종래의 클라이언트/서버 시스템에서의 클라이언트간의 동기화 방법을 설명하기 위한 개념도이고,1 is a conceptual diagram illustrating a synchronization method between clients in a conventional client / server system;

도 2는 종래의 클라이언트/서버 시스템에서의 클라이언트간의 또 다른 동기화 방법을 설명하기 위한 개념도이고,2 is a conceptual diagram illustrating another synchronization method between clients in a conventional client / server system;

도 3a 및 3b는 본 발명의 바람직한 실시예에 따른 클라이언트/서버 시스템의 동기화 방법에 관한 개념도로서,3A and 3B are conceptual views illustrating a synchronization method of a client / server system according to a preferred embodiment of the present invention.

도 4는 클라이언트 상태 테이블의 일례를 보여주는 예시도이고,4 is an exemplary view showing an example of a client state table;

도 5는 클라이언트에서 서버로 전송되는 각종 조회, 설정 및 장애 상태 등의 메시지에 삽입되는 응답 범위 항목을 예시하는 예시도,5 is an exemplary diagram illustrating a response range item inserted in a message such as various inquiries, settings, and failure states transmitted from a client to a server;

도 6은 본 발명의 바람직한 실시예에 따른 클라이언트/서버 시스템의 동기화 방법을 나타내는 흐름도이다.6 is a flowchart illustrating a synchronization method of a client / server system according to a preferred embodiment of the present invention.

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

10 : 서버10: server

20 : 클라이언트20: client

30 : 클라이언트 상태 테이블30: Client Status Table

이러한 목적을 달성하기 위하여 본 발명은, 다수의 클라이언트 및 서버로 구성된 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법에 있어서, 각 클라이언트가 서버에 요청 및 보고할 내용을 응답 범위 항목이 삽입되어 있는 메시지를 통하여 서버로 전송하는 단계와, 서버가 각 클라이언트로부터 전송된 메시지에 대한 처리 결과 응답 메시지를 상기 응답 범위 항목에 해당하는 클라이언트로 전송하는 단계로 구성된다.In order to achieve the above object, the present invention provides a method for synchronizing each client in a client / server system composed of a plurality of clients and servers, wherein each client receives a message in which a response range item is inserted. And transmitting the processing result response message for the message transmitted from each client to the client corresponding to the response range item.

이때, 상술한 응답 범위 항목은, 메시지를 전송한 해당 클라이언트로만 서버의 응답 메시지 전송을 요구하는 '자기 아이디' 또는 다수의 클라이언트로 모두 서버의 응답 메시지 전송을 요구하는 '브로드캐스트'로 설정할 수 있는데, 상기 '자기 아이디'는 클라이언트에서 서버로 일반적인 조회 및 설정 요청 메시지를 전송할 때의 응답 범위 항목으로 주로 설정하며, 상기 '브로드캐스트'는 클라이언트의 경보 및 장애 발생 메시지를 전송할 때 응답 범위 항목으로 주로 설정한다.In this case, the above-mentioned response range item may be set to 'self ID' requesting the server to transmit the response message only to the corresponding client that sent the message, or 'broadcasting' to request the server to transmit the response message to all the clients. The 'self ID' is mainly set as a response range item when a general inquiry and setting request message is transmitted from a client to a server, and the 'broadcast' is mainly used as a response range item when sending an alarm and a failure message of the client. Set it.

따라서, 서버는 클라이언트로부터 전송된 메시지의 응답 범위 항목이 '자기 아이디'인 경우, 전송된 메시지에 대한 처리 응답 메시지를 해당 클라이언트로 전송하고, 클라이언트로부터 전송된 메시지의 응답 범위 항목이 '브로드캐스트'인 경우, 전송된 메시지에 대한 처리 응답 메시지를 다수의 클라이언트로 모두 전송하게 된다.Therefore, when the response range item of the message sent from the client is 'self ID', the server sends a processing response message for the transmitted message to the corresponding client, and the response range item of the message sent from the client is 'broadcasted'. In this case, all of the process response messages for the transmitted messages are transmitted to the plurality of clients.

이하, 본 발명이 속하는 분야에 통상의 지식을 지닌자가 본 발명을 용이하게 실시할 수 있도록 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

또한, 이해의 편의를 위하여 비록 다른 도면에 속하더라도 동일한 구성 요소에는 동일한 부호를 부여하였음을 주의하여야 한다.In addition, it should be noted that the same reference numerals are given to the same components, although belonging to different drawings for convenience of understanding.

도 3a 및 3b는 본 발명의 바람직한 실시예에 따른 클라이언트/서버 시스템의 동기화 방법에 관한 개념도로서, 다수의 클라이언트(20)와 단일 서버(10)로 이루어진 클라이언트/서버 시스템에서, 동기화를 위하여 서버(10)는 클라이언트(20)들의 상태를 총괄 관리하는 클라이언트 상태 테이블(30)과 정보의 연동이 가능하여야 한다.3A and 3B are conceptual views of a method for synchronizing a client / server system according to a preferred embodiment of the present invention. In a client / server system including a plurality of clients 20 and a single server 10, a server (for synchronization) may be used. 10) it should be possible to link the information with the client state table 30 that manages the state of the clients 20 collectively.

도 4는 서버(10)와 연동되는 클라이언트 상태 테이블(30)의 일례를 보여주는 예시도로서, 상기 클라이언트 상태 테이블(30)에는 각 클라이언트(20)의 고유 코드 즉, 아이디(ID)와 아이피 어드레스(IP Address) 및 해당 클라이언트(20)의 현재 상태 등을 포함하고 있다.4 is an exemplary view showing an example of a client state table 30 linked with the server 10. The client state table 30 includes a unique code of each client 20, that is, an ID and an IP address. IP Address) and the current state of the client 20.

이러한, 클라이언트 상태 테이블(30)은 서버(10)가 각 클라이언트(20)와 메시지 접속이 이루어질 때마다 변경되어 관리되게 되며, 서버(10)는 이 정보를 상용 데이터 베이스 또는 외부 정보로 활용하여 특정 클라이언트(20a)의 동작 상태를 표기하게 된다.The client state table 30 is changed and managed whenever the server 10 makes a message connection with each client 20. The server 10 utilizes this information as a commercial database or external information to determine a specific state. The operation state of the client 20a is indicated.

또한, 각 클라이언트(20)에서 서버(10)로 전송되는 각종 조회, 설정 및 장애 상태 등의 메시지에는 서버(10)의 응답 메시지의 전송 범위를 지정하는 응답 범위 항목이 도 5와 같이 삽입된다.In addition, a response range item for designating a transmission range of the response message of the server 10 is inserted into a message such as various inquiries, settings, and failure states transmitted from each client 20 to the server 10 as shown in FIG. 5.

상기 응답 범위 항목은 각 클라이언트(20)간의 동기화 여부에 따라 '자기 아이디(MyID)' 및 '브로드캐스트(Broadcast)'로 구분 설정할 수 있는데, 상기 '자기 아이디'는 동기화가 필요 없는 경우 즉, 일반적인 각종 조회 및 설정 명령어 등과 같이 특정 클라이언트(20a)가 보낸 메시지에 대하여 서버(10)가 해당 클라이언트(20a)로만 처리 응답 메시지를 전송하면 되는 경우에 해당하며, '브로드캐스트'는 동기화가 반드시 수행되어야 하는 경우 즉, 경보 및 장애 발생 메시지 등과 같이 다른 클라이언트(20)들이 그 내용을 모두 인지하고 있어야 하는 경우에 해당한다.The response range item may be set to be divided into 'MyID' and 'Broadcast' according to the synchronization between each client 20. The 'self ID' is not required to be synchronized. This is the case where the server 10 needs to send a processing response message only to the client 20a for a message sent by a specific client 20a, such as various inquiry and setting commands, and 'broadcasting' must be performed in synchronization. In other words, it corresponds to a case in which the other clients 20 need to be aware of the contents, such as an alarm and a failure message.

따라서, 도 3a와 같이 특정 클라이언트(20a)가 일반적인 조회 및 설정 메시지를 '자기 아이디' 항목과 함께 서버에 전송하면 서버(10)는 그 처리 결과를 오직 해당 클라이언트(20a)로만 전송하게 되며, 반대로 도 3b와 같이 특정 클라이언트(20a)의 경보 및 장애 상황 등에 대한 보고가 '브로드캐스트' 항목과 함께 서버(10)에 전송되면 서버(10)는 그 처리 결과를 다른 모든 클라이언트(20)로 전송하여 동기화시킨다.Therefore, as shown in FIG. 3A, when a specific client 20a transmits a general inquiry and setting message together with a 'self ID' item to the server, the server 10 transmits the processing result only to the corresponding client 20a. As shown in FIG. 3B, when a report on an alarm and a failure situation of a specific client 20a is transmitted to the server 10 together with the 'broadcast' item, the server 10 transmits the processing result to all other clients 20. Synchronize.

도 6은 본 발명의 바람직한 실시예에 따른 클라이언트/서버 시스템의 동기화 방법을 나타내는 흐름도이다.6 is a flowchart illustrating a synchronization method of a client / server system according to a preferred embodiment of the present invention.

먼저, 클라이언트(20)들 중 임의의 특정 클라이언트(20a)는 서버(10)에 전송할 메시지에 그 내용에 따라 '자기 아이디' 및 '브로드캐스트'를 설정하여 메시지의 응답 범위 항목에 삽입하여 서버(10)로 전송한다(단계:S1).First, any specific client 20a of the clients 20 sets a 'self ID' and a 'broadcast' according to the contents of the message to be transmitted to the server 10 and inserts the message into the response range item of the message to the server ( 10) (step: S1).

즉, 서버(10)에 일반적인 조회 및 설정 메시지와 같이 다른 클라이언트(20)들에게는 통보가 필요 없는 메시지에는 응답 범위 항목을 '자기 아이디'로 설정하고, 경보 및 장애 발생 메시지 등과 같이 다른 클라이언트(20)에게도 통보가 필요한 경우에는 '브로드캐스트'로 설정하여 이를 서버(10)에 전송한다.That is, a response range item is set to 'self ID' for a message that does not require notification to other clients 20, such as a general inquiry and setting message to the server 10, and another client 20 such as an alarm and a failure message. If a notification is also required, the message is set to 'broadcast' and transmitted to the server 10.

이때, 만약 '자기 아이디'로 설정된 조회 및 설정 메시지가 서버(10)에 수신되면 서버(10)는 상기 수신 메시지에 대한 처리를 수행한 뒤(단계:S5), 그 처리 결과를 처리 응답 메시지에 실어 상기 클라이언트(20a)에게로만 전송한다(단계:S6).At this time, if the inquiry and setting message set to 'self ID' is received by the server 10, the server 10 performs the processing on the received message (step: S5), and the processing result is added to the processing response message. Only the client 20a transmits it (step S6).

따라서, 그 처리 결과와는 무관한 다른 클라이언트들에게는 상기 처리 응답 메시지가 전송되지 않으므로, 불필요한 메시지 전송이 줄어들고 통신 네트웍 로드부하가 줄어들게 된다.Therefore, since the processing response message is not transmitted to other clients irrelevant to the processing result, unnecessary message transmission is reduced and communication network load is reduced.

한편, 경보 및 장애 발생 메시지와 같이 클라이언트(20a)로부터 '브로드캐스트'로 설정된 장애 발생 메시지가 서버(10)로 전송되면, 서버(10)는 이 메시지를 수신하여 메시지의 응답 범위 항목이 '브로드캐스트'임을 확인한 뒤(단계:S2), 클라이언트 상태 테이블(30)에 상기 클라이언트(20a)의 상태 정보를 상기 경보 및 장애 발생 메시지에 포함되어 있는 내용에 따라 변경하고(단계:S3), 변경된 클라이언트 상태 테이블(30) 내용을 현재 동작 중인 모든 클라이언트(20)들로 처리보고 메시지를 전송하여 상기 클라이언트(20a)의 장애를 통보하게 된다(단계:S4).On the other hand, if a failure message set to 'broadcast' from the client 20a, such as an alarm and failure message, is sent to the server 10, the server 10 receives this message and the response range item of the message is 'broadcast'. After confirming that the 'Cast' (step: S2), in the client status table 30, the status information of the client 20a is changed according to the contents included in the alarm and failure message (step: S3), and the changed client The process report message is transmitted to all clients 20 currently operating in the state table 30 to notify the failure of the client 20a (step: S4).

이를 수신한 클라이언트(20)들은 상기 클라이언트(20a)의 장애를 파악할 수 있으며, 동일한 방법으로 그에 따른 조치들을 취할 수 있으므로 데이터 베이스의 클라이언트 상태 테이블(30)로 폴링 하지 않고서도 모든 클라이언트(20)의 데이터가 일치하여 동기화 되게 된다.Receiving the client 20 can determine the failure of the client (20a), and can take actions accordingly in the same way, so that without having to poll to the client status table 30 of the database 20 Data is synchronized and synchronized.

이상 본 발명의 바람직한 실시예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술분야에 있어서 통상의 지식을 가진 사람이라면, 첨부된 청구 범위에 정의된 본 발명의 정신 및 범위를 벗어나지 않으면서 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다.Although the preferred embodiments of the present invention have been described in detail above, those skilled in the art will appreciate that the present invention may be modified without departing from the spirit and scope of the invention as defined in the appended claims. It will be appreciated that modifications or variations may be made. Therefore, changes in the future embodiments of the present invention will not be able to escape the technology of the present invention.

이상 설명한 바와 같이, 본 발명에 따르면 클라이언트에서 서버로 전송되는각종 메시지에 '자기 아이디' 또는 '브로드캐스트'로 구분되는 응답 범위 항목을 삽입하고, 일반적인 조회 및 설정 요청 메시지에는 응답 범위 항목을 '자기 아이디'로 설정하여 해당 클라이언트로만 서버의 처리 응답 메시지가 전송되도록 하고, 경보 및 장애 발생 메시지 등과 같은 메시지에는 응답 범위 항목을 '브로드캐스트'로 설정하여 모든 클라이언트들에게 서버의 응답 메시지가 전송되도록 하여, 각 클라이언트간의 동기화를 수행함을 알 수 있다.As described above, according to the present invention, a response range item classified as 'self ID' or 'broadcast' is inserted into various messages transmitted from the client to the server, and the response range item is designated as 'self' in general inquiry and setting request messages. ID 'to send the server's processing response message only to the client, and set the response range item to' broadcast 'for messages such as alerts and fault messages so that the server's response message is sent to all clients. As you can see, it performs synchronization between each client.

이렇게, 클라이언트/서버 시스템의 각 클라이언트간의 동기화 필요 여부에 따라 메시지의 응답 범위를 '자기 아이디' 및 '브로드캐스트'로 구분하여 클라이언트와 서버가 메시지를 주고받음으로써, 클라이언트로 불필요한 메시지를 전달하는 서버의 동작을 방지할 수 있다.In this way, the response range of the message is divided into 'self ID' and 'broadcast' according to the necessity of synchronization between each client of the client / server system. Can prevent the operation.

또한, 특정 클라이언트의 경보 및 장애 발생 등과 같이 모든 클라이언트의 동기화가 필요한 경우에는 서버가 해당 사항을 브로드캐스트로 모든 클라이언트에게 통보하여 주므로, 클라이언트의 폴링 동작이 필요 없게 되어 네트웍 및 시스템의 부하가 현저히 감소되어 효율적인 동기화의 수행이 가능한 장점이 있다.In addition, when all clients need to be synchronized, such as alerts and failures of specific clients, the server notifies all clients by broadcasting them, thus eliminating the need for client polling and significantly reducing network and system load. There is an advantage that efficient synchronization can be performed.

Claims (4)

다수의 클라이언트 및 서버로 구성된 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법에 있어서,In the method of synchronizing each client of a client / server system composed of a plurality of clients and servers, 상기 각 클라이언트가 상기 서버에 요청 및 보고할 내용을 응답 범위 항목이 삽입되어 있는 메시지를 통하여 상기 서버로 전송하는 단계;Transmitting, by the client, the content to be requested and reported to the server to the server through a message in which a response range item is inserted; 상기 서버가 상기 각 클라이언트로부터 전송된 메시지에 대한 처리 결과 응답 메시지를 상기 응답 범위 항목에 해당하는 클라이언트로 전송하는 단계를 포함하는 것을 특징으로 하는 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법.And transmitting, by the server, a processing result response message for the message transmitted from each client to a client corresponding to the response range item. 제 1항에 있어서, 상기 응답 범위 항목은,The method of claim 1, wherein the response range item, 상기 메시지를 전송한 클라이언트로만 서버의 응답 메시지 전송을 요구하는 '자기 아이디' 및 상기 다수의 클라이언트로 모두 서버의 응답 메시지 전송을 요구하는 '브로드캐스트' 중 어느 하나로 설정하는 것을 특징으로 하는 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법.Client / server, characterized in that it is set to any one of the 'self ID' for requesting the server to send the response message to the client that sent the message, and the 'broadcast' to request the server to send the response message to the plurality of clients. Method of synchronization between each client of the system. 제 2항에 있어서, 상기 '자기 아이디'는 상기 클라이언트에서 상기 서버로일반적인 조회 및 설정 요청 메시지를 전송할 때의 응답 범위 항목으로 설정하며, 상기 '브로드캐스트'는 상기 클라이언트의 경보 및 장애 발생 메시지를 전송할 때 응답 범위 항목으로 설정하는 것을 특징으로 하는 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법.The method of claim 2, wherein the 'self ID' is set as a response range item when the general inquiry and setting request message is transmitted from the client to the server, and the 'broadcasting' indicates an alarm and failure occurrence message of the client. A method of synchronizing each client of a client / server system, characterized in that the response range is set during transmission. 제 1항 또는 제 3항에 있어서, 상기 응답 메시지 전송 단계는,The method of claim 1 or 3, wherein the transmitting of the response message comprises: 상기 클라이언트로부터 전송된 메시지의 응답 범위 항목이 '자기 아이디'인 경우, 상기 전송된 메시지에 대한 처리 응답 메시지를 상기 클라이언트로 전송하고, 상기 클라이언트로부터 전송된 메시지의 응답 범위 항목이 '브로드캐스트'인 경우, 상기 전송된 메시지에 대한 처리 응답 메시지를 상기 다수의 클라이언트로 모두 전송하는 것을 특징으로 하는 것을 특징으로 하는 클라이언트/서버 시스템의 각 클라이언트간의 동기화 방법.If the response range item of the message sent from the client is 'self ID', the processing response message for the transmitted message is transmitted to the client, and the response range item of the message sent from the client is 'broadcast'. In the case, all the response response message for the transmitted message to the plurality of clients, characterized in that the synchronization method between each client of the client / server system.
KR10-2002-0007922A 2002-02-14 2002-02-14 Method for Synchronization Between Client of Client/Server System KR100428777B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0007922A KR100428777B1 (en) 2002-02-14 2002-02-14 Method for Synchronization Between Client of Client/Server System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0007922A KR100428777B1 (en) 2002-02-14 2002-02-14 Method for Synchronization Between Client of Client/Server System

Publications (2)

Publication Number Publication Date
KR20030068237A KR20030068237A (en) 2003-08-21
KR100428777B1 true KR100428777B1 (en) 2004-04-28

Family

ID=32221349

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0007922A KR100428777B1 (en) 2002-02-14 2002-02-14 Method for Synchronization Between Client of Client/Server System

Country Status (1)

Country Link
KR (1) KR100428777B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772879B1 (en) * 2006-04-19 2007-11-02 삼성전자주식회사 Apparatus, system and method for executing discovery in network
KR101107271B1 (en) * 2009-04-22 2012-01-25 이광선 Assist bar for handrail

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5640556A (en) * 1992-11-25 1997-06-17 Fujitsu Limited Synchronous/asynchronous client server access based upon database file record attribute
KR20000051051A (en) * 1999-01-18 2000-08-16 김덕중 System and method for managing of active database
US6125401A (en) * 1995-04-03 2000-09-26 International Business Machines Corporation Server detection of client process termination
KR20010110557A (en) * 2000-06-07 2001-12-13 김승원 complex multimedia service method, and system for the same
US20010051981A1 (en) * 2000-06-05 2001-12-13 Microsoft Corporation Methods and systems for discovering object-exchange resources on a network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5640556A (en) * 1992-11-25 1997-06-17 Fujitsu Limited Synchronous/asynchronous client server access based upon database file record attribute
US6125401A (en) * 1995-04-03 2000-09-26 International Business Machines Corporation Server detection of client process termination
KR20000051051A (en) * 1999-01-18 2000-08-16 김덕중 System and method for managing of active database
US20010051981A1 (en) * 2000-06-05 2001-12-13 Microsoft Corporation Methods and systems for discovering object-exchange resources on a network
KR20010110557A (en) * 2000-06-07 2001-12-13 김승원 complex multimedia service method, and system for the same

Also Published As

Publication number Publication date
KR20030068237A (en) 2003-08-21

Similar Documents

Publication Publication Date Title
CN107295080B (en) Data storage method applied to distributed server cluster and server
US9585087B1 (en) Method and apparatus for permitting a device to automatically select a network address for use in a wireless network
EP3490224A1 (en) Data synchronization method and system
US8180882B2 (en) Distributed messaging system and method for sharing network status data
EP3229420A1 (en) Method for establishing persistent connection between multiple smart devices and server, and smart device
US20050108331A1 (en) Presence tracking for datagram based protocols with search
US7623472B2 (en) Dynamic peer application discovery
US8667114B2 (en) Program update management server and program update management method
JP2002124935A (en) Method and system for controlling retransmission for multicast distribution service, retransmission controller, radio base station and radio terminal equipment
US6992985B1 (en) Method and system for auto discovery of IP-based network elements
CN101090402A (en) Thin client system using session managing server and session managing method
KR20070009477A (en) Information exchange system, management server, and method for reducing network load used in the same
CN111510325B (en) Alarm information pushing method, server, client and system
US20220263920A1 (en) Resource subscription method, device, and storage medium
CN107508916B (en) Server link management method for intelligent robot
WO2011160553A1 (en) Method and system for data synchronization in internet protocol television
TW202103475A (en) Method for terminal device management, server and terminal device
KR100428777B1 (en) Method for Synchronization Between Client of Client/Server System
CN112491951A (en) Request processing method, server and storage medium in peer-to-peer network
US9648111B2 (en) Communication system and method of controlling the same
CN114884805B (en) Data transmission method, device, terminal and storage medium
KR100363523B1 (en) Method for controlling distributed processing in cluster severs
JP6147415B2 (en) Service discovery method in a computer network that is resistant to network changes
CN112437146B (en) Equipment state synchronization method, device and system
CN112751907B (en) Information processing method, information processing apparatus, storage medium, and electronic apparatus

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

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130328

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160330

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee