KR-102964053-B1 - REMOTE LOG COLLECTION DEVICE AND METHOD FOR REPROGRAMMING TOOL FOR VEHICLE CONTROLLER
Abstract
A remote log collection device for a vehicle controller reprogram tool according to one embodiment of the present invention includes a memory for storing a reprogram tool that performs a firmware update of a vehicle controller; a command receiving module that receives a command through a Git repository when a problem occurs in the reprogram tool; and a processor including a log collection module that collects a log regarding an event that occurred during the firmware update upon receiving the command through the command receiving module.
Inventors
- 신용갑
Assignees
- 주식회사 경신
Dates
- Publication Date
- 20260513
- Application Date
- 20231013
Claims (14)
- Memory for storing a reprogramming tool that performs firmware updates for a vehicle controller; and A processor comprising a command receiving module that receives a command via a Git repository when a problem occurs in the above-mentioned reprogramming tool, and a log collecting module that collects logs regarding events that occurred during the firmware update upon receiving the command via the command receiving module. Includes, The above log collection module is, If the command received through the above command receiving module is a command to collect CAN logs regarding an event that occurred during the process of performing a vehicle controller firmware update via CAN communication, the CAN log is saved to a file, and A remote log collection device for a vehicle controller reprogramming tool, characterized by saving a general log to a file when the command received through the command receiving module is a general log collection command for an event that occurred during the process of uploading/downloading to GitHub via wireless communication.
- In paragraph 1, GitHub for building the above Git repository to be used in the above reprogramming tool Includes more, The above processor A remote log collection device for a vehicle controller reprogramming tool characterized by remotely transmitting commands and receiving log files via the above GitHub.
- In paragraph 1, The above command receiving module is A remote log collection device for a vehicle controller reprogramming tool characterized by receiving the above command using the Linux Git Pull Command.
- In paragraph 1, The above command receiving module is A remote log collection device for a vehicle controller reprogram tool, characterized by identifying the reprogram tool using MAC information of the reprogram tool and transmitting the command to the log collection module depending on whether the identification information of the reprogram tool matches.
- In paragraph 1, The above log collection module is A remote log collection device for a vehicle controller reprogramming tool, characterized by saving the general log to a file using the Linux Journal command when the command received through the command receiving module is the general log collection command.
- In paragraph 1, The above log collection module is A remote log collection device for a vehicle controller reprogramming tool, characterized by saving the CAN log to a file using the Linux CANDump command when the command received through the command receiving module is the CAN log collection command.
- In paragraph 1, The above processor It further includes a log delivery module that delivers log files collected by the above log collection module through the above Git repository, and The above log collection module is A remote log collection device for a vehicle controller reprogramming tool, characterized by calling the log transmission module when the storage of the collected log is completed.
- In Paragraph 7, The above log delivery module is A remote log collection device for a vehicle controller reprogramming tool, characterized by transmitting a log file stored by the log collection module using the Linux Git Push command.
- In paragraph 8, The above log delivery module is A remote log collection device for a vehicle controller reprogramming tool, characterized by deleting the log file when the transmission of the log file is completed.
- When a problem occurs in a reprogramming tool performing a firmware update for a vehicle controller, the step of the processor's command receiving module receiving a command through a Git repository; and A step of collecting logs regarding events that occurred during the firmware update as the log collection module of the above processor receives the command through the command receiving module. Includes, The step of collecting the above logs is, A step of saving a CAN log to a file if the command received through the command receiving module is a command to collect a CAN log regarding an event that occurred during the process of performing a vehicle controller firmware update via CAN communication; and A method for collecting remote logs of a vehicle controller reprogramming tool, characterized by including the step of saving a general log to a file when the command received through the command receiving module is a general log collection command for an event that occurred during the process of uploading/downloading to GitHub via wireless communication.
- In Paragraph 10, A step in which the command receiving module of the above processor identifies the reprogram tool using the MAC information of the reprogram tool; and The step of the command receiving module of the above processor transmitting the command to the log collection module according to whether the identification information of the above reprogram tool matches. A method for collecting remote logs of a vehicle controller reprogramming tool, characterized by further including
- In Paragraph 10, If the command received through the command receiving module is the general log collection command, the log collection module of the processor saves the general log to a file using the Linux Journal command. A method for collecting remote logs of a vehicle controller reprogramming tool, characterized by further including
- In Paragraph 10, If the command received through the command receiving module is the CAN log collection command, the log collection module of the processor saves the CAN log to a file using the Linux CANDump command. A method for collecting remote logs of a vehicle controller reprogramming tool, characterized by further including
- In Paragraph 10, The log delivery module of the above processor delivers the log file collected by the log collection module through the Git repository. Includes more, The above log collection module is A remote log collection method for a vehicle controller reprogramming tool, characterized by calling the log transmission module when the storage of the collected log is completed.
Description
Remote Log Collection Device and Method for Reprogramming Tool for Vehicle Controller Embodiments of the present invention relate to an apparatus and method for remote log collection of a vehicle controller reprogramming tool. In recent vehicles, most nodes of the vehicle network are composed of ECUs (Electronic Control Units), such as the BCM/ETACS (Body Control Module/Electronic Time & Alarm Control System) that controls electrical and chassis components, the ABS ECU (Anti-lock Brake System Electronic Control Unit), the engine ECU, and the airbag ECU. These ECUs receive vehicle diagnostic services for safe and economical operation, which enables the prevention of vehicle breakdowns in advance and provides various vehicle information, such as driving record management and statistical data. In addition, the ECUs receive software upgrades, or reprogramming, as needed to change specifications or upgrade functions. If a firmware update is required for the vehicle controller, perform the update using reprogramming equipment. If a problem occurs during the reprogramming process, extract and deliver the log files for cause analysis. Copy and deliver the log files stored within the reprogramming tool using a USB storage device. If delivery via USB is difficult, deliver the reprogramming equipment itself or connect it directly to a laptop. Under the existing method, additional user work is required to extract log files when a problem occurs with the automotive controller reprogramming tool. Copying and delivering files to a USB storage device results in lengthy root cause analysis. Furthermore, in most cases, USB storage devices are difficult to use due to removable media security policies. Even delivering the reprogramming device itself requires significant time for analysis. To analyze the device by directly connecting a laptop, development personnel must visit the site. FIG. 1 is a block diagram illustrating a remote log collection device for a vehicle controller reprogramming tool according to one embodiment of the present invention. Figure 2 is a block diagram illustrated to explain the detailed configuration of the processor of Figure 1. FIGS. 3 and 4 are flowcharts illustrating a method for collecting remote logs of a vehicle controller reprogramming tool according to an embodiment of the present invention. The advantages and/or features of the present invention and the methods for achieving them will become clear by referring to the embodiments described below in detail together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below but may be implemented in various different forms. These embodiments are provided merely to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Throughout the specification, the same reference numerals refer to the same components. In addition, the preferred embodiments of the present invention described below focus on explaining the functional configurations that must be additionally provided for the present invention, while omitting as much as possible the system functional configurations that are already provided in each system functional configuration or are ordinarily provided in the technical field to which the present invention belongs, in order to efficiently explain the technical components constituting the present invention. If a person skilled in the art to which the present invention belongs is able to easily understand the functions of the components that are conventionally used among the functional configurations that are omitted and not illustrated below, and can also clearly understand the relationship between the components omitted as above and the components added for the present invention. Furthermore, in the following description, terms such as "transmission," "communication," "transmission," "reception," and other terms of similar meaning regarding signals or information include not only the direct transfer of signals or information from one component to another but also the transfer through other components. In particular, "transmitting" or "transmitting" a signal or information to a component refers to the final destination of the signal or information and does not imply a direct destination. The same applies to the "reception" of signals or information. Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. FIG. 1 is a block diagram illustrating a remote log collection device for a vehicle controller reprogram tool according to one embodiment of the present invention, and FIG. 2 is a block diagram illustrating a detailed configuration of the processor (130) of FIG. 1. Referring to FIGS. 1 and 2, a remote log collection device (100) for a vehicle controller reprogram tool according