| Русский Русский | English English |
   
Главная Текущий номер
24 | 05 | 2026
10.14489/vkit.2026.05.pp.036-043

DOI: 10.14489/vkit.2026.05.pp.036-043

Кобрунов И. А.
СОВЕРШЕНСТВОВАНИЕ ПРОТОКОЛА ПЕРЕДАЧИ ФАЙЛОВ НА ОСНОВЕ СЕТИ КОНТРОЛЛЕРОВ
(с. 36-43)

Аннотация. Обновление программного обеспечения – неотъемлемая часть жизненного цикла практически любой системы. В случае использования протокола Controller Area Network (CAN-протокола) как основного сетевого интерфейса для взаимодействия элементов системы появляется необходимость наличия какого-то протокола прикладного уровня, поскольку CAN-протокол ввиду собственных принципиальных ограничений не способен организовать данный процесс. В статье приведен анализ уже существующих решений, описан открытый протокол, позволяющий организовать отправку файлов от сервера клиентам в рамках сессий. Показано, что основными преимуществами нового протокола являются возможность одновременной отправки одного файла нескольким клиентам, запуск произвольного числа сессий и устойчивость к сбоям.

Ключевые слова:  CAN-протокол; протокол передачи файлов; обновление программного обеспечения; мультиплексирование сессий; архитектура ведущий–ведомый; распределенная система управления.


Kobrunov I. A.
IMPROVEMENT OF FILE TRANSFER PROTOCOL BASED ON CONTROLLER NETWORK
(pp. 36-43)

Abstract. Software updating is an essential part of almost every system life cycle because of current conditions mutable nature, functionality increasing and errors fixing. The case of using CAN-protocol as the base net interface to organize the communication between system elements leads to using some kind of application layer protocol, because CAN-protocol cannot support this function itself due to principal limitations such as the message data field fixed size and impossibility to control the context outside a concrete message. This article provides the already existed solutions analyze and shows their unsuitability for file transferring purpose that causes the necessity to create custom ones. The following protocols has been observed: CCP, J1939-21, ISO-TP/ UDS. As the result, new open-source protocol called CanFTP has been created, that can organize the files transferring from server to clients within sessions. Kye advantages of new protocol are: opportunity to send one file to several clients at the same time and starting variable number simultaneous sessions, that allows to reduce time consumption, and sustainability to failures, that guarantees, on one hand, files delivery or errors notification, and on another, immunity to messages losing. This article describes the protocol behavior by separating it into three parts: clients scanning and registration, session control and file block sending. The protocol testing results and comparative analysis are specified in the end of the article. Also, included references to code implementation allow to link the protocol as the library to any project or start server application on Linux-based system.

Keywords: CAN-protocol; File transfer protocol; Software updating; Session multiplexing; Master-slave architecture; Distributed control system.

Рус

И. А. Кобрунов (Московский государственный технический университет имени Н. Э. Баумана (национальный исследовательский университет), Москва, Россия) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript  

Eng

I. A. Kobrunov (Bauman Moscow State Technical University (National Research University), Moscow, Russia) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript  

Рус

1. ГОСТ Р ИСО 11898.1. Национальный стандарт Российской Федерации. Транспорт дорожный. Местная контроллерная сеть (CAN). Часть 1. Канальный уровень и передача сигналов. М.: Росстандарт, 2015.
2. Maradana S. CAN Calibration Protocol (CCP). AUTOMOTIVE BASICS: Just a collective information: сайт. 2025. URL: https://automotivetechis.wordpress.com/2012/06/12/can-calibration-protocolccp/ (дата обращения: 05.09.2025).
3. Voss W. A Comprehensible Guide to J1939.: Greenfield, Massachusetts, USA. Copperhill Media Corporation, 2008. 128 с.
4. ISO 15765.2. Road vehicles – Diagnostic communication over Controller Area Network – Part 2: Transport protocol and network layer services. Geneva: ISO, 2016.
5. Falch M. UDS Explained - A Simple Intro (Unified Diagnostic Services). CSS Electronics: сайт. 2025. URL: https://www.csselectronics.com/pages/uds-protocol-tutorial-unified-diagnostic-services#diagnostic-protocols (дата обращения: 10.09.2025).
6. Кобрунов И. А., Жуков Д. М., Артемий А. В., Островский Н. Р. Универсальный протокол передачи файлов CAN-шине // Colloquium-journal. 2020. № 9(61). С. 30–32.
7. Кобрунов И. А. CANFileTransferProtocol // GitHub: веб-сервис. 2025. URL: https://github.com/DemiEljer/CANFileTransferProtocol (дата обращения: 27.09.2025).
8. Кобрунов И. А. CanFTPApp // GitHub: веб-сервис. 2025. URL: https://github.com/DemiEljer/CanFTPApp (дата обращения: 28.09.2025).

Eng

1. GOST R ISO 11898.1. (2015). National standard of the Russian Federation. Road vehicles. Controller Area Network (CAN). Part 1. Data link layer and signal transmission. Rosstandart. [in Russian language].
2. Maradana, S. (2025). CAN calibration protocol (CCP). AUTOMOTIVE BASICS: Just a collective information. Retrieved September 5, 2025, from https://automotivetechis.wordpress.com/2012/06/12/can-calibration-protocolccp/
3. Voss, W. (2008). A comprehensible guide to J1939. Copperhill Media Corporation.
4. International Organization for Standardization. (2016). ISO 15765 2:2016 Road vehicles – Diagnostic communication over Controller Area Network – Part 2: Transport protocol and network layer services.
5. Falch, M. (2025). UDS explained – A simple intro (Unified Diagnostic Services). CSS Electronics. Retrieved September 10, 2025, from https://www.csselectronics.com/pages/uds-protocol-tutorial-unified-diagnostic-services#diagnostic-protocols
6. Kobrunov, I. A., Zhukov, D. M., Artemiy, A. V., & Ostrovsky, N. R. (2020). Universal file transfer protocol over CAN bus. Colloquium-journal, (9), 30–32. [in Russian language].
7. Kobrunov, I. A. (2025). CANFileTransferProtocol. GitHub. Retrieved September 27, 2025, from https://github.com/DemiEljer/CANFileTransferProtocol [in Russian language].
8. Kobrunov, I. A. (2025). CanFTPApp. GitHub. Retrieved September 28, 2025, from https://github.com/DemiEljer/CanFTPApp [in Russian language].

Рус

Статью можно приобрести в электронном виде (PDF формат).

Стоимость статьи 700 руб. (в том числе НДС 20%). После оформления заказа, в течение нескольких дней, на указанный вами e-mail придут счет и квитанция для оплаты в банке.

После поступления денег на счет издательства, вам будет выслан электронный вариант статьи.

Для заказа скопируйте doi статьи:

10.14489/vkit.2026.05.pp.036-043

и заполните  форму 

Отправляя форму вы даете согласие на обработку персональных данных.

.

 

Eng

This article  is available in electronic format (PDF).

The cost of a single article is 700 rubles. (including VAT 20%). After you place an order within a few days, you will receive following documents to your specified e-mail: account on payment and receipt to pay in the bank.

After depositing your payment on our bank account we send you file of the article by e-mail.

To order articles please copy the article doi:

10.14489/vkit.2026.05.pp.036-043

and fill out the  form  

 

.

 

 

 
Поиск
Баннер
Rambler's Top100 Яндекс цитирования