IP Library › Granted Patent US 12,362,961
Granted Patent B2
US 12,362,961 · App. 18/406,876 · Granted Jul 15, 2025

Program rewriting device and program rewriting method

Inventors: Kengo Hayashizaki (Seto, JP); Masashi Amesara (Toyota, JP); Masahide Ozaki (Anjo, JP); Hidetaka Nakane (Miyoshi, JP)
Assignee: TOYOTA JIDOSHA KABUSHIKI KAISHA
H04L12/40H04L12/66H04L2012/40273
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,362,961
App. No.
18/406,876
Granted
Jul 15, 2025
Kind
B2
Abstract

Processing circuitry of a program rewriting device is configured to create a transfer queue for each bus by grouping update data for each electronic control unit, assign threads to transfer queues one by one, starting with a transfer queue with a relatively large transfer data amount, perform parallel transfer of the update data of the transfer queues to the gateway device by using the assigned threads, each time transfer of a piece of the update data is completed, select a transfer queue having a largest transfer data amount from among the transfer queue in which the transfer of the update data is completed and transfer queues to which the threads have not been assigned and in which transfer of the update data is suspended, and continue the parallel transfer by assigning, to the selected transfer queue, the thread assigned to the transfer queue for which the transfer has been completed.

Claims (22)

1. A program rewriting device configured to be connected to a vehicle on-board network system including multiple buses connected to a gateway device, the program rewriting device being configured to rewrite programs of multiple electronic control units connected to each of the buses, the program rewriting device comprising:

a storage device configured to store update data to be transferred to the electronic control units; and

processing circuitry; and

multiple threads configured to transfer the update data to the gateway device, wherein the processing circuitry is configured to:

acquire information about a number of the buses connected to the gateway device and about the electronic control units connected to each bus;

create, based on the information, a transfer queue for each bus by grouping the update data to be transferred to each electronic control unit for each corresponding bus;

compare transfer data amounts in the transfer queues with each other, and

assigns the multiple threads to the transfer queues one by one, starting with the transfer queue with a relatively large transfer data amount;

perform parallel transfer of the update data of the transfer queues to which the threads are assigned to the gateway device by using the threads;

each time transfer of a piece of the update data in any one of the transfer queues is completed, select a transfer queue having a largest transfer data amount from among the transfer queues in which the transfer of the piece of the update data is completed and one or more transfer queues to which the threads have not been assigned and in which transfer of the update data is suspended; and

continue the parallel transfer by assigning, to the selected transfer queue, the thread assigned to the transfer queue for which the transfer has been completed.

2. The program rewriting device according to claim 1 , wherein the processing circuitry is configured to arrange, when creating the transfer queues, pieces of the update data in a descending order of data amount.

3. The program rewriting device according to claim 1 , wherein the processing circuitry is configured to assign the threads to all the transfer queues one by one when the number of the buses is less than or equal to the number of the threads.

4. The program rewriting device according to claim 1 , further comprising a communication device,

wherein the processing circuitry is configured to cause the storage device to store the update data downloaded from a server using the communication device.

5. A program rewriting method executed by a program rewriting device for a vehicle on-board network system including multiple buses connected to a gateway device, the program rewriting device being configured to rewrite programs of multiple electronic control units connected to each of the buses, the program rewriting method comprising:

acquiring information about a number of the buses connected to the gateway device and about the electronic control units connected to each bus;

creating, based on the information, a transfer queue for each bus by grouping update data to be transferred to each electronic control unit for each corresponding bus;

comparing transfer data amounts in the transfer queues with each other, and assigning multiple threads to the transfer queues one by one, starting with the transfer queue with a relatively large transfer data amount;

performing parallel transfer of the update data of the transfer queues to which the threads are assigned to the gateway device by using the threads;

when transfer of a piece of the update data in any one of the transfer queues is completed, selecting a transfer queue having a largest transfer data amount from among the transfer queues in which the transfer of the piece of the update data is completed and one or more transfer queues to which the threads have not been assigned and in which transfer of the update data is suspended; and

continuing the parallel transfer by assigning, to the selected transfer queue, the thread assigned to the transfer queue for which the transfer has been completed.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 8, 2024
From: HAYASHIZAKI, KENGO; AMESARA, MASASHI; OZAKI, MASAHIDE; NAKANE, HIDETAKA
To: TOYOTA JIDOSHA KABUSHIKI KAISHA
Reel/Frame 067347/0849 →
Priority Claims (1)
JP 2023-002412 · Jan 11, 2023 · national
Continuity (1)
Related Publication 20240235883A1 · Jul 11, 2024
References Cited (5)
US 6535939B1 · Arimilli · 2003 [cited by examiner]
US 11700214B1 · Yokoi · 2023 [cited by examiner]
US 20180074752A1 · Nakazono · 2018 [cited by examiner]
US 20190295517A1 · Sato · 2019 [cited by examiner]
JP 2010271891A · 2010 [cited by applicant]