KR100930194B1 - Communication status analysis device and method - Google Patents

Communication status analysis device and method Download PDF

Info

Publication number
KR100930194B1
KR100930194B1 KR1020070093734A KR20070093734A KR100930194B1 KR 100930194 B1 KR100930194 B1 KR 100930194B1 KR 1020070093734 A KR1020070093734 A KR 1020070093734A KR 20070093734 A KR20070093734 A KR 20070093734A KR 100930194 B1 KR100930194 B1 KR 100930194B1
Authority
KR
South Korea
Prior art keywords
communication
computer
slave
master device
data
Prior art date
Application number
KR1020070093734A
Other languages
Korean (ko)
Other versions
KR20090028259A (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 KR1020070093734A priority Critical patent/KR100930194B1/en
Publication of KR20090028259A publication Critical patent/KR20090028259A/en
Application granted granted Critical
Publication of KR100930194B1 publication Critical patent/KR100930194B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering

Abstract

본 발명은 하나의 마스터 기기와 복수의 슬레이브 기기들이 통신케이블로 연결되어 통신을 수행하는 통신시스템에서 마스터 기기와 복수의 슬레이브 기기들이 상호간에 전송하는 통신데이터를 수집하여 정상으로 통신을 수행하고 있는지의 여부를 분석하는 것으로서 컴퓨터에 연결된 슬레이브 기기가 컴퓨터로부터 입력되는 명령에 따라 통신상태의 분석기능을 설정하고, 통신상태의 분석기능을 설정한 슬레이브 기기는 통신 케이블을 통해 전송되는 통신데이터를 수신하며, 수신한 통신 데이터를 ASCII(America Standard Code for Information Interchange) 코드로 변환하여 컴퓨터로 전송하는 것으로서 컴퓨터는 통신 데이터를 화면에 표시하여 사용자가 통신상태를 분석한다.The present invention is a communication system in which one master device and a plurality of slave devices are connected by a communication cable to perform communication by collecting communication data transmitted from each other by the master device and the plurality of slave devices. By analyzing whether or not the slave device connected to the computer sets the analysis function of the communication status according to the command input from the computer, the slave device that set the communication status analysis function receives the communication data transmitted through the communication cable, It converts the received communication data into American Standard Code for Information Interchange (ASCII) code and transmits it to the computer. The computer displays the communication data on the screen and the user analyzes the communication status.

통신시스템, 통신분석, 분석기, 미스터, 슬레이브, 통신상태분석 Communication system, communication analysis, analyzer, mr, slave, communication status analysis

Description

통신상태 분석장치 및 방법{Apparatus and method for analysing communication state}Apparatus and method for analysing communication state}

본 발명은 하나의 마스터 기기와 복수의 슬레이브 기기들이 통신케이블로 연결되어 통신하는 통신 시스템에서 하나의 마스터 기기와 복수의 슬레이브 기기들이 상호간에 전송하는 통신데이터를 분석하는 통신상태 분석장치 및 방법에 관한 것이다.The present invention relates to a communication state analysis apparatus and method for analyzing communication data transmitted from one master device and a plurality of slave devices to each other in a communication system in which one master device and a plurality of slave devices are connected by a communication cable. will be.

일반적으로 통신 시스템은 하나의 마스터 기기와 복수의 슬레이브 기기가 통신케이블로 연결되어 상호간에 통신을 수행한다. 상기 마스터 기기는 예를 들면, PLC(Programmable Logic Controller) 및 컴퓨터 등으로서 복수의 슬레이브 기기에 통신의 수행을 요청한다. 그리고 상기 복수의 슬레이브 기기들은 상기 마스터 기기의 통신 요청이 자신에 해당되는 것일 경우에 마스터 기기가 요청한 통신에 대한 응답을 수행한다.In general, in a communication system, a master device and a plurality of slave devices are connected with a communication cable to perform communication with each other. The master device requests a plurality of slave devices to perform communication, for example, as a programmable logic controller (PLC), a computer, or the like. When the communication request of the master device corresponds to the plurality of slave devices, the plurality of slave devices perform a response to the communication requested by the master device.

이러한 통신 시스템에 있어서, 마스터 기기와 복수의 슬레이브 기기들이 정 상을 통신을 수행하고 있는지의 여부를 분석할 필요가 있다. 통신시스템의 통신상태를 분석하기 위하여 통신케이블에 분석장치를 연결하거나 또는 마스터 기기에 분석장치를 내장하여 통신상태를 분석하고 있다. 즉, 마스터 기기는 내장되어 있는 메모리의 용량이 슬레이브 기기에 내장되어 있는 메모리의 용량보다 크고, 또한 마스터 기기에 내장되어 있는 중앙처리장치의 처리 능력은 슬레이브 기기에 내장되어 있는 중앙처리장치의 처리 능력보다 크므로 마스터 기기에 분석장치를 내장하여 통신상태를 분석하고 있다.In such a communication system, it is necessary to analyze whether the master device and the plurality of slave devices are performing normal communication. In order to analyze the communication status of the communication system, the analysis device is connected to the communication cable or the analysis device is embedded in the master device to analyze the communication status. That is, the master device has a larger capacity of the built-in memory than that of the slave device, and the processing power of the central processing unit built into the master device is higher than that of the central processing unit built into the slave device. Since it is larger, the analysis device is embedded in the master device to analyze the communication status.

이러한 종래의 기술을 도 1 내지 도 4의 도면을 참조하여 상세히 설명한다.This conventional technique will be described in detail with reference to the drawings of FIGS. 1 to 4.

도 1은 종래의 통신케이블에 분석장치로 오실로스코프를 연결하여 통신상태를 분석하는 일 실시 예의 구성을 보인 도면이다. 여기서, 부호 100은 통신을 요청하는 마스터 기기이고, 부호 110은 상기 마스터 기기(100)의 통신요청에 따라 통신 응답을 수행하는 복수의 슬레이브 기기들이다.1 is a view showing the configuration of an embodiment of analyzing a communication state by connecting an oscilloscope to an analysis device to a conventional communication cable. Here, reference numeral 100 denotes a master device for requesting communication, and reference numeral 110 denotes a plurality of slave devices that perform a communication response according to the communication request of the master device 100.

상기 마스터 기기(100)와 복수의 슬레이브 기기(110)들은 통신케이블(130)로 연결되어 상호간에 통신을 수행한다.The master device 100 and the plurality of slave devices 110 are connected by a communication cable 130 to communicate with each other.

이와 같이 구성된 통신시스템은 통신을 수행할 경우에 먼저 마스터 기기(100)가 하나의 슬레이브 기기(110)를 지정하여 통신을 요청한다.The communication system configured as described above requests the master device 100 to designate one slave device 110 when performing communication.

그러면, 복수의 슬레이브 기기(110)들 중에서 상기 마스터 기기(100)가 지정한 하나의 슬레이브 기기(110)가 마스터 기기(100)의 요청에 따라 통신 수행에 대 한 응답을 수행한다.Then, one slave device 110 designated by the master device 100 among the plurality of slave devices 110 performs a response to performing communication at the request of the master device 100.

도 2는 슬레이브 기기(110)의 동작을 보인 신호흐름도이다. 도 2를 참조하면, 복수의 슬레이브 기기(110)들은 마스터 기기(100)가 전송하는 데이터가 수신될 경우에 수신 인터럽트가 발생된다(S200). 상기 수신 인터럽트에 따라 복수의 슬레이브 기기(110)들은 수신된 데이터를 분석하여 마스터 기기(100)가 슬레이브 기기(110) 자신에 대하여 통신을 요청하였는지의 여부를 판단한다(S202).2 is a signal flow diagram illustrating the operation of the slave device 110. Referring to FIG. 2, when a plurality of slave devices 110 receive data transmitted by the master device 100, a reception interrupt is generated (S200). According to the reception interrupt, the plurality of slave devices 110 analyze the received data to determine whether the master device 100 has requested communication with the slave device 110 itself (S202).

상기 판단 결과 통신을 요청 받지 않은 슬레이브 기기(110)들은 통신의 요청을 무시하고, 다시 수신 인터럽트가 발생하는지의 여부를 판단하는 동작을 반복 수행한다.As a result of the determination, the slave devices 110 that have not been requested for communication ignore the communication request and repeat the operation of determining whether or not a reception interrupt has occurred.

그리고 상기 판단 결과 통신을 요청 받은 하나의 슬레이브 기기(110)는 메모리에 수신된 통신 데이터를 저장하고(S204), 통신데이터를 처리한다(S206).As a result of the determination, one slave device 110 that has received a communication request stores the received communication data in a memory (S204) and processes the communication data (S206).

상기 수신된 통신 데이터의 처리가 완료되면, 슬레이브 기기(110)는 통신데이터의 처리에 대한 응답 데이터를 생성하고(S208), 생성한 응답 데이터를 마스터 기기(100)로 전송하며(S210), 통신을 종료한다.When the processing of the received communication data is completed, the slave device 110 generates response data for the processing of the communication data (S208), transmits the generated response data to the master device 100 (S210), and communicates. To exit.

이러한 통신시스템에 있어서, 마스터 기기(100)와 복수의 슬레이브 기기(110)들이 정상을 통신을 수행하고 있는지의 여부를 분석할 필요가 있다.In such a communication system, it is necessary to analyze whether the master device 100 and the plurality of slave devices 110 are performing normal communication.

종래에는 도 1에 도시된 바와 같이 통신 케이블(120)에 분석장치로 오실로스코프(130)를 연결하여 마스터 기기(100)와 복수의 슬레이브 기기(110)들 사이의 통신상태를 분석하였다.In the related art, as illustrated in FIG. 1, an oscilloscope 130 is connected to a communication cable 120 using an analysis device to analyze a communication state between a master device 100 and a plurality of slave devices 110.

그리고 도 3에 도시된 바와 같이 통신 케이블(120)에 분석장치로 외부 분석기(300)를 연결하고, 외부 분석기(300)에 컴퓨터(310)를 연결하여 마스터 기기(100)와 복수의 슬레이브 기기(110)들 사이의 통신상태를 분석하였다.As shown in FIG. 3, the external analyzer 300 is connected to the communication cable 120 with the analysis device, and the computer 310 is connected to the external analyzer 300 to connect the master device 100 and the plurality of slave devices ( The communication state between the 110) was analyzed.

또한 도 4에 도시된 바와 같이 마스터 기기(100)에 내부 분석기(400)를 내장하고, 그 내부 분석기(400)를 컴퓨터(310)에 연결하여 마스터 기기(100)와 복수의 슬레이브 기기(110)들 사이의 통신상태를 분석하였다.In addition, as shown in FIG. 4, the internal analyzer 400 is embedded in the master device 100, and the internal analyzer 400 is connected to the computer 310 to connect the master device 100 and the plurality of slave devices 110. The communication between them was analyzed.

그러나 상기 도 1에 도시된 일 예는 오실로스코프(130)를 사용하고, 도 2에 도시된 다른 예는 외부 분석기(300)를 사용해야 되는 것으로서 오실로스코프(130) 및 외부 분석기(300)가 매우 고가로서 경제적인 부담이 크고, 장소가 협소한 공간에서는 오실로스코프(130) 및 외부 분석기(300)를 사용하기가 어려운 문제점이 있었다.However, the example shown in FIG. 1 uses an oscilloscope 130, and the other example shown in FIG. 2 requires the use of an external analyzer 300. The oscilloscope 130 and the external analyzer 300 are very expensive and economical. In the space where the burden is large and the place is narrow, it was difficult to use the oscilloscope 130 and the external analyzer 300.

그리고 도 4에 도시된 또 다른 실시 예는 비교적 저렴하게 구성할 수 있으나, 내부 분석기(400)가 마스터 기기(100)에 내장되어 있으므로 마스터 기기(100) 및 마스터 기기(100)의 인접위치에 위치하는 슬레이브 기기(110)들은 통신 데이터 신호의 세기가 강하여 통신상태를 정확하게 검출할 수 있다. 그러나 마스터 기 기(100)로부터 멀리 떨어져 위치하는 슬레이브 기기(110)들은 통신 데이터 신호의 세기가 약하여 통신 데이터 신호를 잃어 버리는 경우가 빈번히 발생하고, 이로 인하여 통신상태를 정확하게 검출하지 못하게 되는 문제점이 있었다.And yet another embodiment shown in Figure 4 can be configured relatively inexpensively, because the internal analyzer 400 is built in the master device 100 is located in the adjacent position of the master device 100 and the master device 100 The slave devices 110 can detect the communication state accurately because the strength of the communication data signal is strong. However, the slave devices 110 located far from the master device 100 frequently lose the communication data signal due to the weak strength of the communication data signal, and thus there is a problem in that the communication state cannot be accurately detected. .

통신기술의 발전과 더불어 슬레이브 기기에 내장되어 있는 메모리의 용량이 매우 커지게 되었고, 또한 슬레이브 기기에 내장되어 있는 중앙처리장치의 처리 능력도 매우 빨라지게 되었다. 슬레이브 기기에 내장되어 있는 메모리의 용량이 커지고, 중앙처리장치의 처리 능력이 향상됨에 따라 슬레이브 기기가 마스터 기기의 통신 요청에 대한 응답을 빠른 속도로 수행할 수 있고, 또한 슬레이브 기기에서 마스터 기기와 복수의 슬레이브 기기들이 상호간에 전송하는 통신 데이터들을 분석할 수 있게 되었다.With the development of communication technology, the capacity of the memory embedded in the slave device becomes very large, and the processing power of the central processing unit embedded in the slave device also becomes very fast. As the capacity of the built-in memory of the slave device increases and the processing power of the central processing unit increases, the slave device can respond to the communication request of the master device at a high speed. It is now possible to analyze the communication data transmitted between slave devices.

그러므로 본 발명은 슬레이브 기기에서 마스터 기기와 복수의 슬레이브 기기들이 상호간에 전송하는 통신 데이터들을 수집하고, 수집한 통신데이터를 컴퓨터로 전송하여 통신상태를 분석하는 통신상태 분석장치 및 방법을 제공한다.Therefore, the present invention provides a communication state analysis apparatus and method for collecting communication data transmitted between a master device and a plurality of slave devices in a slave device, and transmitting the collected communication data to a computer to analyze a communication state.

또한 본 발명은 마스터 기기의 통신데이터 또는 특정 슬레이브 기기의 통신데이터만을 필터링하여 분석할 수 있는 통신상태 분석장치 및 방법을 제공한다.In another aspect, the present invention provides a communication state analysis apparatus and method capable of filtering and analyzing only the communication data of the master device or the communication data of a specific slave device.

본 발명의 통신상태 분석장치는 통신 요청을 수행하는 마스터 기기와, 상기 마스터 기기와 통신케이블로 연결되고, 상기 마스터 기기의 통신 요청에 따라 통신 응답을 수행하는 복수의 슬레이브 기기와, 상기 복수의 슬레이브 기기들 중에서 선택되는 하나의 슬레이브 기기에 연결되어 통신상태의 분석기능 및 필터링 조건을 설정하고, 상기 분석기능을 설정한 하나의 슬레이브 기기가 제공하는 통신상태의 데이터를 수신하여 표시하는 컴퓨터를 포함하고, 상기 분석기능을 설정한 하나의 슬레이브 기기는 상기 마스터 기기 및 상기 복수의 슬레이브 기기들 중에서 상기 필터링조건에 따라 선택되는 마스터 기기 또는 슬레이브 기기들이 상기 통신 케이블을 통해 전송하는 통신데이터를 수집하고 수집한 통신데이터를 상기 컴퓨터로 출력하여 표시하게 구성됨을 특징으로 한다.The communication state analyzing apparatus of the present invention includes a master device that performs a communication request, a plurality of slave devices connected to the master device by a communication cable, and perform a communication response according to a communication request of the master device, and the plurality of slaves. A computer connected to one slave device selected from the devices to set an analysis function and a filtering condition of a communication state, and receive and display data of a communication state provided by one slave device which has set the analysis function; The one slave device configured with the analysis function collects and collects communication data transmitted through the communication cable by a master device or slave devices selected from the master device and the plurality of slave devices according to the filtering condition. Output communication data to the computer for display Characterized in that configured.

상기 복수의 슬레이브 기기들 각각은, 상기 마스터 기기의 통신 요청에 대한 통신 응답을 수행하고, 통신상태의 분석동작을 수행하는 중앙처리장치와, 상기 통신 케이블에 연결되어 네트워크 통신을 수행하는 네트워크 통신부와, 상기 중앙처리장치의 동작 프로그램 및 작업 데이터를 저장하는 메모리와, 상기 컴퓨터와 연결되어 통신을 수행하는 컴퓨터 통신부를 포함하여 구성됨을 특징으로 한다.Each of the plurality of slave devices includes a central processing unit that performs a communication response to a communication request of the master device, performs an analysis operation of a communication state, a network communication unit connected to the communication cable, and performs network communication; And a memory for storing operation programs and work data of the central processing unit, and a computer communication unit connected with the computer to perform communication.

상기 컴퓨터 통신부는, USB(Universal Serial Bus) 드라이버 또는 RS232 통신으로 구성됨을 특징으로 한다.The computer communication unit may be configured by a USB (Universal Serial Bus) driver or RS232 communication.

그리고 본 발명의 통신상태 분석방법은, 복수의 슬레이브 기기들 중에서 선택된 하나의 슬레이브 기기에 컴퓨터가 연결되어 컴퓨터로부터 입력되는 명령에 따라 통신상태의 분석기능이 설정되는 단계와, 상기 통신상태의 분석기능이 설정된 슬레이브 기기가, 마스터 기기와 상기 복수의 슬레이브 기기들이 통신케이블을 통해 전송하는 통신데이터를 수신하는 단계와, 상기 통신상태의 분석기능이 설정된 슬레이브 기기가, 상기 수신한 통신 데이터를 상기 컴퓨터로 전송하여 표시하게 하는 단계를 포함하여 구성됨을 특징으로 한다.In addition, the communication state analysis method of the present invention comprises the step of setting the analysis function of the communication state according to the command input from the computer connected to the computer connected to one of the slave device selected from the plurality of slave devices, the analysis function of the communication state The set slave device receives communication data transmitted from a master device and the plurality of slave devices through a communication cable, and the slave device having an analysis function of the communication state is transmitted to the computer. Characterized in that it comprises a step of transmitting and displaying.

상기 분석기능이 설정된 슬레이브 기기는 상기 통신 데이터들의 필터링 조건이 함께 설정되고, 상기 컴퓨터로 전송하는 통신 데이터는 상기 필터링 조건에 따라 필터링한 통신데이터만을 전송하는 것을 특징으로 한다.The slave device having the analysis function set therein is configured with the filtering condition of the communication data, and the communication data transmitted to the computer transmits only the communication data filtered according to the filtering condition.

상기 통신 데이터의 컴퓨터 전송은 ASCII(America Standard Code for Information Interchange) 코드로 변환하여 전송하는 것을 특징으로 한다.The computer transmission of the communication data is characterized in that the transmission to convert to the ASCII (America Standard Code for Information Interchange) code.

또한 본 발명의 통신상태 분석방법은, 상기 수신한 통신 데이터가 슬레이브 기기 자신이 처리해야 될 통신 데이터일 경우에 그 통신 데이터를 처리하고, 응답 데이터를 생성하는 단계와, 상기 생성한 응답 데이터를 마스터 기기로 전송하는 단계를 더 포함하는 것을 특징으로 한다.In addition, in the communication state analysis method of the present invention, when the received communication data is communication data to be processed by the slave device itself, processing the communication data, generating response data, and mastering the generated response data And transmitting to the device.

본 발명은 복수의 슬레이브 기기들 중에서 사용자가 선택하는 하나의 슬레이브 기기에 컴퓨터를 연결하여 통신상태를 분석하는 것으로서 저렴한 가격으로 마스터 기기와 슬레이브 기기들간의 통신상태를 정확하게 분석할 수 있고, 또한 마스터 기기 또는 특정 슬레이브 기기만을 선별하여 통신상태를 분석하는 것이 가능한 효과가 있다.The present invention analyzes the communication state by connecting a computer to one slave device selected by a user among a plurality of slave devices, and can accurately analyze the communication state between the master device and the slave devices at a low price. Alternatively, it is possible to select a specific slave device and analyze the communication state.

이하의 상세한 설명은 예시에 지나지 않으며, 본 발명의 실시 예를 도시한 것에 불과하다. 또한 본 발명의 원리와 개념은 가장 유용하고, 쉽게 설명할 목적으로 제공된다. 따라서, 본 발명의 기본 이해를 위한 필요 이상의 자세한 구조를 제공하고자 하지 않았음은 물론 통상의 지식을 가진 자가 본 발명의 실체에서 실시될 수 있는 여러 가지의 형태들을 도면을 통해 예시한다.The following detailed description is only illustrative, and merely illustrates embodiments of the present invention. In addition, the principles and concepts of the present invention are provided for the purpose of explanation and most useful. Accordingly, various forms that can be implemented by those of ordinary skill in the art, as well as not intended to provide a detailed structure beyond the basic understanding of the present invention through the drawings.

도 5는 본 발명의 통신상태 분석장치의 구성을 보인 블록도이다. 여기서, 부호 500은 마스터 기기이고, 부호 510은 복수의 슬레이브 기기이다. 상기 마스터 기기(500)와 복수의 슬레이브 기기(510)들은 하나의 통신 케이블(520)로 연결되어 상호간에 통신을 수행한다.5 is a block diagram showing the configuration of the communication state analysis apparatus of the present invention. Here, reference numeral 500 denotes a master device, and reference numeral 510 denotes a plurality of slave devices. The master device 500 and the plurality of slave devices 510 are connected with one communication cable 520 to communicate with each other.

부호 530은 컴퓨터이다. 상기 컴퓨터(530)는 상기 복수의 슬레이브 기기(510)들 중에서 어느 하나의 슬레이브 기기(510)에 선택적으로 연결되어 상기 슬레이브 기기(510)에 통신상태를 분석할 필터링 조건을 설정하고, 필터링 조건에 따라 통신상태를 필터링한 통신 데이터를 해당 슬레이브 기기(510)로부터 입력하여 표시한다.Reference numeral 530 is a computer. The computer 530 is selectively connected to any one slave device 510 among the plurality of slave devices 510 to set a filtering condition for analyzing a communication state to the slave device 510, and Accordingly, the communication data filtered through the communication state is inputted from the slave device 510 and displayed.

상기 복수의 슬레이브 기기(510)들 각각은 도 6에 도시된 바와 같이 상기 마스터 기기(500)의 통신 요청에 대한 통신 응답을 수행하고, 통신상태의 분석동작을 수행하는 중앙처리장치(600)와, 상기 통신 케이블(520)에 연결되어 네트워크 통신을 수행하는 네트워크 통신부(610)와, 상기 중앙처리장치(600)의 동작 프로그램 및 작업 데이터를 저장하는 메모리(620)와, 상기 컴퓨터(530)와 연결되어 통신을 수행하는 컴퓨터 통신부(630)를 포함하여 구성된다. 상기 컴퓨터 통신부(630)는 예를 들면, USB(Universal Serial Bus) 드라이버 또는 RS232 통신 등으로 구성할 수 있다.Each of the plurality of slave devices 510 performs a communication response to a communication request of the master device 500 as shown in FIG. 6, and performs a analyzing operation of a communication state. A network communication unit 610 connected to the communication cable 520 to perform network communication; a memory 620 for storing operation programs and work data of the central processing unit 600; and the computer 530; It is configured to include a computer communication unit 630 connected to perform communication. The computer communication unit 630 may be configured by, for example, a universal serial bus (USB) driver or RS232 communication.

이와 같이 구성된 본 발명의 통신상태 분석장치는 통신 시스템의 통신상태를 분석할 경우에 사용자가 복수의 슬레이브 기기(510)들 중에서 선택되는 하나의 슬레이브 기기(510)의 컴퓨터 통신부(630)에 컴퓨터(530)를 연결하고, 컴퓨터(530)를 조작하여 슬레이브 기기(510)의 중앙처리장치(600)에 통신상태의 분석을 설정하고, 통신상태 분석의 필터링 조건을 설정한다.The communication state analyzing apparatus of the present invention configured as described above includes a computer (or a computer) in the computer communication unit 630 of one slave device 510 selected from among a plurality of slave devices 510 when analyzing the communication state of the communication system. 530 is connected, the computer 530 is operated to set the analysis of the communication state in the central processing unit 600 of the slave device 510, and the filtering condition of the communication state analysis is set.

상기 필터링 조건은 예를 들면, 마스터 기기(500)가 전송하는 통신데이터, 특정 슬레이브 기기(510)가 전송하는 통신데이터, 마스터 기기(510)와 특정 슬레이브 기기(510)가 상호간에 전송하는 통신 데이터 또는 마스터 기기(510)와 복수의 슬레이브 기기(510)들이 상호간에 전송하는 전체 통신 데이터 등과 같이 설정할 수 있다.The filtering condition may include, for example, communication data transmitted by the master device 500, communication data transmitted by a specific slave device 510, and communication data transmitted between the master device 510 and a specific slave device 510. Alternatively, the master device 510 and the plurality of slave devices 510 may be configured as all communication data transmitted between each other.

이와 같이 통신상태의 분석을 설정하고, 통신상태를 분석할 필터링 조건을 설정한 상태에서 슬레이브 기기(510)의 중앙처리장치(600)는 통신 케이블(520)을 통해 전송되는 통신데이터들을 네트워크 통신부(610)를 통해 입력하고, 입력한 통신데이터들 중에서 상기 설정한 필터링 조건에 해당하는 통신 데이터만을 필터링한다.In this way, the analysis of the communication state is set, and while the filtering condition for analyzing the communication state is set, the central processing unit 600 of the slave device 510 transmits the communication data transmitted through the communication cable 520 to the network communication unit ( In operation 610, only communication data corresponding to the set filtering condition is filtered among the input communication data.

상기 필터링한 통신 데이터들은 바이너리 코드로 이루어지는 것으로서 상기 중앙처리장치(600)는 바이너리 코드의 통신 데이터들을 ASCII(America Standard Code for Information Interchange) 코드로 변환하고, 변환한 ASCII 코드의 통신 데이터를 컴퓨터 통신부(630)를 통해 컴퓨터(530)로 전송하여 화면에 표시되게 한다.The filtered communication data is a binary code. The CPU 600 converts communication data of a binary code into an American Standard Code for Information Interchange (ASCII) code and converts the communication data of the converted ASCII code into a computer communication unit ( 630 is transmitted to the computer 530 to be displayed on the screen.

도 7은 본 발명의 통신상태 분석방법을 보인 신호흐름도이다. 도 7을 참조하면, 슬레이브 기기(510)의 중앙처리장치(600)는 컴퓨터(530)로부터 컴퓨터 통신 부(630)를 통해 분석기능 설정 명령이 입력되는지의 여부를 판단한다(S700). 상기 판단 결과 분석기능 설정 명령이 입력될 경우에 중앙처리장치(600)는 컴퓨터(530)로부터 통신상태를 분석할 필터링 조건을 입력한다(S702).7 is a signal flow diagram showing a communication state analysis method of the present invention. Referring to FIG. 7, the central processing unit 600 of the slave device 510 determines whether an analysis function setting command is input from the computer 530 through the computer communication unit 630 (S700). When the analysis result setting command is input, the CPU 600 inputs a filtering condition for analyzing a communication state from the computer 530 (S702).

여기서, 상기 필터링 조건은 상술한 바와 같이 마스터 기기(500)가 전송하는 통신데이터, 특정 슬레이브 기기(510)가 전송하는 통신데이터, 마스터 기기(500)와 특정 슬레이브 기기(510)가 상호간에 전송하는 통신 데이터 또는 마스터 기기(500)와 복수의 슬레이브 기기(510)들이 상호간에 전송하는 전체 통신 데이터 등과 같이 설정할 수 있다.In this case, the filtering condition is the communication data transmitted by the master device 500, the communication data transmitted by the specific slave device 510, the master device 500 and the specific slave device 510 is transmitted to each other as described above The communication data or the total communication data transmitted between the master device 500 and the plurality of slave devices 510 may be set.

이와 같은 상태에서 중앙처리장치(600)는 수신 인터럽트가 발생하는지의 여부를 판단한다(S704). 즉, 중앙처리장치(600)는 통신 케이블(520)을 통해 전송되는 통신데이터가 네트워크 통신부(610)를 통해 수신되어 수신 인터럽트가 발생하는지의 여부를 판단한다.In this state, the CPU 600 determines whether a reception interrupt occurs (S704). That is, the CPU 600 determines whether communication data transmitted through the communication cable 520 is received through the network communication unit 610 to generate a reception interrupt.

상기 수신 인터럽트가 발생하였을 경우에 중앙처리장치(600)는 네트워크 통신부(610)를 통해 수신된 통신 데이터를 메모리(620)에 저장하고(S706), 그 저장한 통신 데이터를 분석하여 슬레이브 기기(510) 자신이 처리해야 되는 통신 데이터인지의 여부를 판단한다(S708).When the reception interrupt occurs, the central processing unit 600 stores the communication data received through the network communication unit 610 in the memory 620 (S706), analyzes the stored communication data to the slave device 510 It is determined whether or not it is communication data to be processed (S708).

상기 판단 결과 슬레이브 기기(510) 자신이 처리해야 할 통신 데이터일 경우에 중앙처리장치(600)는 메모리(620)에 저장된 수신 데이터를 처리하고(S710), 수신 데이터의 처리에 대한 응답 데이터를 생성하며(S712), 생성한 응답 데이터를 네트워크 통신부(610) 및 통신 케이블(520)을 통해 마스터 기기(500)로 전송한다(S714).When the slave device 510 itself is the communication data to be processed, the CPU 600 processes the received data stored in the memory 620 (S710), and generates response data for the processing of the received data. In operation S712, the generated response data is transmitted to the master device 500 through the network communication unit 610 and the communication cable 520 (S714).

그리고 중앙처리장치(600)는 자신이 처리해야 할 통신 데이터일 경우에 통신상태의 분석 기능이 설정되어 있는지의 여부를 판단하고(S716), 통신상태의 분석 기능이 설정되어 있을 경우에 메모리(620)에 저장되어 있는 통신 데이터를 상기 설정된 필터링 조건에 따라 필터링한다(S718).The CPU 600 determines whether the analysis function of the communication state is set in the case of the communication data to be processed (S716), and the memory 620 when the analysis function of the communication state is set. In step S718, the communication data stored in the PDP is filtered according to the set filtering condition.

상기 통신 데이터의 필터링이 완료되면, 중앙처리장치(600)는 필터링된 통신 데이터를 ASCII 코드로 변환하고(S720), 그 ASCII 코드의 통신 데이터를 컴퓨터 통신부(630)를 통해 컴퓨터 통신부(530)로 전송하여 모니터에 표시되게 한다(S722).When the filtering of the communication data is completed, the central processing unit 600 converts the filtered communication data into an ASCII code (S720), and converts the communication data of the ASCII code into the computer communication unit 530 through the computer communication unit 630. It transmits and is displayed on the monitor (S722).

그러면, 사용자는 컴퓨터(530)의 모니터에 표시되는 ASCII 코드의 통신 데이터로 필터링 조건에 해당하는 마스터 기기(500) 또는 슬레이브 기기(510)가 정상으로 통신을 수행하고 있는지의 여부를 확인할 수 있다.Then, the user may check whether the master device 500 or the slave device 510 corresponding to the filtering condition is normally communicating with the communication data of the ASCII code displayed on the monitor of the computer 530.

이상에서는 대표적인 실시 예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시 예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다.The present invention has been described in detail with reference to exemplary embodiments, but those skilled in the art to which the present invention pertains can make various modifications without departing from the scope of the present invention. Will understand.

그러므로 본 발명의 권리범위는 설명된 실시 예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

본 발명은 마스터 기기(500)와 복수의 슬레이브 기기(510)가 통신 케이블(520)로 연결되어 네트워크 통신을 수행하는 통신 시스템에서 복수의 슬레이브 기기(510)들 중에서 선택된 슬레이브 기기(510)에 컴퓨터(530)를 연결하고, 필터링 조건을 설정할 경우에 그 필터링 조건에 맞는 마스터 기기(500) 또는 슬레이브 기기(510)의 통신 상태를 컴퓨터(530)의 모니터를 통해 간단히 확인할 수 있다.The present invention provides a computer to a slave device 510 selected from a plurality of slave devices 510 in a communication system in which a master device 500 and a plurality of slave devices 510 are connected by a communication cable 520 to perform network communication. When the connection is established and the filtering condition is set, the communication state of the master device 500 or the slave device 510 meeting the filtering condition may be simply checked through the monitor of the computer 530.

도 1은 종래의 통신케이블에 분석장치로 오실로스코프를 연결하여 통신상태를 분석하는 일 예의 구성을 보인 도면,1 is a view showing the configuration of an example of analyzing a communication state by connecting an oscilloscope to an analysis device to a conventional communication cable,

도 1에서 슬레이브 기기들 각각의 동작을 보인 신호흐름도,Signal flow diagram showing the operation of each of the slave devices in Figure 1,

도 3은 종래의 통신케이블에 분석장치로 외부 분석기를 연결하여 통신상태를 분석하는 다른 예의 구성을 보인 도면,3 is a view showing the configuration of another example of analyzing a communication state by connecting an external analyzer to the conventional communication cable to the analysis device,

도 4는 종래의 마스터 기기에 내부 분석기를 내장하여 통신상태를 분석하는 또 다른 예의 구성을 보인 도면,4 is a view showing the configuration of another example of analyzing a communication state by embedding an internal analyzer in a conventional master device,

도 5는 본 발명의 분석장치의 구성을 보인 블록도, 및Figure 5 is a block diagram showing the configuration of the analysis device of the present invention, and

도 6은 본 발명의 분석방법에 따른 슬레이브 기기의 동작을 보인 신호흐름도이다.6 is a signal flow diagram illustrating the operation of a slave device according to the analysis method of the present invention.

Claims (7)

통신 요청을 수행하는 마스터 기기;A master device for performing a communication request; 상기 마스터 기기와 통신케이블로 연결되고, 상기 마스터 기기의 통신 요청에 따라 통신 응답을 수행하는 복수의 슬레이브 기기; 및A plurality of slave devices connected to the master device via a communication cable and performing a communication response according to a communication request of the master device; And 상기 복수의 슬레이브 기기들 중에서 선택되는 하나의 슬레이브 기기에 연결되어 통신상태의 분석기능 및 필터링 조건을 설정하고, 상기 분석기능을 설정한 하나의 슬레이브 기기가 제공하는 통신상태의 데이터를 수신하여 표시하는 컴퓨터;를 포함하고,Connected to one slave device selected from the plurality of slave devices to set an analysis function and a filtering condition of a communication state, and receive and display data of a communication state provided by one slave device which has set the analysis function; A computer; 상기 분석기능을 설정한 하나의 슬레이브 기기는;One slave device for setting the analysis function; 상기 마스터 기기 및 상기 복수의 슬레이브 기기들 중에서 상기 필터링조건에 따라 선택되는 마스터 기기 또는 슬레이브 기기들이 상기 통신 케이블을 통해 전송하는 통신데이터를 수집하고 수집한 통신데이터를 상기 컴퓨터로 출력하여 표시하게 구성된 통신상태 분석장치.A communication device configured to collect communication data transmitted through the communication cable by a master device or slave devices selected according to the filtering condition among the master device and the plurality of slave devices, and output the collected communication data to the computer for display; Condition analyzer. 제 1 항에 있어서, 상기 복수의 슬레이브 기기들 각각은;The device of claim 1, wherein each of the plurality of slave devices comprises: a; 상기 마스터 기기의 통신 요청에 대한 통신 응답을 수행하고, 통신상태의 분석동작을 수행하는 중앙처리장치;A central processing unit which performs a communication response to a communication request of the master device and performs an analysis operation of a communication state; 상기 통신 케이블에 연결되어 네트워크 통신을 수행하는 네트워크 통신부;A network communication unit connected to the communication cable to perform network communication; 상기 중앙처리장치의 동작 프로그램 및 작업 데이터를 저장하는 메모리; 및A memory for storing operation programs and job data of the central processing unit; And 상기 컴퓨터와 연결되어 통신을 수행하는 컴퓨터 통신부를 포함하여 구성됨을 특징으로 하는 통신상태 분석장치.And a computer communication unit connected to the computer to perform communication. 제 2 항에 있어서, 상기 컴퓨터 통신부는;The computer system of claim 2, wherein the computer communication unit; USB(Universal Serial Bus) 드라이버 또는 RS232 통신으로 구성됨을 특징으로 하는 통신상태 분석장치.Communication status analyzer, characterized in that consisting of USB (Universal Serial Bus) driver or RS232 communication. 복수의 슬레이브 기기들 중에서 하나의 슬레이브 기기에 컴퓨터가 연결되어 컴퓨터로부터 입력되는 명령에 따라 통신상태의 분석기능이 설정되는 단계;Connecting a computer to one slave device among a plurality of slave devices and setting an analysis function of a communication state according to a command input from the computer; 상기 통신상태의 분석기능이 설정된 슬레이브 기기가, 마스터 기기와 상기 복수의 슬레이브 기기들이 통신케이블을 통해 전송하는 통신데이터를 수신하는 단계; 및Receiving, by the slave device on which the communication function of the communication state is set, communication data transmitted by a master device and the plurality of slave devices through a communication cable; And 상기 통신상태의 분석기능이 설정된 슬레이브 기기가, 상기 수신한 통신 데이터를 상기 컴퓨터로 전송하여 표시하게 하는 단계를 포함하여 구성된 통신상태 분석방법.And transmitting, by the slave device having the analysis function of the communication state, the received communication data to the computer for display. 제 4 항에 있어서, 상기 분석기능이 설정된 슬레이브 기기는;The apparatus of claim 4, wherein the slave device to which the analysis function is set; 상기 통신 데이터들의 필터링 조건이 함께 설정되고,The filtering condition of the communication data is set together, 상기 컴퓨터로 전송하는 통신 데이터는;Communication data transmitted to the computer; 상기 필터링 조건에 따라 필터링한 통신데이터만을 전송하는 것을 특징으로 하는 통신상태 분석방법.Communication status analysis method, characterized in that for transmitting only the filtered communication data in accordance with the filtering condition. 제 4 항 또는 제 5 항에 있어서, 상기 통신 데이터의 컴퓨터 전송은;6. The method of claim 4 or 5, wherein the computer transmission of the communication data; ASCII(America Standard Code for Information Interchange) 코드로 변환하여 전송하는 것을 특징으로 하는 통신상태 분석방법.Communication status analysis method characterized in that the conversion to the ASCII (America Standard Code for Information Interchange) code. 제 4 항에 있어서,The method of claim 4, wherein 상기 수신한 통신 데이터가 슬레이브 기기 자신이 처리해야 될 통신 데이터일 경우에 그 통신 데이터를 처리하고, 응답 데이터를 생성하는 단계; 및If the received communication data is communication data to be processed by the slave device itself, processing the communication data and generating response data; And 상기 생성한 응답 데이터를 상기 마스터 기기로 전송하는 단계를 더 포함하는 것을 특징으로 하는 통신상태 분석방법.And transmitting the generated response data to the master device.
KR1020070093734A 2007-09-14 2007-09-14 Communication status analysis device and method KR100930194B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070093734A KR100930194B1 (en) 2007-09-14 2007-09-14 Communication status analysis device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070093734A KR100930194B1 (en) 2007-09-14 2007-09-14 Communication status analysis device and method

Publications (2)

Publication Number Publication Date
KR20090028259A KR20090028259A (en) 2009-03-18
KR100930194B1 true KR100930194B1 (en) 2009-12-07

Family

ID=40695578

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070093734A KR100930194B1 (en) 2007-09-14 2007-09-14 Communication status analysis device and method

Country Status (1)

Country Link
KR (1) KR100930194B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453383B (en) * 2016-11-07 2019-12-24 深圳拓邦股份有限公司 UART-based master-slave multi-machine communication system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010104586A (en) * 2000-05-15 2001-11-26 정선구 Apparatus for detecting fault in the electric equipment via the Internet
KR100379120B1 (en) * 2001-05-21 2003-04-07 주식회사 에이랩 Failure diagnosis system for multimedia apparatus installed in carriage
KR20070047427A (en) * 2005-11-02 2007-05-07 삼성전자주식회사 System and method for monitoring a group of devices on a network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010104586A (en) * 2000-05-15 2001-11-26 정선구 Apparatus for detecting fault in the electric equipment via the Internet
KR100379120B1 (en) * 2001-05-21 2003-04-07 주식회사 에이랩 Failure diagnosis system for multimedia apparatus installed in carriage
KR20070047427A (en) * 2005-11-02 2007-05-07 삼성전자주식회사 System and method for monitoring a group of devices on a network

Also Published As

Publication number Publication date
KR20090028259A (en) 2009-03-18

Similar Documents

Publication Publication Date Title
US8880277B2 (en) Methods and systems for diagnosing a vehicle
WO2015053885A1 (en) Methods and systems for a universal wireless platform for asset monitoring
EP3242174A1 (en) Control system, control method, control program, and recording medium
KR101862566B1 (en) Simulation evaluation system of traffic signal controller
CN108303969B (en) Automatic testing device for vehicle-mounted ECU
CN104021060A (en) BMC serial port debugging system and method
CN114384892A (en) Test equipment, state detection method and device of vehicle control unit and electronic equipment
KR100930194B1 (en) Communication status analysis device and method
CN108319516B (en) Test system and test method
CN108361020B (en) Virtual instrument-based diagnosis and protection device and method for tunnel drilling machine
CN114034972B (en) Intelligent cable fault determining method and device based on image data
JP5157844B2 (en) Fault location identification system, fault location identification method
CN109254937B (en) USB hub, USB device enumeration exception detection method and computer storage medium
KR101371895B1 (en) An automatic packet analysis method in can communication
CN210428185U (en) Vehicle fault diagnosis device and system
KR20210012242A (en) Computer check system using terminal
CN215576583U (en) Universal serial bus port detection device
KR102248299B1 (en) User customized monitoring system and mehtod performing thereof
KR100373007B1 (en) Windows monitoring tool of control unit for vehicle
KR101165668B1 (en) Plasma process diagnosing apparatus by data integration of different kind sensor, and controlling method thereof
CN115470173A (en) Communication switching system, method, device and readable storage medium
KR100756140B1 (en) Monitoring method and its appratus of general purpose ports of target-system
KR100440125B1 (en) Method for can data interface in electric vehicle
CN116466187A (en) Cable fault prediction visualization system and method
CN116794493A (en) Device, system and method for testing connection interface by transmitting instruction through circuit board circuit

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20130916

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20151002

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20161010

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20171011

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20191001

Year of fee payment: 11