KR100370255B1 - Method controlling monitoring of serial communication of data - Google Patents

Method controlling monitoring of serial communication of data Download PDF

Info

Publication number
KR100370255B1
KR100370255B1 KR10-2001-0025060A KR20010025060A KR100370255B1 KR 100370255 B1 KR100370255 B1 KR 100370255B1 KR 20010025060 A KR20010025060 A KR 20010025060A KR 100370255 B1 KR100370255 B1 KR 100370255B1
Authority
KR
South Korea
Prior art keywords
communication
data
communication port
input
outputting
Prior art date
Application number
KR10-2001-0025060A
Other languages
Korean (ko)
Other versions
KR20020085518A (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-2001-0025060A priority Critical patent/KR100370255B1/en
Publication of KR20020085518A publication Critical patent/KR20020085518A/en
Application granted granted Critical
Publication of KR100370255B1 publication Critical patent/KR100370255B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/062Generation of reports related to network traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

직렬통신 데이터의 모니터링 제어방법이 게시된다. 본 발명의 직렬통신 데이터의 모니터링 제어방법은 (A) 프로토콜 세팅에 있어서, 사용자에 의한 통신모드 선택을 판단하는 단계; (B) 선택된 통신모드에 따라 해당 통신포트의 오픈을 실행하고 그 결과를 출력하는 단계; (C) 선택된 통신모드가 루프 통신이고 통신포트의 오픈이 성공적일 경우, 중지 명령이 입력될 때까지 해당 통신포트의 데이터를 읽거나 기록한 결과를 출력하는 단계; (D) 선택된 통신모드가 일대일 통신일 경우, 중지 명령이 입력될 때까지 수신 통신 포트 값을 읽어 출력하는 단계; (E) 각 단계들에서 중지 명령이 입력된 경우, 통신포트의 클로즈를 실행하고 그 결과를 출력하는 단계를 포함한다.Methods of monitoring and controlling serial communication data are disclosed. The monitoring control method of the serial communication data of the present invention comprises the steps of: (A) determining a communication mode selection by a user in protocol setting; (B) executing the opening of the corresponding communication port according to the selected communication mode and outputting the result; (C) if the selected communication mode is loop communication and the opening of the communication port is successful, outputting a result of reading or writing data of the corresponding communication port until a stop command is input; (D) if the selected communication mode is one-to-one communication, reading and outputting a reception communication port value until a stop command is input; (E) if the stop command is input in each step, executing the closing of the communication port and outputting the result.

따라서, 프로토콜 애널라이저는 사용자 컴퓨터로부터 출력되는 입력데이터를 처리장치에 전송하는 동시에, 상기 입력데이터를 모니터링한다. 또한, 상기 프로토콜 애널라이저는 소정의 제어데이터를 직접 통신수단에 전송함으로써, 통신수단을 제어한다.Thus, the protocol analyzer transmits the input data output from the user computer to the processing device and simultaneously monitors the input data. The protocol analyzer also controls the communication means by sending predetermined control data directly to the communication means.

Description

직렬통신 데이터의 모니터링 제어방법{METHOD CONTROLLING MONITORING OF SERIAL COMMUNICATION OF DATA}Monitoring control method of serial communication data {METHOD CONTROLLING MONITORING OF SERIAL COMMUNICATION OF DATA}

본 발명은 프로토콜 애널라이저(protocol analyzer)에 관한 것으로서, 특히 사용자 컴퓨터로부터 전송되는 입력데이터를 통신수단에 전송할 때, 상기 사용자 컴퓨터로부터 출력되는 입력데이터를 모니터링하며, 상기 통신수단에 소정의 제어데이터를 전송함으로써 상기 통신수단을 제어하는 직렬통신 데이터 모니터링 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a protocol analyzer, and in particular, when transmitting input data transmitted from a user computer to a communication means, monitoring input data output from the user computer and transmitting predetermined control data to the communication means. The present invention relates to a serial communication data monitoring control method of controlling the communication means.

종래의 프로토콜 애널라이저는 도 1에 도시된 바와 같이, 소정의 입력데이터를 입력하기 위한 사용자 컴퓨터(100), 상기 입력장치로부터 제공받은 입력데이터를 전송하기 위한 프로토콜 애널라이저(110) 및 상기 프로토콜 애널라이저(110)로부터 전송받은 입력데이터를 처리하기 위한 통신수단(120)으로 구성된다.As shown in FIG. 1, the conventional protocol analyzer includes a user computer 100 for inputting predetermined input data, a protocol analyzer 110 for transmitting input data provided from the input device, and the protocol analyzer 110. It consists of a communication means 120 for processing the input data received from.

상기 프로토콜 애널라이저는 씨리얼 통신 RS-232와 RS-422간의 통신 상태를 모니터링하며, 입력신호를 전송하기 위한 커넥터(9핀, 25핀)과 처리신호를 전송하기 위한 커넥터(9핀, 25핀)으로 구성된다.The protocol analyzer monitors the communication status between serial communication RS-232 and RS-422, and includes a connector (9 pin and 25 pin) for transmitting an input signal and a connector (9 pin and 25 pin) for transmitting a processing signal. It is composed.

그러나, 이러한 종래의 프로토콜 애널라이저는 가격이 높으며, 통신수단을 제어하지 못하므로 장비의 개발 또는 수리가 용이하지 않다.However, these conventional protocol analyzers are expensive and do not control the communication means, so the development or repair of equipment is not easy.

본 발명은 상기한 종래 기술의 문제점을 효과적으로 해결하기 위해, 프로토콜 애널라이저 프로그램이 구현되는 컴퓨터를 통해 입력데이터를 통신수단에 전송하며, 소정의 제어데이터를 통신수단에 전송하여, 상기 통신수단을 제어하는 직렬통신 데이터 모니터링 제어방법을 제공함에 그 목적이 있다.In order to effectively solve the above problems of the prior art, the input data is transmitted to the communication means through a computer on which a protocol analyzer program is implemented, and predetermined control data is transmitted to the communication means to control the communication means. Its purpose is to provide a serial communication data monitoring control method.

도 1은 종래의 직렬통신 데이터의 모니터링 제어방법을 나타내는 블럭도이다.1 is a block diagram illustrating a conventional method for controlling monitoring of serial communication data.

도 2는 본 발명의 직렬통신 데이터의 모니터링 제어방법을 나타내는 블럭도이다.2 is a block diagram illustrating a method for controlling monitoring of serial communication data of the present invention.

도 3A 및 도 3B는 프로토콜 애널라이저 프로그램의 초기화면 및 프로그램 실행화면을 나타내는 도면이다.3A and 3B are diagrams showing an initial screen and a program execution screen of a protocol analyzer program.

도 4A 내지 도 4C는 본 발명의 프로토콜 애널라이저 프로그램을 실행하는 방법을 나타내는 순서도이다.4A-4C are flowcharts illustrating a method of executing a protocol analyzer program of the present invention.

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

100, 200 : 사용자 컴퓨터100, 200: user computer

110 : 프로토콜 애널라이저110: Protocol Analyzer

210 : 프로토콜 분석 컴퓨터210: protocol analysis computer

120, 220 : 통신수단120, 220: communication means

상기한 기술적 과제를 달성하기 위한 본 발명은 직렬통신 데이터의 모니터링 제어방법에 관한 것이다. 본 발명의 (A) 프로토콜 세팅에 있어서, 사용자에 의한 통신모드 선택을 판단하는 단계; (B)상기 선택된 통신모드에 따라 해당 통신포트의 오픈을 실행하고 그 결과를 출력하는 단계; (C) 상기 선택된 통신모드가 루프 통신이고 통신포트의 오픈이 성공적일 경우, 중지 명령이 입력될 때까지 해당 통신포트의 데이터를 읽거나 기록한 결과를 출력하는 단계; (D) 상기 선택된 통신모드가 일대일 통신일 경우, 중지 명령이 입력될 때까지 수신 통신 포트 값을 읽어 출력하는 단계; (E) 상기 각 단계들에서 중지 명령이 입력된 경우, 통신포트의 클로즈를 실행하고 그 결과를 출력하는 단계를 포함한다.The present invention for achieving the above technical problem relates to a monitoring control method of serial communication data. In the (A) protocol setting of the present invention, determining a communication mode selection by a user; (B) executing the opening of a corresponding communication port according to the selected communication mode and outputting a result; (C) if the selected communication mode is loop communication and the opening of the communication port is successful, outputting a result of reading or writing data of the corresponding communication port until a stop command is input; (D) if the selected communication mode is one-to-one communication, reading and outputting a reception communication port value until a stop command is input; (E) if the stop command is input in each of the above steps, executing the closing of the communication port and outputting the result.

이하, 첨부된 도 2 내지 도 4를 참조하여 본 발명에 따른 직렬통신 데이터 모니터링 제어방법에 대하여 상세히 설명한다.Hereinafter, a serial communication data monitoring control method according to the present invention will be described in detail with reference to FIGS. 2 to 4.

도 2에 도시된 바와 같이, 본 발명의 직렬통신에 의한 데이터 모니터링을 하기 위해서는 사용자 컴퓨터(200), 프로토콜 분석 컴퓨터(210) 및 통신수단(220)이 구현된다.As shown in FIG. 2, in order to monitor data by serial communication of the present invention, a user computer 200, a protocol analysis computer 210, and a communication unit 220 are implemented.

상기 사용자 컴퓨터(200)는 소정의 입력데이터를 프로토콜 분석 컴퓨터(210)에 전송한다.The user computer 200 transmits predetermined input data to the protocol analysis computer 210.

상기 프로토콜 분석 컴퓨터(210)는 RS-232 및 RS-422의 통신시, 상기 사용자 컴퓨터(200)로부터 제공받은 소정의 입력데이터를 통신수단(220)으로 전송하며, 전송되는 입력데이터를 모니터링한다. 또한, 상기 통신수단(220)로부터 상기 입력데이터에 대한 처리결과를 제공받는다. 즉, 상기 통신수단(220)로부터 전송되는 처리데이터를 상기 사용자 컴퓨터(200)에 전송하는 동시에 모니터링한다. 또한, 프로토콜 애널라이저 프로그램을 구현하여, 소정의 제어데이터신호를 상기 통신수단(220)에 전송하여 상기 통신수단(220)을 제어한다.The protocol analysis computer 210 transmits predetermined input data provided from the user computer 200 to the communication means 220 during the communication of RS-232 and RS-422, and monitors the transmitted input data. In addition, the communication means 220 is provided with a processing result for the input data. That is, the process data transmitted from the communication means 220 is transmitted to the user computer 200 and monitored at the same time. In addition, by implementing a protocol analyzer program, and transmits a predetermined control data signal to the communication means 220 to control the communication means 220.

상기 통신수단(220)은 상기 프로토콜 분석 컴퓨터(210)로부터 전송받은 상기 입력데이터를 처리하며, 처리 결과를 상기 프로토콜 분석 컴퓨터(210)를 통해 상기 사용자 컴퓨터(200)에 전송된다. 또한, 상기 통신수단(220)은 상기 프로토콜 분석 컴퓨터(210)로부터 소정의 제어데이터를 전송받아, 상기 프로토콜 분석 컴퓨터(210)의 제어를 받는다.The communication unit 220 processes the input data received from the protocol analysis computer 210 and transmits the processing result to the user computer 200 through the protocol analysis computer 210. In addition, the communication unit 220 receives predetermined control data from the protocol analysis computer 210 and is controlled by the protocol analysis computer 210.

도 3A 및 도 3B는 프로토콜 분석 컴퓨터에서 구현되는 프로토콜 애널라이저 프로그램의 초기화면 및 프로그램 실행화면을 나타내는 도면이다.3A and 3B are diagrams showing an initial screen and a program execution screen of a protocol analyzer program implemented in a protocol analysis computer.

도 3A 및 도 3B에 도시된 바와 같이, Communication 블럭에는 상기 사용자 컴퓨터(200)로부터 제공되는 입력데이터를 통신수단(220)에 전송하기 위한 루프통신과 상기 통신수단(220)에 소정의 제어데이터를 입력하기 위한 일대일통신을 선택할 수 있도록 구성된다. 상기 루프통신이 선택되는 경우, 사용자는 통신포트(전송/수신)를 선택한다.As shown in FIGS. 3A and 3B, the communication block includes loop communication for transmitting input data provided from the user computer 200 to the communication means 220 and predetermined control data in the communication means 220. It is configured to select one-to-one communication for input. When the loop communication is selected, the user selects a communication port (send / receive).

한편, 상기 일대일 통신을 선택하는 경우에도 마찬가지로 통신포트를 선택한다.On the other hand, when selecting the one-to-one communication, the communication port is similarly selected.

수신/전송(RX/TX) Counter블럭은 소정의 입력데이터가 바이트로 변환되면, Receive란에 디스플레이되고, 상기 프로토콜 분석 컴퓨터(210)가 통신수단(220)에전송하는 입력데이터를 Transfe에 디스플레이한다.The reception / transmission (RX / TX) counter block is displayed in the Receive column when the predetermined input data is converted into bytes, and the input data transmitted by the protocol analysis computer 210 to the communication means 220 is displayed in Transfe. .

Protocol setting 블럭은 통신 상태 즉, 전송율(BaundRate), 패리티 (Parity), 바이트 사이즈(ByteSize) 및 정지비트(StopBits)를 셋업(setup)시키며, 통신시 핵스(Hex) 또는 스트링(String)을 선택하여 통신한다.The protocol setting block sets up the communication status, namely, BaudRate, Parity, ByteSize, and StopBits, and selects Hex or String during communication. Communicate

도 4a 내지 도 4c는 본 발명의 프로토콜 애널라이저 프로그램을 실행하는 방법을 나타내는 순서도이다.4A-4C are flowcharts illustrating a method of executing a protocol analyzer program of the present invention.

도 4a에 도시된 바와 같이, 우선 사용자가 프로토콜 애널라이저 프로그램을 초기화시킨다음, 사용자의 사양에 따라 전송율, 패리티 및 정지비트 등을 세팅한다(S300). 그런 다음, 상기 프로토콜 분석 컴퓨터(210)는 루프통신이 선택되었는지를 확인하는 단계를 수행한다(S310). 상기 확인 결과 루프통신이 선택되는 경우, 수신 통신포트 및 전송 통신포트가 오픈되었는 지를 확인한다(S320).As shown in FIG. 4A, first, a user initializes a protocol analyzer program, and sets a transmission rate, parity, and a stop bit according to the user's specification (S300). Then, the protocol analysis computer 210 checks whether loop communication is selected (S310). If the loop communication is selected as a result of the check, it is checked whether the reception communication port and the transmission communication port are open (S320).

상기 단계(S320)에서, 상기 수신 통신포트 및 전송 통신포트가 오픈되지 않는 경우, "COM Port(X) Open Fail"라는 메시지가 디스플레이되고(S340), 프로그램이 비정상적으로 종료된다.In the step S320, when the reception communication port and the transmission communication port are not open, a message "COM Port (X) Open Fail" is displayed (S340), and the program ends abnormally.

반면에, 수신 및 전송 통신포트가 정상적으로 오픈(open)된 경우, 사용자 쓰레드(thread)로 동작된다(S330). 이러한 경우, 상기 사용자 컴퓨터(200)가 수신 통신포트를 통해 소정의 입력데이터를 전송하면, 상기 프로토콜 분석 컴퓨터(210)는 상기 입력데이터를 리드(read)하고, 상기 입력데이터가 정상적으로 리드되었는 지를 확인하는 단계를 수행한다(S350). 그런 다음, 상기 단계 (S350)에서, 상기 입력데이터가 정상적으로 리드된 경우, 상기 리드된 입력데이터가 바이트로 변환되어모니터에 디스플레이된다(S360).On the other hand, when the receiving and transmitting communication port is normally open (open), it is operated as a user thread (S330). In this case, when the user computer 200 transmits predetermined input data through the receiving communication port, the protocol analysis computer 210 reads the input data and checks whether the input data has been normally read. To perform the step (S350). Then, when the input data is normally read in step S350, the read input data is converted into bytes and displayed on the monitor (S360).

그리고, 상기 프로토콜 분석 컴퓨터(210)는 바이트로 변환된 입력데이터를 통신수단(220)에 전송하기 위해 상기 입력데이터를 전송 통신포트에 라이트(write)한다(370). 상기 입력데이터를 전송 통신포트에 라이트하는 단계(S370)에서, 상기 입력데이터가 통신수단(220)에 정상적으로 전송되지 못한 경우, "COM Port(X) Write Fail"이라는 메시지가 디스플레이되고(S340), 프로그램이 비정상적으로 종료된다.The protocol analysis computer 210 writes the input data to the transmission communication port to transmit the input data converted into bytes to the communication means 220 (370). In the step of writing the input data to the transmission communication port (S370), when the input data is not normally transmitted to the communication means 220, a message "COM Port (X) Write Fail" is displayed (S340), The program terminates abnormally.

반면에, 상기 입력데이터를 전송 통신포트에 라이트하는 단계(S370)에서, 입력데이터가 전송 통신포트를 통해 통신수단(220)에 성공적으로 전송되면, 상기 통신수단(220)에 전송된 입력데이터가 프로토콜 분석 컴퓨터(210)의 모니터 상에 디스플레이된다(S380). 그런 다음, 사용자가 스톱버튼을 체크하면, 모니터에 인에블이라는 메시지가 디스플레이되는 지를 확인하는 단계를 수행한다(S390). 입력데이터가 통신수단(220)에 성공적으로 전송되는 경우, 모니터에 인에이블(enable)이라는 메시지가 디스플레이되고, 통신포트를 클로즈(close)하는 단계를 수행하여 작업을 완료한다(S400).On the other hand, in the step of writing the input data to the transmission communication port (S370), if the input data is successfully transmitted to the communication means 220 through the transmission communication port, the input data transmitted to the communication means 220 is The protocol analysis computer 210 is displayed on the monitor (S380). Then, when the user checks the stop button, a step of checking whether a message called enable is displayed on the monitor is performed (S390). When the input data is successfully transmitted to the communication means 220, a message called enable is displayed on the monitor, and the operation is completed by closing the communication port (S400).

한편, 상기 입력데이터가 통신포트(220)에 전송되지 못하여 모니터에 디스에이블(disable)이 디스플레이되면, 전송 통신포트의 처리데이터를 리드하는 단계(S420)를 수행한다. 또한, 상기 단계(S350)에서 수신 통신포트에 입력데이터가 리드(read)되지 않는 경우에도 전송 통신포트의 처리데이터를 리드하는 단계(S420)를 수행한다. 상기 통신수단(220)으로부터 전송 통신포트를 통해 처리데이터를 리드(read)하는 단계(S420)에서, 상기 프로토콜 분석 컴퓨터(210)가 전송 통신포트를 통해 제어데이터를 리드하지 못한 경우에는 수신 통신포트에 입력되는 입력데이터를 리드하는 단계(S350)를 수행한다.On the other hand, if the input data is not transmitted to the communication port 220 and the disable is displayed on the monitor, the process of reading the processing data of the transmission communication port (S420) is performed. In addition, even when the input data is not read to the receiving communication port in step S350, step S420 of processing data of the transmission communication port is read. In the step S420 of reading processing data from the communication means through the transmission communication port, when the protocol analysis computer 210 fails to read the control data through the transmission communication port, the reception communication port In operation S350, the input data input to the input data is read.

반면에, 상기 프로토콜 분석 컴퓨터(210)가 전송 통신포트로부터 처리데이터를 리드한 경우, 상기 프로토콜 분석 컴퓨터(210)는 상기 처리데이터를 바이트로 변환하여 모니터에 디스플레이한다(S430).On the other hand, when the protocol analysis computer 210 reads the processing data from the transmission communication port, the protocol analysis computer 210 converts the processing data into bytes and displays it on the monitor (S430).

그리고, 상기 통신수단(220)으로부터 입력되는 제어데이터를 수신 통신포트에 라이트(write)하고, 상기 제어데이터가 수신 통신포트에 성공적으로 라이트된 경우(S440), 상기 처리데이터를 모니터에 디스플레이하고(S450), 모니터에 인에블 메시지가 디스플레이되는 지를 확인하는 단계(S390)을 수행한다. 한편, 상기 처리데이터가 수신 통신포트에 라이트(write)되지 않으면, "COM Port(X) Write Fail" 메시지가 디스플레이된다(S460). 이러한 경우, 통신포트가 클로즈(close)되는 지를 확인하여(S400), 프로그램을 종료시킨다.Then, the control data input from the communication means 220 is written to the receiving communication port, and if the control data is successfully written to the receiving communication port (S440), the processing data is displayed on the monitor ( In operation S390, the method may determine whether an enable message is displayed on the monitor (S390). On the other hand, if the process data is not written in the reception communication port, a "COM Port (X) Write Fail" message is displayed (S460). In this case, it is checked whether the communication port is closed (S400), and the program is terminated.

한편, 상기 통신포트가 클로즈되는 단계(S400)에서, 상기 통신포트가 정상적으로 클로즈되지 않으면, "COM Port(X) Close Fail" 라는 메시지가 디스플레이되며, 프로그램이 비정상적으로 종료된다.On the other hand, in the step (S400) in which the communication port is closed, if the communication port is not normally closed, a message "COM Port (X) Close Fail" is displayed, the program is abnormally terminated.

한편, 도 4b를 참조하여 설명하면, 상기 확인 단계(S310)에서 일대일통신이 선택되는 경우, 작업자 쓰레드(thread)로 동작되고(S470), 수신 통신포트로부터 제공되는 입력데이터를 리드(read)하는 단계를 수행한다(S480).Meanwhile, referring to FIG. 4B, when one-to-one communication is selected in the checking step (S310), it is operated as a worker thread (S470) and reads input data provided from a receiving communication port. To perform the step (S480).

상기 단계(S480)에서, 상기 입력데이터가 정상적으로 리드된 경우에는 리드된 입력데이터를 바이트로 변환하여 모니터에 디스플레이한다(S490). 그런 다음, 스톱버튼을 눌러 인에이블 상태인가를 확인한다(S500). 상기 확인 단계(S500)에서, 인에블 상태이면 통신포트를 종료하는 단계로 진행하고, 디스에이블 상태이면 작업자 쓰레드로 동작되는 단계(S470)부터 재실행한다.If the input data is normally read in step S480, the read input data is converted into bytes and displayed on the monitor (S490). Then, it is checked by pressing the stop button (S500). In the checking step (S500), if the enable state proceeds to the step of terminating the communication port, if the disabled state is re-executed from the step of operating as a worker thread (S470).

한편, 단계 (S480)에서 수신 통신포트로부터 입력데이터가 리드되지 않는 경우에는 "COM Port(X) Read Fail" 라는 메시지가 디스플레이되고(S510), 통신포트를 클로즈하는 단계(S400)로 진행한다.On the other hand, if input data is not read from the receiving communication port in step S480, a message "COM Port (X) Read Fail" is displayed (S510), and the process proceeds to step S400 of closing the communication port.

한편, 도 4C를 참조하여 설명하면, 사용자가 send버튼을 누른다. 그러면, 상기 도 3A 및 도 3B에 도시된 화면에서 보여지듯이, 사용자가 send버튼 옆의 편집 공간에 상기 통신장비(220)를 제어하기 위한 소정의 제어데이터를 입력한다(S520). 그리고, 전송 통신포트에 소정의 제어데이터가 라이트됐는지를 확인한다(S530). 상기 확인 결과, 제어데이터가 성공적으로 라이트되면, 상기 제어데이터를 모니터에 디스플레이 하고(S540), 종료한다.Meanwhile, referring to FIG. 4C, the user presses the send button. 3A and 3B, the user inputs predetermined control data for controlling the communication device 220 in the edit space next to the send button (S520). Then, it is checked whether predetermined control data is written to the transmission communication port (S530). As a result of the check, if the control data is successfully written, the control data is displayed on the monitor (S540) and ends.

반면에, 상기 제어데이터가 입력되지 않으면, 모니터에는 "COM Port(X) Write Fail" 메세지가 디스플레이되고(S550), 통신포트를 클로즈하는 단계(S400)를 수행한다.On the other hand, if the control data is not input, the monitor displays the message "COM Port (X) Write Fail" (S550), and closes the communication port (S400).

본 발명은 도면에 도시된 일실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. . Therefore, the true technical protection scope of the present invention will be defined by the appended claims technical spirit.

이상에서 설명한 바와 같이, 본 발명의 프로토콜 분석 컴퓨터는 사용자 컴퓨터로부터 제공되는 입력데이터를 처리장치에 전송하는 동시에, 상기 입력데이터를 모니터링한다. 또한, 상기 프로토콜 분석 컴퓨터는 소정의 제어데이터를 직접 통신수단에 전송함으로써, 상기 통신수단를 제어한다.As described above, the protocol analysis computer of the present invention transmits the input data provided from the user computer to the processing apparatus and simultaneously monitors the input data. The protocol analysis computer also controls the communication means by transmitting predetermined control data directly to the communication means.

Claims (4)

(A) 프로토콜 세팅에 있어서, 사용자에 의한 통신모드 선택을 판단하는 단계;(A) in protocol setting, determining a communication mode selection by a user; (B)상기 선택된 통신모드에 따라 해당 통신포트의 오픈을 실행하고 그 결과를 출력하는 단계;(B) executing the opening of a corresponding communication port according to the selected communication mode and outputting a result; (C) 상기 선택된 통신모드가 루프 통신이고 통신포트의 오픈이 성공적일 경우, 중지 명령이 입력될 때까지 해당 통신포트의 데이터를 읽거나 기록한 결과를 출력하는 단계;(C) if the selected communication mode is loop communication and the opening of the communication port is successful, outputting a result of reading or writing data of the corresponding communication port until a stop command is input; (D) 상기 선택된 통신모드가 일대일 통신일 경우, 중지 명령이 입력될 때까지 수신 통신 포트 값을 읽어 출력하는 단계;(D) if the selected communication mode is one-to-one communication, reading and outputting a reception communication port value until a stop command is input; (E) 상기 각 단계들에서 중지 명령이 입력된 경우, 통신포트의 클로즈를 실행하고 그 결과를 출력하는 단계로 이루어지는 것을 특징으로 하는 직렬통신 데이터의 모니터링 제어방법.(E) when the stop command is input in each of the above steps, executing the closing of the communication port and outputs the result of the monitoring control method comprising the. 제 1 항에 있어서,The method of claim 1, 프로토콜 설정은 데이터 전송율, 패리티, 바이트 사이즈, 정지 비트에 대하여 이루어지는 것을 특징으로 하는 직렬통신 데이터의 모니터링 제어방법.A protocol control method for monitoring serial communication data, characterized in that the data rate, parity, byte size, and stop bit are set. 제 1 항에 있어서,The method of claim 1, 전송 명령 입력시 편집 박스에 기록된 데이터를 읽어서 저장하고 그 결과를 출력하는 단계를 더 포함하여 이루어지는 것을 특징으로 하는 직렬통신 데이터 모니터링제어방법.And reading out and storing the data recorded in the edit box when the transfer command is input, and outputting the result. 제 1 항에 있어서,The method of claim 1, 상기 통신포트의 오픈, 클로즈를 실행한 결과를 해당 메시지로 출력하여 표시하는 것을 특징으로 하는 직렬통신 데이터의 모니터링 제어방법.And controlling the serial communication data to output and display a result of executing the opening and closing of the communication port as a corresponding message.
KR10-2001-0025060A 2001-05-09 2001-05-09 Method controlling monitoring of serial communication of data KR100370255B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0025060A KR100370255B1 (en) 2001-05-09 2001-05-09 Method controlling monitoring of serial communication of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0025060A KR100370255B1 (en) 2001-05-09 2001-05-09 Method controlling monitoring of serial communication of data

Publications (2)

Publication Number Publication Date
KR20020085518A KR20020085518A (en) 2002-11-16
KR100370255B1 true KR100370255B1 (en) 2003-02-05

Family

ID=27704163

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0025060A KR100370255B1 (en) 2001-05-09 2001-05-09 Method controlling monitoring of serial communication of data

Country Status (1)

Country Link
KR (1) KR100370255B1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930010750A (en) * 1991-11-26 1993-06-23 정용문 Asynchronous Protocol Analysis Using Personal Computer
KR970076257A (en) * 1996-05-10 1997-12-12 김광호 Serial bus data monitoring device and its method
KR970076279A (en) * 1996-05-10 1997-12-12 김주용 A processing method and apparatus for utilizing a single serial communication line in a versatile manner
JPH10320138A (en) * 1997-05-16 1998-12-04 Canon Inc Information processing system, information processor and information processing method
KR19990025056A (en) * 1997-09-10 1999-04-06 이종수 Monitoring device
JP2000022782A (en) * 1998-07-07 2000-01-21 Nec Corp Protocol monitoring method and protocol monitoring system
KR20000020697A (en) * 1998-09-23 2000-04-15 윤종용 Protocol analysis system
KR20010018829A (en) * 1999-08-23 2001-03-15 윤종용 Apparatus for monitoring processor state

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930010750A (en) * 1991-11-26 1993-06-23 정용문 Asynchronous Protocol Analysis Using Personal Computer
KR970076257A (en) * 1996-05-10 1997-12-12 김광호 Serial bus data monitoring device and its method
KR970076279A (en) * 1996-05-10 1997-12-12 김주용 A processing method and apparatus for utilizing a single serial communication line in a versatile manner
JPH10320138A (en) * 1997-05-16 1998-12-04 Canon Inc Information processing system, information processor and information processing method
KR19990025056A (en) * 1997-09-10 1999-04-06 이종수 Monitoring device
JP2000022782A (en) * 1998-07-07 2000-01-21 Nec Corp Protocol monitoring method and protocol monitoring system
KR20000020697A (en) * 1998-09-23 2000-04-15 윤종용 Protocol analysis system
KR20010018829A (en) * 1999-08-23 2001-03-15 윤종용 Apparatus for monitoring processor state

Also Published As

Publication number Publication date
KR20020085518A (en) 2002-11-16

Similar Documents

Publication Publication Date Title
US9772956B2 (en) Universal serial bus emulation of a host connection
EP3117327B1 (en) Universal serial bus emulation of peripheral devices
US20150261696A1 (en) Universal serial bus emulation of peripheral devices
CN107465957A (en) The method that intelligent television quickly connects ARC power amplifying devices
US20070043881A1 (en) Data bus monitoring and controlling system and method
KR100370255B1 (en) Method controlling monitoring of serial communication of data
JP4494402B2 (en) Wireless device test system
JP5426229B2 (en) Motor equipment
JP2012138757A (en) Repeater device
JP3750467B2 (en) USB simulation apparatus and storage medium
JP3854273B2 (en) Apparatus and method for setting communication packet
CN117082107B (en) Communication debugging equipment and communication debugging method
US20030110269A1 (en) Method and system for wireless management of servers
JP3870890B2 (en) Operation board, remote I / O communication control method
JPH09218995A (en) Signal transmitter for instrumentation equipment
JP3856991B2 (en) Network device inspection system
KR20050034438A (en) Data port connection status indicating method for mobile communication terminal
JPH0763805A (en) Disconnection detecting method
JP3483142B2 (en) Inspection device for modem for mobile data communication
JP4866288B2 (en) Data communication device and data line termination device
CN115243127A (en) Stereo set firmware upgrading circuit and electronic equipment
JPH05191476A (en) Protocol analyzer
CN116361140A (en) Test method and device, electronic equipment and storage medium
KR20050055919A (en) A processor access controller for a multi-processor system and the method thereof
JPH055419B2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee