KR100241557B1 - Data processing method of dual network - Google Patents

Data processing method of dual network Download PDF

Info

Publication number
KR100241557B1
KR100241557B1 KR1019970069299A KR19970069299A KR100241557B1 KR 100241557 B1 KR100241557 B1 KR 100241557B1 KR 1019970069299 A KR1019970069299 A KR 1019970069299A KR 19970069299 A KR19970069299 A KR 19970069299A KR 100241557 B1 KR100241557 B1 KR 100241557B1
Authority
KR
South Korea
Prior art keywords
data
network
reception
received
determination
Prior art date
Application number
KR1019970069299A
Other languages
Korean (ko)
Other versions
KR19990050226A (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 KR1019970069299A priority Critical patent/KR100241557B1/en
Publication of KR19990050226A publication Critical patent/KR19990050226A/en
Application granted granted Critical
Publication of KR100241557B1 publication Critical patent/KR100241557B1/en

Links

Images

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Abstract

본 발명은 네트워크 라인의 이중화시킨 상태에서 동일한 프레임의 데이터가 양 네트워크 라인에 동시에 전송되도록 함으로써 한 쪽 네트워크 라인에 장애가 발생하더라도 다른 네트워크 라인을 통해 업무에 중단 없이 지속적인 데이터 송수신이 가능하게 한 이중화 네트워크의 데이터 송수신 처리 방법에 관한 것이다. 본 발명은 (a) 제 1 및 제 2 네트워크 라인을 통한 데이터의 수신을 대기하는 단계; (b) 적어도 어느 일 측의 네트워크 라인을 통한 데이터의 수신이 있는 경우에는 양 측 모두에 대해 전송된 데이터인 지를 판단하는 단계; (c) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 어느 일 측의 네트워크 라인만에 대해 전송된 데이터인 경우에는 「일 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하는 단계; (d) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 양 측의 네트워크 라인 모두에 대해 전송된 데이터인 경우에는 소정 시간 이내에 나머지의 네트워크 라인을 통해 동일한 데이터가 수신되었는 지를 판단하는 단계; 및 (e) 상기 단계(d)에서의 판단 결과, 상기 소정 시간 이내에 상기 나머지의 네트워크 라인을 통해 동일한 데이터가 수신된 경우에는 「양 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하고, 아무런 데이터도 수신되지 않는 경우에는 「양 측 네트워크중 일 측만 정상 수신」에 해당하는 메시지를 세팅하는 단계를 포함하여 이루어진다.According to the present invention, the data of the same frame is simultaneously transmitted to both network lines in a redundant state of the network line, so that even if a failure occurs in one network line, continuous data transmission and reception is possible without interruption in work through the other network line. It relates to a data transmission and reception processing method. The present invention includes the steps of: (a) waiting for reception of data on the first and second network lines; (b) if there is reception of data through at least one network line, determining whether the data is transmitted for both sides; (c) setting a message corresponding to "one network normal reception" when the currently received data is data transmitted for only one network line as a result of the determination in step (b); (d) if the current received data is data transmitted for both network lines as a result of the determination in step (b), determining whether the same data is received through the remaining network lines within a predetermined time; ; And (e) if the same data is received through the remaining network lines within the predetermined time as a result of the determination in step (d), set a message corresponding to "normal reception of both networks," and set no data. If not, it comprises the step of setting a message corresponding to "normal reception of only one side of both networks."

Description

이중화 네트워크의 데이터 송수신 처리 방법Data Transmission / Reception Process in Redundant Network

본 발명은 이중화 네트워크의 데이터 송수신 처리 방법에 관한 것으로, 특히 클라이언트/서버 환경을 기본으로 하는 응용 소프트웨어에 적용되어 안정적이면서도 데이터의 중단 없이 업무를 처리할 수 있도록 한 이중화 네트워크의 데이터 송수신 처리 방법에 관한 것이다.The present invention relates to a data transmission / reception processing method of a redundant network, and more particularly, to a data transmission / reception processing method of a redundant network that can be applied to application software based on a client / server environment so that it can process business stably without interrupting data. will be.

근래 들어 컴퓨터 통신의 발달에 힘입어서 자신의 컴퓨터와 멀리 떨어진 컴퓨터와 내부 또는 공중 네트워크를 통해 데이터를 주고 받을 수 있는 모델이 제안되어 활발하게 이용되고 있다.Recently, thanks to the development of computer communication, a model that can exchange data with a computer far away from one's own computer and internal or public network has been proposed and actively used.

이러한 컴퓨터 통신 모델 중의 하나로 클라이언트-서버 모델이 있다. 이러한 클라이언트-서버 모델은 정보나 자원을 일원적으로 관리하고 제공하는 역할의 컴퓨터(하드웨어나 소프트웨어)인 서버(Server)와 이러한 서버에 요구하여 정보나 자원을 이용하는 역할의 컴퓨터(하드웨어나 소프트웨어)인 클라이언트(Client)를 LAN(Local Area Network)이나 WAN(Wide Area Network) 등의 네트워크에 의해 연결함으로써 하나의 응용 소프트웨어를 효율적으로 실행하는 방식이다. 클라이언트-서버 모델은 현재 윈도우 시스템이나 데이터베이스 관리 시스템 등에서 보편적으로 채택되고 있으며, 기타 산업용의 각종 감시 및 제어 시스템에서도 클라이언트-서버 모델을 채택하고 있다.One such computer communication model is the client-server model. This client-server model is a server, a computer (hardware or software) that is responsible for centrally managing and providing information or resources, and a client (hardware or software) that is a computer (hardware or software) that is required to use such information or resources. It is a method of efficiently executing one application software by connecting a client by a network such as a local area network (LAN) or a wide area network (WAN). The client-server model is currently widely adopted in window systems and database management systems, and the client-server model is also adopted in various industrial monitoring and control systems.

한편, 감시/제어 시스템은 일반적으로 자체로 독립된 데이터베이스를 구축하여 시스템 구성에 해당하는 엔지니어링 관련 작업 및 설비의 감시/제어를 수행하는 MMI(Man Machine Interface) 노드, 실제 현장의 입출력 접점 값을 읽어들이거나 제어 신호를 출력하는 리얼타임 운영체제를 탑재한 컨트롤 노드, 그와 연결된 각종 현장 장치 및 작업자에게 각 사건의 상황을 전달하는 경보/통보 장치로 구성될 수 있다.On the other hand, the monitoring / control system generally builds its own independent database to read the MMI (Man Machine Interface) node that performs the monitoring / control of engineering-related tasks and facilities corresponding to the system configuration, and reads input / output contact points of actual sites. Or a control node equipped with a real-time operating system for outputting a control signal, various field devices connected thereto, and an alarm / notification device for conveying the status of each event to an operator.

도 1의 종래의 클라이언트/서버 네트워크 모델에 대한 하드웨어 구성도이다. 도 1에 도시한 바와 같이, 종래의 클라이언트/서버 네트워크 모델에서는 대표적인 LAN의 일종인 이서넷(Ethernet) 등의 단일의 네트워크 라인(4)에 각종 퍼스널 컴퓨터(이하, 간단하게 PC라고 하다)(1)나 워크 스테이션(2) 및 네트워크 기능을 갖는 각종 장치류, 예를 들어 프로그래머블 로직 컨트롤러(Programmable Logic Controller, 이하 간단하게 PLC라고 한다)(3) 등이 접속되어 이루어진다. 그리고, 전술한 네트워크 라인(4) 상의 모든 장치(1),(2),(3)에는 각각 하나씩의 네트워크 카드(5)가 장착되어 있어서 네트워크 라인(4)을 통한 데이터의 송수신을 가능하게 한다. 데이터의 송수신의 주된 내용은 주로 클라이언트 측의 데이터 요구에 대해 서버 측에서 데이터를 제공으로 식으로 진행된다.Hardware diagram of the conventional client / server network model of FIG. As shown in Fig. 1, in the conventional client / server network model, various personal computers (hereinafter, simply referred to as PCs) are connected to a single network line 4 such as Ethernet, which is a representative LAN. ), A workstation 2 and various devices having a network function, for example, a programmable logic controller (hereinafter simply referred to as a PLC) 3 and the like. In addition, all devices 1, 2, and 3 on the above-described network line 4 are each equipped with one network card 5 to enable transmission and reception of data through the network line 4. . The main content of data transmission and reception proceeds mainly by providing data on the server side for data requests on the client side.

따라서, 만일 단일 네트워크 라인의 단락이나 접속 불량 등의 장애가 발생하거나 또는 네트워크 카드에 고장이 발생하면 네트워크 라인을 통한 데이터의 송수신이 사실상 불가능, 즉 클라이언트가 서버로부터 더 이상의 서비스를 제공받지 못하게 된다. 더욱이 어떤 원인으로 인해 네트워크에 문제가 발생했는 지를 진단하는 것도 어렵게 된다.Therefore, if a failure such as a short circuit or poor connection of a single network line or a failure occurs in the network card, transmission and reception of data through the network line is virtually impossible, that is, the client cannot receive any further service from the server. Furthermore, it is difficult to diagnose what caused the network problems.

이러한 경우에 결과적으로는 클라이언트/서버로서의 기능은 상실되기 때문에 추후에 네트워크 장애를 감지한 후에 다시 프로그램을 구동시켜야만 하는 문제점이 있었다. 물론 네트워크의 장애 발생 시간과 다시 프로그램을 구동시키는 시간 동안은 클라이언트와 서버 간의 데이터의 송수신 자체가 불가능해지는 문제점이 있었다. 이와 같이 클라이언트/서버 환경 하에서의 네트워크는 시스템의 전반에 걸쳐서 영향을 미치기 때문에 네트워크가 정상적으로 복구되기 까지의 업무 마비로 인한 경제적인 손실도 이에 비례하여 커지게 되는 문제점이 있었다. 특히 해당 프로그램이 매우 중요한 업무에 적용되고 있다면 네트워크 장애는 실 사용자에게 커다란 부담을 안겨 주는 문제점이 있었다.In this case, as a result, the client / server function is lost. Therefore, the program has to be restarted after detecting a network failure. Of course, there was a problem that the transmission and reception of data between the client and the server itself was impossible during the time when the network failure occurred and the time when the program was run again. As such, the network under the client / server environment affects the system as a whole, so that the economic loss due to the paralysis until the network is normally restored has a problem that increases proportionally. In particular, if the program is applied to a very important task, the network failure has a problem that puts a heavy burden on the real user.

이러한 문제점을 감안하여 각 장치류와 연결되는 네트워크 라인을 이중화시킨 소위 듀플렉스(Duplex)형의 이중화 네트워크 모델이 제안되어 있다. 이러한 듀플렉스형 이중화 네트워크 모델에서는 평상 시에는 하나의 네트워크 라인만을 사용하다가 이 네트워크 라인에 장애가 발생한 경우에만 다른 네트워크 라인을 사용하게 되는데, 네트워크 라인을 인계하는 동안에는 데이터의 손실이 발생하기 때문에 중요한 문제를 다루는 응용소프트웨어에서는 채택하기가 부담스러운 문제점이 있었다.In consideration of these problems, a so-called duplex-typed redundant network model in which network lines connected to respective devices are duplicated has been proposed. In this duplex redundant network model, only one network line is normally used, but the other network line is used only when the network line fails, and data loss occurs while the network line is taken over. In application software, there was a problem that it was difficult to adopt.

본 발명은 전술한 문제점을 해결하기 위하여 안출된 것으로서, 네트워크 라인의 이중화시킨 상태에서 동일한 프레임의 데이터가 양 네트워크 라인에 동시에 전송되도록 함으로써 한 쪽 네트워크 라인에 장애가 발생하더라도 다른 네트워크 라인을 통해 업무에 중단 없이 지속적인 데이터 송수신이 가능하게 한 이중화 네트워크의 데이터 송수신 처리 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and in the redundant state of the network line, data of the same frame is simultaneously transmitted to both network lines, thereby interrupting work through another network line even if one network line fails. It is an object of the present invention to provide a data transmission / reception processing method of a redundant network that enables continuous data transmission / reception without an error.

전술한 목적을 달성하기 위한 본 발명은 클라이언트/서버 모델을 구성하는 각종 장치류를 제 1 및 제 2의 두 개의 네트워크 라인으로 연결하여서 된 이중화 네트워크의 데이터 송수신 처리 방법에 있어서, (a) 상기 제 1 및 제 2 네트워크 라인을 통한 데이터의 수신을 대기하는 단계; (b) 적어도 어느 일 측의 네트워크 라인을 통한 데이터의 수신이 있는 경우에는 양 측 모두에 대해 전송된 데이터인 지를 판단하는 단계; (c) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 어느 일 측의 네트워크 라인만에 대해 전송된 데이터인 경우에는 「일 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하는 단계; (d) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 양 측의 네트워크 라인 모두에 대해 전송된 데이터인 경우에는 소정 시간 이내에 나머지의 네트워크 라인을 통해 동일한 데이터가 수신되었는 지를 판단하는 단계; 및 (e) 상기 단계(d)에서의 판단 결과, 상기 소정 시간 이내에 상기 나머지의 네트워크 라인을 통해 동일한 데이터가 수신된 경우에는 「양 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하고, 아무런 데이터도 수신되지 않는 경우에는 「양 측 네트워크중 일 측만 정상 수신」에 해당하는 메시지를 세팅하는 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention for achieving the above object is a data transmission / reception processing method of a redundant network by connecting a variety of devices constituting the client / server model to the first and second two network lines, (a) the Waiting for reception of data on the first and second network lines; (b) if there is reception of data through at least one network line, determining whether the data is transmitted for both sides; (c) setting a message corresponding to "one network normal reception" when the currently received data is data transmitted for only one network line as a result of the determination in step (b); (d) if the current received data is data transmitted for both network lines as a result of the determination in step (b), determining whether the same data is received through the remaining network lines within a predetermined time; ; And (e) if the same data is received through the remaining network lines within the predetermined time as a result of the determination in step (d), set a message corresponding to "normal reception of both networks," and set no data. If not received, characterized in that it comprises the step of setting a message corresponding to "normal reception of only one side of both networks."

전술한 구성에서, 상기 단계(e)에서 나머지의 네트워크 라인을 통해 새로운 데이터가 수신된 경우에는 「양 측 네트워크중 일 측만 정상 수신」에 해당하는 메시지를 세팅한다. 또한, 상기 단계(b)에서의 판단은 데이터의 헤더(Header) 정보를 분석하여 수행될 수 있다.In the above configuration, when new data is received through the remaining network lines in step (e), a message corresponding to "normal reception of only one of both networks" is set. In addition, the determination in step (b) may be performed by analyzing header information of the data.

도 1의 종래의 클라이언트/서버 네트워크 모델에 대한 하드웨어 구성도,Hardware diagram of the conventional client / server network model of FIG. 1,

도 2는 본 발명의 이중화 네트워크의 데이터 송수신 처리 방법이 적용되는 클라이언트/서버 네트워크 모델에 대한 하드웨어 구성도,2 is a hardware configuration diagram of a client / server network model to which a data transmission / reception processing method of a redundant network of the present invention is applied;

도 3은 본 발명의 이중화 네트워크의 데이터 송수신 처리 방법을 설명하기 위한 플로우차트이다.3 is a flowchart for explaining a data transmission / reception processing method of a redundant network of the present invention.

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

1: PC, 2: 워크 스테이션,1: PC, 2: workstation,

3: PLC, 4: 네트워크 라인,3: PLC, 4: network line,

5: 네트워크 카드, 10: 제 1 네트워크 라인,5: network card, 10: first network line,

11: 제 2 네트워크 라인, 12: 제 1 네트워크 카드,11: second network line, 12: first network card,

13: 제 2 네트워크 카드13: 2nd network card

이하에는 첨부한 도면을 참조하여 본 발명의 양호한 실시예에 따른 이중화 네트워크의 데이터 송수신 처리 방법에 대해서 상세하게 설명한다.Hereinafter, a data transmission / reception processing method of a redundant network according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 이중화 네트워크의 데이터 송수신 처리 방법이 적용되는 클라이언트/서버 네트워크 모델에 대한 하드웨어 구성도인 바, 도 1에 도시한 부분과 동일한 부분에는 동일한 참조 번호를 부여하고 상세한 설명은 생략한다. 도 2에서 참조 번호 10은 제 1 네트워크 라인을 나타내고, 11은 제 2 네트워크 라인을 나타내는 바, 본 발명에서는 전술한 문제점을 해결하기 위해 이와 같이 네트워크 라인을 이중화시키고 있다. 또한, 이러한 이중화 네트워크를 뒷받침하기 위해 PC(1)나 워크 스테이션(2) 등의 각종 컴퓨터 및 네트워크 기능을 갖는 PLC(3) 등에는 각각 두 개씩의 네트워크 카드(12),(13)가 장착되어 있다.FIG. 2 is a hardware configuration diagram of a client / server network model to which a data transmission / reception processing method of a redundant network of the present invention is applied. The same reference numerals are given to the same parts as those shown in FIG. . In FIG. 2, reference numeral 10 denotes a first network line, and 11 denotes a second network line. Thus, in order to solve the above-described problem, the present invention duplicates the network line. In addition, in order to support such a redundant network, two network cards 12 and 13 are mounted on each of the PCs 1 and the workstations 2 and the PLC 3 having a network function. have.

이와 같이 본 발명에서는 네트워크에 여유를 두어 두 개의 네트워크 라인 중에서 어느 하나의 라인에 장애가 발생하더라도 나머지 하나의 네트워크 라인으로 데이터의 송수신이 가능하게 된다. 또한 전술한 제 1 및 제 2 네트워크 라인(10),(11)에는 종래의 듀플렉스형과는 다르게 항상 동일한 프레임이 동시에 전송된다. 즉, 양쪽 네트워크 라인(10),(11)이 모두 액티브된 상태로 동작하게 된다.As described above, in the present invention, even if a fault occurs in any one of two network lines by allowing a network, data can be transmitted and received to the other network line. In addition, unlike the conventional duplex type, the same frame is always transmitted to the first and second network lines 10 and 11 described above. That is, both network lines 10 and 11 operate in an active state.

아래의 표 1은 본 발명에 따른 이중화 네트워크 라인의 송수신 처리모듈의 소프트웨어 구성을 보이고 있다.Table 1 below shows the software configuration of the transmission and reception processing module of the redundant network line according to the present invention.

이중화 처리 레이어Redundant Processing Layer 제 1 송수신 처리 레이어First transmit / receive processing layer 제 2 송수신 처리 레이어Second transmit / receive processing layer 제 1 송수신 버퍼First transmit / receive buffer 제 2 송수신 버퍼Second transmit and receive buffer 제 1 네트워크 레이어First network layer 제 2 네트워크 레이어Second network layer

표 1에 나타낸 바와 같이, 본 발명에 따른 이중화 네트워크 라인의 송수신 처리모듈의 소프트웨어는 제 1 네트워크 라인(10)을 통한 통신을 담당하는 제 1 네트워크 레이어, 제 1 네트워크 라인(10)을 통해 송수신될 데이터를 일시 저장하는 제 1 송수신 버퍼, 제 1 송수신 버퍼를 통한 데이터의 송수신 처리를 담당하는 제 1 송수신 처리 레이어,제 2 네트워크 라인(11)을 통한 통신을 담당하는 제 2 네트워크 레이어, 제 2 네트워크 라인(11)을 통해 송수신될 데이터를 일시 저장하는 제 2 송수신 버퍼, 제 2 송수신 버퍼를 통한 데이터의 송수신 처리를 담당하는 제 2 송수신 처리 레이어 및 상기 제 1 및 제 2 송수신 처리 레이어에서 처리된 데이터를 미리 정해진 규칙에 의해 처리하여 적절한 데이터를 선택하는 단일의 이중화 처리 레이어로 이루어진다.As shown in Table 1, the software of the transmission / reception processing module of the redundant network line according to the present invention may be transmitted / received through the first network layer, the first network line 10 in charge of the communication through the first network line 10. A first transmission / reception buffer for temporarily storing data, a first transmission / reception processing layer responsible for transmitting / receiving data through the first transmission / reception buffer, a second network layer for communication over the second network line 11, a second network A second transmission / reception buffer for temporarily storing data to be transmitted / received via line 11, a second transmission / reception processing layer responsible for the transmission / reception of data through the second transmission / reception buffer, and data processed by the first and second transmission / reception processing layers It consists of a single redundancy processing layer that processes according to a predetermined rule to select the appropriate data.

전술한 구성에서, 이중화 처리 레이어의 데이터 선택 규칙은, 예를 들어 양쪽 네트워크 라인(10),(11)에서 모두 동일한 데이터를 수신했을 때만 정상 데이터로 간주하고 이 경우에 제 1 네트워크 라인(10)을 통한 프레임을 최종 데이터로 결정하며, 한 쪽 네트워크 라인으로만 데이터를 수신했을 때는 장애가 발생한 네트워크 라인에 대한 에러 체크 후에 적절한 처리를 행하는 것 등이 될 수 있다.In the above-described configuration, the data selection rule of the redundancy processing layer is regarded as normal data only when, for example, both network lines 10 and 11 receive the same data, and in this case, the first network line 10 The final frame is determined as the final data, and when data is received through only one network line, an appropriate process may be performed after an error check on the failed network line.

도 3은 본 발명의 이중화 네트워크의 데이터 송수신 처리 방법을 설명하기 위한 플로우차트이다. 도 3에 도시한 바와 같이, 단계(S10)에서 제 1 송수신 버퍼(P_B) 및 제 2 송수신 버퍼(S_B) 각각은 동시에 데이터를 수신하기 위해 대기한다. 이렇게 대기 중인 상태에서 단계(S12)에서는 각각의 송수신 버퍼(P_B),(S_B)에 데이터가 수신되었는 지를 판단한다. 단계(S12)에서 송수신 버퍼(P_B),(S_B) 중 적어도 어느 하나에 데이터가 수신된 경우에는 단계(S14)로 진행하여 현재 수신된 데이터가 양쪽 송수신 버퍼(P_B),(S_B) 모두에 대해 전송된 것인 지를 판단한다. 이 단계(S14)는 수신된 데이터의 헤더(Header) 정보를 분석하여 수행될 수 있다.3 is a flowchart for explaining a data transmission / reception processing method of a redundant network of the present invention. As shown in FIG. 3, in step S10, each of the first transmit / receive buffer P_B and the second transmit / receive buffer S_B waits to receive data at the same time. In this waiting state, step S12 determines whether data has been received in each of the transmission and reception buffers P_B and S_B. If data is received in at least one of the transmit / receive buffers P_B and S_B in step S12, the flow proceeds to step S14, where the currently received data is stored in both transmit / receive buffers P_B and S_B. Determine if it was sent. This step S14 may be performed by analyzing header information of the received data.

단계(S14)에서 수신된 데이터가 양쪽 송수신 버퍼(P_B),(S_B)에 대해 전송된 것이 아닌 경우, 즉 어느 한 쪽 버퍼만을 대상으로 전송된 데이터인 경우에는 단계(S16)로 진행하여 「한쪽 네트워크 정상 수신」에 해당하는 메시지를 세팅하여 이를 이중화 처리 레이어로 보낸다. 단계(S14)에서의 판단 결과, 현재 수신된 데이터가 양쪽 송수신 버퍼(P_B),(S_B) 모두를 대상으로 전송된 데이터인 경우에는 단계(S20)로 진행하여 이미 데이터를 수신한 송수신 버퍼는 대기 상태로 있게 된다.If the data received in step S14 is not transmitted to both transmit / receive buffers P_B and S_B, that is, the data is transmitted to only one of the buffers, the process proceeds to step S16 to indicate that Set the message corresponding to "normal network reception" and send it to the redundancy processing layer. As a result of the determination in step S14, if the currently received data is data transmitted to both the transmission / reception buffers P_B and S_B, the process proceeds to step S20 and the transmission / reception buffer which has already received the data waits. Will be in a state.

다음, 단계(S22) 및 단계(S28)에서는 데이터를 수신하지 못한 나머지 송수신 버퍼가 동일 프레임의 데이터를 소정 시간(t) 이내에 수신하였는 지를 판단한다. 단계(S22)에서 나머지 버퍼에서 동일 프레임의 데이터를 수신한 경우에는 단계(S24)로 진행하여 「양쪽 네트워크 정상 수신」에 해당하는 메시지를 세팅한 후에 이를 이중화 처리 레이어로 보낸다. 반면에 단계(S22)에서의 판단 결과, 나머지 버퍼에서 동일 프레임의 데이터가 수신되지 않은 경우에는 단계(S26)로 진행하여 새로운 프레임의 데이터라도 수신되었는 지를 판단한다. 단계(S26)에서의 판단 결과, 나머지 버퍼에 새로운 프레임의 데이터가 수신된 경우에는 단계(S30)로 진행하여 「양쪽 네트워크중 한쪽 프레임 수신」에 해당하는 메시지를 세팅하고 먼저 수신된 프레임을 이중화 처리 레이어로 보낸다. 단계(S22), 단계(S26) 및 단계(S28)에서의 판단 결과, 소정의 시간(t)이 경과하도록 나머지 버퍼에서 새로운 프레임의 데이터 조차도 수신되지 않은 경우에는 단계로 진행하여 「양쪽 네트워크중 한쪽 프레임 수신」에 해당하는 메시지를 세팅하고 한쪽 버퍼에서 수신된 프레임을 이중화 처리 레이어로 보낸다.Next, in steps S22 and S28, it is determined whether the remaining transmission / reception buffers that have not received data have received data of the same frame within a predetermined time t. When the data of the same frame is received in the remaining buffers in step S22, the process proceeds to step S24, after setting a message corresponding to "normal network reception", and sends it to the duplication processing layer. On the other hand, when the determination result in step S22, if the data of the same frame is not received in the remaining buffer, the process proceeds to step S26 to determine whether the data of the new frame is received. As a result of the determination in step S26, when the data of the new frame is received in the remaining buffer, the flow advances to step S30 to set a message corresponding to "receive one frame of both networks" and duplicate the first received frame. Send it to the layer. As a result of the determination in step S22, step S26 and step S28, if even the data of the new frame is not received in the remaining buffer for a predetermined time t, the process proceeds to the step "one of both networks. Set the message corresponding to "Receive frame" and send the frame received from one buffer to the redundancy layer.

본 발명의 이중화 네트워크의 데이터 송수신 처리 방법은 전술한 실시예에 국한되지 않고, 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수가 있다. 즉, TCP/IP와 이서넷(Ethernet)을 네트워크로 하는 모든 응용소프트웨어의 네트워크에 대해 널리 적용할 수 있다.The data transmission / reception processing method of the redundant network of the present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the technical idea of the present invention. In other words, it can be widely applied to the network of all application software that uses TCP / IP and Ethernet.

이상에서 설명한 바와 같은 본 발명의 이중화 네트워크의 데이터 송수신 처리 방법에 따르면, 네트워크 라인의 이중화를 구현함으로써 한 쪽 네트워크 라인에 장애가 발생하더라도 다른 네트워크 라인을 통해 업무에 중단 없이 지속적인 데이터 송수신이 가능하게 한다.According to the data transmission and reception processing method of the redundant network of the present invention as described above, by implementing the redundancy of the network line, even if a failure occurs in one network line, it is possible to continuously transmit and receive data through the other network line without interruption.

또한 이중화된 네트워크 라인에 동일한 프레임의 데이터가 동시에 전송되도록 함으로써 기존의 듀플렉스형의 이중화 네트워크와 비교할 때 네트워크 라인의 인계 과정에서의 데이터의 손실이 없고, 이에 따라 중요한 업무를 처리하는 통신 모델에 양호하게 적용될 수 있는 효과가 있다.In addition, the data of the same frame is simultaneously transmitted to the redundant network line, so that there is no loss of data in the process of taking over the network line as compared with the duplex network of the existing duplex type, and thus it is good for the communication model that handles important tasks. There is an effect that can be applied.

Claims (3)

클라이언트/서버 모델을 구성하는 각종 장치류를 제 1 및 제 2의 두 개의 네트워크 라인으로 연결하여서 된 이중화 네트워크의 데이터 송수신 처리 방법에 있어서,In the data transmission / reception processing method of a redundant network in which various devices constituting the client / server model are connected by two first and second network lines, (a) 상기 제 1 및 제 2 네트워크 라인을 통한 데이터의 수신을 대기하는 단계;(a) waiting to receive data on the first and second network lines; (b) 적어도 어느 일 측의 네트워크 라인을 통한 데이터의 수신이 있는 경우에는 양 측 모두에 대해 전송된 데이터인 지를 판단하는 단계;(b) if there is reception of data through at least one network line, determining whether the data is transmitted for both sides; (c) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 어느 일 측의 네트워크 라인만에 대해 전송된 데이터인 경우에는 「일 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하는 단계;(c) setting a message corresponding to "one network normal reception" when the currently received data is data transmitted for only one network line as a result of the determination in step (b); (d) 상기 단계(b)에서의 판단 결과, 현재 수신된 데이터가 양 측의 네트워크 라인 모두에 대해 전송된 데이터인 경우에는 소정 시간 이내에 나머지의 네트워크 라인을 통해 동일한 데이터가 수신되었는 지를 판단하는 단계; 및(d) if the current received data is data transmitted for both network lines as a result of the determination in step (b), determining whether the same data is received through the remaining network lines within a predetermined time; ; And (e) 상기 단계(d)에서의 판단 결과, 상기 소정 시간 이내에 상기 나머지의 네트워크 라인을 통해 동일한 데이터가 수신된 경우에는 「양 측 네트워크 정상 수신」에 해당하는 메시지를 세팅하고, 아무런 데이터도 수신되지 않는 경우에는 「양 측 네트워크중 일 측만 정상 수신」에 해당하는 메시지를 세팅하는 단계를 포함하여 이루어진 것을 특징으로 하는 이중화 네트워크의 데이터 송수신 처리 방법.(e) If the same data is received through the remaining network lines within the predetermined time as a result of the determination in step (d), set a message corresponding to the "normal reception of both networks" and receive no data. If not, the method comprising the step of setting a message corresponding to "only one side of both networks normal reception" data transmission and reception processing method comprising a. 제 1 항에 있어서, (e') 상기 단계(e)에서 나머지의 네트워크 라인을 통해 새로운 데이터가 수신된 경우에는 「양 측 네트워크중 일 측만 정상 수신」에 해당하는 메시지를 세팅하는 단계를 더 포함하여 이루어진 것을 특징으로 하는 이중화 네트워크의 데이터 송수신 처리 방법.The method of claim 1, further comprising: (e ') setting a message corresponding to "normal reception of only one of both networks" when new data is received through the remaining network lines in step (e). Data transmission and reception processing method of a redundant network, characterized in that made. 제 1 항 또는 제 2 항에 있어서, 상기 단계(b)에서의 판단은 데이터의 헤더(Header) 정보를 분석하여 수행되는 것을 특징으로 하는 이중화 네트워크의 데이터 송수신 처리 방법.The method according to claim 1 or 2, wherein the determination in step (b) is performed by analyzing header information of the data.
KR1019970069299A 1997-12-16 1997-12-16 Data processing method of dual network KR100241557B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970069299A KR100241557B1 (en) 1997-12-16 1997-12-16 Data processing method of dual network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970069299A KR100241557B1 (en) 1997-12-16 1997-12-16 Data processing method of dual network

Publications (2)

Publication Number Publication Date
KR19990050226A KR19990050226A (en) 1999-07-05
KR100241557B1 true KR100241557B1 (en) 2000-02-01

Family

ID=19527468

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970069299A KR100241557B1 (en) 1997-12-16 1997-12-16 Data processing method of dual network

Country Status (1)

Country Link
KR (1) KR100241557B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100447957B1 (en) * 2000-01-26 2004-09-08 엘지전자 주식회사 Method for Duplex Management of Subscriber Management System having Single-Mode Duplex Structure in Mobile Communication Network
KR20030041279A (en) * 2001-11-19 2003-05-27 엘지전자 주식회사 Redundancy network system and method
KR100810416B1 (en) * 2006-06-05 2008-03-04 주식회사 케이티프리텔 System for duplicating a data channel and processing method for enterprise application integration solution using the same

Also Published As

Publication number Publication date
KR19990050226A (en) 1999-07-05

Similar Documents

Publication Publication Date Title
KR100575497B1 (en) Fault tolerant computer system
US5566299A (en) Fault tolerant method and system for high availability document image and coded data processing
JPH03106144A (en) Mutual connection of network modules
US20020147823A1 (en) Computer network system
US6357033B1 (en) Communication processing control apparatus and information processing system having the same
KR100241557B1 (en) Data processing method of dual network
US6370654B1 (en) Method and apparatus to extend the fault-tolerant abilities of a node into a network
JP4224766B2 (en) Plant information collection device
JP2996501B2 (en) Equipment control method and device
KR20000033935A (en) Method for overcoming ethernet communication fault in duplicated switching system
CN112667428A (en) BMC fault processing circuit, method and device, electronic equipment and storage medium
KR960011136B1 (en) Network dualization and its method
KR100191678B1 (en) Inspection method of network for duplicating communication network
JP3149047B2 (en) Redundant data processor
JP3341712B2 (en) Switching unit failure handling method
JPH07152662A (en) Communication system
JP2575943B2 (en) Data transmission equipment
US7724642B2 (en) Method and apparatus for continuous operation of a point-of-sale system during a single point-of-failure
KR100277830B1 (en) Device for managing redundancy of base station in mobile communication system and method of changing its operation
JPH0427239A (en) Control method for lan connecting device
KR0121970B1 (en) Common-bus managing method in an exchanger
JPH0730981A (en) Duplex system control system
JPH09160875A (en) Multi-agent mutual back-up system
JP2605507B2 (en) Data restoration method
JPH10107792A (en) Server monitor

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

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee