KR100634229B1 - CAN network controll system and test and debugging method thereof - Google Patents

CAN network controll system and test and debugging method thereof Download PDF

Info

Publication number
KR100634229B1
KR100634229B1 KR1020040072756A KR20040072756A KR100634229B1 KR 100634229 B1 KR100634229 B1 KR 100634229B1 KR 1020040072756 A KR1020040072756 A KR 1020040072756A KR 20040072756 A KR20040072756 A KR 20040072756A KR 100634229 B1 KR100634229 B1 KR 100634229B1
Authority
KR
South Korea
Prior art keywords
operation program
electronic device
bus
test
message
Prior art date
Application number
KR1020040072756A
Other languages
Korean (ko)
Other versions
KR20060023862A (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 KR1020040072756A priority Critical patent/KR100634229B1/en
Publication of KR20060023862A publication Critical patent/KR20060023862A/en
Application granted granted Critical
Publication of KR100634229B1 publication Critical patent/KR100634229B1/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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Abstract

본 발명은 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 공개한다. 이 캔 네트워크 관리 시스템은 메시지를 전송하는 캔 버스와, 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅동작을 요청받으면, 상기 구비된 동작 프로그램을 상기 캔 버스로부터 전송되는 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들과, 상기 다수개의 전자 장치들 각각의 동작 프로그램을 모두 구비하고, 테스트 시에는 테스트하고자하는 상기 전자 장치의 상기 동작 프로그램을 동작시켜 상기 동작 프로그램의 정상 동작 여부를 확인하고, 오동작되는 상기 전자 장치가 존재하면, 상기 오동작되는 전자 장치의 상기 동작 프로그램을 획득하여 상기 캔 버스로 전송하는 테스터기와, 상기 캔 버스와 상기 테스터기를 물리적으로 연결하는 인터페이스 수단을 구비하는 것을 특징으로 한다. 따라서 오동작되는 전자 장치를 디버깅하는 데 소용되는 시간과 비용을 획기적으로 감소시킨다. The present invention discloses a can network management system and its testing and debugging method. The CAN network management system includes a CAN bus for transmitting a message and an operation program, respectively, and when a test operation is requested through the CAN bus, the CAN network management system tests whether the provided operation program is normally operated, and through the CAN bus. When a debugging operation is requested, a plurality of electronic devices for restoring the provided operating program as an operating program transmitted from the CAN bus, and an operating program of each of the plurality of electronic devices are all provided. Operate the operation program of the electronic device to be tested to check whether the operation program is normally operated, and if the malfunctioning electronic device exists, acquire the operation program of the malfunctioning electronic device and transmit the same to the CAN bus. With tester to do, The bus and the tester And interface means for physically connecting the groups. This significantly reduces the time and cost of debugging a malfunctioning electronic device.

Description

캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법{CAN network controll system and test and debugging method thereof}CAN network controll system and test and debugging method

도 1은 일반적인 캔 네트워크 시스템의 개략적인 구성을 도시한 도면이다. 1 is a diagram illustrating a schematic configuration of a general can network system.

도 2는 종래의 기술에 따른 캔 네트워크 관리 시스템의 테스트 방법을 설명하기 위한 기능 블록도를 도시한 도면이다. 2 is a block diagram illustrating a test method of a can network management system according to the related art.

도 3은 본 발명의 기술에 따른캔 네트워크 관리 시스템을 설명하기 위한 기능 블록도를 도시한 도면이다. 3 is a functional block diagram illustrating a can network management system according to the technology of the present invention.

도 4는 본 발명의 기술에 따른 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 설명하기 위한 흐름도를 도시한 도면이다. 4 is a flowchart illustrating a test and debugging method of a can network management system according to an exemplary embodiment of the present invention.

본 발명은 캔 네트워크 관리 시스템에 관한 것으로, 특히 캔(controller area network; CAN) 프로토콜을 이용하는 차량내의 전자 장치들을 통합 관리하는 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a can network management system, and more particularly, to a can network management system and a test and debugging method thereof for integrated management of electronic devices in a vehicle using a controller area network (CAN) protocol.

캔은 초기에 자동차 산업 분야에 적용하기 위해 고안된 시리얼 네트워크 통신 방식으로, 근래에는 자동차 분야뿐만 아니라 산업 전 분야에 폭 넓게 적용되고 있으며 자동차 분야에 적용되는 기본적인 캔 네트워크 시스템 구성은 도 1과 같다.The can is a serial network communication scheme designed to be applied to the automotive industry in the early days. Recently, the can is widely applied to not only the automobile field but also the entire industry, and the basic can network system configuration applied to the automobile field is shown in FIG. 1.

도 1에 도시된 바와 같이, 캔 네트워크 시스템은 다수개의 노드를 구비하며 각종 메시지를 전송하는 캔 버스(1), 캔 버스(1)의 각 노드(2)에 연결되고, 각 노드(2)를 통해 메시지를 송수신함으로서 해당 동작을 수행하는 다수개의 전자 장치(ECU-Electronic Control Unit)들(2)로 구성된다. As shown in FIG. 1, a CAN network system includes a CAN bus 1 having a plurality of nodes and connected to each node 2 of the CAN bus 1, which transmits various messages, and connects each node 2 to each other. It consists of a plurality of electronic devices (ECU-Electronic Control Units) (2) performing a corresponding operation by sending and receiving a message through.

캔 네트워크 시스템에 사용되는 메시지는 송신측이나 수신측의 주소를 포함하지 않으며, 수신측의 식별자 정보만을 포함한다. The message used for the CAN network system does not include an address of a sender or a receiver, but includes only identifier information of a receiver.

이에 캔 버스(1)는 캔 프로토콜에 따라 다수개의 노드들(2) 또는 다수개의 전자 장치들(2) 각각에 고유한 식별자(또는 아이디)를 할당한다. 이는 공지된 기술에 따른 것이므로 상세한 설명은 생략하기로 한다. The can bus 1 allocates a unique identifier (or ID) to each of the plurality of nodes 2 or the plurality of electronic devices 2 according to the can protocol. Since this is in accordance with known techniques, a detailed description thereof will be omitted.

그리고 캔 버스(1)의 각 노드에 연결된 전자장치는 캔 버스(1)를 통해 전송되는 메시지를 획득하고, 획득한 메시지의 식별자를 통해 수신 여부를 확인하고, 메시지의 식별자가 자신의 식별자와 동일하면 획득한 메시지를 입력 메시지로써 받아 들이고, 이에 따른 동작을 수행한다. The electronic device connected to each node of the CAN bus 1 acquires a message transmitted through the CAN bus 1, checks whether it is received through the identifier of the acquired message, and the identifier of the message is the same as its identifier. When the received message is received as an input message, the operation is performed accordingly.

이와 같은 구성되는 캔 네트워크 시스템의 각 전자 장치는 도 2와 같은 구성을 가지는 캔 네트워크 관리 시스템을 통해 정상 동작 여부를 진단한다.Each electronic device of the can network system configured as described above diagnoses normal operation through the can network management system having the configuration as shown in FIG. 2.

도 2는 종래의 기술에 따른 캔 네트워크 관리 시스템의 기능 블럭도를 도시한 도면이다. 2 is a functional block diagram of a can network management system according to the prior art.

도 2에 나타난 바와 같이, 종래의 캔 네트워크 관리 시스템은 캔 버스(1)와, 다수개의 전자 장치들(2) 각각의 내부에 설치되는 메모리(2a) 및 동작 제어 모 듈(2b)과, 캔 버스용 USB(3)와, 테스터기(4)의 내부에 설치되는 테스트 모듈(4a), 테스트용 메모리(4b), 및 사용자 인터페이스 수단(4c)을 구비한다.As shown in FIG. 2, a conventional can network management system includes a can bus 1, a memory 2a and an operation control module 2b installed inside each of a plurality of electronic devices 2, and a can. A bus USB 3, a test module 4a installed inside the tester 4, a test memory 4b, and a user interface means 4c are provided.

전자 장치(2)의 메모리(2a)는 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램과 동작 프로그램의 데이터들을 저장한다. The memory 2a of the electronic device 2 stores an operation program for driving the operation control module 2b and data of the operation program.

캔 버스(1)는 각 전자 장치(2)로부터 또는 캔 버스용 USB(3)로부터 출력되는 메시지를 전송한다. The CAN bus 1 transmits a message output from each electronic device 2 or from the USB 3 for the CAN bus.

전자 장치(2)의 동작 제어 모듈(2b)은 캔 버스(1)를 통해 자신에 해당되는 메시지를 수신하면, 메모리(2a)내의 저장된 동작 프로그램을 구동시켜, 수신한 메시지에 따른 동작을 수행한다. 특히, 캔 버스(1)를 통해 테스트 메시지를 수신한 경우에는 테스트 메시지에 따른 동작을 수행하고, 동작 결과를 반영하는 테스트 결과 통보 메시지를 생성하여 캔 버스(1)로 다시 출력하여 준다. When the operation control module 2b of the electronic device 2 receives a message corresponding to itself through the CAN bus 1, the operation control module 2b drives an operation program stored in the memory 2a to perform an operation according to the received message. . In particular, when a test message is received through the CAN bus 1, an operation according to the test message is performed, and a test result notification message reflecting the operation result is generated and output to the CAN bus 1 again.

캔 버스용 USB(3)는 캔 버스(1)와 외부의 테스터기(4)를 물리적으로 연결하고, 캔 버스(1)를 통해 전송되는 메시지를 테스터기(4)로, 테스터기(4)로부터 출력되는 메시지는 캔 버스(1)로 출력한다.USB (3) for the CAN bus physically connects the CAN bus (1) and an external tester (4), and outputs a message transmitted through the CAN bus (1) to the tester (4), which is output from the tester (4). The message is output to the CAN bus 1.

테스터기(4)의 테스트 모듈(4a)은 캔 버스(1)에 연결된 전자 장치들(2) 각각의 동작 상태를 테스트한다. 이를 위해 테스트 모듈(4a)은 사용자가 사용자 인터페이스 수단(4c)을 통해 테스트할 전자 장치(2)를 선택할 수 있도록 하고, 사용자가 테스트할 전자 장치(2)를 선택하면, 선택된 전자 장치(2)의 식별자를 포함하는 테스트 메시지를 생성하여 캔 버스용 USB(3)로 출력한다. 그리고 캔 버스용 USB(3)로부터 테스트 결과 통보 메시지를 수신하고, 이를 분석하여 특정 전자 장치(2)의 정 상 동작 유무를 확인함과 동시에 사용자 인터페이스 수단(4c)을 통해 테스트 결과를 출력하고, 테스트용 메모리(4b)에 저장된 전자 장치(2)의 테스트 결과를 현재의 테스트 결과로 업데이트한다. The test module 4a of the tester 4 tests the operating state of each of the electronic devices 2 connected to the can bus 1. To this end, the test module 4a allows the user to select the electronic device 2 to test via the user interface means 4c, and when the user selects the electronic device 2 to test, the selected electronic device 2 Generates a test message including the identifier of and outputs it to the USB for the CAN bus. Then, the test result notification message is received from the USB 3 for the bus, and the analysis is performed to confirm the normal operation of the specific electronic device 2 and at the same time output the test result through the user interface means 4c, The test result of the electronic device 2 stored in the test memory 4b is updated with the current test result.

테스터기(4)의 테스트용 메모리(4b)는 다수개의 전자 장치들(2) 각각에 메모리 영역을 할당하고, 각 메모리 영역에는 해당 전자 장치(2)(또는 식별자)의 테스트 결과를 저장한다. The test memory 4b of the tester 4 allocates a memory area to each of the plurality of electronic devices 2, and stores a test result of the corresponding electronic device 2 (or identifier) in each memory area.

테스터기(4)의 사용자 인터페이스 수단(4c)은 모니터 장치(미도시), 오디오 장치(미도시), 및 키 입력장치(미도시)를 구비하고, 모니터 장치 및 오디오 장치를 통해서는 테스터기(4)의 동작 상태 및 다수개의 전자 장치(2)의 상태를 시각적 및 청각적으로 인식할 수 있도록 하고, 키 입력 장치를 통해서는 사용자가 테스터기(4)의 동작 모드 및 테스트할 전자 장치(2)를 선택하여 줄 수 있도록 한다. The user interface means 4c of the tester 4 includes a monitor device (not shown), an audio device (not shown), and a key input device (not shown), and the tester 4 is provided through the monitor device and the audio device. Enable the user to visually and audibly recognize the operating state of the electronic device 2 and the state of the plurality of electronic devices 2, and the user selects the operation mode of the tester 4 and the electronic device 2 to be tested through the key input device. To give.

이와 같은 종래의 기술에 따른 캔 네트워크 관리 시스템은 캔 네트워크 시스템에 외부의 테스터기(4)를 접속시키고, 테스터기(4)를 이용하여 캔 네트워크 시스템에 접속된 다수개의 전자 장치들의 정상 동작 여부를 확인하여 준다. The conventional can network management system connects an external tester 4 to the can network system and checks whether the plurality of electronic devices connected to the can network system are normally operated by using the tester 4. give.

그러나 종래의 기술에 따른 캔 네트워크 관리 시스템은 캔 버스(1)를 통해 연결되는 다수개의 전자 장치들의 정상 동작 여부만을 확인하는 수준에 머물러 있다. However, the can network management system according to the related art remains at a level of confirming only normal operation of a plurality of electronic devices connected through the can bus 1.

이에 종래에는 오동작되는 전자 장치를 확인하고, 이를 디버깅하는 경우, 오동작되는 전자 장치를 차체에서 분리하고, 분리된 전자 장치를 다시 디버깅 프로그램을 구비하는 별도의 제어 장치와 연결하고, 이를 이용하여 전자 장치의 동작 프 로그램을 수정하여 주어야 하였다.Therefore, in the related art, when a malfunctioning electronic device is identified and debugged, the malfunctioning electronic device is disconnected from the vehicle body, and the separated electronic device is connected to a separate control device having a debugging program. The operation program of the system had to be modified.

따라서 오동작되는 전자 장치를 디버깅하는 경우, 많은 시간과 비용이 소요되는 문제가 있었다. Therefore, when debugging a malfunctioning electronic device, there is a problem that takes a lot of time and money.

본 발명의 목적은 캔 버스를 이용하여 각 전자 장치의 정상 동작 여부를 확인하고 오동작하는 전자 장치를 수정할 수 있도록 하는 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 제공하는 것이다. An object of the present invention is to provide a can network management system and a method for testing and debugging the same, which can identify a normal operation of each electronic device using a can bus and correct a malfunctioning electronic device.

상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템은 메시지를 전송하는 캔 버스와, 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅동작을 요청받으면, 상기 구비된 동작 프로그램을 상기 캔 버스로부터 전송되는 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들과, 상기 다수개의 전자 장치들 각각의 동작 프로그램을 모두 구비하고, 테스트 시에는 테스트하고자하는 상기 전자 장치의 상기 동작 프로그램을 동작시켜 상기 동작 프로그램의 정상 동작 여부를 확인하고, 오동작되는 상기 전자 장치가 존재하면, 상기 오동작되는 전자 장치의 상기 동작 프로그램을 획득하여 상기 캔 버스로 전송하는 테스터기와, 상기 캔 버스와 상기 테스터기를 물리적으로 연결하는 인터페이스 수단을 구비하는 것을 특징으로 한다. The can network management system of the present invention for achieving the above object is provided with a can bus for transmitting a message and an operation program, respectively, and if a test operation is requested through the can bus, whether the provided operation program is normally operated or not. Each of the plurality of electronic devices for re-storing the provided operation program as an operation program transmitted from the can bus, when each test and request for debugging operation through the CAN bus, and each operation of the plurality of electronic devices In the test, the operation program of the electronic device to be tested is operated to check whether the operation program is normally operated, and if the malfunctioning electronic device exists, the operation of the malfunctioning electronic device. A program is obtained and sent to the canvas. And an interface means for physically connecting the can bus and the tester.

상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 시스템은 메시지를 전송하는 캔 버스와, 상기 캔 버스에 연결되며, 고유의 식별자와 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅 동작을 요청받으면, 상기 캔 버스로부터 전송되는 동작 프로그램을 상기 구비된 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들을 구비하고, 상기 전자 장치는 상기 캔 버스로부터 상기 전자 장치의 식별자와 동일한 식별자를 포함하는 동작 프로그램을 수신하면, 상기 전자 장치에 구비된 동작 프로그램을 상기 수신된 동작 프로그램으로 재저장하는 디버깅 모듈을 더 구비하는 것을 특징으로 한다.The can network system of the present invention for achieving the above object is provided with a can bus for transmitting a message, and connected to the can bus, each having a unique identifier and an operation program, when a test operation is requested through the can bus. And a plurality of electronic devices that test whether each of the provided operating programs are normally operated, and when the debugging operation is requested through the CAN bus, re-save the operating program transmitted from the CAN bus into the provided operating program, respectively. The electronic device may further include a debugging module configured to re-store the operation program included in the electronic device as the received operation program when receiving the operation program including the same identifier as the identifier of the electronic device from the canvas. Characterized in that.

상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템의 디버깅 방법은 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장하는 메모리 초기화 단계와, 상기 테스터기는 상기 메모리를 읽어 디버깅할 전자 장치의 동작 프로그램을 획득하고, 상기 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 한다. In the debugging method of the CAN network management system of the present invention for achieving the above object, the tester recognizes the identifier of each of the plurality of electronic devices, and stores the operation program of each of the plurality of electronic devices in an internal memory. And a memory initialization step, wherein the tester acquires an operation program of the electronic device to be read by reading the memory, converts the obtained operation program into a message having an identifier of the electronic device to be debugged, and outputs the message to the canvas. The electronic device having an operation program providing step and an identifier identical to the identifier included in the message acquires a new operation program from the message transmitted through the CAN bus, and redirects the new operation program to an internal operation program. Save Action Program Debug And a ging step.

상기의 목적을 달성하기 위한 본 발명의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법은 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장 하는 메모리 초기화 단계와, 상기 테스터기는 상기 테스트할 전자 장치가 선택되면, 상기 선택된 전자 장치의 식별자를 포함하며 상기 테스트동작을 요청하기 위한 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 요청 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지에 응답하여 테스트 동작을 수행하고, 테스트 결과를 반영하는 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 수행 단계와, 상기 테스터기는 상기 테스트 결과를 반영하는 메시지의 수신하여 분석하고 상기 테스트를 수행한 전자 장치가 오동작됨이 확인되면, 상기 테스터기 내부의 메모리를 읽어 상기 테스트를 수행한 전자 장치의 동작 프로그램을 획득하는 동작 프로그램 획득 단계와, 상기 테스터기는 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계와, 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 한다. In the test and debugging method of the can network management system of the present invention for achieving the above object, the tester recognizes the identifier of each of the plurality of electronic devices, the operation program of each of the plurality of electronic devices in the internal memory A memory initialization step of storing a memory; and a test requesting step of generating a message for requesting the test operation by including the identifier of the selected electronic device when the electronic device to be tested is selected, and outputting the message to the canvas; The electronic device having the same identifier as the identifier included in the message performs a test operation in response to the message transmitted through the canvas and generates a message reflecting a test result and outputs the message to the canvas. Performing and the tester Acquiring and analyzing a message reflecting an error, and acquiring an operation program of the electronic device which performed the test by reading a memory inside the tester when it is confirmed that the electronic device which performed the test is malfunctioning; The tester converts the obtained operation program into a message having an identifier of the electronic device to be debugged, and then outputs the operation program to the canvas, and the electronic device having the same identifier as the identifier included in the message. And an operation program debugging step of acquiring a new operation program from the message transmitted through the CAN bus and resave the new operation program as an internal operation program.

이하, 첨부한 도면을 참고로 하여 본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법을 설명하면 다음과 같다.Hereinafter, a can network management system and a test and debugging method thereof according to the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명의 캔 네트워크 관리 시스템의 기능 블럭도를 도시한 도면이다. 3 is a functional block diagram of a can network management system of the present invention.

도 3에 나타난 바와 같이, 본 발명의 캔 네트워크 관리 시스템은 도 2에서와 동일하게 캔 버스(1)와, 다수개의 전자 장치들(5)과, 캔 버스용 USB(3)와, 테스터기(6)를 구비하되, 각 전자 장치(5)는 디버깅 모듈(5a)을 더 구비하고, 테스터기(6)는 디버깅 모듈(6a) 및 디버깅용 메모리(6b)를 더 구비한다.As shown in FIG. 3, the can network management system of the present invention is the same as in FIG. 2, the CAN bus 1, the plurality of electronic devices 5, the USB for the bus 3, and the tester 6 Each electronic device 5 further includes a debugging module 5a, and the tester 6 further includes a debugging module 6a and a debugging memory 6b.

이에 도 2와 동일한 구성 및 동작을 수행하는 도 3의 구성요소에 대해서는 도 2와 동일한 번호를 부여하고, 이에 대한 상세한 설명은 생략하기로 한다. Accordingly, the components of FIG. 3 that perform the same configuration and operation as those of FIG. 2 are given the same numbers as in FIG. 2, and detailed description thereof will be omitted.

전자 장치(5)의 디버깅 모듈(5a)은 오동작하는 전자 장치(5)의 동작 프로그램을 수정하여 전자 장치(5)의 오동작을 디버깅한다. 이에 디버깅 모듈(5a)은 테스트기(6)가 출력하는 자신의 식별자를 가지는 디버깅 메시지들이 캔 버스(1)를 통해 전송되면, 수신된 디버깅 메시지들을 디코딩하여 유효 데이터들을 획득하고, 획득된 유효 데이터들을 조립하여 동작 프로그램 및 동작 프로그램의 데이터를 획득한다. 그리고 메모리(2a)내에 저장되어 있는 기존의 동작 프로그램 및 동작 프로그램의 데이터를 새로이 획득된 동작 프로그램 및 동작 프로그램의 데이터로 업데이트한다. 이에 전자 장치(5)는 업데이트된 동작 프로그램 및 동작 프로그램의 데이터에 따른 동작을 수행하여 정상적인 동작을 수행할 수 있게 된다. 즉, 전자 장치(5)의 오동작이 디버깅된다. The debugging module 5a of the electronic device 5 modifies the operation program of the malfunctioning electronic device 5 to debug the malfunction of the electronic device 5. Therefore, when debugging messages having their identifiers output by the tester 6 are transmitted through the CAN bus 1, the debugging module 5a decodes the received debugging messages to obtain valid data, and obtains the obtained valid data. Assemble to obtain the motion program and the data of the motion program. Then, the data of the existing operation program and the operation program stored in the memory 2a are updated with the newly obtained operation program and the operation program data. Accordingly, the electronic device 5 may perform an operation according to the updated operation program and the data of the operation program. That is, malfunction of the electronic device 5 is debugged.

테스터기(6)의 디버깅 모듈(6a)은 다수개의 전자 장치들(5) 중, 오동작되는 전자 장치(5)가 있으면, 이에 새로운 동작 프로그램 및 이의 데이터를 제공하여 전자 장치(5)가 정상동작 될 수 있도록 한다. 더욱 상세하게는 디버깅 모듈(6a)은 테스트용 메모리(4b)를 실시간으로 모니터링하고, 그 결과 디버깅 동작이 필요한 전자 장치가 발견되면, 사용자 인터페이스 수단(4c)을 통해 디스플레이하고, 사용자가 해당 전자 장치(5)의 디버깅을 요청할 수 있도록 한다. 이에 사용자가 디버깅할 전자 장치(5)를 선택하면, 디버깅용 메모리(6b)를 읽어 선택된 전자 장치(5)에 대응되는 동작 프로그램 및 이 동작 프로그램의 데이터를 획득하고, 획득된 동작 프로그램 및 이 동작 프로그램의 데이터를 분해 및 디코딩하여 다수개의 디버깅 메시지들로 변환한 후, 캔 버스용 USB(3)로 출력한다.
예를 들어, 디버깅 모듈(6a)은 "*0001"의 식별자를 가지는 전자 장치(5a)가 오동작됨을 감지하면, 디버깅 모듈(6a)은 디버깅용 메모리(6b)를 검색하여 "*0001"의 식별자에 대응되는 동작 프로그램과 이의 데이터 "A file"과 "A data"를 획득한 후, 복수개의 디버깅 메시지들로 분해 및 디코딩한 후, 이를 캔버스를 통해 전송하여준다. 그러면 "*0001"의 식별자를 가지는 전자 장치(5)는 복수개의 디버깅 메시지들 수신하게 되고, 디버깅 모듈(5a)을 통해 이들을 인코딩 및 조합하여 다시 "A file"과 "A data"을 생성한 후, 이를 새로운 동작 프로그램과 이의 데이터로 업데이트하게 된다. 즉, "*0001"의 식별자를 가지는 전자 장치(5)는 오동작되는 동작 프로그램 및 이의 데이터를 새로운 동작 프로그램과 이의 데이터로 수정하여, 오동작을 디버깅하여 준다.
If the debugging module 6a of the tester 6 has a malfunctioning electronic device 5 among the plurality of electronic devices 5, it provides a new operation program and data thereof so that the electronic device 5 can operate normally. To help. More specifically, the debugging module 6a monitors the test memory 4b in real time, and as a result, if an electronic device requiring debugging operation is found, it is displayed through the user interface means 4c, and the user displays the electronic device. Allow the debugging of (5) to be requested. When the user selects the electronic device 5 to be debugged, the debugging memory 6b is read to acquire an operation program corresponding to the selected electronic device 5 and data of the operation program, and the obtained operation program and the operation. The data of the program is decomposed and decoded, converted into a plurality of debugging messages, and then output to the CAN bus 3.
For example, when the debugging module 6a detects that the electronic device 5a having the identifier of "* 0001" is malfunctioning, the debugging module 6a searches for the debugging memory 6b and identifies the identifier of "* 0001". After acquiring an operation program corresponding to the data and its data "A file" and "A data", it is decomposed and decoded into a plurality of debugging messages, and then transmitted through the canvas. Then, the electronic device 5 having an identifier of "* 0001" receives a plurality of debugging messages, and encodes and combines them through the debugging module 5a to generate "A file" and "A data" again. This is then updated with the new operating program and its data. That is, the electronic device 5 having an identifier of "* 0001" modifies the malfunctioning operation program and its data into a new operation program and its data, and debugs the malfunction.

이때의 디버깅 메시지들은 오동작되는 전자 장치(5)의 식별자를 포함하며, 캔 프로토콜에 따른 메시지 프레임 형태를 따른다. In this case, the debugging messages include an identifier of the malfunctioning electronic device 5 and follow a message frame type according to the CAN protocol.

테스터기(6)의 디버깅용 메모리(6b)는 다수개의 전자 장치들(5) 각각에 메모리 영역을 할당하고, 각 메모리 영역에 해당 전자 장치(5)의 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램 및 이 동작 프로그램의 데이터를 저장한다. The debugging memory 6b of the tester 6 allocates a memory area to each of the plurality of electronic devices 5 and drives the operation control module 2b of the electronic device 5 to each memory area. The program and the data of this operation program are stored.

테스터기(6)의 사용자 인터페이스 수단(4c)은 모니터 장치(미도시), 오디오 장치(미도시), 및 키 입력장치(미도시)를 구비하고, 모니터 장치 및 오디오 장치를 통해서는 테스터기(6)의 동작 상태 및 다수개의 전자 장치들(5)의 상태를 시각적 및 청각적으로 인식할 수 있도록 하고, 키 입력 장치를 통해서는 사용자가 테스터기(6)의 테스트 동작, 디버깅 동작, 및 테스트할 전자 장치(5)를 선택하여 줄 수 있도록 한다. The user interface means 4c of the tester 6 includes a monitor device (not shown), an audio device (not shown), and a key input device (not shown), and the tester 6 is provided through the monitor device and the audio device. It is possible to visually and audibly recognize the operating state of the state and the state of the plurality of electronic devices (5), the user through the key input device, the test operation of the tester 6, debugging operation, and the electronic device to test Please select (5).

도 4는 도 3의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 설명하기 위한 흐름도이다. FIG. 4 is a flowchart illustrating a test and debugging method of the can network management system of FIG. 3.

먼저 테스터기(6)를 캔 버스용 USB(3)에 연결하여, 캔 버스(1)에 연결된 다수개의 전자 장치들(5) 각각의 식별자를 파악하고, 디버깅용 메모리(6b)의 영역을 파악된 전자 장치들(5) 각각에 대응되는 메모리 영역으로 분할하고, 분할된 메모리 영역들 각각에는 해당 전자 장치(5)(또는 각 식별자)의 동작 제어 모듈(2b)을 구동시키기 위한 동작 프로그램 및 동작 프로그램의 데이터들을 저장한다. 또한 테스터 기(6)는 다수개의 전자 장치들(5) 각각의 테스트 결과를 초기화한 후 테스트용 메모리(4b)에 저장한다. 이에 테스터기(6)의 초기화 작업을 완료한다(단계 S1). First, the tester 6 is connected to the CAN bus USB 3 to identify identifiers of each of the plurality of electronic devices 5 connected to the CAN bus 1, and then to identify the area of the debugging memory 6b. An operation program and an operation program for dividing a memory area corresponding to each of the electronic devices 5, and for driving the operation control module 2b of the corresponding electronic device 5 (or each identifier) in each of the divided memory areas. Save the data. In addition, the tester 6 initializes test results of each of the plurality of electronic devices 5 and stores the test results in the test memory 4b. This completes the initialization of the tester 6 (step S1).

그리고 테스터기(6)는 사용자 인터페이스 수단(4c)을 통해 사용자가 테스트 모드를 선택하는지 모니터링하고(단계 S2), 사용자가 테스트 모드를 선택하고, 테스트를 수행할 전자 장치(5)를 선택하면(단계 S3), 테스트 모듈(4a)을 구동시켜 테스트할 전자 장치(5)의 식별자(예를 들어, *0001)를 포함하는 테스트 메시지를 생성하여 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S4).The tester 6 monitors whether the user selects the test mode through the user interface means 4c (step S2), and when the user selects the test mode and selects the electronic device 5 to perform the test (step S2). S3), the test module 4a is driven to generate a test message including an identifier (for example, * 0001) of the electronic device 5 to be tested to the USB 3 for the CAN bus and the CAN bus 1; Output (step S4).

캔 버스(1)를 공유하는 다수개의 전자 장치들(5) 중, 테스트 메시지에 포함된 식별자(*0001)와 동일한 식별자(*0001)를 가지는 전자 장치(5)는 테스트 메시지를 수신하고, 동작 제어 모듈(2b)을 구동시켜, 수신한 테스트 메시지에 대응되는 테스트 동작을 수행한다(단계 S5).Among the plurality of electronic devices 5 sharing the CAN bus 1, the electronic device 5 having the same identifier (* 0001) as the identifier (* 0001) included in the test message receives a test message and operates. The control module 2b is driven to perform a test operation corresponding to the received test message (step S5).

테스트 동작이 완료되면, 테스트 동작 결과를 반영하는 테스트 결과 통보 메시지를 생성하여 캔 버스(1) 및 캔 버스용 USB(3)로 출력한다(단계 S6). When the test operation is completed, a test result notification message reflecting the test operation result is generated and output to the CAN bus 1 and the CAN bus USB 3 (step S6).

테스터기(6)의 테스트 모듈(4a)은 캔 버스용 USB(3)를 통해 테스트 결과 통보 메시지를 수신하고, 수신한 테스트 결과 통보 메시지를 분석하여(단계 S7), 테스트를 수행한 전자 장치(5)의 정상 동작 유무를 확인함과 동시에 사용자 인터페이스 수단(4c)을 통해 테스트 결과를 출력하고, 테스트용 메모리(4b)에 저장된 전자 장치(5)의 테스트 결과를 현재에 획득된 테스트 결과로 업데이트한다. The test module 4a of the tester 6 receives the test result notification message via the USB for CAN bus 3, analyzes the received test result notification message (step S7), and performs the test. Check the normal operation status and output the test result through the user interface means 4c, and update the test result of the electronic device 5 stored in the test memory 4b with the currently obtained test result. .

테스트 결과 통보 메시지의 분석 결과, 테스트를 수행한 전자 장치(5)가 정상동작됨이 확인되면(단계 S8), 다시 S3 단계로 진입하여 다른 전자 장치(5)를 테 스트하도록 하고, 전자 장치(5)가 오동작됨이 확인되면, 테스터기(6)는 사용자 인터페이스 수단(4c)을 통해 사용자가 디버깅 모드를 선택하는지를 모니터링한다(단계 S9). As a result of the analysis of the test result notification message, when it is confirmed that the electronic device 5 which has performed the test is normally operated (step S8), the process returns to step S3 to test another electronic device 5, and the electronic device ( When it is confirmed that 5) is malfunctioning, the tester 6 monitors whether the user selects the debugging mode via the user interface means 4c (step S9).

모니터링 결과, 사용자가 디버깅 모드를 선택하면, 테스터기(6)는 디버깅용 메모리(6b)의 메모리 영역들 중 디버깅할 전자 장치(5)에 대응되는 메모리 영역(*0001)을 읽어, 디버깅을 수행 할 전자 장치(5)의 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)를 획득한다. 그리고 획득된 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)를 캔 프로토롤에 따라 분해 및 디코딩하여 다수개의 디버깅 메시지들로 변환하고, 변환된 디버깅 메시지들을 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S10). As a result of monitoring, when the user selects the debugging mode, the tester 6 reads the memory area (* 0001) corresponding to the electronic device 5 to be debugged among the memory areas of the debugging memory 6b to perform debugging. An operation program of the electronic device 5 and data (A file, A data) of the operation program are obtained. Then, the obtained operating program and the data (A file, A data) of the operating program are decomposed and decoded according to the can protocol to be converted into a plurality of debugging messages, and the converted debugging messages are converted into the CAN bus USB (3) and can. Output to bus 1 (step S10).

캔 버스(1)에 연결된 다수개의 전자 장치들(5) 중, 디버깅 메시지에 포함된 식별자(*0001)와 동일한 식별자(*0001)를 가지는 전자 장치(5)의 디버깅 모듈(5a)은 디버깅 메시지들을 수신하고, 수신된 디버깅 메시지들을 다시 인코딩 및 조합하여 동작 프로그램 및 이의 데이터(A file, A data)를 획득한다. Among the plurality of electronic devices 5 connected to the CAN bus 1, the debugging module 5a of the electronic device 5 having the same identifier (* 0001) as the identifier (* 0001) included in the debugging message is a debugging message. And then re-encode and combine the received debugging messages to obtain an operating program and its data (A file, A data).

그리고 전자 장치(5)의 디버깅 모듈(5a)은 메모리내에 저장된 동작 프로그램 및 동작 프로그램의 데이터 대신에 새로이 획득된 동작 프로그램 및 동작 프로그램의 데이터(A file, A data)로 저장하고, 성공적으로 디버깅을 수행하였음을 알려주기 위한 디버깅 성공 메시지를 생성하여 캔 버스용 USB(3) 및 캔 버스(1)로 출력한다(단계 S12). The debugging module 5a of the electronic device 5 stores the newly acquired operation program and data of the operation program (A file, A data) instead of the operation program and the data of the operation program stored in the memory, and successfully debugs the data. A debugging success message is generated to indicate that the operation has been performed, and output to the CAN bus 3 and the CAN bus 1 (step S12).

테스터기(6)의 디버깅 모듈(6a)은 캔 버스용 USB(3)를 통해 디버깅 성공 메시지를 수신하면, 디버깅을 수행한 전자 장치(5)의 동작 프로그램이 성공적으로 수정되었음을 확인하고(단계 S13), 본 발명의 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법을 종료한다. When the debugging module 6a of the tester 6 receives the debugging success message via the USB bus 3 for the CAN bus, it confirms that the operation program of the electronic device 5 that has debugged was successfully modified (step S13). The test and debugging method of the can network management system of the present invention is terminated.

이와 같이 본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법은 캔 버스를 통해 테스트 메시지와 디버깅 메시지를 전송할 수 있도록 하여, 다수개의 전자 장치들의 테스트 및 디버깅 동작을 차량에 부착한 상태에서 모두 수행할 수 있도록 하는 장점을 제공한다. As described above, the can network management system of the present invention and its test and debugging method can transmit a test message and a debugging message through a can bus, so that the test and debugging operations of a plurality of electronic devices can be performed while attached to the vehicle. It offers the advantage of making it possible.

상기에서는 본 발명의 바람직한 실시 예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.

본 발명의 캔 네트워크 관리 시스템 및 이의 테스트 및 디버깅 방법은 캔 버스를 이용하여 각 전자 장치의 정상 동작 여부를 확인함과 동시에 오동작하는 전자 장치의 동작 프로그램을 수정할 수 있도록 한다. The can network management system of the present invention and its testing and debugging method can check the normal operation of each electronic device using the can bus and modify the operation program of the malfunctioning electronic device.

이에 오동작되는 전자 장치를 디버깅하는 데 소용되는 시간과 비용을 획기적으로 감소시킨다. This dramatically reduces the time and cost of debugging a malfunctioning electronic device.

Claims (15)

메시지를 전송하는 캔 버스;A can bus for sending messages; 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅동작을 요청받으면, 상기 구비된 동작 프로그램을 상기 캔 버스로부터 전송되는 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들;Each operation program is provided, and if a test operation is requested through the CAN bus, each test is performed on whether the provided operation program is normally operated. When a debugging operation is requested through the CAN bus, the provided operation program is stored in the can. A plurality of electronic devices each restoring an operation program transmitted from a bus; 상기 다수개의 전자 장치들 각각의 동작 프로그램을 모두 구비하고, 테스트 시에는 테스트하고자하는 상기 전자 장치의 상기 동작 프로그램을 동작시켜 상기 동작 프로그램의 정상 동작 여부를 확인하고, 오동작되는 상기 전자 장치가 존재하면, 상기 오동작되는 전자 장치의 상기 동작 프로그램을 획득하여 상기 캔 버스로 전송하는 테스터기; 및If the electronic device is provided with all of the operating programs of each of the plurality of electronic devices, and during the test, the operating program of the electronic device to be tested is operated to check whether the operating program is normally operated, and if the malfunctioning electronic device exists. A tester for acquiring the operation program of the malfunctioning electronic device and transmitting the acquired program to the CAN bus; And 상기 캔 버스와 상기 테스터기를 물리적으로 연결하는 인터페이스 수단을 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템.And network interface means for physically connecting said can bus and said tester. 제 1 항에 있어서, 상기 테스터기는 The method of claim 1, wherein the tester 상기 다수개의 전자 장치들 각각의 테스트 결과와 상기 동작 프로그램을 저장하는 메모리;A memory configured to store test results and the operation program of each of the plurality of electronic devices; 테스트하고자하는 상기 전자 장치가 선택되면, 상기 선택된 전자 장치의 식별자를 포함하며 상기 테스트 동작을 요청하기 위한 메시지를 생성하여 출력하고, 상기 메시지에 대한 응답 메시지가 수신되면, 상기 응답 메시지를 분석하여 상기 선택된 전자 장치의 상기 테스트 결과를 획득하고, 상기 획득된 테스트 결과를 상기 메모리에 저장하는 테스트모듈; 및When the electronic device to be tested is selected, a message including an identifier of the selected electronic device is generated and generated to output the message for requesting the test operation, and when a response message to the message is received, the response message is analyzed and A test module for obtaining the test result of the selected electronic device and storing the obtained test result in the memory; And 디버깅할 상기 전자 장치가 선택되면, 상기 메모리를 읽어, 상기 디버깅할 전자 장치의 상기 동작 프로그램을 획득하고, 상기 획득한 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 출력하는 디버깅 모듈을 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템.When the electronic device to be debugged is selected, the memory is read to acquire the operation program of the electronic device to be debugged, and the debugging is performed after converting the obtained operation program into a message having an identifier of the electronic device to be debugged. CAN network management system comprising a module. 제 2 항에 있어서, 상기 테스터기는 The method of claim 2, wherein the tester 모니터 장치, 오디오 장치, 및 키 입력장치를 구비하고, 상기 모니터 장치 및 상기 오디오 장치를 통해서 상기 테스터기의 동작 상태 및 상기 다수개의 전자 장치의 상태를 디스플레이하고, 상기 키 입력 장치를 통해서는 사용자가 테스터의 동작 모드 및 테스트할 전자 장치를 선택하도록 할 수 있도록 하는 사용자 인터페이스 수단을 더 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템.And a monitor device, an audio device, and a key input device, and display an operation state of the tester and a state of the plurality of electronic devices through the monitor device and the audio device, and a user through the key input device. And user interface means for selecting an operating mode and an electronic device to be tested. 제 2 항에 있어서, 상기 전자 장치는 The method of claim 2, wherein the electronic device 상기 동작 프로그램을 저장하는 메모리;A memory for storing the operation program; 상기 캔 버스로부터 상기 자신의 식별자와 동일한 식별자를 포함하며 테스트 동작을 요청하기 위한 메시지를 수신하면, 상기 동작 프로그램을 구동시켜, 테스트 동작을 수행하고, 상기 테스트 동작의 결과를 알려주기 위한 메시지를 생성하 여 상기 캔 버스로 전송하는 테스트 모듈; 및When receiving a message for requesting a test operation from the CAN bus including the same identifier as the own identifier, the operation program is executed to perform a test operation and generate a message for notifying the result of the test operation. A test module for transmitting to the can bus; And 상기 캔 버스로부터 상기 자신의 식별자와 동일한 식별자를 포함하며 새로운 동작 프로그램의 정보를 가지는 메시지를 수신하면, 상기 메시지를 조립하여 새로운 동작 프로그램을 획득하고, 상기 메모리에 저장된 동작 프로그램을 상기 새로운 동작 프로그램을 재저장하는 디버깅 모듈를 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템.When receiving a message from the CAN bus including the same identifier as the own identifier and having information of a new operation program, the message is assembled to obtain a new operation program, and the operation program stored in the memory is converted into the new operation program. A can network management system comprising a debugging module for restoring. 메시지를 전송하는 캔 버스; 및A can bus for sending messages; And 상기 캔 버스에 연결되며, 고유의 식별자와 동작 프로그램을 각각 구비하며, 상기 캔 버스를 통해 테스트동작을 요청받으면 상기 구비된 동작 프로그램의 정상 동작 여부를 각각 테스트하고, 상기 캔 버스를 통해 디버깅 동작을 요청받으면, 상기 캔 버스로부터 전송되는 동작 프로그램을 상기 구비된 동작 프로그램으로 각각 재저장하는 다수개의 전자 장치들을 구비하고, It is connected to the CAN bus and has a unique identifier and an operation program, respectively, and when a test operation is requested through the CAN bus, test whether the provided operation program is normally operated, and perform debugging operations through the CAN bus. And a plurality of electronic devices, each of which stores an operation program transmitted from the can bus into the provided operation program when requested. 상기 전자 장치는 The electronic device 상기 캔 버스로부터 상기 자신의 식별자와 동일한 식별자를 포함하며 새로운 동작 프로그램의 정보를 가지는 메시지를 수신하면, 상기 메시지를 조립하여 새로운 동작 프로그램을 획득하고, 상기 메모리에 저장된 동작 프로그램을 상기 새로운 동작 프로그램을 재저장하는 디버깅 모듈을 더 구비하는 것을 특징으로 하는 캔 네트워크 시스템.When receiving a message from the CAN bus including the same identifier as the own identifier and having information of a new operation program, the message is assembled to obtain a new operation program, and the operation program stored in the memory is converted into the new operation program. Can network system, characterized in that it further comprises a debugging module for restoring. 제 5항에 있어서, 상기 전자 장치는The method of claim 5, wherein the electronic device 상기 동작 프로그램을 저장하는 메모리를 더 구비하는 것을 특징으로 하는 캔 네트워크 시스템.And a memory for storing the operation program. 제 5항에 있어서, 상기 전자 장치는 The method of claim 5, wherein the electronic device 상기 캔 버스로부터 상기 전자 장치의 테스트 동작을 요청하는 메시지가 전송되면, 상기 동작 프로그램을 구동시켜, 테스트 동작을 수행한 후, 상기 테스트 동작의 결과를 알려주기 위한 메시지를 생성하여 상기 캔 버스로 전송하는 테스트 모듈을 더 구비하는 것을 특징으로 하는 캔 네트워크 시스템.When a message requesting a test operation of the electronic device is transmitted from the CAN bus, the operation program is driven to perform a test operation, and then a message for informing a result of the test operation is generated and transmitted to the CAN bus. Can network system, characterized in that further comprising a test module. 캔 버스, 상기 캔 버스를 공유하는 다수개의 전자 장치들, 및 상기 다수개의 전자 장치들은 테스트 및 디버깅하는 테스터기를 구비하는 캔 네트워크 관리 시스템의 디버깅 방법에 있어서, A method of debugging a CAN network management system, comprising: a CAN bus, a plurality of electronic devices sharing the can bus, and the plurality of electronic devices having a tester for testing and debugging. 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장하는 메모리 초기화 단계;A memory initializing step of identifying an identifier of each of the plurality of electronic devices and storing an operation program of each of the plurality of electronic devices in an internal memory; 상기 테스터기는 상기 메모리를 읽어 디버깅할 전자 장치의 동작 프로그램을 획득하고, 상기 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계; 및The tester obtaining an operation program of the electronic device to be read by reading the memory, converting the obtained operation program into a message having an identifier of the electronic device to be debugged, and outputting the operation program to the can bus; And 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장 치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 디버깅 방법.The electronic device having the same identifier as the identifier included in the message, the operation program debugging step of obtaining a new operation program from the message transmitted through the canvas and restoring the new operation program as an internal operation program; Debugging method of a can network management system comprising: a. 제 8항에 있어서, 상기 메모리 초기화 단계는The method of claim 8, wherein the memory initialization step is 상기 내부의 메모리의 영역을 상기 다수개의 전자 장치들 각각에 할당하는 단계; 및Allocating an area of the internal memory to each of the plurality of electronic devices; And 상기 각 메모리 영역에 상기 대응되는 전자 장치의 동작 프로그램을 저장하는 단계를 구비하는 것을 특징으로 하는 단계를 더 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 디버깅 방법.And storing an operation program of the corresponding electronic device in each of the memory areas. 제 9항에 있어서, 상기 동작 프로그램 제공 단계는 The method of claim 9, wherein the operation program providing step 상기 디버깅할 전자 장치에 대응되는 메모리 영역을 읽어, 상기 디버깅할 전자 장치의 동작 프로그램을 획득하는 단계; 및Reading a memory area corresponding to the electronic device to be debugged to obtain an operation program of the electronic device to be debugged; And 상기 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 다수개의 메시지들로 변환한 후 상기 캔 버스로 출력하는 단계를 더 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 디버깅 방법.And converting the operation program into a plurality of messages having an identifier of the electronic device to be debugged, and outputting the converted program to the can bus. 제 10 항에 있어서, 상기 동작 프로그램 디버깅 단계는 The method of claim 10, wherein the operation program debugging step 상기 캔버스로부터 전송되는 다수개의 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치가 상기 다수개의 메시지를 수신하는 단계;Receiving the plurality of messages by the electronic device having the same identifier as an identifier included in the plurality of messages transmitted from the canvas; 상기 다수개의 메시지를 조립하여 상기 새로운 동작 프로그램을 획득하는 단계; 및Assembling the plurality of messages to obtain the new operation program; And 상기 새로운 동작 프로그램을 상기 전자 장치 내부의 동작 프로그램으로 재저장하는 단계를 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 디버깅 방법.And restoring the new operation program as an operation program inside the electronic device. 캔 버스, 상기 캔 버스를 공유하는 다수개의 전자 장치들, 및 상기 다수개의 전자 장치들은 테스트 및 디버깅하는 테스터기를 구비하는 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법에 있어서, A test and debugging method of a can network management system, comprising: a can bus, a plurality of electronic devices sharing the can bus, and the plurality of electronic devices having a tester for testing and debugging. 상기 테스터기는 상기 다수개의 전자 장치들 각각의 식별자를 파악하고, 내부의 메모리에 상기 다수개의 전자 장치들 각각의 동작 프로그램을 저장하는 메모리 초기화 단계;A memory initializing step of identifying an identifier of each of the plurality of electronic devices and storing an operation program of each of the plurality of electronic devices in an internal memory; 상기 테스터기는 상기 테스트할 전자 장치가 선택되면, 상기 선택된 전자 장치의 식별자를 포함하며 상기 테스트동작을 요청하기 위한 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 요청 단계; 및A test request step of generating, when the electronic device to be tested is selected, the tester includes an identifier of the selected electronic device and generates a message for requesting the test operation and outputs the message to the CAN bus; And 상기 메시지에 포함된 식별자와 동일한 식별자를 가지는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지에 응답하여 테스트 동작을 수행하고, 테스트 결과를 반영하는 메시지를 생성하여 상기 캔 버스로 출력하는 테스트 수행 단계;The electronic device having the same identifier as the identifier included in the message performs a test operation in response to the message transmitted through the canvas, and generates a message reflecting a test result and outputs the message to the canvas. step; 상기 테스터기는 상기 테스트 결과를 반영하는 메시지의 수신하여 분석하고 상기 테스트를 수행한 전자 장치가 오동작됨이 확인되면, 상기 테스터기 내부의 메모리를 읽어 상기 테스트를 수행한 전자 장치의 동작 프로그램을 획득하는 동작 프로그램 획득 단계;When the tester receives and analyzes a message reflecting the test result and determines that the electronic device that has performed the test malfunctions, the tester reads the memory inside the tester and acquires an operation program of the electronic device that performed the test. Program acquisition step; 상기 테스터기는 획득된 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 메시지로 변환한 후 상기 캔 버스로 출력하는 동작 프로그램 제공 단계; 및The tester converting the obtained operation program into a message having an identifier of the electronic device to be debugged and outputting the operation program to the canvas; And 상기 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치는 상기 캔 버스를 통해 전송되는 상기 메시지로부터 새로운 동작 프로그램을 획득하고, 상기 새로운 동작 프로그램을 내부의 동작 프로그램으로 재저장하는 동작 프로그램 디버깅 단계를 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법.The electronic device having the same identifier as the identifier included in the message, the operation program debugging step of obtaining a new operation program from the message transmitted through the canvas and re-save the new operation program as an internal operation program Test and debugging method of the can network management system comprising the. 제 12 항에 있어서, 상기 메모리 초기화 단계는The method of claim 12, wherein the memory initialization step is 상기 내부의 메모리의 영역을 상기 다수개의 전자 장치들 각각에 할당하는 단계; 및Allocating an area of the internal memory to each of the plurality of electronic devices; And 상기 각 메모리 영역에 상기 대응되는 전자 장치의 동작 프로그램을 저장하는 단계를 구비하는 것을 특징으로 하는 단계를 더 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법.And storing an operation program of the corresponding electronic device in each of the memory areas. 제 12 항에 있어서, 상기 동작 프로그램 제공 단계는 The method of claim 12, wherein the operation program providing step 상기 디버깅할 전자 장치에 대응되는 메모리 영역을 읽어, 상기 디버깅할 전자 장치의 동작 프로그램을 획득하는 단계; 및Reading a memory area corresponding to the electronic device to be debugged to obtain an operation program of the electronic device to be debugged; And 상기 동작 프로그램을 상기 디버깅할 전자 장치의 식별자를 가지는 다수개의 메시지들로 변환한 후 상기 캔 버스로 출력하는 단계를 더 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법.And converting the operation program into a plurality of messages having an identifier of the electronic device to be debugged, and outputting the converted program to the can bus. 제 14항에 있어서, 상기 동작 프로그램 디버깅 단계는 15. The method of claim 14, wherein the operating program debugging step 상기 캔버스로부터 전송되는 다수개의 메시지에 포함된 식별자와 동일한 식별자를 가지고 있는 상기 전자 장치가 상기 다수개의 메시지를 수신하는 단계;Receiving the plurality of messages by the electronic device having the same identifier as an identifier included in the plurality of messages transmitted from the canvas; 상기 다수개의 메시지를 조립하여 상기 새로운 동작 프로그램을 획득하는 단계; 및Assembling the plurality of messages to obtain the new operation program; And 상기 새로운 동작 프로그램을 상기 전자 장치 내부의 동작 프로그램으로 재저장하는 단계를 구비하는 것을 특징으로 하는 캔 네트워크 관리 시스템의 테스트 및 디버깅 방법.Restoring the new operation program to an operation program inside the electronic device.
KR1020040072756A 2004-09-10 2004-09-10 CAN network controll system and test and debugging method thereof KR100634229B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040072756A KR100634229B1 (en) 2004-09-10 2004-09-10 CAN network controll system and test and debugging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040072756A KR100634229B1 (en) 2004-09-10 2004-09-10 CAN network controll system and test and debugging method thereof

Publications (2)

Publication Number Publication Date
KR20060023862A KR20060023862A (en) 2006-03-15
KR100634229B1 true KR100634229B1 (en) 2006-10-16

Family

ID=37129953

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040072756A KR100634229B1 (en) 2004-09-10 2004-09-10 CAN network controll system and test and debugging method thereof

Country Status (1)

Country Link
KR (1) KR100634229B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854865A (en) * 2012-09-20 2013-01-02 江苏常隆客车有限公司 Method for online debugging of electric automobile based on real-time curve

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101104166B1 (en) 2009-11-26 2012-01-12 애니포인트 미디어 그룹 System and method for testing user application using computing apparatus and media playback apparatus
KR101303880B1 (en) * 2011-12-22 2013-09-04 (주)동아엘텍 Real time communication network structure of auto in-line aging system
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN104267715A (en) * 2014-09-12 2015-01-07 中国第一汽车股份有限公司 Vehicle-mounted electronic control unit LIN bus communication automatic testing device and system
CN113534765A (en) * 2020-04-22 2021-10-22 北京新能源汽车股份有限公司 Real vehicle network test system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5323385A (en) 1993-01-27 1994-06-21 Thermo King Corporation Serial bus communication method in a refrigeration system
US6393379B1 (en) * 2000-09-01 2002-05-21 International Truck Intellectual Property Company, L.L.C. Controller area network diagnostic instrument

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5323385A (en) 1993-01-27 1994-06-21 Thermo King Corporation Serial bus communication method in a refrigeration system
US6393379B1 (en) * 2000-09-01 2002-05-21 International Truck Intellectual Property Company, L.L.C. Controller area network diagnostic instrument

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
1020040072756 - 639493
15244779 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854865A (en) * 2012-09-20 2013-01-02 江苏常隆客车有限公司 Method for online debugging of electric automobile based on real-time curve

Also Published As

Publication number Publication date
KR20060023862A (en) 2006-03-15

Similar Documents

Publication Publication Date Title
US6701233B2 (en) Scan tool with dropped communications detection and recovery and improved protocol selection
US7797581B2 (en) Device and method for testing motherboard
CN110457744B (en) SD/SDIO equipment simulation model framework and design method thereof
JP2009264770A (en) Vehicle diagnostic system, vehicle diagnostic terminal, information server device, and vehicle diagnostic method
CN111506047B (en) Vehicle diagnosis method, device and storage medium
US7385927B2 (en) Methods and structure for improved testing of embedded systems
KR100634229B1 (en) CAN network controll system and test and debugging method thereof
KR100505692B1 (en) Fail diagnostics service system and method for disc drive
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
US20240036111A1 (en) Chip verification method and apparatus, electronic device, and storage medium
JP2003318996A (en) Communication device for vehicle
CN112148537A (en) Bus monitoring device and method, storage medium, and electronic device
CN113225232B (en) Hardware testing method and device, computer equipment and storage medium
CN113542333B (en) Method for monitoring vehicle signals
CN111708568B (en) Modularized development decoupling method and terminal
CN108648298B (en) Message processing method and device, storage medium and electronic equipment
KR20160043378A (en) Apparatus and method for updating vehicle device having multiple modules
KR20030080872A (en) Method and apparatus for checking state of peripheral
CN104202207A (en) Handheld bus debugging terminal and method thereof
CN113960991A (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
CN110967614B (en) Chip testing method, chip testing equipment and chip
US20180276107A1 (en) Method for message-processing
JP3870890B2 (en) Operation board, remote I / O communication control method
CN115328838A (en) Comprehensive avionics system bus analysis system
CN115576305A (en) Vehicle diagnosis method and apparatus with separated upper and lower bodies, and storage medium

Legal Events

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

Payment date: 20121010

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130930

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140915

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150917

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160920

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20180917

Year of fee payment: 13