KR100383200B1 - Communication method of processor combined server/client function - Google Patents

Communication method of processor combined server/client function Download PDF

Info

Publication number
KR100383200B1
KR100383200B1 KR10-2000-0066099A KR20000066099A KR100383200B1 KR 100383200 B1 KR100383200 B1 KR 100383200B1 KR 20000066099 A KR20000066099 A KR 20000066099A KR 100383200 B1 KR100383200 B1 KR 100383200B1
Authority
KR
South Korea
Prior art keywords
processor
server
client
packet
event
Prior art date
Application number
KR10-2000-0066099A
Other languages
Korean (ko)
Other versions
KR20020036101A (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-2000-0066099A priority Critical patent/KR100383200B1/en
Publication of KR20020036101A publication Critical patent/KR20020036101A/en
Application granted granted Critical
Publication of KR100383200B1 publication Critical patent/KR100383200B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 서버/클라이언트 기능을 통합한 프로세서의 통신방법에 관한 것으로, 이벤트 감지 정보 검사 결과, 클라이언트 프로세서로부터 이벤트가 발생한 경우라면 클라이언트 프로세서에서 서버/클라이언트 통합 프로세서로의 접속 요청인지를 확인하는 이벤트 확인 단계와, 이벤트 확인 단계의 확인 결과, 접속 요청인 경우라면 클라이언트 프로세서의 접속 요청을 허용하고 이벤트 감시 테이블에 추가하는 접속 허용 및 이벤트 감시 테이블 추가 단계와, 이벤트 확인 단계의 확인 결과, 접속 요청이 아닌 경우라면 클라이언트 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계와, 서버/클라이언트 통합 프로세서가 클라이언트 프로세서가 목적으로 하는 서버 프로세서와 접속되어 있는지 확인하여 접속되어 있으면 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 서버 프로세서로 전송하는 서버 프로세서로의 패킷 전송 단계와, 이벤트 감지 정보 검사 결과, 서버 프로세서로부터 이벤트가 발생한 경우라면 서버 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 서버 프로세서로부터의 패킷 수신 및 처리 단계와, 서버 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 클라이언트 프로세서로 전송하는 클라이언트 프로세서로의 패킷 전송 단계로 이루어지는 것을 특징으로 한다.The present invention relates to a communication method of a processor incorporating a server / client function. When event detection information indicates that an event occurs from a client processor, an event confirmation for confirming whether the client processor is a request for connection to the server / client integrated processor is provided. Step, the event confirmation step, if the connection request is a connection request, allowing the client processor's connection request and adding to the event monitoring table. In this case, the packet receiving and processing step of the client processor, which successfully receives and processes the packet transmitted from the client processor, and the server / client integrated processor is connected to the server processor targeted by the client processor. If it is connected to the server processor, the server processor transmits the processed packet to the server processor. If the event is detected from the server processor, the server processor Receiving and processing a packet from a server processor that successfully receives and processes a packet transmitted from a packet, and transmits a packet to a client processor that transmits a packet processed in the receiving and processing packet from a server processor to a client processor. It is characterized by.

Description

서버/클라이언트 기능을 통합한 프로세서의 통신방법 {COMMUNICATION METHOD OF PROCESSOR COMBINED SERVER/CLIENT FUNCTION}How to communicate with a processor with integrated server / client function {COMMUNICATION METHOD OF PROCESSOR COMBINED SERVER / CLIENT FUNCTION}

본 발명은 서버/클라이언트(Server/Client) 기능을 통합한 프로세서(Process)의 통신방법에 관한 것으로, 특히 하나의 프로세서가 서버와 클라이언트의 역할을 병행하여 동시에 수행함으로써 시스템 자원의 사용을 최적화할 수 있고, 통신상의 부하를 최소화할 수 있도록 한 서버/클라이언트 기능을 통합한 프로세서의 통신방법에 관한 것이다.The present invention relates to a communication method of a processor integrating a server / client function. In particular, one processor can optimize the use of system resources by simultaneously performing a role of a server and a client. The present invention relates to a communication method of a processor incorporating a server / client function to minimize communication load.

일반적으로 이동통신망에서는 지능망(Intelligent Network ; IN), 특히 SCP(Service Control Point) 시스템을 운용하여 외부 시스템과 연동함으로써 다양한 부가가치 통신 서비스를 제공하고, 제어 및 관리하고 있다.In general, a mobile communication network uses an intelligent network (IN), in particular, an SCP (Service Control Point) system to interoperate with external systems to provide various value-added communication services, and to control and manage them.

즉, 이동통신망의 망요소들이 외부 시스템과 연동시 하나의 기능을 위해서 서버 또는 클라이언트로 각각 동작하게 된다.That is, network elements of the mobile communication network operate as a server or a client for one function when interworking with an external system.

그러나, 종래에는 종종 상기 이동통신망의 망요소들이 서버와 클라이언트의 역할을 함께 수행해야 하는 상황이 있을 수 있다.However, in the related art, there may often be a situation in which network elements of the mobile communication network must perform a role of a server and a client together.

또한, 프로세서간 통신을 위해 별도의 기능을 수행하는 서로 다른 프로세서가 각각 서버 또는 클라이언트로 동작함에 따라 불필요한 시스템 자원을 사용할 수 있을 뿐만 아니라 통신상의 동기(Sequence)가 어긋나 이를 맞추기 위한 별도의 기능을 필요로 한다고 하는 문제점이 있었다.In addition, as different processors performing separate functions for inter-processor communication operate as servers or clients, unnecessary system resources can be used, and communication functions are shifted, and a separate function is required. There was problem to say.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 그 목적은 프로세서간 통신 구조에 있어서 하나의 프로세서가 서버와 클라이언트의 역할을 병행하여 동시에 수행함으로써 시스템 자원의 사용을 최적화할 수 있고, 통신상의 동기를 맞추기 위한 별도의 기능을 필요로 하지 않아 통신상의 부하를 최소화할 수 있도록 한 서버/클라이언트 기능을 통합한 프로세서의 통신방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object thereof is to optimize the use of system resources by simultaneously performing a role of a server and a client in a processor-to-processor communication structure, and enabling synchronization in communication. It is to provide a communication method of a processor that integrates a server / client function so that a communication load can be minimized because no separate function is required to fit the system.

도 1은 본 발명에 의한 서버/클라이언트 통합 프로세서와 각 프로세서간의 통신방법을 보여주기 위한 프로세서간 통신 구조도,1 is an interprocessor communication architecture showing a communication method between a server / client integrated processor and each processor according to the present invention;

도 2는 본 발명에 의한 서버/클라이언트 기능을 통합한 프로세서의 통신방법을 보인 동작 흐름도.2 is an operation flowchart showing a communication method of a processor incorporating a server / client function according to the present invention;

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

10 : 서버/클라이언트 프로세서10: Server / Client Processor

20 : 서버 프로세서20: server processor

30 : 클라이언트 프로세서30: client processor

상기와 같은 목적을 달성하기 위한 본 발명의 서버/클라이언트 기능을 통합한 프로세서의 통신방법은, 프로세서간 통신 구조에 있어서 이벤트 감지 정보를 주기적으로 검사하여 자신이 처리해야 하는 이벤트가 있는 경우 서버 또는 클라이언트로 각각 동작하는 서버/클라이언트 통합 프로세서를 구비하는 서버/클라이언트 통합 프로세서 구비 단계와, 상기 서버/클라이언트 통합 프로세서 구비 단계에서 구비된 서버/클라이언트 통합 프로세서에서 이벤트 감지 정보를 검사하는 서버/클라이언트 통합 프로세서에서의 이벤트 감지 정보 검사 단계와, 상기 서버/클라이언트 통합 프로세서의 이벤트 감지 정보 검사 단계의 검사 결과 클라이언트 프로세서로부터 이벤트가 발생한 경우라면 이 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청인지를 확인하는 이벤트 확인 단계와, 상기 이벤트 확인 단계의 확인 결과, 상기 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청인 경우라면 상기 클라이언트 프로세서의 접속 요청을 허용하고 접속 요청이 허용된 상기 클라이언트 프로세서를 이벤트 감시 테이블에 추가하는 접속 허용 및 이벤트 감시 테이블 추가 단계와, 상기 이벤트 확인 단계의 확인 결과, 상기 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청이 아닌 경우라면 상기 클라이언트 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계와, 상기 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계 수행 후, 상기 서버/클라이언트 통합 프로세서가 상기 클라이언트 프로세서가 목적으로 하는 서버 프로세서와 접속되어 있는지 확인하여 서버/클라이언트 통합 프로세서와 서버 프로세서가 접속되어 있으면 상기 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 서버 프로세서로 전송하는 서버 프로세서로의 패킷 전송 단계와, 상기 서버/클라이언트 통합 프로세서의 이벤트 감지 정보 검사 단계의 검사 결과 서버 프로세서로부터 이벤트가 발생한 경우라면 상기 서버 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 서버 프로세서로부터의 패킷 수신 및 처리 단계와, 상기 서버 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 클라이언트 프로세서로 전송하는 클라이언트 프로세서로의 패킷 전송 단계로 이루어지는 것을 특징으로 한다.In the communication method of the processor incorporating the server / client function of the present invention for achieving the above object, the server or the client when there is an event to be processed by periodically checking the event detection information in the interprocessor communication structure A server / client integrated processor including a server / client integrated processor operating in each server; and a server / client integrated processor inspecting event detection information in a server / client integrated processor provided in the server / client integrated processor; If an event is generated from the client processor as a result of the event detection information checking step of the server and the event detection information checking step of the server / client integrated processor, the generated event is transmitted from the client processor to the server / client. An event confirmation step of confirming whether the connection request is to a client integrated processor; and if the generated event is a connection request from the client processor to the server / client integrated processor as a result of the event checking step, A connection granting and event monitoring table adding step of allowing the access request and adding the client processor allowed access request to the event monitoring table; and as a result of confirming the event checking step, the generated event is transmitted to the server / server. Receiving and processing a packet from a client processor that successfully receives and processes a packet transmitted from the client processor if the connection request is not a client integrated processor; After the kit receiving and processing step, the server / client integrated processor checks whether the client processor is connected to the server processor targeted by the client processor. If the server / client integrated processor and the server processor are connected, the packet is received from the client processor. If an event occurs from the server processor as a result of the packet transmission to the server processor for transmitting the packet processed in the processing step to the server processor and the event detection information inspection step of the server / client integrated processor, the server processor transmits the packet to the server processor. Receiving and processing a packet from a server processor that successfully receives and processes the packet, and a client program that transmits the processed packet to the client processor in the receiving and processing packet from the server processor. Packet transmission to the processor.

이하, 첨부된 도면을 참고하여 본 발명에 의한 서버/클라이언트 기능을 통합한 프로세서의 통신방법을 상세히 설명한다.Hereinafter, a communication method of a processor incorporating a server / client function according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 의한 서버/클라이언트 통합 프로세서와 각 프로세서간의 통신방법을 보여주기 위한 프로세서간 통신 구조도로서, 두 개의 이벤트(Event) 감지 정보를 가지고 있으며, 이 이벤트 감지 정보를 주기적으로 검사하여 자신이 처리해야 하는 이벤트가 있는 경우 서버 또는 클라이언트로 각각 동작하는 서버/클라이언트 통합 프로세서(10)와, 상기 서버/클라이언트 통합 프로세서(10)와 프로세서간 통신을 수행하는 경우에 서버로서의 역할을 수행하는 서버 프로세서(20)와, 상기 서버/클라이언트 통합 프로세서(10)와 프로세서간 통신을 수행하는 경우에 클라이언트로서의 역할을 수행하는 클라이언트 프로세서(30)로 구성된다.1 is an interprocessor communication structure diagram for showing a server / client integrated processor and a communication method between the processors according to the present invention, which has two event detection information and periodically inspects the event detection information. When there is an event to be processed, a server / client integrated processor 10 operating as a server or a client respectively, and a server serving as a server when performing communication between the server / client integrated processor 10 and a processor The processor 20 and the server / client integrated processor 10 and the client processor 30 that performs a role as a client when performing inter-processor communication.

상기 서버/클라이언트 통합 프로세서(10)가 가지고 있는 두 개의 이벤트 감지 정보는 서버/클라이언트 통합 프로세서(10)가 상대방 프로세서인 서버 프로세서(20) 및 클라이언트 프로세서(30)의 요청 또는 응답에 대한 동작을 하기 위해 필요한 정보로서, 다음과 같은 경우 그 정보가 생성 또는 삭제된다.The two event detection information possessed by the server / client integrated processor 10 is performed by the server / client integrated processor 10 in response to a request or a response of the server processor 20 and the client processor 30 which are counterpart processors. Information necessary for this purpose is created or deleted in the following cases.

먼저, 생성의 경우는 상기 서버/클라이언트 통합 프로세서(10)가 상기 서버 프로세서(20)로 접속을 하거나 상기 클라이언트 프로세서(30)가 상기 서버/클라이언트 통합 프로세서(10)로 접속을 한 경우이고, 삭제의 경우는 상기 서버/클라이언트 통합 프로세서(10)가 상기 서버 프로세서(20)로의 접속을 해제하거나 상기 클라이언트 프로세서(30)가 상기 서버/클라이언트 통합 프로세서(10)로의 접속을 해제한 경우이다.First, in case of creation, the server / client integrated processor 10 connects to the server processor 20 or the client processor 30 connects to the server / client integrated processor 10. Is a case where the server / client integrated processor 10 releases the connection to the server processor 20 or the client processor 30 releases the connection to the server / client integrated processor 10.

상기와 같이 상기 서버/클라이언트 통합 프로세서(10)는 두 개의 이벤트 감지 정보를 주기적으로 검사하여 자신이 처리해야 할 이벤트가 있으면 정해진 순서와 기능에 따라 동작하게 된다.As described above, the server / client integrated processor 10 periodically checks two event detection information and operates according to a predetermined order and function if there is an event to be processed.

여기서, 상기 이벤트 감지 정보에 있어서 한 개는 TCP/IP 레벨로 상기 클라이언트 프로세서(30)가 상기 서버/클라이언트 통합 프로세서(10)로 접속을 한 경우의 이벤트 감지 정보이고, 나머지 한 개는 어플리케이션(Application) 레벨로 상기 서버 프로세서(20) 또는 클라이언트 프로세서(30)가 상기 서버/클라이언트 통합 프로세서(10)로 메시지, 즉 패킷을 전송한 경우의 이벤트 감지 정보이다.Here, one of the event detection information is event detection information when the client processor 30 is connected to the server / client integrated processor 10 at the TCP / IP level, and the other is an application (Application) Event detection information when the server processor 20 or the client processor 30 transmits a message, that is, a packet, to the server / client integrated processor 10 at the level of &quot;

상기 두 개의 이벤트 감지 정보가 테이블 형태로 구성되어 있기 때문에 시스템이 허용하는 범위 내에서는 연동하는 서버 프로세서와 클라이언트 프로세서의 기능 추가 및 삭제가 가능하다.Since the two event detection information is configured in the form of a table, the functions of the server processor and the client processor can be added and deleted within the range allowed by the system.

상기 도 1에 도시된 바와 같이 구성된 프로세서간 통신 구조에 있어서, 상기 서버/클라이언트 통합 프로세서(10)는 임의의 클라이언트 프로세서(30)로부터 접속 요청을 받을 경우 지속적으로 목적으로 하는 서버 프로세서(20)와의 접속을 시도하고, 이후 접속이 이루어지면 상기 클라이언트 프로세서(30)로부터 패킷을 수신받아 처리한 다음 서버 프로세서(20)로 전송하며, 이때 이러한 패킷 송수신 및 처리 동작을 접속이 해제될 때까지 반복 수행하도록 한다.In the inter-processor communication structure configured as shown in FIG. 1, the server / client integrated processor 10 is continuously connected with the server processor 20 for the purpose of receiving a connection request from any client processor 30. After the connection is attempted, when the connection is established, the packet is received from the client processor 30, processed, and then transmitted to the server processor 20. At this time, the packet transmission and reception operation is repeatedly performed until the connection is released. do.

상기와 같이 구성된 프로세서간 통신 구조에서 이루어지는 본 발명에 의한 서버/클라이언트 기능을 통합한 프로세서의 통신방법을 도 2의 동작 흐름도를 참고하여 보다 상세히 설명하면 다음과 같다.The communication method of the processor incorporating the server / client function according to the present invention made in the interprocessor communication structure configured as described above will be described in more detail with reference to the operation flowchart of FIG. 2.

한편, 본 발명에서 상기 서버/클라이언트 통합 프로세서(10)는 필요에 따라 하나 이상의 서버 프로세서(20) 및 클라이언트 프로세서(30)와도 접속이 가능하고, 이때 서버/클라이언트 통합 프로세서(10)는 자신이 접속하는 각각의 서버 프로세서(20) 및 클라이언트 프로세서(30)에 대한 이벤트 감시 테이블을 따로 관리해야 한다.Meanwhile, in the present invention, the server / client integrated processor 10 may be connected to one or more server processors 20 and client processors 30 as necessary, and the server / client integrated processor 10 may access the server / client integrated processor 10. The event monitoring table for each server processor 20 and client processor 30 to be managed separately.

상기 이벤트 감시 테이블은 소켓(Socket) 통신에서의 폴링(Polling) 테이블을 의미하며, 상기 서버/클라이언트 통합 프로세서(10)가 주기적으로 이벤트 감시 테이블을 검사하여 현재 접속된 서버 프로세서(20)나 클라이언트 프로세서(30)로부터 전송되는 패킷을 수신받아 신속하게 처리하도록 한다.The event monitoring table refers to a polling table in socket communication, and the server / client integrated processor 10 periodically checks the event monitoring table to check the currently connected server processor or client processor. Receive the packet transmitted from the (30) to be processed quickly.

이때, 상기 서버/클라이언트 통합 프로세서(10)의 과부하를 방지하기 위해 상기 이벤트 감시 테이블의 검사 주기를 600msec로 제한한다.At this time, in order to prevent the server / client integrated processor 10 from overloading, the inspection period of the event monitoring table is limited to 600 msec.

먼저, 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)에서 상기 서버/클라이언트 통합 프로세서(10)는 이벤트 감지 정보를 주기적으로 검사하여 상기 클라이언트 프로세서(30)로부터 이벤트가 발생하였는지 판단한다.First, in step S1 of determining whether an event occurs from the client processor 30, the server / client integration processor 10 periodically checks event detection information to determine whether an event has occurred from the client processor 30.

상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)의 판단 결과, 상기 클라이언트 프로세서(30)로부터 이벤트가 발생하였으면 이벤트 확인 단계(S2)로 진행하여 상기 단계(S1)에서 발생된 이벤트가 상기 클라이언트 프로세서(30)에서 상기 서버/클라이언트 통합 프로세서(10)로의 접속 요청인지를 확인하고, 상기 클라이언트 프로세서(30)로부터 이벤트가 발생하지 않았으면 서버 프로세서(20)로부터의 이벤트 발생 여부 판단 단계(S3)로 진행하여 이벤트 감지 정보를 주기적으로 검사하여 상기 서버 프로세서(20)로부터 이벤트가 발생하였는지 판단한다.As a result of determining whether an event has occurred from the client processor 30 (S1), if an event has occurred from the client processor 30, the process proceeds to an event checking step (S2) and the event generated in the step (S1) Checking whether the client processor 30 is a connection request to the server / client integrated processor 10, and if the event does not occur from the client processor 30 determines whether the event occurs from the server processor 20 ( In step S3), event detection information is periodically checked to determine whether an event has occurred from the server processor 20.

상기 이벤트 확인 단계(S2)의 확인 결과, 상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)에서 발생된 이벤트가 상기 클라이언트 프로세서(30)에서 상기 서버/클라이언트 통합 프로세서(10)로의 접속 요청인 경우라면 접속 허용 및 이벤트 감시 테이블 추가 단계(S4)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 클라이언트 프로세서(30)의 접속 요청을 허용하고 접속 요청이 허용된 상기 클라이언트 프로세서(30)를 이벤트 감시 테이블에 추가한다.As a result of confirming the event checking step (S2), an event generated in the determining whether an event occurs from the client processor 30 is connected to the server / client integrated processor 10 in the client processor 30. In case of the request, the server / client integrated processor 10 allows the client processor 30 to request the access request and the access request is allowed. ) To the event monitoring table.

상기 이벤트 확인 단계(S2)의 확인 결과, 상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)에서 발생된 이벤트가 상기 클라이언트 프로세서(30)에서 상기 서버/클라이언트 통합 프로세서(10)로의 접속 요청이 아닌 경우라면 클라이언트 프로세서(30)로부터의 패킷 수신 단계(S5)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 클라이언트 프로세서(30)로부터 전송되는 패킷을 수신한다.As a result of confirming the event checking step (S2), an event generated in the determining whether an event occurs from the client processor 30 is connected to the server / client integrated processor 10 in the client processor 30. If it is not a request, the process of receiving a packet from the client processor 30 proceeds to step S5 and the server / client integration processor 10 receives a packet transmitted from the client processor 30.

상기 클라이언트 프로세서(30)로부터의 패킷 수신 단계(S5) 후에 패킷 수신 성공 여부 판단 단계(S6)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 패킷 수신 단계(S5)에서의 패킷 수신이 성공적으로 이루어졌는지 판단하고, 이때 패킷 수신이 성공적으로 이루어지지 않았으면 이벤트 감시 테이블 삭제 단계(S7)로 진행하여 이벤트 감시 테이블에서 상기 클라이언트 프로세서(30)를 삭제하고, 패킷 수신이 성공적으로 이루어졌으면 패킷 처리 단계(S8)로 진행하여 상기 패킷 수신 단계(S5)에서 수신된 패킷을 적절히 처리한다.After receiving the packet from the client processor 30 (S5), the process of determining whether the packet has been successfully received (S6) proceeds, and the server / client integration processor 10 successfully receives the packet in the packet receiving step (S5). In this case, if the packet reception is not successful, proceed to step S7 of deleting an event monitoring table to delete the client processor 30 from the event monitoring table, and process the packet if the packet reception is successful. Proceeding to step S8, the packet received in the packet receiving step S5 is appropriately processed.

상기 패킷 처리 단계(S8) 후에 목적 서버 프로세서(20)와의 접속 상태 확인 단계(S9)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 클라이언트 프로세서(30)가 목적으로 하는 서버 프로세서(20)와 접속되어 있는지 확인하고, 이때 상기 서버/클라이언트 통합 프로세서(10)와 서버 프로세서(20)가 접속되어 있으면 서버 프로세서(20)로의 패킷 전송 단계(S10)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 패킷 수신 성공 여부 판단 단계(S6)에서 성공적으로 수신받아 상기 패킷 처리 단계(S8)에서 적절히 처리한 패킷을 상기 서버 프로세서(20)로 전송하고, 접속되어 있지 않으면 접속 시도 및 이벤트 감시 테이블 추가 단계(S11)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 서버 프로세서(20)로 접속을 시도하고 이 서버 프로세서(20)를 이벤트 감시 테이블에 추가한 후 상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)로 복귀하여 이하 단계를 반복 수행한다.After the packet processing step S8, the server / client integration processor 10 may proceed to the step S9 of checking the connection state with the target server processor 20. If the server / client integrated processor 10 and the server processor 20 is connected, the process proceeds to the step (S10) of transmitting a packet to the server processor 20, the server / client integrated processor 10 ) Transmits the packet successfully received in the packet reception success determination step (S6) to the server processor 20, and the packet is processed properly in the packet processing step (S8). In step S11, the server / client integrated processor 10 attempts to connect to the server processor 20, and the server processor 20 processes the server processor 20. After adding 20 to the event monitor table repeatedly performs the following steps to return to the event occurrence determining step (S1) from the client processor (30).

한편, 상기 서버 프로세서(20)로부터의 이벤트 발생 여부 판단 단계(S3)의 판단 결과, 상기 서버 프로세서(20)로부터 이벤트가 발생하지 않았으면 상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)로 복귀하여 이하 단계를 반복 수행하고, 이벤트가 발생하였으면 서버 프로세서(20)로부터의 패킷 수신 단계(S12)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 서버 프로세서(20)로부터 전송되는 패킷을 수신한다.On the other hand, as a result of the determination of whether or not the event occurs from the server processor 20 (S3), if the event does not occur from the server processor 20 determines whether the event occurs from the client processor 30 (S1) In step S12, the server / client integration processor 10 transmits the packet from the server processor 20 when the event occurs. Receive a packet.

상기 서버 프로세서(20)로부터의 패킷 수신 단계(S12) 후에 패킷 수신 성공 여부 판단 단계(S13)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 서버 프로세서(20)로부터의 패킷 수신 단계(S12)에서의 패킷 수신이 성공적으로 이루어졌는지 판단하고, 이때 패킷 수신이 성공적으로 이루어지지 않았으면 이벤트 감시 테이블 삭제 단계(S14)로 진행하여 이벤트 감시 테이블에서 상기 서버 프로세서(20)를 삭제한 후 상기 클라이언트 프로세서(30)로부터의 이벤트 발생 여부 판단 단계(S1)로 복귀하여 이하 단계를 반복 수행하고, 패킷 수신이 성공적으로 이루어졌으면 패킷 처리 단계(S15)로 진행하여 상기 서버 프로세서(20)로부터의 패킷 수신 단계(S12)에서 수신된 패킷을 적절히 처리한다.After receiving the packet from the server processor 20 (S12), the process of determining whether the packet has been successfully received (S13) is performed, and the server / client integration processor 10 receives the packet from the server processor 20 (S12). In step S14, it is determined that the packet reception is successfully performed. If the packet reception is not successful, the client proceeds to the event monitoring table deleting step S14 and deletes the server processor 20 from the event monitoring table. Returning to the step S1 of determining whether an event has occurred from the processor 30 and repeating the following steps, and if the packet reception is successful, proceed to the packet processing step S15 to receive a packet from the server processor 20. The packet received in step S12 is appropriately processed.

상기 패킷 처리 단계(S15) 후에 클라이언트 프로세서(30)로의 패킷 전송 단계(S16)로 진행하여 상기 서버/클라이언트 통합 프로세서(10)는 상기 패킷 수신 성공 여부 판단 단계(S13)에서 성공적으로 수신받아 상기 패킷 처리 단계(S15)에서 적절히 처리한 패킷을 상기 클라이언트 프로세서(30)로 전송한다.After the packet processing step S15, the process proceeds to the packet transmission step S16 to the client processor 30, and the server / client integration processor 10 receives the packet successfully in the step S13 of determining whether the packet has been received successfully. The packet appropriately processed in the processing step S15 is transmitted to the client processor 30.

상기 동작과 같이 상기 서버/클라이언트 통합 프로세서(10)는 이벤트 감시 테이블에 있는 서버 프로세서(20)로 패킷을 전송할 때마다 현재의 접속 상태를 확인하여 접속된 경우에만 패킷을 전송하고, 접속이 해제된 경우에는 지속적으로 새로운 접속을 시도한다.As described above, the server / client integrated processor 10 checks the current connection state every time the packet is transmitted to the server processor 20 in the event monitoring table, and transmits the packet only when connected. In this case, a new connection is continuously attempted.

상기에서 설명한 바와 같이, 본 발명은 프로세서간 통신 구조에 있어서 하나의 프로세서가 서버와 클라이언트의 역할을 병행하여 동시에 수행함으로써 시스템 자원의 사용을 최적화할 수 있고, 통신상의 동기를 맞추기 위한 별도의 기능을 필요로 하지 않아 통신상의 부하를 최소화할 수 있게 되는 등, 프로세서간 통신시 제한적이었던 종래의 환경을 보다 자유로운 환경, 즉 다대다(多對多) 구조의 통신 환경을 만들 수 있게 되는 효과가 있다.As described above, the present invention can optimize the use of system resources by simultaneously performing a role of a server and a client in an interprocessor communication structure, and provides a separate function for synchronizing communication. Since it is not necessary to minimize the communication load, there is an effect that it is possible to create a more free environment, that is, a communication environment of many-to-many structure, which is limited in the conventional environment, which is limited in communication between processors.

Claims (4)

프로세서간 통신 구조에 있어서 이벤트 감지 정보를 주기적으로 검사하여 자신이 처리해야 하는 이벤트가 있는 경우 서버 또는 클라이언트로 각각 동작하는 서버/클라이언트 통합 프로세서를 구비하는 서버/클라이언트 통합 프로세서 구비 단계와,A server / client integrated processor including a server / client integrated processor having a server / client integrated processor operating as a server or a client when there is an event to be processed by periodically inspecting event detection information in an interprocessor communication structure; 상기 서버/클라이언트 통합 프로세서 구비 단계에서 구비된 서버/클라이언트 통합 프로세서에서 이벤트 감지 정보를 검사하는 서버/클라이언트 통합 프로세서에서의 이벤트 감지 정보 검사 단계와,An event detection information inspection step of the server / client integration processor inspecting the event detection information in the server / client integration processor provided in the server / client integration processor; 상기 서버/클라이언트 통합 프로세서의 이벤트 감지 정보 검사 단계의 검사 결과 클라이언트 프로세서로부터 이벤트가 발생한 경우라면 이 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청인지를 확인하는 이벤트 확인 단계와,An event checking step of checking whether the generated event is a connection request from the client processor to the server / client integrated processor when an event is generated from the client processor as a result of the inspection of the event detection information checking step of the server / client integrated processor; , 상기 이벤트 확인 단계의 확인 결과, 상기 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청인 경우라면 상기 클라이언트 프로세서의 접속 요청을 허용하고 접속 요청이 허용된 상기 클라이언트 프로세서를 이벤트 감시 테이블에 추가하는 접속 허용 및 이벤트 감시 테이블 추가 단계와,As a result of the event checking step, if the generated event is a connection request from the client processor to the server / client integrated processor, the client processor accepts an access request from the client processor and monitors the client processor for which the access request is allowed. A step of allowing access and event monitoring tables to be added to the table, 상기 이벤트 확인 단계의 확인 결과, 상기 발생된 이벤트가 상기 클라이언트 프로세서에서 상기 서버/클라이언트 통합 프로세서로의 접속 요청이 아닌 경우라면 상기 클라이언트 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계와,As a result of the event checking step, if the generated event is not a request for connection from the client processor to the server / client integrated processor, a packet from the client processor that successfully receives and processes the packet transmitted from the client processor. Receiving and processing steps, 상기 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계 수행 후, 상기 서버/클라이언트 통합 프로세서가 상기 클라이언트 프로세서가 목적으로 하는 서버 프로세서와 접속되어 있는지 확인하여 서버/클라이언트 통합 프로세서와 서버 프로세서가 접속되어 있으면 상기 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 서버 프로세서로 전송하는 서버 프로세서로의 패킷 전송 단계와,After the step of receiving and processing a packet from the client processor, the server / client integrated processor checks whether the server processor is connected to the server processor targeted by the client processor, and if the server / client integrated processor and the server processor are connected, the client processor A packet transmission step to a server processor for transmitting the packet processed in the step of receiving and processing a packet from the server processor, 상기 서버/클라이언트 통합 프로세서의 이벤트 감지 정보 검사 단계의 검사 결과 서버 프로세서로부터 이벤트가 발생한 경우라면 상기 서버 프로세서로부터 전송되는 패킷을 성공적으로 수신하여 처리하는 서버 프로세서로부터의 패킷 수신 및 처리 단계와,Receiving and processing a packet from a server processor that successfully receives and processes a packet transmitted from the server processor when an event is generated from the server processor as a result of the inspection of the event detection information checking step of the server / client integrated processor; 상기 서버 프로세서로부터의 패킷 수신 및 처리 단계에서 처리된 패킷을 클라이언트 프로세서로 전송하는 클라이언트 프로세서로의 패킷 전송 단계로 이루어지는 것을 특징으로 하는 서버/클라이언트 기능을 통합한 프로세서의 통신방법.And a packet transmission step to a client processor for transmitting the packet processed in the step of receiving and processing the packet from the server processor to the client processor. 제1항에 있어서, 상기 클라이언트 프로세서로부터의 패킷 수신 및 처리 단계에서 상기 서버/클라이언트 통합 프로세서가 상기 클라이언트 프로세서로부터 전송되는 패킷을 성공적으로 수신하지 못하였으면 이벤트 감시 테이블에서 상기 클라이언트 프로세서를 삭제하는 이벤트 감시 테이블 삭제 단계를 더 포함하는 것을 특징으로 하는 서버/클라이언트 기능을 통합한 프로세서의 통신방법.2. The event monitoring according to claim 1, wherein the server / client integration processor deletes the client processor from an event monitoring table if the server / client integration processor has not successfully received a packet transmitted from the client processor in the packet receiving and processing step from the client processor. And a table deletion step. The communication method of a processor incorporating a server / client function. 제1항에 있어서, 상기 서버 프로세서로의 패킷 전송 단계에서 상기 서버/클라이언트 통합 프로세서와 서버 프로세서가 접속되어 있지 않으면 상기 서버/클라이언트 통합 프로세서가 상기 서버 프로세서로 접속을 시도하고 이 서버 프로세서를 이벤트 감시 테이블에 추가하는 단계를 더 포함하는 것을 특징으로 하는 서버/클라이언트 기능을 통합한 프로세서의 통신방법.The server / client integrated processor attempts to connect to the server processor and monitors the server processor if the server / client integrated processor and the server processor are not connected in the packet transmission to the server processor. And a step of adding to the table. 제1항에 있어서, 상기 서버 프로세서로부터의 패킷 수신 및 처리 단계에서 상기 서버/클라이언트 통합 프로세서가 상기 서버 프로세서로부터 전송되는 패킷을 성공적으로 수신하지 못하였으면 이벤트 감시 테이블에서 상기 서버 프로세서를 삭제하는 이벤트 감시 테이블 삭제 단계를 더 포함하는 것을 특징으로 하는 서버/클라이언트 기능을 통합한 프로세서의 통신방법.2. The event monitoring of claim 1, wherein the server / client integration processor deletes the server processor from an event monitoring table if the server / client integration processor has not successfully received a packet transmitted from the server processor in the packet receiving and processing step from the server processor. And a table deletion step. The communication method of a processor incorporating a server / client function.
KR10-2000-0066099A 2000-11-08 2000-11-08 Communication method of processor combined server/client function KR100383200B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066099A KR100383200B1 (en) 2000-11-08 2000-11-08 Communication method of processor combined server/client function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066099A KR100383200B1 (en) 2000-11-08 2000-11-08 Communication method of processor combined server/client function

Publications (2)

Publication Number Publication Date
KR20020036101A KR20020036101A (en) 2002-05-16
KR100383200B1 true KR100383200B1 (en) 2003-05-12

Family

ID=19697837

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0066099A KR100383200B1 (en) 2000-11-08 2000-11-08 Communication method of processor combined server/client function

Country Status (1)

Country Link
KR (1) KR100383200B1 (en)

Also Published As

Publication number Publication date
KR20020036101A (en) 2002-05-16

Similar Documents

Publication Publication Date Title
CN109104483B (en) Micro-service dynamic load balancing method and device based on event notification
US20040186918A1 (en) Method and apparatus for dispatching incoming data in a multi-application terminal
KR100516794B1 (en) Agent system
CN108111999B (en) Device sharing request and control method, electronic device and storage medium
KR20050077688A (en) System and method for reestablishing the session between terminal and server
EP3554037A1 (en) Downlink media transmission control method and related device
US8416754B2 (en) Network location based processing of data communication connection requests
KR100383200B1 (en) Communication method of processor combined server/client function
CN115996187A (en) Routing information processing method and device, routing information interaction system and routing equipment
Cisco CWM to CWM Communications
CN112689013A (en) System, method and device for service discovery
EP1941356B1 (en) Electronic apparatus with server device for managing setting data
US20080133683A1 (en) Method of processing open asynchronous application service event and open web service gateway implementing the same
KR20010064956A (en) Communication method of server and client socket
CN113852635B (en) Task processing method, device, terminal equipment and storage medium
CN115190178B (en) Micro-service distribution method, device and equipment
KR102343498B1 (en) System and method for vulnerability check of Internet of Things terminal for a smart factory
KR102608629B1 (en) Local call manager registration system and local call manager registration method
CN116962485A (en) Webpage and applet communication method and device, computer equipment and medium
KR20020040477A (en) Apparatus and Method for managing multi process in computer system
JP2007272717A (en) Information management apparatus and its method
KR20000038701A (en) Method for duplicating error monitoring of distribution processor using internet control message protocol
KR20070006705A (en) Mobile connection broker
CN114172946A (en) Request result sending method and device, electronic equipment and computer readable medium
CN115442089A (en) Message interception method, device, equipment and readable storage medium

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

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee