KR20000025224A - Method for interlocking web and text for chatting service on information network - Google Patents

Method for interlocking web and text for chatting service on information network Download PDF

Info

Publication number
KR20000025224A
KR20000025224A KR1019980042216A KR19980042216A KR20000025224A KR 20000025224 A KR20000025224 A KR 20000025224A KR 1019980042216 A KR1019980042216 A KR 1019980042216A KR 19980042216 A KR19980042216 A KR 19980042216A KR 20000025224 A KR20000025224 A KR 20000025224A
Authority
KR
South Korea
Prior art keywords
message
user
web
text
shared memory
Prior art date
Application number
KR1019980042216A
Other languages
Korean (ko)
Other versions
KR100275452B1 (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 KR1019980042216A priority Critical patent/KR100275452B1/en
Publication of KR20000025224A publication Critical patent/KR20000025224A/en
Application granted granted Critical
Publication of KR100275452B1 publication Critical patent/KR100275452B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • G06Q50/50
    • 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
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE: A method for interlocking a web and a text is provided to give a chatting service which the web and the text can be shared, on an information network such as an internet network. CONSTITUTION: A method for interlocking a web and a text for a chatting service on an information network comprises the steps of: synchronizing information of a shared memory in connection hosts of all users, by transmitting a message inputted to the connection hosts or by setting up a connection, according to the kind of the inputted message; transmitting the message received from the connection hosts to a main host, updating the shared memory by receiving the inputted message, and updating a client state of a user; initializing a related variable by a main server of the main host; analyzing whether a new message from the connection hosts is received in real time; returning to the step 4(analyzing whether the new message is received) after connecting a socket, when a connection request message is received from the connection hosts; returning to the step 4 after synchronizing the information of the shared memory in the connection hosts, by transmitting data received to the connection hosts, by receiving the data when a transmission message of the data is received.

Description

정보통신망에서의 채팅서비스를 위한 웹/텍스트 연동 방법Web / text interworking method for chat service in information communication network

본 발명은 인터넷 등과 같은 정보통신 환경에서, 기존의 텍스트와 웹 각각으로만 제공되던 채팅서비스 대신에, 웹과 텍스트를 상호 연동시켜 채팅서비스를 제공할 수 있도록 한 웹/텍스트 연동 방법에 관한 것이다.The present invention relates to a web / text interworking method for providing a chat service by interworking text with a web, instead of a chat service provided with only text and web in an information communication environment such as the Internet.

현재, PC통신 서비스의 총아를 이루는 것은 뭐니뭐니해도 채팅서비스이다. 이러한 텍스트를 기반으로 하는 채팅서비스는 이미 PC통신에서 이용자를 확보하는 중요 서비스로 자리 매김하고 있다.At present, it is the chat service that makes the most of the PC communication service. The text-based chat service has already established itself as an important service for securing users in PC communication.

이전부터 인터넷 서비스가 활성화되면서 웹을 통한 통신서비스가 등장하여 PC통신에서 웹서비스를 하고는 있지만, 채팅 서비스에 있어서는 아직 이용자의 기대에 못 미치고 있다고 할 수 있다. 그리고, 근래에 나온 넷츠고는 텍스트를 제외한 웹서비스만을 전문으로 하는 통신 서비스를 제공하고 있다.In the past, as the Internet service was activated, communication service through the web appeared to provide web service in PC communication, but it can be said that the chat service still falls short of the expectations of the user. Recently, Netsgo has provided a communication service that specializes only in web services except text.

종래에는, 텍스트/웹 서비스를 동시에 제공하는 PC통신 서비스가 게시판이나 자료실 같은 경우에 텍스트/웹이 정보 공유가 되고 있으나, 채팅에 있어서 만큼은 아직까지 공유가 이루어지지 않았다. 또한, 하이텔 등에서 제공하는 웹 채팅 서비스는 컴퓨터 그래픽 인터페이스(CGI : Computer Graphics Interface)를 기반으로 하는 열악한 수준의 채팅서비스로서, 이 역시 텍스트 채팅과의 연동은 이루어지지 않았다.Background Art Conventionally, text / web is sharing information when a PC communication service which simultaneously provides text / web service is a bulletin board or a library, but the sharing is not yet performed in chat. In addition, the web chat service provided by Hitel, etc., is a poor level chat service based on a computer graphics interface (CGI), which is also not linked with text chat.

현재까지 인터넷이 확산되면서 일반 이용자들의 인터넷 이용이 점점 늘어나고 있음에도 불구하고, 채팅서비스는 아직도 텍스트에서만 대부분 이루어지고 있는 실정이다.Although the Internet has been increasingly used by general users as the Internet spreads to date, the chat service is still mostly provided only in text.

따라서, 종래에는 채팅서비스를 웹 또는 텍스트에서만 실행하기 때문에 웹이나 텍스트 이용자들이 인터넷을 이용하다가 서로 상대방과 채팅하기 위해서는, 접속방식을 변경하거나(즉, 접속을 끊거나), 랜 사용자일 경우에 다른 에뮬레이터(별도의 응용 프로그램)를 실행시켜야만 하는 불편한 문제점이 있었다.Therefore, since the chat service is conventionally executed only on the web or text, in order for web or text users to chat with each other while using the Internet, they may change the connection method (that is, disconnect the connection), or if they are LAN users, There was an uncomfortable problem of running an emulator (a separate application).

상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 인터넷망 등과 같은 정보통신망에서 웹과 텍스트를 연동시켜, 웹이나 텍스트 이용자가 서로 상대방과 채팅하기 위해서 접속방식을 변경하거나 다른 응용 프로그램을 실행시킬 필요없이, 웹/텍스트의 공유가 되는 채팅서비스를 제공하기 위한 웹/텍스트 연동 방법을 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems, by interworking the web and text in an information communication network, such as the Internet network, so that the web or text users to change the connection method or execute other applications to chat with each other The purpose of the present invention is to provide a web / text interworking method for providing a chat service in which web / text is shared.

도 1 은 본 발명이 적용되는 웹/텍스트 채팅시스템의 구성 예시도.1 is an exemplary configuration of a web / text chat system to which the present invention is applied.

도 2 는 본 발명에 따른 웹/텍스트 연동 방법중 메인 서버에서의 동작 과정을 나타낸 일실시예 상세 흐름도.2 is a detailed flowchart illustrating an operation process of a main server in a web / text interworking method according to the present invention;

도 3a 및 3b 는 본 발명에 따른 웹/텍스트 연동 방법중 호스트 서버에서의 동작 과정을 나타낸 일실시예 상세 흐름도.3A and 3B are detailed flowcharts illustrating an operation process of a host server in a web / text interworking method according to the present invention.

도 4 는 본 발명에 따른 웹/텍스트 연동 방법중 텍스트 이용자 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도.4 is a detailed flowchart illustrating an operation process of a text user processor in a web / text interworking method according to the present invention.

도 5 는 본 발명에 따른 웹/텍스트 연동 방법중 웹 이용자 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도.5 is a detailed flowchart illustrating an operation process of a web user processor in a web / text interworking method according to the present invention.

도 6 은 본 발명에 따른 웹/텍스트 연동 방법중 웹 연결 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도.6 is a detailed flowchart illustrating an operation process of a web connection processor in a web / text interworking method according to the present invention.

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

11 : 메인 호스트 12 : 이용자 접속 호스트11: main host 12: user access host

상기 목적을 달성하기 위한 본 발명은, 정보통신망의 채팅서비스에 있어서, 주호스트에서 이용자 접속 호스트로부터 입력되는 메시지의 종류에 따라 연결 설정하거나 다른 모든 이용자 접속 호스트로 입력된 메시지를 전송하여 모든 이용자 접속 호스트내의 공유메모리의 정보를 동기화시키는 제 1 단계; 및 상기 이용자 접속 호스트에서 이용자로부터 수신된 메시지를 상기 주호스트로 전송하며, 상기 주호스트로부터 동기화를 위해 입력된 메시지를 입력받아 상기 공유메모리를 갱신하고 이용자 클라이언트의 상태를 갱신하는 제 2 단계를 포함한다.In order to achieve the above object, the present invention provides a chat service of an information communication network, in which a user establishes a connection according to a type of a message input from a user access host or transmits an input message to all other user access hosts. A first step of synchronizing the information of the shared memory in the host; And a second step of transmitting a message received from the user from the user access host to the main host, receiving a message input for synchronization from the main host, updating the shared memory, and updating the state of the user client. do.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 웹/텍스트 채팅시스템의 구성 예시도이다.1 is an exemplary configuration of a web / text chat system to which the present invention is applied.

도 1에 도시된 바와 같이, 본 발명이 적용되는 웹/텍스트 채팅시스템은, 크게 여러 개의 이용자 접속 호스트(12)로부터 오는 패킷을 받아서 패킷 종류에 따라 처리하는 메인 호스트(11)와, 이용자로부터 오는 패킷을 받아서 메인 호스트로 넘겨주는 이용자 접속 호스트(12)와, 웹 이용자에게 인터페이스를 제공하는 웹 클라이언트(131,132)로 구성된다. 여기서, 메인 호스트(11)는 메인 서버(111)를 구비하며, 이용자 접속 호스트(12)는 호스트 서버(111,112), 공유메모리(123), 메시지 큐(124,125), 텍스트 이용자 프로세서(126,127), 웹 이용자 프로세서(128,129), 및 웹 연결 프로세서(130)를 구비한다.As shown in FIG. 1, the web / text chat system to which the present invention is applied includes a main host 11 that receives packets from a plurality of user connection hosts 12 and processes them according to the type of packet. It consists of a user connection host 12 that receives the packet and passes it to the main host, and web clients 131 and 132 that provide an interface to the web user. Here, the main host 11 includes a main server 111, and the user access host 12 includes host servers 111 and 112, shared memory 123, message queues 124 and 125, text user processors 126 and 127, and a web. User processors 128, 129, and web connection processor 130.

채팅서비스는 통신상에서 여러 사람들에게 대화의 장을 제공해 주는 서비스로서, 컴퓨터 통신상에서 이런 대화의 장이 마련되기 위해서는 대화를 하는 이용자들간의 정보 공유가 이루어져야 한다.The chat service is a service that provides a place of conversation for various people in communication, and in order to provide such a place for communication in computer communication, information sharing between users having a conversation must be made.

여러 이용자간의 정보 공유를 제공하기 위해서는 이용자 프로세스들간의 정보 공유가 이루어져야 하는데, 유닉스(UNIX)에서 제공하는 프로세스간 정보공유 방법의 대표적인 것이 공유메모리(123)와 메시지 큐(124,125)이다.In order to provide information sharing among various users, information sharing between user processes should be performed. The common memory interworking information sharing methods provided by UNIX are the shared memory 123 and the message queues 124 and 125.

본 실시예에서는 이러한 공유메모리(123)와 메시지 큐(124,125)의 장/단점을 살려 이 두가지를 모두 사용한다. 또한, 통신서비스의 특성상 이용자 접속 호스트(12)가 하나의 호스트가 아니기 때문에 이용자들이 여러 개의 호스트에 접속할 수 있다고 가정한다. 이러한 경우에, 각 이용자 접속 호스트(12)간의 정보가 서로 일치해야 올바른 채팅이 이루어진다.In this embodiment, both of the shared memory 123 and the message queues 124 and 125 are utilized. In addition, it is assumed that users can access several hosts because the user access host 12 is not one host due to the characteristics of the communication service. In such a case, the information between each user connection host 12 must coincide with each other so that a correct chat can be made.

그러므로, 채팅시스템은 각 이용자 접속 호스트(12)간의 정보일치를 해주는 메인 서버(111)와 각 이용자 접속 호스트(12)에서 정보전달을 담당하는 호스트 서버(121,122)가 있다.Therefore, the chat system includes a main server 111 for matching information between each user connection host 12 and host servers 121 and 122 in charge of information transfer from each user connection host 12.

채팅시스템을 구성하는 각 프로세서들을 살펴보면 다음과 같다.The processors of the chat system are as follows.

메인 호스트(11)는 다수의 이용자 접속 호스트(12)로부터 패킷을 받아 패킷 종류에 따라 해당 처리를 한다. 즉, 패킷이 이용자 접속 호스트(12)의 호스트 서버(121,122)들이 재시동됨에 따라 발생하는 연결요청 패킷일 경우에는 소켓을 연결하며, 일반 데이터 패킷일 경우에는 수신된 패킷을 모든 다른 이용자 접속 호스트(12)로 패킷을 날려준다. 이는 모든 이용자 접속 호스트(12)내에 있는 공유메모리(123)의 정보를 동기화하기 위함이다.The main host 11 receives packets from a plurality of user connection hosts 12 and performs corresponding processing according to the packet type. That is, if the packet is a connection request packet generated when the host servers 121 and 122 of the user access host 12 are restarted, the socket is connected. If the packet is a general data packet, the received packet is connected to all other user access hosts 12. Blow the packet. This is for synchronizing the information of the shared memory 123 in all the user access hosts 12.

메인 호스트(11)의 기능을 수행하는 곳이 메인 서버(111)인데, 이러한 메인 서버(111)는 각 호스트 서버(121,122)로부터 온 정보를 채팅에 관련된 모든 다른 이용자 접속 호스트(12)에 전달한다.The main server 111 performs a function of the main host 11, and the main server 111 delivers information from each of the host servers 121 and 122 to all other user access hosts 12 related to chat. .

이용자 접속 호스트(12)는 이용자로부터 패킷을 받아서 이를 메인 호스트(11)에 넘겨주고, 동기화를 위해 메인 서버(111)로부터 패킷을 받아서 공유메모리(123)를 갱신하며, 이용자 클라이언트의 상태를 갱신한다. 이때, 텍스트의 경우에는 이용자 클라이언트가 이용자 접속 호스트(12)내에 있기 때문에 결과가 바로 전달되며, 웹의 경우에는 이용자 PC상에 있기 때문에 다시 패킷을 만들어서 이용자 웹 클라이언트(131,132)로 전달한다. 이러한 과정에서 텍스트/웹 이용자 프로세서(126 내지 129)와 호스트 서버(121,122)간의 통신은 메시지 큐(124,125)를 사용하며, 채팅서비스의 공유정보는 공유메모리(123)를 통해서 유지된다.The user access host 12 receives the packet from the user, passes it to the main host 11, receives the packet from the main server 111 for synchronization, updates the shared memory 123, and updates the state of the user client. . At this time, in the case of text, since the user client is in the user connection host 12, the result is immediately delivered. In the case of the web, the result is directly delivered to the user web clients 131 and 132 because they are on the user PC. In this process, the communication between the text / web user processors 126 to 129 and the host servers 121 and 122 uses the message queues 124 and 125, and the shared information of the chat service is maintained through the shared memory 123.

호스트 서버(121,122)는 각 이용자 접속 호스트(12)에서 항상 떠 있으면서 웹/텍스트 이용자 프로세서(126 내지 129)로부터 온 정보를 메인 서버(111)에 전달하거나, 메인 서버(111)로부터 온 정보를 가지고 공유메모리(123)를 갱신하거나 웹/텍스트 이용자 프로세서(126 내지 129)로 전달한다.The host servers 121 and 122 deliver information from the web / text user processors 126 to 129 to the main server 111 or have information from the main server 111 while always floating in each user access host 12. The shared memory 123 is updated or transferred to the web / text user processors 126 to 129.

텍스트 이용자 프로세서(126,127)는 텍스트 이용자를 위한 인터페이스를 제공한다. 따라서, 텍스트 이용자 한 명당 하나의 텍스트 이용자 프로세서(126,127)가 생성되며, 이용자가 채팅서비스를 종료하면 텍스트 이용자 프로세서(126)도 종료한다.Text user processors 126 and 127 provide an interface for text users. Accordingly, one text user processor 126, 127 is generated for each text user, and the text user processor 126 also ends when the user terminates the chat service.

웹 연결 프로세서(130)는 웹 클라이언트(131,132)와의 연결기능을 수행하며, 연결이 되면 새로운 웹 이용자 프로세서(128,129)를 생성한다.The web connection processor 130 performs a connection function with the web clients 131 and 132, and creates a new web user processor 128 and 129 when the connection is established.

웹 이용자 프로세서(128,129)는 웹 연결 프로세서(130)로부터 생성되며, 하나의 웹 이용자당 하나의 웹 이용자 프로세서(128,129)가 생성된다.The web user processors 128 and 129 are generated from the web connection processor 130, and one web user processor 128 and 129 is generated per one web user.

웹 클라이언트(131,132)는 웹 이용자가 자신의 PC상에서 실행시키는 웹용 채팅 클라이언트를 의미한다. 웹 클라이언트는 인터넷 브라우저의 헬퍼(Helper)로 등록되며, 처음 실행을 하면 "Winsock"을 통해서 웹 연결 프로세서(130)와 연결을 시도한다.The web clients 131 and 132 refer to chat clients for the web that web users execute on their PCs. The web client is registered as a helper of the Internet browser, and when first executed, the web client attempts to connect to the web connection processor 130 through "Winsock".

이제, 프로세스간의 통신을 위해서 사용되는 요소들을 살펴보기로 한다.Now let's look at the elements used for interprocess communication.

메시지 큐(124,125)는 텍스트 이용자 프로세서(126,127) 및 웹 이용자 프로세서(128,129)와 호스트 서버(121,122)간의 통신을 위해서 존재한다.Message queues 124 and 125 exist for communication between text user processors 126 and 127 and web user processors 128 and 129 and host servers 121 and 122.

따라서, 각각의 텍스트/웹 이용자 프로세가(126 내지 129)가 이용자의 입력내용을 메시지 큐에 넣으면, 호스트 서버(121,122)가 메시지 큐(124,125)로부터 해당 메시지를 꺼내어 처리한다. 여기서, 호스트 서버(121,122)가 이용자 접속 호스트(12)당 2개이기 때문에 메시지 큐(124,125)는 2개가 존재한다.Thus, when each text / web user processor 126 to 129 puts a user's input into the message queue, the host server 121, 122 retrieves the message from the message queue 124, 125 and processes it. Here, since there are two host servers 121 and 122 per user-connected host 12, there are two message queues 124 and 125.

공유메모리(123)는 채팅서비스에 대한 전역적인 정보를 유지한다.The shared memory 123 maintains global information about the chat service.

다양한 위치에 있는 이용자들이 통신을 하고 같은 사이버 공간을 유지하는 것은 바로 공유메모리를 이용해 통신하기 때문이다.Users in various locations communicate and maintain the same cyberspace because they use shared memory.

만약, 이용자가 공유메모리의 변경에 영향을 미치는 입력을 했을 경우에, 호스트 서버(121,122)는 공유메모리(123)를 갱신하게 되며, 단지 공유메모리(123)의 내용을 참조하는 경우에는 웹/텍스트 이용자 프로세서(126 내지 129)가 직접 공유메모리(123)에 접근하여 정보를 얻게 된다.If the user makes an input that affects the change of the shared memory, the host server 121, 122 updates the shared memory 123, and if only the contents of the shared memory 123 are referred to, the web / text The user processors 126 to 129 directly access the shared memory 123 to obtain information.

이제, 메인 호스트(11)와 이용자 접속 호스트(12)의 각 구성요소들에서 웹과 텍스트를 연동시키기 위한 방법에 대해 구체적으로 살펴보고자 한다.Now, the method for interworking the web and the text in the respective components of the main host 11 and the user access host 12 will be described in detail.

도 2 는 본 발명에 따른 웹/텍스트 연동 방법중 메인 서버에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.2 is a detailed flowchart illustrating an operation process of a main server in a web / text interworking method according to the present invention.

메인 서버(111)는 각 이용자 접속 호스트(12)와는 별도로 메인 호스트(11)에 위치하는 프로세스로서, 이용자 접속 호스트(12)로부터 들어오는 메시지를 받아 다른 모든 이용자 접속 호스트(12)에 전달하므로써, 모든 이용자 접속 호스트(12)의 공유메모리(123)가 같은 내용을 유지할 수 있도록 한다.The main server 111 is a process located on the main host 11 separately from each user access host 12. The main server 111 receives all the incoming messages from the user access host 12 and delivers them to all other user access hosts 12. The shared memory 123 of the user access host 12 can maintain the same contents.

도 2에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 메인 서버(111)에서의 동작 과정은, 먼저 관련 변수를 초기화한 후에(201), 이용자 접속 호스트(12)로부터 새로운 메시지가 수신되었는지를 실시간으로 검사한다(202).As shown in FIG. 2, in the web / text interworking method according to the present invention, an operation process in the main server 111 may be performed by initializing a related variable (201) and then receiving a new message from the user access host (12). It is checked in real time whether it has been received (202).

검사결과, 이용자 접속 호스트(12)로부터 연결요청 메시지가 수신되면 소켓을 연결하여 연결을 설정하고(203), 자료송신 메시지가 수신되면 자료를 수신하여(204) 다른 모든 이용자 접속 호스트(12)로 수신된 자료를 전송한 후에(205), 상기의 과정(202 내지 205)을 반복 수행한다.As a result of the check, when the connection request message is received from the user access host 12, the socket is connected and the connection is established (203). When the data transmission message is received, the data is received (204) and all other user access hosts 12 are received. After transmitting the received data (205), the above process (202 to 205) is repeated.

도 3a 는 본 발명에 따른 웹/텍스트 연동 방법중 호스트 서버1에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.3A is a detailed flowchart illustrating an operation process of the host server 1 in the web / text interworking method according to the present invention.

호스트 서버1(121)는 메시지 큐1(124)로부터 메시지를 하나씩 읽어들여서 메인 서버(111)에 전달한다. 여기서, 호스트 서버1(121)의 역할은 단지 데이터 전달 기능을 수행한다. 즉, 호스트 서버1(121)는 항상 이용자 접속 호스트(12)에 떠 있으면서 계속 메시지 큐1(124)를 검사하여, 메시지가 있으면 메시지를 읽어 메인 서버(111)로 전달하고, 없으면 메시지가 도착할 때까지 기다린다.The host server 1 121 reads messages from the message queue 1 124 one by one and delivers the messages to the main server 111. Here, the role of the host server 1 121 merely performs a data transfer function. That is, the host server 1 121 always checks the message queue 1 124 while floating on the user access host 12, reads the message if there is a message, and delivers the message to the main server 111, and when the message arrives, Wait until

도 3a에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 호스트 서버1(121)에서의 동작 과정은, 먼저 관련 변수를 초기화하고(301), 메인 서버(111)와 소켓을 연결한 후에(302), 메시지 큐1(124)를 검사하여 메시지가 있는지를 실시간으로 분석한다(303).As shown in FIG. 3A, the operation process of the host server 1 121 of the web / text interworking method according to the present invention may be performed by first initializing a related variable (301) and connecting a socket to a main server 111. Later (302), message queue 1 (124) is examined to analyze if there is a message in real time (303).

분석결과, 메시지가 있으면 메시지 큐1(124)로부터 메시지를 읽어(304) 읽은 메시지를 연결된 소켓을 통해 메인 서버(111)에 전달한 후에(305), 상기의 과정(303 내지 305)을 반복 수행한다.As a result of the analysis, if there is a message, the message is read from the message queue 1 (124) (304) and the read message is transmitted to the main server 111 through the connected socket (305), and the above processes (303 to 305) are repeated. .

도 3b 는 본 발명에 따른 웹/텍스트 연동 방법중 호스트 서버2에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.3B is a detailed flowchart illustrating an operation process of the host server 2 in the web / text interworking method according to the present invention.

메인 서버(111)가 호스트 서버1(121)로부터 받은 메시지를 다른 모든 이용자 접속 호스트(12)에 보내면, 각 이용자 접속 호스트(12)의 호스트 서버2(122)가 이를 수신한다.When the main server 111 sends a message received from the host server 1 121 to all other user access hosts 12, the host server 2 122 of each user access host 12 receives it.

호스트 서버2(122)는 메시지를 수신하여 메시지 내용에 따라 공유메모리(123)를 갱신하거나, 이용자에게 응답 메시지를 만들어서 메시지 큐2(125)에 보낸다.The host server 2 122 receives the message and updates the shared memory 123 according to the content of the message, or creates a response message to the user and sends the message to the message queue 2 125.

호스트 서버1(121)이 단지 메시지의 전달 역할을 수행함에 반하여, 호스트 서버2(122)는 전달뿐만아니라 채팅에서 가장 중요한 공유메모리(123)에 접근하여 내용을 갱신하고 그 결과를 메시지로 만들어서 메시지 큐2(125)에 넣어주는 역할을 한다.While the host server 1 121 merely serves to deliver a message, the host server 2 122 accesses the most important shared memory 123 in the chat as well as the delivery to update the contents and make the result a message. It serves to put in the queue 2 (125).

도 3b에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 호스트 서버2에서의 동작 과정은, 먼저 관련 변수를 초기화한 후에(311), 메인 서버(111)와 소켓을 연결한다(312).As shown in FIG. 3B, the operation process of the host server 2 in the web / text interworking method according to the present invention first initializes related variables (311), and then connects the socket to the main server 111 (312). ).

이후, 연결된 소켓을 통해 메인 서버(111)로부터 호스트 서버1(121)에서 보낸 메시지가 수신되면(313), 수신된 메시지 내용에 따라 공유메모리(123)를 갱신하고(314), 메시지 큐2(125)에 처리 결과 메시지를 송신한 후에(315), 상기의 과정(313 내지 315)을 반복 수행한다.Subsequently, when a message sent from the host server 1 121 is received from the main server 111 through the connected socket (313), the shared memory 123 is updated according to the received message content (314), and the message queue 2 ( After the process result message is sent to step 125, step 313 to 315 is repeated.

도 4 는 본 발명에 따른 웹/텍스트 연동 방법중 텍스트 이용자 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.4 is a detailed flowchart illustrating an operation process of a text user processor in a web / text interworking method according to the present invention.

텍스트 이용자 프로세서(126,127)는 텍스트 이용자에게 채팅 인터페이스를 제공해 주는 프로세서로서, 메인 서버(111)와 호스트 서버(121,122)가 항상 떠 있는 데몬 프로세스인 것과는 달리, 이용자가 채팅을 이용할 때만 실행되고 이용을 종료하면 종료가 된다.The text user processor 126, 127 is a processor that provides a text interface to the text user. Unlike the main server 111 and the host server 121, 122, which are always floating daemon processes, the text user processors 126 and 127 are executed only when the user uses the chat and are terminated. To end.

그리고, 텍스트 이용자 프로세서(126,127)는 이용자의 입력을 받아서 입력 내용에 따라 공유메모리(123)에 접근하여 내용을 직접 이용자에게 보여주거나, 이용자로부터 공유메모리(123)의 갱신이 요구되면 이를 메시지로 만들어서 메시지 큐1(124)에 넣는다.Then, the text user processor 126, 127 receives the user's input, accesses the shared memory 123 according to the input content, and shows the contents directly to the user, or if the user requests an update of the shared memory 123, the message is made into a message. Put on message queue 1 (124).

도 4에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 텍스트 이용자 프로세서에서의 동작 과정은, 먼저 관련 변수를 초기화한 후에(401), 공유메모리(123)에 읽을 내용이 있으면 공유메모리(123)에 접근하여 내용을 읽어 이용자에게 출력한다(402).As shown in FIG. 4, the operation process of the text user processor in the web / text interworking method according to the present invention may be performed by first initializing a related variable (401), and then reading the shared memory 123 if there is content to be read. In step 123, the content is read and output to the user (402).

이후, 공유메모리(123)의 갱신을 요구하는 이용자의 입력이 수신(즉,키보드 입력)되면(403), 입력내용에 따라 메시지를 작성하여 메시지 큐1(124)에 넣는다(404).Thereafter, when a user's input requesting an update of the shared memory 123 is received (ie, a keyboard input) (403), a message is created according to the input contents and put into a message queue 1 (124) (404).

다음으로, 메시지 큐2(125)로부터 메시지가 수신되면 이를 이용자에게 출력한 후에(405), 상기의 과정(402 내지 405)을 반복 수행한다.Next, when the message is received from the message queue 2 (125) and outputs it to the user (405), the processes (402 to 405) are repeated.

도 5 는 본 발명에 따른 웹/텍스트 연동 방법중 웹 이용자 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.5 is a detailed flowchart illustrating an operation process of a web user processor in a web / text interworking method according to the present invention.

웹 이용자 프로세서(128)는 텍스트 이용자 프로세서(126)처럼 이용자에게 채팅 인터페이스를 제공해 주는 것은 아니다.The web user processor 128 does not provide a chat interface to the user like the text user processor 126.

웹 채팅에서 이용자 인터페이스는 웹 클라이언트(131,132)가 담당하며, 웹이용자 프로세서(128,129)는 웹 클라이언트(131,132)와 채팅 서버간의 원활한 정보 교환을 위한 다리 역할을 수행한다.In the web chat, the user interface is in charge of the web clients 131 and 132, and the web user processors 128 and 129 serve as bridges for smooth exchange of information between the web clients 131 and 132 and the chat server.

예를들면, 텍스트 이용자 프로세서(126,127)가 텍스트 이용자의 인터페이스 역할도 하기 때문에 공유메모리(123)의 내용을 바로 이용자에게 보낼 수 있었으나, 웹 이용자 프로세서(128,129)는 그렇지 않기 때문에 공유메모리(123)를 검색하는 경우에 다른 처리가 필요하다. 즉, 공유메모리(123)의 내용을 검색하는 경우도 이를 메시지로 만들어서 웹 클라이언트(131,132)로 보내야만 한다.For example, since the text user processors 126 and 127 also act as interfaces for the text users, the contents of the shared memory 123 could be directly sent to the user, but the web user processors 128 and 129 do not. If you search, you need to do something different. That is, even when searching the contents of the shared memory 123, it must be made into a message and sent to the web clients (131, 132).

이러한 웹 이용자 프로세서(128,129)는 텍스트 이용자 프로세서(126,127)처럼 웹 이용자별로 하나가 생성되며, 웹 이용자가 채팅 사용을 종료하면 프로세서 역시 종료된다.One such web user processor 128 and 129 is generated for each web user like the text user processors 126 and 127. When the web user finishes using the chat, the processor is also terminated.

도 5에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 웹 이용자 프로세서에서의 동작 과정은, 먼저 관련 변수를 초기화한 후에(501), 공유메모리(123)에서 읽을 내용이 있으면 메시지를 구성한 후에(502), 소켓을 통해 메시지를 웹 클라이언트(131,132)로 송신한다(503).As shown in FIG. 5, the operation process of the web user processor in the web / text interworking method according to the present invention first initializes a related variable (501) and then displays a message if there is content to be read from the shared memory (123). After configuration (502), a message is sent to the web clients (131, 132) via the socket (503).

이후, 공유메모리(123)의 갱신을 요구하는 이용자의 입력이 있어 웹 클라이언트(131,132)로부터 입력 메시지가 수신되면(504), 입력내용에 따라 메시지를 작성하여 메시지 큐1(124)에 넣는다(505).Thereafter, when an input message is received from the web client 131 or 132 to request updating of the shared memory 123 (504), a message is created according to the input contents and put into the message queue 1 (124) (505). ).

다음으로, 메시지 큐2(125)로부터 메시지가 수신되면 이를 웹 클라이언트(131,132)에 송신한 후에(506), 상기의 과정(502 내지 506)을 반복 수행한다.Next, when a message is received from the message queue 2 (125), it is transmitted to the web clients 131 and 132 (506), and the above processes (502 to 506) are repeated.

도 6 은 본 발명에 따른 웹/텍스트 연동 방법중 웹 연결 프로세서에서의 동작 과정을 나타낸 일실시예 상세 흐름도이다.6 is a detailed flowchart illustrating an operation process of a web connection processor in a web / text interworking method according to the present invention.

웹 연결 프로세서(130)는 웹 클라이언트(131,132)가 채팅 서버에 처음 연결을 하게끔 해준다. 즉, 웹 이용자 프로세서(128,129)는 사실상 데몬 형태로 실행되는 웹 연결 프로세서(130)로부터 하나씩 생성된다.The web connection processor 130 allows the web clients 131 and 132 to make a first connection to the chat server. That is, the web user processors 128 and 129 are generated one by one from the web connection processor 130 which is actually executed in the form of a daemon.

웹 클라이언트(131,132)가 실행되면, 우선 웹 클라이언트(131,132)가 이용자 접속 호스트(12)에 연결을 시도하는데, 이때 웹 연결 프로세서(130)는 새로운 웹 채팅 연결 요청이 오는지를 기다리고 있다가 연결요청이 오면 새로운 소켓 아이디를 할당하여 연결하고, 웹 이용자 프로세서(128,129)를 생성시킨 후에 자신은 웹 클라이언트(131,132)로부터 다른 연결요청이 오는지를 기다린다.When the web clients 131 and 132 are executed, the web clients 131 and 132 first try to connect to the user connection host 12. At this time, the web connection processor 130 waits for a new web chat connection request to come and then the connection request is made. When a new socket ID is assigned and connected, the web user processor 128,129 is created, and then it waits for another connection request from the web client 131,132.

도 6에 도시된 바와 같이, 본 발명에 따른 웹/텍스트 연동 방법중 웹 연결 프로세서에서의 동작 과정은, 먼저 관련 변수를 초기화한 후에(601), 소켓요청(즉, 웹 채팅 연결요청)이 있는지를 실시간으로 분석한다(602).As shown in FIG. 6, the operation process of the web connection processor in the web / text interworking method according to the present invention first initializes a related variable (601), and then there is a socket request (ie, a web chat connection request). Analyze in real time (602).

분석결과, 소켓연결 요청이 있으면, 새로운 소켓 식별자(ID)를 할당한 후에(604), 새로운 웹 이용자 프로세서(128,129)를 생성한다(604). 이후에, 새로운 소켓 ID를 종료한 후에(605), 상기의 과정(602 내지 605)을 반복 수행한다.As a result of the analysis, if there is a socket connection request, after allocating a new socket identifier (ID) (604), a new web user processor (128,129) is generated (604). Thereafter, after ending the new socket ID (605), the above processes (602 to 605) are repeated.

한편, 웹 클라이언트(131,132)는 웹 이용자들에게 인터페이스를 제공하는 응용 프로그램으로서, 웹 브라우저에서 헬퍼(Helper)로 등록이 되며, 일단 등록이 되면 웹상에서 채팅서비스를 이용하고자 할 때 자동으로 실행되어 웹 채팅이 가능하게 된다.On the other hand, the web client (131, 132) is an application that provides an interface to the web users, is registered as a helper (Helper) in a web browser, once registered, is automatically executed when you want to use the chat service on the web Chat is possible.

그리고, 웹 클라이언트(131,132)는 이용자에게 그래픽 사용자 인터페이스(GUI : Graphic User Interface)를 제공하고, 이용자가 입력한 내용을 메시지로 만들어 웹 연결 프로세서(130)로 전달하고, 웹 연결 프로세서(130)로부터 수신된 내용을 이용자에게 출력한다.In addition, the web clients 131 and 132 provide a graphic user interface (GUI) to the user, form a message input by the user, and deliver the message to the web connection processor 130, from the web connection processor 130. Output the received contents to the user.

이제, 프로세스간의 통신을 위해서 사용되는 공유메모리(123)와 메시지 큐(124,125)에 대해 보다 구체적으로 설명한다.Now, the shared memory 123 and the message queues 124 and 125 used for inter-process communication will be described in more detail.

메시지 큐(124,125)는 텍스트/웹 이용자 프로세서(126 내지 129)와 호스트 서버(121,122)간에 메시지 교환을 위해 사용되는데, 각 텍스트/웹 이용자 프로세서(126 내지 129)가 보낸 메시지는 그 프로세서(126 내지 129)의 ID를 유일한 식별자로 하여 보낸다. 따라서, 호스트 서버2(122)가 메시지 큐2(125)에 보낸 메시지들중에서 자신의 프로세서 ID를 메시지 형태로 갖고 있는 메시지들만 골라서 읽게 된다.The message queues 124 and 125 are used for message exchange between the text / web user processors 126 to 129 and the host servers 121 and 122, and messages sent by each text / web user processor 126 to 129 are sent to the processors 126 to 129. ID of 129) is sent as a unique identifier. Therefore, only those messages that have their processor ID in the form of messages are selected and read from the messages sent to the message queue 2 125 by the host server 2 122.

공유메모리(123)는 채팅서비스에서 핵심이라 할 수 있다. 왜냐하면, 채팅서비스 정보의 대부분이 공유메모리(123)에서 유지되고 있기 때문이다. 즉, 채팅서비스를 이용하는 여러 이용자들이 서로 대화를 하고 같은 정보를 공유하는 것은 사실상 그 정보들이 공유메모리(123)로서 유지되기 때문이다. 여기서, 유지되는 정보들은 대화방 리스트와 이용자 리스트가 존재한다.The shared memory 123 may be the core of the chat service. This is because most of the chat service information is maintained in the shared memory 123. That is, several users who use the chat service communicate with each other and share the same information because the information is actually maintained as the shared memory 123. Here, the maintained information includes a chat room list and a user list.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.

상기한 바와 같은 본 발명은, 웹과 텍스트에서 연동가능하기 때문에 웹이나 텍스트 이용자가 서로 상대방과 채팅하기 위해서 접속방식을 변경하거나 다른 에뮬레이터를 동작시켜야 하는 불편이 사라지고, 웹으로 인터넷 등과 같은 정보통신망을 많이 이용하는 웹 이용자들에게 텍스트 채팅 이용자들과 채팅하는 부담을 줄일 수 있는 효과가 있다.As described above, since the present invention can be interworked with the web and text, the inconvenience of having to change the connection method or operate another emulator in order for the web or text users to chat with each other is eliminated. It is effective to reduce the burden of chatting with text chat users for the most popular web users.

Claims (10)

정보통신망의 채팅서비스에 있어서,In the chat service of the information communication network, 주호스트에서 이용자 접속 호스트로부터 입력되는 메시지의 종류에 따라, 연결 설정하거나 다른 모든 이용자 접속 호스트로 입력된 메시지를 전송하여 모든 이용자 접속 호스트내의 공유메모리의 정보를 동기화시키는 제 1 단계; 및A first step of synchronizing the information of the shared memory in all the user access hosts by establishing a connection or transmitting the input message to all other user access hosts according to the type of message input from the user access host on the main host; And 상기 이용자 접속 호스트에서 이용자로부터 수신된 메시지를 상기 주호스트로 전송하며, 상기 주호스트로부터 동기화를 위해 입력된 메시지를 입력받아 상기 공유메모리를 갱신하고 이용자 클라이언트의 상태를 갱신하는 제 2 단계A second step of transmitting a message received from a user from the user host to the main host, receiving a message input for synchronization from the main host, updating the shared memory, and updating a state of a user client; 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 상기 주호스트의 주서버가 관련 변수를 초기화시키는 제 3 단계;A third step of initializing a related variable by a main server of the main host; 상기 이용자 접속 호스트로부터 새로운 메시지가 수신되었는지를 실시간으로 분석하는 제 4 단계;A fourth step of analyzing in real time whether a new message has been received from the user access host; 상기 제 4 단계의 분석결과, 상기 이용자 접속 호스트로부터 연결요청 메시지가 수신되면, 소켓을 연결하여 연결 설정한 후에, 상기 제 4 단계로 넘어가는 제 5 단계; 및A fifth step of, if the connection request message is received from the user access host, after connecting with a socket, establishing a connection, and proceeding to the fourth step; And 상기 제 4 단계의 분석결과, 자료송신 메시지가 수신되면 자료를 수신하여 상기 다른 모든 이용자 접속 호스트로 수신된 자료를 전송하여 모든 이용자 접속 호스트내의 상기 공유메모리의 정보를 동기화시킨 후에, 상기 제 4 단계로 넘어가는 제 6 단계As a result of the analysis of the fourth step, when the data transmission message is received, the data is received and transmitted to all the other user access hosts to synchronize the information of the shared memory in all the user access hosts, and then the fourth step. The sixth step 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 2 단계는,The second step, 제1 호스트 서버가 제1 메시지 큐를 검사하여 메시지가 있으면 메시지를 하나씩 읽어들여 상기 주서버로 전달하는 제 7 단계;A seventh step in which the first host server examines the first message queue and reads the messages one by one if there are messages and delivers them to the main server; 제2 호스트 서버가 상기 제1 호스트 서버의 메시지를 상기 주서버로부터 입력받아 입력된 메시지의 내용에 따라 상기 공유메모리의 내용을 갱신하고 그 결과를 제2 메시지 큐에 전달하는 제 8 단계;An eighth step of receiving, by the second host server, the message of the first host server from the main server, updating the contents of the shared memory according to the contents of the input message, and delivering the result to the second message queue; 텍스트 이용자 프로세서가 이용자의 입력내용에 따라, 상기 공유메모리에 접근하여 상기 공유메모리의 내용을 텍스트 클라이언트를 통해 이용자에게 직접 보여주거나, 상기 공유메모리의 갱신이 요구되면 메시지로 만들어 상기 제1 메시지 큐에 전달하는 제 9 단계;A text user processor accesses the shared memory to display the contents of the shared memory directly to the user through a text client according to a user's input, or, if an update of the shared memory is requested, makes a message to the first message queue. A ninth step of delivering; 웹 클라이언트로부터 연결요청을 수신하면, 웹 이용자 프로세서를 생성하는 제 10 단계; 및A tenth step of generating a web user processor upon receiving a connection request from a web client; And 상기 웹 이용자 프로세서가 이용자의 입력내용에 따라, 상기 상기 공유메모리에 접근하여 상기 공유메모리의 내용을 새로운 메시지로 만들어 상기 웹 클라이언트로 전송하거나, 상기 공유메모리의 갱신이 요구되면 메시지로 만들어 상기 제1 메시지 큐에 전달하는 제 11 단계The web user processor accesses the shared memory and transmits the contents of the shared memory to a new message according to a user's input to the web client or, if an update of the shared memory is requested, converts the shared memory into a message. Eleventh step of delivering to the message queue 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 2 단계의 이용자 클라이언트를 갱신하는 과정은,The updating of the second stage user client may include: 텍스트의 경우에, 상기 텍스트 클라이언트가 상기 이용자 접속 호스트내에 있으므로 갱신결과를 바로 이용자에게 전달하는 제 12 단계; 및In the case of text, a twelfth step of delivering an update result directly to the user since the text client is in the user connection host; And 웹의 경우에, 상기 웹 클라이언트가 이용자 컴퓨터상에 존재하므로 갱신결과를 새로운 메시지로 만들어 상기 이용자 클라이언트로 전송하는 제 13 단계In the case of the web, since the web client exists on the user's computer, a thirteenth step of making an update result in a new message and transmitting it to the user client 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 7 단계는,The seventh step, 상기 제1 호스트 서버에서 관련 변수를 초기화시키는 제 12 단계;A twelfth step of initializing a related variable in the first host server; 상기 주서버와 소켓을 연결한 후에, 상기 제1 메시지 큐를 검사하여 메시지가 있는지를 실시간으로 분석하는 제 13 단계; 및After connecting the socket with the main server, checking the first message queue and analyzing whether there is a message in real time; And 상기 제 13 단계의 분석결과, 메시지가 있으면 상기 제1 메시지 큐로부터 메시지를 읽어 읽은 메시지를 연결된 소켓을 통해 상기 주서버에 전달한 후에, 상기 제 13 단계로 넘어가는 제 14 단계As a result of the analysis of the thirteenth step, if there is a message, the message is read from the first message queue and delivered to the main server through the connected socket, and then the fourteenth step is passed to the thirteenth step. 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 8 단계는,The eighth step, 상기 제2 호스트서버에서 관련 변수를 초기화시킨 후에, 상기 주서버와 소켓을 연결하는 제 12 단계; 및A twelfth step of connecting a socket with the main server after initializing a related variable in the second host server; And 연결된 소켓을 통해 상기 주서버로부터 상기 제1 호스트 서버에서 보낸 메시지가 수신되면, 수신된 메시지 내용에 따라 상기 공유메모리의 내용을 갱신하고, 상기 제2 메시지 큐에 처리 결과 메시지를 송신하는 제 13 단계A thirteenth step of updating a content of the shared memory according to the received message content and transmitting a processing result message to the second message queue when a message sent from the main server is received from the main server through a connected socket; 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 9 단계는,The ninth step, 상기 텍스트 이용자 프로세서에서 관련 변수를 초기화시키는 제 12 단계;A twelfth step of initializing a related variable in the text user processor; 상기 공유메모리에 읽을 내용이 있으면 상기 공유메모리에 접근하여 내용을 읽어 이용자에게 출력하는 제 13 단계;A thirteenth step of accessing the shared memory and reading the contents if the contents are to be read in the shared memory; 상기 공유메모리의 갱신을 요구하는 이용자의 입력이 수신되면, 입력내용에 따라 메시지를 작성하여 상기 제1 메시지 큐에 전달하는 제 14 단계; 및A fourteenth step of, if a user input requesting an update of the shared memory is received, creating a message according to the input content and delivering it to the first message queue; And 상기 제 2 메시지 큐로부터 메시지가 수신되면, 이를 이용자에게 직접 출력한 후에, 상기 13 단계로 넘어가는 제 15 단계A fifteenth step if the message is received from the second message queue, after being directly output to the user, the process proceeds to the thirteenth step 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 10 단계는,The tenth step is 상기 웹 연결 프로세서에서 관련 변수를 초기화시키는 제 12 단계;A twelfth step of initializing a related variable in the web connection processor; 소켓요청이 있는지를 실시간으로 분석하는 제 13 단계;A thirteenth step of analyzing in real time whether there is a socket request; 상기 제 13 단계의 분석결과, 소켓연결 요청이 있으면, 새로운 소켓 식별자(ID)를 할당한 후에, 상기 웹 이용자 프로세서를 생성하는 제 14 단계; 및A fourteenth step of generating a web user processor after allocating a new socket identifier (ID) when there is a socket connection request as a result of the analysis of the thirteenth step; And 새로운 소켓 식별자(ID)를 종료한 후에, 상기 제 13 단계로 넘어가는 제 15 단계After ending the new socket identifier ID, the fifteenth step is passed to the thirteenth step. 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 11 단계는,The eleventh step, 상기 웹 이용자 프로세서에서 관련 변수를 초기화시키는 제 12 단계;A twelfth step of initializing a related variable in the web user processor; 상기 공유메모리에서 읽을 내용이 있으면, 메시지를 구성한 후에 소켓을 통해 메시지를 상기 웹 클라이언트로 송신하는 제 13 단계;A thirteenth step of sending a message to the web client through a socket after composing a message if there is content to be read in the shared memory; 상기 공유메모리의 갱신을 요구하는 이용자의 입력이 있어 상기 웹 클라이언트로부터 입력 메시지가 수신되면, 입력내용에 따라 메시지를 작성하여 상기 제1 메시지 큐에 전달하는 제 14 단계;A fourteenth step when a user input requesting an update of the shared memory is received and an input message is received from the web client, a message is written and delivered to the first message queue according to the input content; 상기 제2 메시지 큐로부터 메시지가 수신되면, 이를 상기 웹 클라이언트로 송신한 후에, 상기 제 13 단계로 넘어가는 제 15 단계A fifteenth step, if the message is received from the second message queue, after transmitting it to the web client, proceeding to the thirteenth step 를 포함하여 이루어진 웹/텍스트 연동 방법.Web / text interworking method comprising a. 대용량 프로세서를 구비한 정보통신망에,In an information communication network with a large processor, 주호스트에서 이용자 접속 호스트로부터 입력되는 메시지의 종류에 따라, 연결 설정하거나 다른 모든 이용자 접속 호스트로 입력된 메시지를 전송하여 모든 이용자 접속 호스트내의 공유메모리의 정보를 동기화시키는 기능; 및Synchronizing information in the shared memory in all the user access hosts by transmitting a message inputted to the connection establishment or all other user access hosts according to the type of message input from the user access host in the main host; And 상기 이용자 접속 호스트에서 이용자로부터 수신된 메시지를 상기 주호스트로 전송하며, 상기 주호스트로부터 동기화를 위해 입력된 메시지를 입력받아 상기 공유메모리를 갱신하고 이용자 클라이언트의 상태를 갱신하는 기능A function of transmitting a message received from a user from the user to the main host, receiving a message input for synchronization from the main host, updating the shared memory, and updating the state of the user client; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019980042216A 1998-10-09 1998-10-09 Method of interfacing web and text for chatting KR100275452B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980042216A KR100275452B1 (en) 1998-10-09 1998-10-09 Method of interfacing web and text for chatting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980042216A KR100275452B1 (en) 1998-10-09 1998-10-09 Method of interfacing web and text for chatting

Publications (2)

Publication Number Publication Date
KR20000025224A true KR20000025224A (en) 2000-05-06
KR100275452B1 KR100275452B1 (en) 2000-12-15

Family

ID=19553470

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980042216A KR100275452B1 (en) 1998-10-09 1998-10-09 Method of interfacing web and text for chatting

Country Status (1)

Country Link
KR (1) KR100275452B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010063408A (en) * 1999-12-22 2001-07-09 박태웅 Method for notifying other user connected through internet and apparatus thereof
KR20020066414A (en) * 2001-02-10 2002-08-17 주식회사 코이노 Collaborative processng mechanism and system for one to many realtime interactive web browser sharing and collaboration based on internet explore

Also Published As

Publication number Publication date
KR100275452B1 (en) 2000-12-15

Similar Documents

Publication Publication Date Title
KR100722355B1 (en) Method and apparatus for activity-based collaboration by a computer system equipped with a dynamics manager
US8024404B2 (en) Method and apparatus for designating endpoints in a collaborative computer system to facilitate maintaining data consistency
US6088515A (en) Method and apparatus for making a hypermedium interactive
US6915347B2 (en) Associating multiple display units in a grouped server environment
US7117280B2 (en) Network based intra-system communications architecture
KR100722916B1 (en) Method and apparatus for activity-based collaboration by a computer system equipped with a communications manager
US9026660B2 (en) Method for uniform network access
KR100354369B1 (en) Information processing method, information processing apparatus, and storage medium for storing an information processing program
WO2004070616A1 (en) Synchronization program
KR100275452B1 (en) Method of interfacing web and text for chatting
AU737604B2 (en) A method for making a hypermedium interactive
JP2000099476A (en) Communication interchange system between distributed objects
KR20010078637A (en) Internet service system and method therefor
CN116346848A (en) Electric power operation and maintenance system based on image projection

Legal Events

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

Payment date: 20110908

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee