KR20010004954A - Method for interlocking channel using multi-server in push system - Google Patents

Method for interlocking channel using multi-server in push system Download PDF

Info

Publication number
KR20010004954A
KR20010004954A KR1019990025728A KR19990025728A KR20010004954A KR 20010004954 A KR20010004954 A KR 20010004954A KR 1019990025728 A KR1019990025728 A KR 1019990025728A KR 19990025728 A KR19990025728 A KR 19990025728A KR 20010004954 A KR20010004954 A KR 20010004954A
Authority
KR
South Korea
Prior art keywords
server
push
temporary
push server
message
Prior art date
Application number
KR1019990025728A
Other languages
Korean (ko)
Other versions
KR100333741B1 (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 KR1019990025728A priority Critical patent/KR100333741B1/en
Publication of KR20010004954A publication Critical patent/KR20010004954A/en
Application granted granted Critical
Publication of KR100333741B1 publication Critical patent/KR100333741B1/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D33/00Details of, or accessories for, sacks or bags
    • B65D33/004Information or decoration elements, e.g. level indicators, detachable tabs or coupons
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D2203/00Decoration means, markings, information elements, contents indicators
    • B65D2203/02Labels

Abstract

PURPOSE: A channel linking method using a multi-server in a push system is provided to make users get same information, keeping the same channel for each server in distributed multi-server environment. CONSTITUTION: A channel linking method consists of three steps. At the first step, among independent multi-push servers, the push server that the channel was changed becomes the temporary master push server, and other servers become temporary slave push servers. At the second step, the temporary master push server watches the generated message queues. At the third step, according to the result of the watch, the temporary master push server transmits the messages that remains in the message queue to the temporary slave push servers, and so, the channels between multi-push servers are linked.

Description

푸시시스템에서 멀티서버를 이용한 채널 연동 방법{METHOD FOR INTERLOCKING CHANNEL USING MULTI-SERVER IN PUSH SYSTEM}Channel interworking method using multiserver in push system {METHOD FOR INTERLOCKING CHANNEL USING MULTI-SERVER IN PUSH SYSTEM}

본 발명은 정보를 자동으로 송출하는 푸시시스템에서 멀티 서버상의 채널을 상호 연동하여 모든 사용자들이 채널을 공유할 수 있도록 한 멀티서버를 이용한 채널 연동 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention can be read by a computer recording a channel interworking method using a multi-server and a program for realizing the same in a push system for automatically transmitting information to all users to share the channel by interlocking channels on the multi-server It relates to a recording medium.

특히, 본 발명은 여러 대의 서버에서 같은 채널에서 제공하는 것처럼 수용하기 위해서, 채널 변동이 발생한 서버를 임시로 주서버로 하고 나머지 서버를 임시로 슬레이브 서버로 하여 서버간 채널을 연동시킴으로써, 모두 공통 채널을 갖게 하는 멀티서버를 이용한 채널 연동 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.In particular, in order to accommodate as if the same channel is provided by several servers, the present invention interlocks the channels between the servers by temporarily making the server where the channel change occurs as the main server and the remaining servers temporarily as the slave server. The present invention relates to a channel interworking method using a multi-server to have a computer and a computer-readable recording medium recording a program for realizing the same.

일반적으로, 대규모 사용자가 여러 지역에 분포한 경우 단일 서버로 구성된 푸시 서비스는 하드웨어의 용량과 네트워크 트래픽 등을 감당하기 곤란하다.In general, when a large number of users are distributed in multiple regions, a push service composed of a single server may not be able to cope with hardware capacity and network traffic.

따라서, 종래의 푸시시스템들은 소규모 인원에 대하여 독립적인 단일 서버로 해결하는 방식, 대규모 인원에 대하여 서버의 용량을 대형으로 하여 해결하는 방식, 소형 서버이지만 중앙에 여러 대를 집중 설치하여 하드디스크를 공유하는 방식, 그리고 웹 방식에서 많이 사용되고 있는 한 대의 웹서버와 애플리케이션 서버를 두고 데이터베이스(DB) 서버를 여러 군데 분산 배치하는 체제로 대규모 인원을 서비스하는 방식을 구축해 왔다.Therefore, the conventional push systems are a method of solving a small server as an independent single server, a method of solving a large capacity of a server by a large size, and a small server but share a hard disk by centrally installing a plurality of servers. And one web server and application server, which are widely used in the web method, have been deployed to distribute large numbers of database servers in multiple locations.

그러나, 종래의 단일 서버로 구성된 푸시 서비스는 대규모 사용자가 여러 지역에 분포할 경우에 하드웨어의 용량과 수용자의 한계 및 네트워크 트래픽의 집중화로 인해 전산장애를 유발하는 문제점이 있었다.However, the conventional push service composed of a single server has a problem that causes a computing failure due to the hardware capacity, the limitation of the audience, and the centralization of network traffic when large users are distributed in various regions.

상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 분산된 멀티서버 환경에서 각 서버에 동일한 채널을 유지하면서 사용자들이 같은 정보를 받아볼 수 있는 환경을 제공하기 위한 채널 연동 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention devised to solve the problems as described above, and the channel interworking method for providing an environment in which users can receive the same information while maintaining the same channel in each server in a distributed multi-server environment and realizing the same Its purpose is to provide a computer readable recording medium having recorded thereon a program.

도 1 은 본 발명에 따른 푸시시스템에서 멀티서버를 이용한 채널 연동 방법을 나타낸 설명도.1 is an explanatory diagram showing a channel interworking method using a multi-server in a push system according to the present invention.

도 2 는 본 발명에 따른 푸시시스템에서 멀티서버를 이용한 채널 연동 방법에 대한 일실시예 흐름도.2 is a flowchart illustrating a channel interworking method using a multi-server in a push system according to the present invention;

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

11 내지 14 : 웹 서버 15 : 서버 관리부11 to 14: Web server 15: Server management unit

16 : 푸시 서버(임시 마스터 서버)16: push server (temporary master server)

17 내지 19 : 푸시 서버(임시 슬레이브 서버)17 to 19: push server (temporary slave server)

상기 목적을 달성하기 위한 본 발명은, 지역적으로 독립된 멀티 푸시 서버중 채널 변동이 발생한 푸시 서버를 임시 마스터 푸시 서버로 하고, 나머지 푸시 서버들을 임시 슬레이브 푸시 서버로 할당하는 제 1 단계; 상기 임시 마스터 푸시 서버가 상기 임시 슬레이브 푸시 서버만큼 생성된 메시지 큐를 감시하는 제 2 단계; 및 상기 제 2 단계의 감시결과에 따라, 상기 임시 마스터 푸시 서버가 상기 메시지 큐에 남아있는 메시지를 지속적으로 상기 임시 슬레이브 푸시 서버로 전송함으로써, 멀티 푸시 서버간에 채널을 연동시키는 제 3 단계를 포함한다.According to an aspect of the present invention, there is provided a first step of assigning a push server having a channel change in a locally independent multi-push server as a temporary master push server, and assigning remaining push servers to a temporary slave push server; A second step of monitoring, by the temporary master push server, a message queue created by the temporary slave push server; And a third step of interfacing the channels between the multi-push servers by continuously transmitting the message remaining in the message queue to the temporary slave push server according to the monitoring result of the second step. .

또한, 본 발명은, 프로세서를 구비한 푸시시스템에, 지역적으로 독립된 멀티 푸시 서버중 채널 변동이 발생한 푸시 서버를 임시 마스터 푸시 서버로 하고, 나머지 푸시 서버들을 임시 슬레이브 푸시 서버로 할당하는 기능; 상기 임시 마스터 푸시 서버가 상기 임시 슬레이브 푸시 서버만큼 생성된 메시지 큐를 감시하는 기능; 및 상기 제 2 단계의 감시결과에 따라, 상기 임시 마스터 푸시 서버가 상기 메시지 큐에 남아있는 메시지를 지속적으로 상기 임시 슬레이브 푸시 서버로 전송함으로써, 멀티 푸시 서버간에 채널을 연동시키는 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention, the push system having a processor, the function of assigning the push server, the channel change occurs in the local independent multi-push server as a temporary master push server, and assigns the remaining push servers to the temporary slave push server; Monitoring, by the temporary master push server, a message queue created by the temporary slave push server; And according to the monitoring result of the second step, the temporary master push server continuously transmitting a message remaining in the message queue to the temporary slave push server, thereby realizing a function of interworking channels between the multi-push servers. Provide a computer readable recording medium having recorded thereon.

본 발명은 여러 대의 서버에서 같은 채널에서 제공하는 것처럼 수용하기 위해서 서버간 채널 연동을 이용한 것으로서, 어느 한 서버가 항상 마스터 서버가 아닌 채널 연동이 발생한 서버로 하여금 임시로 주서버의 역할을 하게 하고 나머지 서버로 하여금 임시로 슬레이브 서버의 역할을 하게 하여 모두 공통 채널을 갖게 한다.The present invention utilizes channel interworking between servers to accommodate multiple servers as if they are provided by the same channel. The server intermittently acts as a main server for a server where channel interworking occurs, not the master server. Temporarily make the server act as a slave server so that they all have a common channel.

따라서, 본 발명은 지역적으로 독립된 멀티서버에서 각각 응용프로그램과 데이터를 두고 푸시시스템에서 디렉토리 역할을 하는 채널을 상호 연동하며 모든 푸시 서버가 동일 서버처럼 보이게 하는 방식을 구현함으로써, 다른 푸시 서버에 접속할 필요 없이 모든 등록된 채널들을 취사 선택할 수 있어서 네트워크 트래픽 집중화를 해결할 수 있다.Therefore, the present invention implements a method of interworking a channel serving as a directory in a push system with each application and data in a locally independent multiserver, and making all push servers look like the same server, thereby connecting to another push server. All registered channels can be catered to without any network traffic concentration.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서 제시한 채널 연동이라 함은 공통 채널을 한 서버에서만 제작하여도 각각의 서버에 자동으로 등록됨으로써 통합 서비스를 제공하는 방식이다. 즉, 집단 내에 공통으로 사용하는 채널을 등록하고자 할 경우 관리자는 자신이 관리하는 푸시 서버에 접속하여 공통 채널을 등록하면 해당 푸시 서버가 집단 내에 설치된 다른 푸시 서버의 주소를 내부적으로 관리하고 있어서 공통 채널 등록기능을 다른 서버로 전달하여 모든 서버가 공통된 데이터를 공유할 수 있도록 한다.Channel interworking proposed in the present invention is a method of providing an integrated service by automatically registering each server even if a common channel is produced in only one server. In other words, if a user wants to register a common channel in a group, the administrator connects to the push server managed by the administrator and registers a common channel. The push server manages the addresses of other push servers installed in the group internally. The registration function is transferred to another server so that all servers can share common data.

도 1 은 본 발명에 따른 푸시시스템에서 멀티서버를 이용한 채널 연동 방법을 나타낸 설명도로서, 멀티서버 환경에서 관리자가 사용할 채널을 등록/수정/삭제하는 경우를 나타낸 것이다.1 is an explanatory diagram illustrating a channel interworking method using a multi-server in a push system according to the present invention, and illustrates a case of registering / modifying / deleting a channel to be used by an administrator in a multi-server environment.

서버 관리자는 먼저 서버 관리부(15)를 수행시켜 지역 푸시 서버1(16)에 접속한다. 이때, 푸시 서버1(16)의 데이터 송신 모듈은 통신해야 할 다른 서버들의 수효만큼 메시지 큐들을 가지고 있으며, 각 메시지 큐에는 각각의 서버에 보내야 할 메시지들이 저장된다. 각각의 서버 정보는 서버관리부(15)에 등록 관리되며, 등록된 멀티서버 환경에서는 어느 서버이건 푸시 서버1(16)에 채널 수정이 발생하면 임시 마스터 서버의 역할을 수행하도록 되어있다.The server manager first executes the server manager 15 to access the local push server 1 (16). At this time, the data transmission module of push server 1 (16) has as many message queues as the number of other servers to communicate with, and each message queue stores messages to be sent to each server. Each server information is registered and managed in the server management unit 15, and in a registered multiserver environment, if any channel modification occurs in the push server 1 (16), any server is configured to serve as a temporary master server.

서버관리부(15)는 채널 조작 명령에 해당하는 메시지를 생성하여 해당 지역 푸시 서버1(16)에 전달하고, 메시지를 수신한 푸시 서버1(16)은 메시지의 내용을 해석하여 채널관련 정보를 수정하고 채널 관련 정보들을 지역 웹서버(11)로부터 다운로드한다.The server manager 15 generates a message corresponding to the channel manipulation command and delivers the message to the local push server 1 16, and the push server 1 16 receiving the message modifies the channel related information by interpreting the contents of the message. And download the channel related information from the local web server 11.

작업을 마친 푸시 서버1(16)은 타 지역본부에 위치한 푸시 서버2,3,4,(17,18,19)에 공통 채널의 변동을 알리기 위해 패킷을 전송한다. 이때, 메시지를 수신하는 푸시 서버2,3,4(17,18,19)는 일시적으로 슬레이브 서버의 역할을 수행한다.After completing the operation, the push server 1 (16) transmits a packet to inform the push servers 2, 3, 4, (17, 18, 19) of other regional headquarters of the change of the common channel. At this time, the push server 2, 3, 4 (17, 18, 19) receiving the message temporarily serves as a slave server.

여기서, 슬레이브 서버는 마스터 서버로부터 명령 메시지를 수신하면 메시지 수신이 성공적으로 수행되었음을 마스터 서버에 알리고 명령 메시지의 내용을 해석하여 명령에 따라 채널 정보와 서버의 내용을 수정한다. 물론, 다른 푸시 서버2,3,4(17,18,19)도 해당 서버에서 채널의 변동이 발생하면 임시 마스터 서버의 역할을 수행한다. 또한, 임시 마스터 서버의 데이터 송신 모듈은 슬레이브 서버의 개수 n 개만큼 만들어진 자기 서버의 메시지 큐를 감시하다가 메시지 큐에 메시지가 남아 있으면 메시지 큐에 있는 메시지(Send, m_id, #of Group, Group_1, Group_n, message_length, Massage)를 순서에 따라 슬레이브 푸시 서버로 전송한다. 이때, 메시지를 보내면서 타이머를 동작시켜서 지정된 시간 안에 수신되었다는 "ACK(acknowledge)" 신호가 수신되지 않으면 임시 마스터 서버에서 해당 메시지를 재전송한다.When the slave server receives a command message from the master server, the slave server notifies the master server that the message has been successfully received, interprets the contents of the command message, and modifies the channel information and the server content according to the command. Of course, other push servers 2, 3, 4 (17, 18, 19) also act as temporary master servers when channel changes occur in the server. In addition, the data transmission module of the temporary master server monitors the message queue of its own server, which is n number of slave servers, and if there are any messages left in the message queue, the messages in the message queue (Send, m_id, #of Group, Group_1, Group_n) , message_length, Massage) are transmitted to the slave push server in order. At this time, the timer is operated while sending a message and the temporary master server retransmits the message if an "ACK (acknowledge)" signal that is received within a specified time is not received.

반면에, 메시지를 수신하는 측에서도 수신된 메시지에 대한 적절한 처리를 해주어야 하는데, 수신 모듈은 메시지를 수신하면 "ACK" 신호를 송신하고, 이미 받았던 메시지인지 확인하여 새롭게 도착한 메시지라면 마지막 도착한 메시지의 메시지 번호를 갱신하고 메시지를 해석하여 처리한다.On the other hand, the receiving side should also handle the received message appropriately. If the receiving module receives the message, it sends an "ACK" signal and checks if it has already received the message number of the last arrived message. Update and interpret the message to process it.

마스터 서버는 메시지 큐에 있는 메시지들이 모두 처리될 때까지 계속 순환 작업을 하여야 하고, 슬레이브 서버가 다운이나 다른 장애가 있다 하더라도 타이머에 의한 반복 작업을 수행한다. 또한, 마스터 서버에서 전송 중에 정전 등과 같은 장애가 발생할 경우 로그(Log) 파일을 읽어서 마지막 처리 상태를 확인하고 이전에 수행하던 작업을 계속 수행한다.The master server must continue to cycle until all messages in the message queue have been processed. Even if the slave server is down or has other faults, the master server repeats the work by the timer. In addition, if a failure such as a power failure occurs during transmission from the master server, the log file is read to check the last processing status and continue the work previously performed.

서비스 가입자는 자신이 등록된 푸시 서버에 접속하여 새로운 채널에 가입하고 정보를 받아볼 수 있는 환경이 된 것이다. 즉, 마스터 서버와 슬레이브 서버간의 데이터 송수신은 상당한 신뢰성이 요구되므로 전송 도중에 메시지가 손실되더라도 재전송할 수 있는 메커니즘이 전용된다.Service subscribers can access to the registered push server to subscribe to a new channel and receive information. In other words, data transmission and reception between the master server and the slave server requires a considerable reliability, so a mechanism for retransmitting even if a message is lost during transmission is dedicated.

도 2 는 본 발명에 따른 푸시시스템에서 멀티서버를 이용한 채널 연동 방법의 일실시예 흐름도이다.2 is a flowchart illustrating a channel interworking method using a multi-server in a push system according to the present invention.

도 2에 도시된 바와 같이, 본 발명에 따른 푸시시스템에서 멀티서버를 이용한 채널 연동 방법은, 먼저 서버 관리자가 서버 관리부(15)를 수행시켜(201) 푸시 서버1(임시 마스터 서버)(16)에 접속하면, 푸시 서버1(16)에서 채널을 등록/수정/삭제하여 타 지역본부에 위치한 푸시 서버2,3,4(임시 슬레이브 서버)(17,18,19)에 공통 채널의 변동을 알리기 위해 패킷을 전송한다(202). 즉, 임시 마스터 서버의 데이터 송신 모듈은 임시 슬레이브 서버의 개수 n개만큼 만들어진 자기 서버의 메시지 큐를 감시하다가 메시지 큐에 메시지가 남아 있으면, 메시지 큐에 있는 메시지를 순서에 따라 임시 슬레이브 서버로 전송한다.As shown in FIG. 2, in the push system according to the present invention, a channel interworking method using a multi-server, a server manager first performs a server manager 15, 201 push server 1 (temporary master server) 16. When accessing, push server 1 (16) to register / modify / delete the channel to inform the change of the common channel to the push server 2, 3, 4 (temporary slave server) (17, 18, 19) located in other regional headquarters The packet is sent (202). That is, the data transmission module of the temporary master server monitors the message queues of its own servers, which are n number of temporary slave servers, and transmits the messages in the message queue to the temporary slave server in order if messages remain in the message queue. .

이후, 패킷을 전송받은 푸시 서버2,3,4(17,18,19)는 명령 메시지의 내용을 해석하여 명령에 따라 채널 정보와 서버의 내용을 수정한다(203).Then, the push server 2, 3, 4 (17, 18, 19) receiving the packet interprets the content of the command message and modifies the channel information and the content of the server according to the command (203).

그리고, 푸시 서버2,3,4(17,18,19)는 푸시 서버1(16)로부터 전송된 메시지의 송신 결과를 분석하여(204), 송신 실패시 송신 실패 결과를 푸시 서버1(16)로 알려 푸시 서버1(16)이 타이머 동작에 따라 해당 메시지(Send, m_id, #of Group, Group_1, Group_n, message_length, Massage)를 푸시 서버2,3,4(17,18,19)로 재전송하도록 한다(205). 즉, 푸시 서버1(16)은 메시지를 송신하면서 타이머를 동작시켜 푸시 서버2,3,4(17,18,19)로부터 지정된 시간안에 수신되었다는 "ACK" 신호가 수신되지 않으면 해당 메시지를 재전송한다.The push servers 2, 3, and 4 (17, 18, 19) analyze the transmission result of the message transmitted from the push server 1 (16) (204), and if the transmission fails, the push server 1 (16). Push server 1 (16) to resend the corresponding message (Send, m_id, #of Group, Group_1, Group_n, message_length, Massage) to push server 2, 3, 4 (17, 18, 19) according to the timer operation. (205). That is, the push server 1 (16) operates a timer while transmitting a message and retransmits the corresponding message if an "ACK" signal is received from the push servers 2, 3, and 4 (17, 18, 19). .

만약, 송신 성공시에는 "ACK" 신호를 푸시 서버1(102)로 알린다(206). 이때, 푸시 서버1(16)에서는 푸시 서버2,3,4(17,18,19)로부터 수신된 메시지(ACK, m_id)의 수신 여부를 판단한다(207).If the transmission is successful, an "ACK" signal is notified to the push server 1102 (206). At this time, the push server 1 (16) determines whether the message (ACK, m_id) received from the push server 2, 3, 4 (17, 18, 19).

판단결과, 푸시 서버2,3,4(17,18,19)로부터 "ACK" 신호가 수신되지 않으면, 타이머 동작에 따라 해당 메시지(Send, m_id, #of Group, Group_1, Group_n, message_length, Massage)를 푸시 서버2,3,4(17,18,19)로 재전송한다(205).As a result, if the "ACK" signal is not received from the push server 2, 3, 4 (17, 18, 19), the corresponding message (Send, m_id, #of Group, Group_1, Group_n, message_length, Massage) according to the timer operation Re-transmit (205) to push servers 2, 3, 4 (17, 18, 19).

판단결과, 푸시 서버2,3,4(17,18,19)로부터 해당 메시지에 대한 "ACK" 신호가 수신되면, 해당 메시지를 메시지 큐(n)에서 삭제한 후에(208), 상기한 바와 같은 방식으로 푸시 서버1(16)은 메시지 큐에 저장된 n개의 메시지를 동일한 수의 푸시 서버2,3,4(17,18,19)로 전송한다(209). 이때, 각 푸시 서버2,3,4(17,18,19)는 각 메시지에 대한 수신 결과(ACK)를 푸시 서버1(16)로 전송하고, 이미 받았던 메시지인지를 확인하여 새롭게 도착한 메시지라면 마지막 도착한 메시지의 메시지 번호를 갱신하고 메시지를 해석하여 처리한다.As a result, when the "ACK" signal for the message is received from the push server 2, 3, 4 (17, 18, 19), after deleting the message from the message queue (n) (208), In this manner, push server 1 (16) transmits n messages stored in the message queue to the same number of push servers 2, 3, 4 (17, 18, 19) (209). At this time, each push server 2, 3, 4 (17, 18, 19) transmits the reception result (ACK) for each message to the push server 1 (16), and checks whether the message has already received, if the message arrived newly Update the message number of the arriving message and interpret and process the message.

상기한 바와 같이, 마스터 서버인 푸시 서버1(16)은 메시지 큐에 저장된 메시지들이 모두 처리될 때까지 계속 순환 작업을 하여야 하고, 슬레이브 서버인 푸시 서버2,3,4,(17,18,19)가 다운이나 다른 장애로 인한 경우에도 타이머에 의한 반복 작업을 수행한다. 또한, 마스터 서버에서 전송중에 정전 등과 같은 장애가 발생할 경우에 로그 파일을 읽어서 마지막 처리 상태를 확인하고 이전에 수행하던 작업을 계속 수행한다.As described above, the push server 1 (16), which is the master server, must continue to cycle until all the messages stored in the message queue have been processed, and push servers 2, 3, 4, (17, 18, 19) that are slave servers. ) Is repeated by the timer even if it is caused by a down or other fault. In addition, if a failure such as a power failure occurs during transmission from the master server, the log file is read to check the last processing status and continue the work previously performed.

따라서, 본 발명은 비록 자신이 속한 서버에서 채널 변동이 발생하지 않았다 하더라도 서비스 가입자로 하여금 자신이 등록된 푸시 서버에 접속하여 새로운 채널에 가입하고 정보를 받아볼 수 있도록 한다.Accordingly, the present invention allows a service subscriber to access a push server to which he is registered, to subscribe to a new channel, and receive information even if channel variation does not occur in the server to which the server belongs.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and it is common in the art that various substitutions, modifications, and changes can be made without departing from the technical spirit of the present invention. It will be evident to those who have knowledge of.

상기한 바와 같은 본 발명은, 푸시 시스템에서 디렉토리 역할을 하는 채널을 상호 연동함으로써, 모든 서버가 동일 서버처럼 보이게 하고 모든 등록된 채널들을 취사 선택할 수 있어 단일 서버에 비하여 네트워크 트래픽 집중화를 억제할 수 있고, 다량의 정보 전송에 의한 통신 트래픽이 부하를 절감할 수 있으며, 서버간 연동채널에 따른 일관된 정보를 제공받을 수 있는 효과가 있다.The present invention as described above, by interlocking the channels acting as a directory in the push system, all servers can look like the same server and all the selected channels can be selected to suppress the centralization of network traffic compared to a single server Therefore, communication traffic by transmitting a large amount of information can reduce the load, and it is effective to receive consistent information according to interworking channels between servers.

Claims (6)

푸시시스템에 적용되는 채널 연동 방법에 있어서,In the channel interworking method applied to the push system, 지역적으로 독립된 멀티 푸시 서버중 채널 변동이 발생한 푸시 서버를 임시 마스터 푸시 서버로 하고, 나머지 푸시 서버들을 임시 슬레이브 푸시 서버로 할당하는 제 1 단계;A first step of assigning a push server having a channel change among the locally independent multi-push servers as a temporary master push server and assigning the remaining push servers to a temporary slave push server; 상기 임시 마스터 푸시 서버가 상기 임시 슬레이브 푸시 서버만큼 생성된 메시지 큐를 감시하는 제 2 단계; 및A second step of monitoring, by the temporary master push server, a message queue created by the temporary slave push server; And 상기 제 2 단계의 감시결과에 따라, 상기 임시 마스터 푸시 서버가 상기 메시지 큐에 남아있는 메시지를 지속적으로 상기 임시 슬레이브 푸시 서버로 전송함으로써, 멀티 푸시 서버간에 채널을 연동시키는 제 3 단계A third step of interlocking channels between the multi-push servers by continuously transmitting the message remaining in the message queue to the temporary slave push server according to the monitoring result of the second step; 를 포함하여 이루어진 푸시시스템에서 멀티 서버를 이용한 채널 연동 방법.Channel interworking method using a multi-server in the push system made including. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 집단내에 공통으로 사용하는 채널을 등록하고자 할 경우 관리자가 상기 푸시 서버에 접속하여 공통 채널을 등록하면, 해당 푸시 서버가 집단내에 설치된 다른 푸시 서버의 주소를 내부적으로 관리하고 있어서 공통 채널 등록 기능을 다른 푸시 서버로 전달하여 모든 푸시 서버가 공통된 데이터를 공유할 수 있도록, 상기 멀티 푸시 서버중 채널 변동이 발생한 푸시 서버를 임시 마스터 푸시 서버로 하고, 나머지 푸시 서버들을 임시 슬레이브 푸시 서버로 할당하는 것을 특징으로 하는 푸시시스템에서 멀티 서버를 이용한 채널 연동 방법.If you want to register a common channel in a group, if an administrator accesses the push server and registers a common channel, the push server manages the address of another push server installed in the group internally. A push server having a channel change among the multi-push servers is a temporary master push server, and the remaining push servers are assigned to a temporary slave push server so that all the push servers can share common data. Channel interworking method using a multi-server in the push system. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 3 단계는,The third step, 상기 제 2 단계의 감시결과에 따라, 상기 임시 마스터 푸시 서버가 상기 메시지 큐를 감시하다가 상기 메시지 큐에 메시지가 남아 있으면, 상기 메시지 큐에 있는 메시지를 순서에 따라 상기 임시 슬레이브 푸시 서버로 전송하는 제 4 단계;According to the monitoring result of the second step, when the temporary master push server monitors the message queue and transmits a message in the message queue to the temporary slave push server, the messages in the message queue are sequentially transmitted to the temporary slave push server. 4 steps; 상기 임시 슬레이브 푸시 서버가 명령 메시지의 내용을 해석하여 명령에 따라 채널 정보와 서버의 내용을 수정하고, 상기 메시지의 송신 결과를 분석하는 제 5 단계;A fifth step of the temporary slave push server interpreting contents of a command message, modifying channel information and contents of the server according to the command, and analyzing a transmission result of the message; 상기 제 5 단계의 분석결과, 송신 실패시 송신 실패 결과를 상기 임시 마스터 푸시 서버로 알려 상기 임시 마스터 푸시 서버가 타이머 동작에 따라 해당 메시지를 상기 임시 슬레이브 푸시 서버로 재전송하도록 하는 제 6 단계;A sixth step of informing the temporary master push server of a transmission failure result when the transmission fails, the temporary master push server retransmitting a corresponding message to the temporary slave push server according to a timer operation; 상기 제 5 단계의 분석결과, 송신 성공시에 긍정 응답(ACK) 신호를 상기 임시 마스터 푸시 서버로 알려 상기 임시 마스터 푸시 서버에서 수신된 메시지(ACK, m_id)의 수신 여부를 판단하는 제 7 단계;A seventh step of determining whether a message (ACK, m_id) received from the temporary master push server is received by informing the temporary master push server of an acknowledgment (ACK) signal upon successful transmission of the fifth step; 상기 제 7 단계의 판단결과, 상기 임시 슬레이브 서버로부터 긍정 응답(ACK) 신호가 수신되지 않으면, 타이머 동작에 따라 해당 메시지를 상기 임시 슬레이브 서버로 재전송하는 제 8 단계; 및An eighth step of retransmitting the corresponding message to the temporary slave server according to a timer operation when an ACK signal is not received from the temporary slave server as a result of the determination of the seventh step; And 상기 제 7 단계의 판단결과, 상기 임시 슬레이브 서버로부터 해당 메시지에 대한 긍정 응답(ACK) 신호가 수신되면, 해당 메시지를 상기 메시지 큐(n)에서 삭제한 후에, 상기 제 4 단계로 넘어가는 제 9 단계As a result of the determination in the seventh step, when an acknowledgment (ACK) signal for the corresponding message is received from the temporary slave server, the message is deleted from the message queue (n), and then the ninth step is passed to the fourth step. step 를 포함하여 이루어진 푸시시스템에서 멀티 서버를 이용한 채널 연동 방법.Channel interworking method using a multi-server in the push system made including. 제 3 항에 있어서,The method of claim 3, wherein 상기 각 푸시 서버는,Each push server, 메시지를 송신하기 위해 일시적으로 상기 임시 마스터 푸시 서버의 역할을 하고, 메시지를 수신하기 위해 일시적으로 상기 임시 슬레이브 푸시 서버의 역할을 하는 동적 푸시 서버인 것을 특징으로 하는 푸시시스템에서 멀티서버를 이용한 채널 연동 방법.The interworking channel using a multi-server in the push system, characterized in that the dynamic push server to temporarily serve as the temporary master push server to send a message, the temporary slave push server to temporarily receive a message Way. 제 3 항에 있어서,The method of claim 3, wherein 상기 임시 마스터 푸시 서버는,The temporary master push server, 상기 메시지 큐에 저장된 메시지들이 모두 처리될 때까지 계속 순환 작업을 하고, 상기 임시 슬레이브 푸시 서버가 다운이나 다른 장애로 인한 경우에도 상기 타이머에 의해 반복적으로 메시지를 재전송하는 것을 특징으로 하는 푸시스템에서 멀티서버를 이용한 채널 연동 방법.In the push system, the cyclical operation is continuously performed until all the messages stored in the message queue are processed, and the temporary slave push server retransmits the message repeatedly by the timer even when the temporary slave push server is down. Channel interworking method using server. 프로세서를 구비한 푸시시스템에,In a push system with a processor, 지역적으로 독립된 멀티 푸시 서버중 채널 변동이 발생한 푸시 서버를 임시 마스터 푸시 서버로 하고, 나머지 푸시 서버들을 임시 슬레이브 푸시 서버로 할당하는 기능;A function of assigning a push server having a channel change among the locally independent multi-push servers as a temporary master push server and assigning the remaining push servers to a temporary slave push server; 상기 임시 마스터 푸시 서버가 상기 임시 슬레이브 푸시 서버만큼 생성된 메시지 큐를 감시하는 기능; 및Monitoring, by the temporary master push server, a message queue created by the temporary slave push server; And 상기 제 2 단계의 감시결과에 따라, 상기 임시 마스터 푸시 서버가 상기 메시지 큐에 남아있는 메시지를 지속적으로 상기 임시 슬레이브 푸시 서버로 전송함으로써, 멀티 푸시 서버간에 채널을 연동시키는 기능According to the monitoring result of the second step, the temporary master push server continuously transmits the message remaining in the message queue to the temporary slave push server, thereby interworking channels between the multi-push servers. 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019990025728A 1999-06-30 1999-06-30 Method for interlocking channel using multi-server in push system KR100333741B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990025728A KR100333741B1 (en) 1999-06-30 1999-06-30 Method for interlocking channel using multi-server in push system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990025728A KR100333741B1 (en) 1999-06-30 1999-06-30 Method for interlocking channel using multi-server in push system

Publications (2)

Publication Number Publication Date
KR20010004954A true KR20010004954A (en) 2001-01-15
KR100333741B1 KR100333741B1 (en) 2002-04-25

Family

ID=19597626

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990025728A KR100333741B1 (en) 1999-06-30 1999-06-30 Method for interlocking channel using multi-server in push system

Country Status (1)

Country Link
KR (1) KR100333741B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321552B2 (en) * 2001-01-30 2008-01-22 Samsung Electronics Co., Ltd. Wireless communication apparatus, wireless communication system employing the same and control method thereof
KR20150142501A (en) 2014-06-12 2015-12-22 에릭슨엘지엔터프라이즈 주식회사 Method and apparatus for call processing
CN111464618A (en) * 2020-03-30 2020-07-28 广州市百果园信息技术有限公司 Message pushing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101298743B1 (en) * 2011-07-19 2013-08-26 에스케이텔레콤 주식회사 System and method for providing push service for message load balancing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758342A (en) * 1995-01-23 1998-05-26 International Business Machines Corporation Client server based multi-processor file system wherein client files written to by a client processor are invisible to the server
KR970060776A (en) * 1996-01-06 1997-08-12 구자홍 Information exchange apparatus using multimedia
KR20000060706A (en) * 1999-03-18 2000-10-16 서평원 WWW Broadcasting PUSH Method for Mobile Station Packet Data Service

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321552B2 (en) * 2001-01-30 2008-01-22 Samsung Electronics Co., Ltd. Wireless communication apparatus, wireless communication system employing the same and control method thereof
KR20150142501A (en) 2014-06-12 2015-12-22 에릭슨엘지엔터프라이즈 주식회사 Method and apparatus for call processing
CN111464618A (en) * 2020-03-30 2020-07-28 广州市百果园信息技术有限公司 Message pushing method, device, equipment and storage medium
CN111464618B (en) * 2020-03-30 2023-07-04 广州市百果园信息技术有限公司 Message pushing method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR100333741B1 (en) 2002-04-25

Similar Documents

Publication Publication Date Title
CN109636427B (en) Business processing method, device, medium and electronic equipment based on block chain system
CA2250108C (en) A method and apparatus for client managed flow control on a limited memory computer system
US7318107B1 (en) System and method for automatic stream fail-over
JP3901806B2 (en) Information management system and secondary server
CN1761944B (en) Dynamic service registry for virtual machines
CA2205725C (en) Preventing conflicts in distributed systems
US6999997B2 (en) Method and apparatus for communication of message data using shared queues
US7676812B2 (en) Large scale event notification system
RU99116790A (en) METHOD FOR CONTROLLING REMOTE ACCESS TO DATA ON A COMPUTER GENERAL USE NETWORK
US7493398B2 (en) Shared socket connections for efficient data transmission
CN1829228B (en) Method and system for transmitting control protocol jointing
CN108390950A (en) A kind of information push method, device and equipment
US6925488B2 (en) Distributed intelligent information technology operations automation
SE9904697L (en) queuing
US20130139178A1 (en) Cluster management system and method
KR100311000B1 (en) User participational webserver and communication method between multi-users
CN114448686A (en) Cross-network communication device and method based on micro-service
KR100333741B1 (en) Method for interlocking channel using multi-server in push system
JP2003141002A (en) Url length conversion system and program
JPH0863441A (en) Operating method for parallel systems
KR20050112912A (en) System and method for relaying data by use of socket applicaton program
JP2009508211A (en) Independent message processing system and method transparent to endpoints
KR0156856B1 (en) Apparatus and method for multi-message retransmission deal device and method thereof
JP3666619B2 (en) How to find and age printers in a network
KR100274848B1 (en) Network management method for network management 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: 20110405

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee