Software update system, update control device, software update method, and software update program

The software update system addresses the risk of malfunctions by calculating processing load and usage frequency, ensuring smooth operation and preventing issues during software updates in vehicles.

WO2026245072A1PCT designated stage Publication Date: 2026-11-26DENSO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2026/016143
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-21
Filing Date
2026-04-22
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing software update systems in vehicles face the risk of malfunctions due to the addition of software, necessitating proactive measures to avoid such issues.

Method used

A software update system that includes an external device and an update control device to calculate processing load, arbitrate software operations, and determine usage frequency to manage software updates effectively, ensuring smooth operation and avoiding potential malfunctions.

Benefits of technology

The system effectively manages software updates by calculating processing load and usage frequency, preventing malfunctions and ensuring smooth operation of multiple software programs, thereby maintaining vehicle functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2026016143_26112026_PF_FP_ABST
    Figure JP2026016143_26112026_PF_FP_ABST
Patent Text Reader

Abstract

This software update system (1) comprises: an external device (2) that distributes software to an update control device; and the update control device (5) that acquires the software from the external device and controls update of the software in a to-be-updated device. The software update system comprises a processing load calculation unit (34c) that calculates a processing load of additional software added to the to-be-updated device after the additional software is updated.
Need to check novelty before this filing date? Find Prior Art

Description

Software update system, update control device, software update method, and software update program Cross-reference to related applications

[0001] This application is based on Japanese Application No. 2025-84939 filed on May 21, 2025, the contents of which are incorporated herein by reference.

[0002] The present disclosure relates to a software update system, an update control device, a software update method, and a software update program.

[0003] Vehicles are equipped with a large number of electronic control units (hereinafter referred to as ECUs). With the diversification of vehicle control functions such as driving assistance and automated driving, Over-The-Air (OTA) technology has been provided to wirelessly update software installed in ECUs (for example, see Patent Document 1).

[0004] Japanese Unexamined Patent Application Publication No. 2020-27627

[0005] With the widespread adoption of OTA, software may be added at the user's discretion to improve vehicle functions, for example, to existing software installed at the time of factory shipment. On the other hand, in ECUs to which software has been added, various malfunctions may occur due to the addition of software, and there is a risk that existing software or the added software may not operate normally. Under such circumstances, there is a demand to proactively avoid the occurrence of malfunctions that may be caused by the addition of software.

[0006] An object of the present disclosure is to appropriately and proactively avoid the occurrence of malfunctions that may be caused by the addition of software.

[0007] A software update system according to an aspect of the present disclosure includes: an external device that distributes software to an update control device; and an update control device that acquires the software from the external device and controls software update in an update target device. The system includes a processing load calculation unit that calculates the processing load of additional software added to the update target device after the update of the additional software is completed.

[0008] A software update system according to one aspect of the present disclosure includes an external device that distributes software to an update control device, and an update control device that acquires the software from the external device and controls the software update on the update target device. The system also includes an arbitration unit that arbitrates the operation of a plurality of software, including additional software added to the update target device, after the update of the additional software is completed.

[0009] A software update system according to one aspect of the present disclosure includes an external device that distributes software to an update control device, and an update control device that acquires the software from the external device and controls the software update on the update target device. The system also includes a usage frequency calculation unit that calculates the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission unit that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation unit to the external device.

[0010] An update control device according to one aspect of the present disclosure acquires software from an external device and controls the update of software in the device to be updated. It includes a processing load calculation unit that calculates the processing load of additional software added to the device to be updated after the update of the additional software is completed.

[0011] An update control device in one aspect of the present disclosure acquires software from an external device and controls the update of software in the device to be updated. It includes an arbitration unit that arbitrates the operation of a plurality of software, including additional software added to the device to be updated, after the update of the additional software is completed.

[0012] An update control device in one aspect of the present disclosure acquires software from an external device and controls the update of software on a device to be updated. It includes a usage frequency calculation unit that calculates the usage frequency of additional software added to the device to be updated after the update of the additional software is completed, and a usage frequency information transmission unit that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation unit to the external device.

[0013] A software update method according to one aspect of the present disclosure is a software update system comprising an external device that distributes software to an update control device, and an update control device that acquires the software from the external device and controls the software update on the update target device, wherein the system performs a processing load calculation procedure to calculate the processing load of additional software added to the update target device after the update of the additional software is completed.

[0014] A software update method according to one aspect of the present disclosure is a software update system comprising an external device that distributes software to an update control device, and an update control device that acquires the software from the external device and controls the software update on the update target device, wherein the system includes an arbitration procedure that arbitrates the operation of multiple software, including additional software added to the update target device, after the update of the additional software is completed.

[0015] A software update method according to one aspect of the present disclosure is a software update system comprising an external device that distributes software to an update control device, and an update control device that acquires the software from the external device and controls the software update on the update target device, wherein the method includes a usage frequency calculation procedure for calculating the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission procedure for transmitting usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.

[0016] A software update method according to one aspect of the present disclosure includes a software update control device that acquires software from an external device and controls the software update in a device to be updated, and performs a processing load calculation procedure to calculate the processing load of additional software added to the device to be updated after the update of the additional software is completed.

[0017] A software update method according to one aspect of the present disclosure involves an update control device that acquires software from an external device and controls the update of software in a device to be updated, and includes an arbitration procedure that arbitrates the operation of multiple software, including additional software added to the device to be updated, after the update of the additional software is completed.

[0018] A software update method according to one aspect of the present disclosure is a software update control device that acquires software from an external device and controls the software update of a device to be updated, comprising: a usage frequency calculation procedure that calculates the usage frequency of additional software added to the device to be updated after the update of the additional software is completed; and a usage frequency information transmission procedure that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.

[0019] A software update program according to one aspect of the present disclosure causes the device-side control unit of an update control device, which acquires software from an external device and controls the software update in the update target device, to execute a processing load calculation procedure using at least one of a circuit and a processor to calculate the processing load of additional software added to the update target device after the update of the additional software is completed.

[0020] A software update program according to one aspect of the present disclosure causes the device-side control unit of an update control device, which acquires software from an external device and controls the software update in the update target device, to execute an arbitration procedure by at least one of a circuit and a processor, which arbitrates the operation of a plurality of software, including additional software added to the update target device, after the update of the additional software is completed.

[0021] A software update program according to one aspect of the present disclosure causes the device-side control unit of an update control device, which acquires software from an external device and controls the software update in the update target device, to execute, using at least one of a circuit and a processor, a usage frequency calculation procedure for calculating the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission procedure for transmitting usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.

[0022] According to one aspect of this disclosure, the processing load of additional software is calculated after the update of the additional software is complete. By calculating the processing load of additional software after the update is complete, the handling of other software can be determined based on the calculation result. For example, if the processing load of the additional software is determined to be relatively low, the addition of other software can be permitted, and if the processing load of the additional software is determined to be relatively high, the addition of other software can be restricted. This makes it possible to appropriately avoid the occurrence of problems that may be expected due to the addition of software.

[0023] According to one aspect of this disclosure, the operation of multiple software programs, including additional software, is arbitrated after the update of the additional software is completed. By arbitrating the operation of multiple software programs, including additional software, after the update of the additional software is completed, the operation of the existing software and the multiple software programs, including the additional software, can be guaranteed based on the arbitration result. Even if multiple operation requests occur simultaneously from multiple additional software programs, or if operation requests occur simultaneously from existing software and additional software, the operation of the existing software and the multiple software programs, including the additional software, can be guaranteed. This makes it possible to appropriately avoid the occurrence of defects that may be expected due to the addition of software.

[0024] According to one aspect of this disclosure, the frequency of use of additional software is calculated after the update of the additional software is completed, and the calculated frequency of use information is transmitted to an external device. By transmitting the frequency of use information to the external device, the external device can decide how to handle the additional software based on the frequency of use information. If the frequency of use of the additional software is determined to be relatively high, the external device can be instructed to continue using the additional software, and if the frequency of use of the additional software is determined to be relatively low, the external device can be instructed to delete the additional software. This makes it possible to appropriately avoid the occurrence of problems that may be expected due to the addition of software.

[0025] According to one aspect of this disclosure, the update control device calculates the processing load of the additional software after the update of the additional software is complete. By calculating the processing load of the additional software after the update is complete, it is possible to determine how to handle other software based on the calculation result. For example, if the processing load of the additional software is determined to be relatively low, the addition of other software can be permitted, and if the processing load of the additional software is determined to be relatively high, the addition of other software can be restricted. This makes it possible to appropriately avoid the occurrence of problems that may be expected due to the addition of software.

[0026] According to one aspect of this disclosure, the update control device is configured to mediate the operation of multiple software programs, including additional software, after the update of the additional software is completed. By mediating the operation of multiple software programs, including additional software, after the update of the additional software is completed, the operation of the existing software and the multiple software programs, including the additional software, can be guaranteed based on the mediation result. Even if multiple operation requests occur simultaneously from multiple software programs, or if operation requests occur simultaneously from existing software and additional software, the operation of the existing software and the multiple software programs, including the additional software, can be guaranteed. This makes it possible to appropriately avoid the occurrence of problems that may be expected due to the addition of software.

[0027] According to one aspect of this disclosure, the update control device calculates the usage frequency of the additional software after the update of the additional software is completed, and transmits the calculated usage frequency information to an external device. By transmitting the usage frequency information to the external device, the external device can decide how to handle the additional software based on the usage frequency information. If it is determined that the usage frequency of the additional software is relatively high, the update control device can be instructed to continue using the additional software, and if it is determined that the usage frequency of the additional software is relatively low, the update control device can be instructed to delete the additional software. This makes it possible to appropriately avoid the occurrence of problems that may be expected due to the addition of software.

[0028] The above-mentioned objectives and other objectives, features and advantages of this disclosure will become clearer from the following detailed description with reference to the attached drawings. The drawings are as follows: Figure 1 is a diagram showing the overall configuration of one embodiment; Figure 2 is a functional block diagram of the repro master; Figure 3 is a functional block diagram of the OTA center; Figure 4 is a functional block diagram of the master ECU; Figure 5 is a diagram showing the operation during software update; Figure 6 is a diagram showing the operation during software update; Figure 7 is a diagram showing the operation during software update; Figure 8 is a diagram showing the operation during software update; Figure 9 is a diagram showing the operation during software update; Figure 10 is a diagram showing the operation during software update; Figure 11 is a diagram showing the operation during software update; Figure 12 is a diagram showing the operation during software update; and Figure 1 Figure 3 is a diagram showing the operation after the software update is complete, Figure 14 is a diagram showing the operation after the software update is complete, Figure 15 is a diagram showing the operation after the software update is complete, Figure 16 is a diagram explaining the operation of mediating the operation of additional software, Figure 17 is a diagram explaining the operation of mediating the operation of additional software, Figure 18 is a diagram explaining the operation of calculating the usage frequency of additional software, Figure 19 is a flowchart showing the center-side update process, Figure 20 is a flowchart showing the master-side update process, Figure 21 is a flowchart showing the master-side update completion process, and Figure 22 is a flowchart showing the master-side update completion process.

[0029] The embodiments will be described below with reference to the drawings. As shown in Figure 1, the software update system 1 is configured to enable data communication between an OTA (Over The Air) center 2 (corresponding to an external device) and a vehicle system 3 installed in a vehicle. An unspecified number of vehicle systems 3 can communicate data with the OTA center 2. The software to be updated in the software update system 1 includes the concept of an operating system (OS) for operating the system and an application for realizing specific functions.

[0030] The vehicle system 3 comprises an in-vehicle communication device (hereinafter referred to as DCM (Data Communication Module)) 4, a master ECU 5 (corresponding to an update control device), a first repeater 6, a second repeater 7, and a third repeater 8. The master ECU 5 may be referred to as a central gateway (hereinafter referred to as CGW (Central Gateway)). The master ECU 5, the first repeater 6, the second repeater 7, and the third repeater 8 may be referred to as a domain controller. The first repeater 6, the second repeater 7, and the third repeater 8 are connected to the master ECU 5, for example, via Ethernet (registered trademark).

[0031] OTA Center 2 generates and stores update packages containing the software and specification data to be updated. OTA Center 2 also stores update packages obtained from external sources, such as OEMs (Original Equipment Manufacturers). OTA Center 2 includes a configuration management function unit that manages the hardware and software configurations of vehicles that may be the target of update package distribution, and a distribution management function unit that manages the distribution of update packages to vehicles.

[0032] The specification data includes information that can identify the ECU compatible with OTA, information that can identify the target ECU to be updated, information that can identify the target of installation in the installation phase described later, information that can identify the order of installation, information that can identify the target of activation in the activation phase described later, and information that can identify the order of activation. An ECU compatible with OTA is an ECU capable of performing OTA. The OTA Center 2 may include the specification data in the update package and distribute it to the vehicle, or it may not include the specification data in the update package and distribute the specification data to the vehicle separately from the update package.

[0033] DCM4 communicates data with OTA Center 2 via a communication network. The communication network includes, for example, mobile communication networks such as 4G or 5G lines, the Internet, and Wi-Fi (Wireless Fidelity) (registered trademark). DCM4 and Master ECU 5 may be integrated, with the functions of DCM4 incorporated into Master ECU 5. Alternatively, the functions of DCM4 and Master ECU 5 may be incorporated into a display device or the like. When DCM4 receives an update package distributed from OTA Center 2, it forwards the received update package to Master ECU 5. The software distributed from OTA Center 2 to DCM4 is, for example, OTA Repro software. Inter-center communication, which is data communication between OTA Center 2 and DCM4, may use, for example, the SODVD format conforming to the SODVD communication specification, or the RestAPI format conforming to the Rest (REpresentational State Transfer) API communication specification. Software updates using update packages distributed from OTA Center 2 are referred to as wireless repro. On the other hand, software updates using update packages distributed from external tool 30, which will be described later, are referred to as wired repro.

[0034] The master ECU 5 comprises a repro master 9, an in-vehicle HMI (Human Machine Interface) 10, a remote diagnostic 11, and an onboard client (hereinafter referred to as OBC) 12. As shown in Figure 2, the repro master 9 comprises a downloader 13 and an installer 14. When the downloader 13 receives a download execution request from the installer 14, it instructs the DCM 4 to execute the download process. The downloader 13 receives the update package distributed from the OTA center 2 via the DCM 4, and the received update package is transferred from the DCM 4 to the downloader 13, thereby downloading the update package from the OTA center 2 via the DCM 4. The downloaded update package is temporarily stored in the repro master 9 or in an external memory, etc., as described later.

[0035] The installer 14 includes an update control function unit 15, a state management function unit 16, a display control function unit 17, a write control function unit (Flashing Adapter) 18, and a power control function unit 19.

[0036] The update control function unit 15 has a function to control software updates. The state management function unit 16 has a function to manage the state of the software to be updated in conjunction with the software update. The display control function unit 17 has a function to control the display on the in-vehicle HMI 10 in conjunction with the software update. The write control function unit 18 has a function to control the installation of software to the software to be updated.

[0037] The power control function unit 19 works in conjunction with the power control application 20 located on the second repeater 7 to control the power supply to the ECU according to software updates. In this embodiment, the power control function unit 19 works in conjunction with the power control application 20 to control the power supply to the ECU, but a configuration in which a power control ECU that controls the power supply to the ECU is located is also possible. The targets of power supply control by the power control function unit 19 include the DCM 4, the in-vehicle HMI 10, the first repeater 6, the second repeater 7, and the third repeater 8.

[0038] The OBC 12 comprises an arbitration function unit 21 and a diagnostic communication function unit 22. The arbitration function unit 21 deals with diagnostic communication between the repromaster 9 and the repeater or ECU, and arbitrates which diagnostic communication to prioritize. The diagnostic communication function unit 22 performs diagnostic communication between the repromaster 9 and the repeater or ECU according to the arbitration result by the arbitration function unit 21.

[0039] The OBC 12 connects multiple ECUs 23 and 24 via a first repeater 6. The multiple ECUs 23 and 24 are connected to the first repeater 6, for example, via a CAN bus. CAN communication between the first repeater 6 and the multiple ECUs 23 and 24 is data communication using a 29-bit CAN ID. Among the multiple ECUs 23 and 24 connected to the first repeater 6, the ECU that is subject to software update can be the target ECU. Although the example shows two ECUs connected to the first repeater 6, the number of ECUs connected to the first repeater 6 is not limited to two.

[0040] Similarly, the OBC 12 connects multiple ECUs 25 and 26 via the second repeater 7. The multiple ECUs 25 and 26 are connected to the second repeater 7, for example, via a CAN bus. The CAN communication between the second repeater 7 and the multiple ECUs 25 and 26 is data communication using a 29-bit CAN ID. Among the multiple ECUs 25 and 26 connected to the second repeater 7, the ECU that is subject to software update can be the target ECU. Although the example shows two ECUs connected to the second repeater 7, the number of ECUs connected to the second repeater 7 is not limited to two.

[0041] Similarly, the OBC 12 connects multiple ECUs 27 and 28 via a third repeater 8. The multiple ECUs 27 and 28 are connected to the third repeater 8, for example, via a CAN bus. The CAN communication between the third repeater 8 and the multiple ECUs 27 and 28 is data communication using a 29-bit CAN ID. Among the multiple ECUs 27 and 28 connected to the third repeater 8, the ECU that is subject to software update can be the target ECU. Although the example shows two ECUs connected to the third repeater 8, the number of ECUs connected to the third repeater 8 is not limited to two.

[0042] Furthermore, the OBC 12 is connected to the ECU 29 without an intermediary relay device. Among the multiple ECUs connected to the OBC 12, an ECU that is a target for software update may serve as the target ECU. Although an example is illustrated where there is one ECU connected to the OBC 12 without an intermediary relay device, the number of ECUs connected to the OBC 12 without an intermediary relay device is not limited to one. The CAN communication between the first relay device 6 and the plurality of ECUs 23 and 24, the CAN communication between the second relay device 7 and the plurality of ECUs 25 and 26, and the CAN communication between the third relay device 8 and the plurality of ECUs 27 and 28 may be data communication that uses an 11-bit CAN ID.

[0043] The power supply control application 20 installed in the second relay device 7 cooperates with the power supply control function unit 19 of the installer 14 as described above, and controls power supply to the DCM 4, the vehicle-mounted HMI 10, the relay devices 6 to 8, and the ECUs 23 to 29 as the software update progresses. That is, the installer 14 causes the power supply control function unit 19 and the power supply control application 20 to cooperate with each other, and controls power supply to the relay devices 6 to 8 and the ECUs 23 to 29, which are capable of diagnostic communication by the diagnostic communication function unit 22.

[0044] Each of the DCM 4, the vehicle-mounted HMI 10, the relay devices 6 to 8, and the ECUs 23 to 29 transitions from a stopped state to an activated state when an activation request is input from the installer 14, and power supply from the vehicle-mounted battery is started. Each of the DCM 4, the vehicle-mounted HMI 10, the relay devices 6 to 8, and the ECUs 23 to 29 transitions from the activated state to the stopped state when a stop request is input from the installer 14, and power supply from the vehicle-mounted battery is stopped.

[0045] The external tool 30 delivers the update package to the installer 14 in a state of being attached to a connector installed in the vehicle. The external memory 31 functions as external storage for the installer 14, functions as a temporary storage location for the update package downloaded from the OTA center 2 as described above, and also functions as a temporary save destination for pre-update software when updating software for the relay devices 6 to 8 and the ECUs 23 to 29.

[0046] The phases of a series of processes related to software update include a software preparation phase, a campaign registration phase, a configuration synchronization phase, a download phase, an installation phase, an activation phase, and an update completion notification phase.

[0047] The software preparation phase is a phase for preparing software to be updated. The campaign registration phase is a phase for registering a campaign including information necessary for software update. The configuration synchronization phase is a phase in which the OTA center 2 obtains, from the reprogramming master 9, configuration synchronization information including version information indicating the versions of software and hardware of an ECU mounted on a target vehicle.

[0048] The download phase is a phase in which the installer 14 downloads an update package from the OTA center 2. Before performing the download phase, the installer 14 determines, for example, whether the software to be downloaded is legitimate, and whether the download can be completed by comparing the data amount of the software to be downloaded with the remaining charge of the vehicle-mounted battery. When the installer 14 identifies, for example, that the software to be downloaded is legitimate and the remaining charge of the vehicle-mounted battery is sufficient for the data amount of the software to be downloaded, it performs the download phase.

[0049] The installation phase is a phase in which the installer 14 installs the software extracted from the update package to the target ECU. Installation refers to writing the software into the storage area of the target ECU. Before performing the installation phase, the installer 14 determines, for example, whether the software to be installed is legitimate, and whether the installation can be completed by comparing the data amount of the software to be installed with the remaining charge of the vehicle-mounted battery. When the installer 14 identifies, for example, that the software to be installed is legitimate and the remaining charge of the vehicle-mounted battery is sufficient for the data amount of the software to be installed, it performs the installation phase.

[0050] The activation phase is the phase in which the installed software is activated in the target ECU. Before performing the activation phase, the installer 14 determines, for example, whether the software to be activated is legitimate, and whether the activation can be completed by comparing the amount of data of the software to be activated with the remaining charge of the vehicle battery. If the installer 14 determines, for example, that the software to be activated is legitimate and that the remaining charge of the vehicle battery is sufficient for the amount of data of the software to be activated, then the activation phase is performed.

[0051] The update completion notification phase is the phase in which, when the installer 14 receives an update completion notification from the target ECU upon completion of activation, it sends the update completion notification to the OTA center 2.

[0052] In OTA (Online Touring) updates, for example, existing software installed at the factory may be added at the user's request to improve vehicle functionality. This added software is sometimes referred to as additional software.

[0053] As shown in Figure 3, the OTA center 2 includes a center-side control unit 32 (corresponding to an external device-side control unit). The center-side control unit 32 includes functions for performing various calculations and other operations, and is mainly composed of a computer having, for example, a well-known CPU (sometimes referred to as a processor), RAM, ROM, etc. The various functions of the center-side control unit 32 are realized by the CPU executing a program stored in a non-transitional tangible recording medium. The non-transitional tangible recording medium is, for example, ROM. By executing the program, the CPU executes a method corresponding to the program. In this embodiment, the CPU executes a software update method by executing a software update program.

[0054] The number of computers constituting the center-side control unit 32 may be one or more. Furthermore, the method for realizing the various functions of the center-side control unit 32 is not limited to software; some or all of its elements may be realized using one or more hardware components. In other words, the various functions of the center-side control unit 32 may be realized using at least one of circuits and processors. For example, if the above-mentioned functions are realized by an electronic circuit which is hardware, that electronic circuit may be a digital circuit containing many logic circuits, or an analog circuit, or a combination thereof.

[0055] The center-side control unit 32 includes, as various functions, a resource confirmation unit 32a, a processing load calculation unit 32b, a configuration synchronization information acquisition unit 32c, a registration information storage unit 32d, a mounting feasibility determination unit 32e, and a conflict presence / absence determination unit 32f.

[0056] The resource verification unit 32a verifies the interfaces (hereinafter referred to as IFs) and application programming interfaces (hereinafter referred to as APIs) used as resources by the additional software. The processing load calculation unit 32b calculates the processing load of the additional software. The configuration synchronization information acquisition unit 32c receives and acquires configuration synchronization information transmitted from the OTA master 5. The registration information storage unit 32d stores registration information indicating information about the additional software.

[0057] The installation feasibility determination unit 32e determines whether the additional software can be installed in the target ECU based on the confirmed resources used by the additional software and the calculated processing load of the additional software, once the resources used by the additional software have been confirmed by the resource confirmation unit 32a and the processing load of the additional software has been calculated by the processing load calculation unit 32b. Specifically, the installation feasibility determination unit 32e determines whether the resources are suitable and whether the processing load exceeds a threshold. If the installation feasibility determination unit 32e determines, for example, that the resources are suitable and the processing load does not exceed a threshold, it determines that the additional software can be installed in the target ECU. On the other hand, if the installation feasibility determination unit 32e determines, for example, that the resources are not suitable or the processing load exceeds a threshold, it determines that the additional software cannot be installed in the target ECU.

[0058] Furthermore, the installation feasibility determination unit 32e determines whether the additional software can be installed on the target ECU based on the configuration synchronization information. That is, when the configuration synchronization information transmitted from the OTA master 5 is received and acquired by the configuration synchronization information acquisition unit 32c, the installation feasibility determination unit 32e identifies ECU information that can identify the target ECU and version information read from the target ECU based on the acquired configuration synchronization information. If the installation feasibility determination unit 32e determines, for example, that the additional software is compatible with the target ECU and is compatible with existing software that is already installed on the target ECU, it determines that the additional software can be installed on the target ECU. On the other hand, if the installation feasibility determination unit 32e determines, for example, that the additional software is not compatible with the target ECU or is not compatible with existing software, it determines that the additional software cannot be installed on the target ECU.

[0059] The conflict determination unit 32f determines whether the additional software conflicts with other additional software based on the registration information. That is, the conflict determination unit 32f identifies that the additional software conflicts with existing software by determining whether the additional software is the same as other additional software. If the conflict determination unit 32f identifies that the additional software is not the same as other additional software, it identifies that the additional software does not conflict with other additional software. On the other hand, if the conflict determination unit 32f identifies that the additional software is the same as other additional software, it identifies that the additional software conflicts with other additional software.

[0060] Furthermore, the conflict determination unit 32f determines whether the additional software conflicts with other software based on the configuration synchronization information. Specifically, when the configuration synchronization information transmitted from the OTA master 5 is received and acquired by the configuration synchronization information acquisition unit 32c, the conflict determination unit 32f identifies ECU information that can identify the target ECU and version information read from the target ECU based on the acquired configuration synchronization information. For example, if the conflict determination unit 32f determines that the version of the additional software is newer than the version of the existing software, it determines that the additional software does not conflict with the existing software. On the other hand, if the conflict determination unit 32f determines that the version of the additional software is the same as the version of the existing software, it determines that the additional software conflicts with the existing software.

[0061] As shown in Figure 4, the master ECU 5 includes a master-side control unit 33 (corresponding to the device-side control unit). The master-side control unit 33 includes functions for performing various calculations and other operations, and is mainly composed of a microcontroller having, for example, a well-known CPU (sometimes referred to as a processor), RAM, ROM, etc. The various functions of the master-side control unit 33 are realized by the CPU executing a program stored in a non-transitional tangible recording medium. The non-transitional tangible recording medium is, for example, ROM. By executing the program, the CPU executes a method corresponding to the program. In this embodiment, the CPU executes a software update method by executing a software update program.

[0062] The master control unit 33 may consist of one or more microcontrollers. Furthermore, the method for realizing the various functions of the master control unit 33 is not limited to software; some or all of its elements may be realized using one or more hardware components. In other words, the various functions of the master control unit 33 may be realized using at least one of a circuit and a processor. For example, if the above-mentioned functions are realized by an electronic circuit, which is hardware, that electronic circuit may be a digital circuit containing many logic circuits, an analog circuit, or a combination thereof.

[0063] The master-side control unit 33 comprises a processing unit 34 and an arbitration unit 35. The processing unit 34 comprises a campaign information acquisition unit 34a, an applicability determination unit 34b, a processing load calculation unit 34c, a usage frequency calculation unit 34d, an operation necessity determination unit 34e, a usage frequency information transmission unit 34f, a duplicate presence determination unit 34g, a deletion instruction unit 34h, an operation stop feasibility determination unit 34i, and an operation stop instruction unit 34j. The processing unit 34 and the arbitration unit 35 cooperate with the repro master 9 to control software updates.

[0064] The campaign information acquisition unit 34a acquires campaign information when it receives campaign information transmitted from the OTA center 2.

[0065] When the campaign information transmitted from the OTA center 2 is received and acquired by the campaign information acquisition unit 34a, the applicability determination unit 34b determines whether the campaign information can be applied by determining whether additional software can be installed and by determining the availability of resources. If, for example, the applicability determination unit 34b determines that the additional software can be installed and that the resources can handle the IF and API used by the additional software, it determines that the campaign information can be applied. On the other hand, if, for example, the applicability determination unit 34b determines that the additional software cannot be installed, or that the resources cannot handle the IF and API used by the additional software, it determines that the campaign information cannot be applied.

[0066] The processing load calculation unit 34c calculates the processing load of the additional software added to the target ECU. The usage frequency calculation unit 34d calculates the usage frequency of the additional software by, for example, measuring the number of operation requests from the additional software added to the target ECU over a certain period of time.

[0067] When the usage frequency of the additional software is calculated by the usage frequency calculation unit 34d, the operation necessity determination unit 34e determines whether the additional software needs to be operated based on the calculated usage frequency of the additional software. For example, if the operation necessity determination unit 34e determines that the usage frequency of the additional software is above a threshold, it determines whether the additional software needs to be operated. On the other hand, if the operation necessity determination unit 34e determines that the usage frequency of the additional software is below a threshold, it determines whether the additional software needs to be operated.

[0068] When the usage frequency of the additional software is calculated by the usage frequency calculation unit 34d, the usage frequency information transmission unit 34f transmits the calculated usage frequency of the additional software to the OTA center 2.

[0069] The duplication determination unit 34g determines whether there is any duplication of software, including additional software added to the target ECU. If the duplication determination unit 34g determines that the additional software added to the target ECU is not the same as either the existing software or any other additional software, it determines that there is no software duplication. On the other hand, if the duplication determination unit 34g determines that the additional software added to the target ECU is the same as either the existing software or any other additional software, it determines that there is software duplication.

[0070] If the software containing additional software is identified as duplicated by the duplication determination unit 34g, the deletion instruction unit 34h instructs the target ECU to delete one of the duplicate software programs.

[0071] The operation stop feasibility determination unit 34i determines whether the operation of the additional software can be stopped. When the operation stop feasibility determination unit 34i determines that the operation of the additional software can be stopped, the operation stop instruction unit 34j instructs the target ECU to stop the operation of the additional software.

[0072] The arbitration unit 35 arbitrates the operation of multiple software programs, including additional software. Specifically, the arbitration unit 35 arbitrates the operation of multiple software programs, including additional software and existing software, when multiple operation requests occur simultaneously from multiple additional software programs, or when operation requests from additional software and operation requests from existing software occur simultaneously.

[0073] Next, the operation of the above configuration will be explained with reference to Figures 5 to 22. In this case, the operation during software updates and the operation after the software updates are completed will be explained with reference to Figures 5 to 18.

[0074] (1-1) Operation during software updates (see Figures 5 to 12) During software updates, the following operations are performed in the software preparation phase, campaign registration phase, configuration synchronization phase, download phase, installation phase, activation phase, and update completion notification phase described above. Each phase will be explained below with reference to Figures 5 to 12.

[0075] (1-1-1) Software preparation phase (see Figure 5) In the software preparation phase, OTA Center 2 checks the IF and API as resources to be used by the additional software (A1) and calculates the processing load of the additional software (A2).

[0076] (1-1-2) Campaign registration phase (see Figure 5) In the campaign registration phase, OTA Center 2 determines whether the additional software can be installed based on the resources used by the additional software and the processing load of the additional software (corresponding to A3, installation feasibility determination procedure). For example, if OTA Center 2 determines that the resources used by the additional software are suitable and the processing load of the additional software does not exceed a threshold, it determines that the additional software can be installed on the target ECU. On the other hand, if OTA Center 2 determines that the resources used by the additional software are not suitable or that the processing load of the additional software exceeds a threshold, it determines that the additional software cannot be installed on the target ECU.

[0077] OTA Center 2 determines whether there are any conflicts with the additional software based on the registration information (corresponding to A4, the procedure for determining whether there are any conflicts). If OTA Center 2 determines, for example, that the additional software is not the same as other additional software, it determines that the additional software does not conflict with other additional software. On the other hand, if OTA Center 2 determines, for example, that the additional software is the same as other additional software, it determines that the additional software conflicts with other additional software.

[0078] (1-1-3) Configuration synchronization phase (see Figures 6 to 7) In the configuration synchronization phase, when the vehicle ignition is turned on, the repro master 9 notifies the write control function unit 18 of a version information read request (S1). When the write control function unit 18 receives the version information read request from the repro master 9, it notifies the target ECU of the notified version information read request (S2).

[0079] When the target ECU receives a request from the write control function unit 18 to read version information, it reads version information indicating the software and hardware versions and notifies the write control function unit 18 of the read version information (S3). When the write control function unit 18 receives version information from the target ECU, it notifies the repro master 9 of the notified version information (S4). The repro master 9, the write control function unit 18, and the target ECU repeat steps S1 to S4 described above for all ECUs.

[0080] Once the Repromaster 9 has finished reading the version information from the target ECU, it sends ECU information that can identify the target ECU and configuration synchronization information that can identify the version information read from the target ECU to the OTA Center 2 (S5).

[0081] When the OTA Center 2 receives configuration synchronization information transmitted from the Repro Master 9, it determines whether the additional software can be installed based on the received configuration synchronization information (corresponding to A5, Installation Feasibility Determination Procedure). If the OTA Center 2 determines, for example, that the additional software is compatible with the target ECU and is compatible with existing software that is already installed on the target ECU, it determines that the additional software can be installed on the target ECU. On the other hand, if the OTA Center 2 determines, for example, that the additional software is not compatible with the target ECU, or that the additional software is not compatible with existing software, it determines that the additional software cannot be installed on the target ECU.

[0082] OTA Center 2 determines whether there are any conflicts with the additional software (corresponding to A6, the conflict determination procedure). If OTA Center 2 determines, for example, that the version of the additional software is newer than the version of the existing software, it determines that the additional software does not conflict with the existing software. On the other hand, if OTA Center 2 determines, for example, that the version of the additional software is the same as the version of the existing software, it determines that the additional software conflicts with the existing software.

[0083] When the OTA Center 2 determines that additional software can be installed and that the additional software does not conflict with the existing software, it sends campaign information to the Repro Master 9 (S6). When the Repro Master 9 receives the campaign information sent from the OTA Center 2, it notifies the processing unit 34 of the received campaign information (S7).

[0084] When the processing unit 34 receives campaign information from the repro master 9, it determines whether or not additional software can be installed (D1), determines the resource availability (D2), and determines whether or not the campaign information can be applied (corresponding to the application feasibility determination procedure). If the processing unit 34 determines that the additional software can be installed and that there is sufficient resource availability, and thus determines that the campaign information can be applied, it notifies the repro master 9 of the determination result indicating that the campaign information can be applied (S8).

[0085] When the Repromaster 9 receives notification from the processing unit 34 that the campaign information is applicable, it accepts the campaign information (B1) and checks the vehicle status (B2). If the Repromaster 9 determines that it is possible to proceed to the download phase based on the results of the vehicle status check, it proceeds to the download phase.

[0086] (1-1-4) Download Phase (See Figure 8) In the download phase, the Repro Master 9 sends a download request to the OTA Center 2 (S9). When the OTA Center 2 receives the download request from the Repro Master 9, it sends an update package containing the software to be updated and specification data to the Repro Master 9 (S10).

[0087] When the Repro Master 9 receives an update package transmitted from the OTA Center 2, it forwards the received update package to the write control function unit 18 (S11). When the write control function unit 18 receives the update package from the Repro Master 9, it notifies the Repro Master 9 of the forwarding (S12). When the Repro Master 9 receives the forwarding response from the write control function unit 18, it checks the vehicle status (B3). If the Repro Master 9 determines that it is possible to proceed to the installation phase based on the results of the vehicle status check, it proceeds to the installation phase.

[0088] (1-1-5) Installation Phase (See Figure 9) During the installation phase, the repro master 9 notifies the write control function unit 18 of the installation instruction (S13). If the memory configuration of the target ECU is a two-plane configuration, when the write control function unit 18 receives the installation instruction from the repro master 9, it notifies the target ECU of the notified installation instruction (S14) and notifies the target ECU of the number of blocks to be updated (S15). When the target ECU receives the installation instruction and the number of blocks to be updated from the write control function unit 18, it notifies the write control function unit 18 of the instruction response (S16).

[0089] When the write control function unit 18 receives a command response from the target ECU, it transfers the update data to the target ECU (S17). When the target ECU receives the update data from the write control function unit 18, it writes the transferred update data (G1), and when the writing of the update data is complete, it notifies the write control function unit 18 that the writing is complete (S18).

[0090] When the write control function unit 18 receives notification from the target ECU that writing is complete, it notifies the target ECU of a data check request (S19). When the target ECU receives notification of the data check request from the write control function unit 18, it performs a data check (G2), counts the number of updated blocks (G3), and when it has finished counting the number of updated blocks, it notifies the write control function unit 18 that the count is complete (S20). The write control function unit 18 and the target ECU repeat steps S14 to S20 described above. When the write control function unit 18 has completed the installation, it notifies the repro master 9 that the installation is complete.

[0091] When the repromaster 9 receives notification from the write control function unit 18 that the installation is complete, it checks the vehicle status (B4). If the repromaster 9 determines that it is possible to proceed to the activation phase based on the results of the vehicle status check, it proceeds to the activation phase.

[0092] (1-1-6) Activation Phase (See Figures 10 to 12) During the activation phase, when the vehicle ignition is turned off, the Repro Master 9 notifies the write control function unit 18 of the activation instruction (S22).

[0093] If the memory configuration of the target ECU is a two-plane configuration, the write control function unit 18 notifies the target ECU of the notified activate instruction from the repro master 9 (S23). When the target ECU receives the activate instruction from the write control function unit 18, it sets the plane switch (G4), resets (G5), and when the reset is complete, notifies the write control function unit 18 of the completion of the reset (S24). The write control function unit 18 and the target ECU repeat steps S23 to S24 described above.

[0094] If the memory configuration of the target ECU is a single-plane configuration, the write control function unit 18 notifies the target ECU of the notified activation instruction from the repro master 9 (S25). When the target ECU receives the activation instruction from the write control function unit 18, it writes the update data (G6), performs a data check (G7), resets (G8), and when the reset is complete, it notifies the write control function unit 18 of the completion of the reset (S26). The write control function unit 18 and the target ECU repeat steps S25 to S26 described above. When the write control function unit 18 completes the activation, it notifies the repro master 9 of the completion of the activation (S27).

[0095] When the reprogramming master 9 is notified by the write control function unit 18 that activation is complete, it notifies the write control function unit 18 of a request to read version information (S28). When the write control function unit 18 is notified of the request to read version information from the reprogramming master 9, it notifies the target ECU of the notified request to read version information (S29).

[0096] When the target ECU receives a request from the write control function unit 18 to read version information, it reads the version information after activation is complete and notifies the write control function unit 18 of the read version information (S30). When the write control function unit 18 receives the version information from the target ECU, it notifies the reprogram master 9 of the notified version information (S31).

[0097] When the repromaster 9 receives version information from the write control function unit 18, it checks for version consistency (B5). If, for example, some functions of the additional software can be replaced by functions of the existing software, the repromaster 9 notifies the user from the in-vehicle HMI 0 that unnecessary information has been generated due to the replacement. When the user performs a deletion operation, the repromaster 9 deletes the unnecessary information generated by the update of the additional software (B6).

[0098] (1-1-7) Update Completion Notification Phase (See Figure 12) In the update completion notification phase, when the ignition is turned on, the Repro Master 9 displays update completion (B7) and sends an update completion notification to the OTA Center 2 (S32). If, for example, some functions of the additional software can be replaced by functions of the existing software, the Repro Master 9 notifies the user from the in-vehicle HMI 0 that unnecessary information has been generated due to the replacement. When the user performs a delete operation, the Repro Master 9 deletes the unnecessary information (B8).

[0099] (1-2) Operation after software update is complete (see Figures 13 to 18) After the software update is complete, the following operations will be performed. Note that this explanation assumes that additional software A and additional software B have been added.

[0100] The processing unit 34 calculates the processing load of the additional software (D3, corresponding to the processing load calculation procedure). When the arbitration unit 35 receives an operation request from additional software A (S33) and an operation request from additional software B (S34), it arbitrates the operation of additional software A and the operation of additional software B (E1, corresponding to the arbitration procedure). Once the arbitration unit 35 has completed the arbitration of the operation of additional software A and the operation of additional software B, it notifies the target ECU of the arbitration result (S35).

[0101] As shown in Figure 16, the arbitration unit 35 outputs a drive instruction to the resource based on the arbitration result and, in cooperation with the processing unit 34, causes the processing unit 34 to notify the additional software that notified the operation request source of an permission instruction or a prohibition instruction based on the arbitration result. That is, the processing unit 34 notifies the additional software A of an permission instruction or a prohibition instruction based on the arbitration result by the arbitration unit 35 (S36). When additional software A receives a permission instruction or a prohibition instruction from the processing unit 34, it permits or prohibits the operation according to that instruction. If an permission instruction is notified from the processing unit 34, additional software A permits the operation, and if an prohibition instruction is notified from the processing unit 34, it prohibits the operation, and notifies the processing unit 34 of an instruction response indicating that the operation has been permitted or prohibited (S37).

[0102] The processing unit 34 notifies the additional software B of a permit instruction or a prohibition instruction based on the mediation result by the mediation unit 35 (S38). When the additional software B receives a permit instruction or a prohibition instruction from the processing unit 34, it permits or prohibits the operation according to that instruction. That is, if the additional software B receives a permit instruction from the processing unit 34, it permits the operation, and if the processing unit 34 receives a prohibition instruction, it prohibits the operation, and notifies the processing unit 34 of an instruction response indicating that the operation has been permitted or prohibited (S39).

[0103] The arbitration unit 35 arbitrates the operation of additional software, for example, according to resource occupancy time, processing priority, and whether interrupts are allowed. As shown in Figure 17, the case where an operation request from additional software A is defined as resource occupancy time "t1", processing priority "high", and interrupt "allowed", and an operation request from additional software B is defined as resource occupancy time "t2 (>t1)", processing priority "low", and interrupt "not allowed" is explained. If there is a constraint that one additional software can continue to occupy the resource, as shown in "Arbitration Result 1", the operation of additional software A is started, and after the operation of additional software A is completed, the operation of additional software B is started. If there is no constraint that one additional software can continue to occupy the resource, as shown in "Arbitration Result 2", the operation of additional software A is started, and the operation of additional software B is started by interrupt before the operation of additional software A is completed. Note that the above explains the case when operation requests are notified from two additional software, but the same applies when operation requests are notified from three or more additional software. Furthermore, the operation of additional software and the operation of existing software may also be arbitrated.

[0104] The processing unit 34 calculates the frequency of use of the additional software (corresponding to D4, the frequency of use calculation procedure) and determines whether the additional software needs to operate based on the calculated frequency of use (corresponding to D5, the necessity determination procedure). In this case, the processing unit 34 calculates the frequency of use of the additional software by measuring the number of operation requests notified from the additional software to the arbitration unit 35. As shown in Figure 18, the processing unit 34 compares the calculated frequency of use with a preset threshold and determines whether the additional software needs to operate (corresponding to D5, the operation necessity determination procedure).

[0105] The processing unit 34 notifies the repromaster 9 of usage frequency information indicating the frequency of use (S40). For example, if the usage frequency of the additional software is lower than a preset threshold, the processing unit 34 notifies the repromaster 9 of usage frequency information indicating that the usage frequency of the additional software is lower than the threshold. If the additional software has not been used for a certain period of time, the processing unit 34 notifies the repromaster 9 of usage frequency information indicating that the additional software has not been used for a certain period of time.

[0106] When the Repro Master 9 receives usage frequency information from the Processing Unit 34, it sends a notification response to the Processing Unit 34 (S41) and transmits the usage frequency information received from the Processing Unit 34 to the OTA Center 2 (S42, corresponding to the usage frequency information transmission procedure). When the OTA Center 2 receives the usage frequency information transmitted from the Repro Master 9, it sends a reception response to the Repro Master 9 (S43) and sends a deletion instruction to the Repro Master 9 instructing it to delete additional software whose usage frequency is lower than a threshold or which has not been used for a certain period of time (S44).

[0107] When the repromaster 9 receives a deletion instruction sent from the OTA center 2, it sends an instruction response to the OTA center 2 (S45) and notifies the processing unit 34 of the received deletion instruction (S46). When the processing unit 34 receives notification of the deletion instruction from the repromaster 9, it notifies the target ECU of the notified deletion instruction (S47). When the target ECU receives notification of the deletion instruction from the processing unit 34, it deletes additional software that is used less frequently than a threshold or has not been used for a certain period of time based on the notified deletion instruction (G9).

[0108] The processing unit 34 determines whether there is any duplication of software (D6, corresponding to the duplication determination procedure). If the processing unit 34 determines that there is any duplication of software, it notifies the target ECU of a deletion instruction to delete one of the duplicate software (S48, corresponding to the deletion instruction procedure). When the target ECU receives the deletion instruction from the processing unit 34, it deletes one of the duplicate software based on the notified deletion instruction (G10).

[0109] The processing unit 34 determines whether the operation of the additional software can be stopped (D7, corresponding to the operation stop determination procedure). If the processing unit 34 determines that the operation of the additional software can be stopped, it notifies the target ECU of an operation stop instruction to stop the operation of the additional software (S49, corresponding to the operation stop instruction procedure). When the target ECU receives an operation stop instruction from the processing unit 34, it stops the operation of the additional software based on the notified operation stop instruction (G11).

[0110] Next, we will explain the processes performed by the center-side control unit 32 of the OTA center 2 and the master-side control unit 33 of the master ECU 5. Here, we will explain the center-side update processing performed by the center-side control unit 32 when the software is updated, the master-side update processing performed by the master-side control unit 33 when the software is updated, and the master-side post-update processing performed by the master-side control unit 33 after the software update is complete, referring to Figures 19 to 22.

[0111] (2-1-1) Center-side update processing performed by the center-side control unit 32 when updating software (see Figure 19) When the center-side control unit 32 starts the center-side update processing, it checks the resources of the additional software (P1) and calculates the processing load of the additional software (P2). The center-side control unit 32 registers the campaign (P3) and determines whether the additional software can be installed (P4, corresponding to the installation feasibility determination procedure).

[0112] If the center-side control unit 32 determines that the resources are not suitable or that the processing load exceeds the threshold, it determines that the additional software cannot be installed on the target ECU (P4: NO) and terminates the center-side update process. In other words, the center-side control unit 32 interrupts the update of the additional software. If the center-side control unit 32 determines that the resources are suitable and that the processing load does not exceed the threshold, it determines that the additional software can be installed on the target ECU (P4: YES) and determines whether there is a conflict with the additional software (P5, corresponding to the conflict determination procedure).

[0113] If the center-side control unit 32 determines that the additional software is the same as other additional software, it determines that the additional software conflicts with other additional software (P5: YES). It then terminates the center-side update process. In other words, the center-side control unit 32 interrupts the update of the additional software. If the center-side control unit 32 determines that the additional software is the same as other additional software, it determines that the additional software does not conflict (P5: NO), prepares to distribute the additional software (P6), and waits to receive configuration synchronization information from the vehicle side (P7).

[0114] When the center-side control unit 32 determines that it has received configuration synchronization information transmitted from the vehicle side (P7: YES), it determines whether or not there is an update for additional software (P8). When the center-side control unit 32 determines that there is no update for additional software (P8: NO), it terminates the center-side update process. That is, the center-side control unit 32 interrupts the update for additional software. When the center-side control unit 32 determines that there is an update for additional software (P8: YES), it determines whether or not the additional software can be installed (P9, corresponding to the installation feasibility determination procedure).

[0115] If the center-side control unit 32 determines that the additional software is not compatible with the target ECU, or that the additional software is not compatible with the existing software, it determines that the additional software cannot be installed (P9: NO) and terminates the center-side update process. In other words, the center-side control unit 32 interrupts the update of the additional software. If the center-side control unit 32 determines that the additional software is compatible with the target ECU and is also compatible with the existing software that is already installed on the target ECU, it determines that the additional software can be installed (P9: YES) and determines whether there is a conflict with the additional software (P10, corresponding to the conflict determination procedure).

[0116] If the center-side control unit 32 determines that the version of the additional software is the same as the version of the existing software, it determines that the additional software will conflict (P10: YES) and terminates the center-side update process. In other words, the center-side control unit 32 interrupts the update of the additional software. If the center-side control unit 32 determines that the version of the additional software is newer than the version of the existing software, it determines that the additional software will not conflict (P10: NO), sends campaign information to the vehicle side (P11), and terminates the center-side update process.

[0117] (2-1-2) Master-side update processing performed by the master-side control unit 33 when the software is updated (see Figure 20) When the master-side control unit 33 starts the master-side update processing, it transmits configuration synchronization information (Q1) and waits for the receipt of campaign information from the OTA center 2 (Q2). When the master-side control unit 33 determines that it has received the campaign information transmitted from the OTA center 2 (Q2: YES), it determines whether the campaign information is applicable or not (Q3, which corresponds to the application / application determination procedure).

[0118] If the master control unit 33 determines that the additional software cannot be installed or that there are insufficient resources, it determines that the campaign information cannot be applied (Q3: NO) and terminates the master update process. In other words, the master control unit 33 interrupts the update of the additional software. If the master control unit 33 determines that the additional software can be installed and that there are insufficient resources, it determines that the campaign information can be applied (Q3: YES), performs the download phase (Q4), the installation phase (Q5), and the activation phase (Q6).

[0119] The master control unit 33 determines whether or not a user has performed a deletion operation (Q7), and if it determines that a user has performed a deletion operation (Q7: YES), it deletes the unnecessary information (Q8). The master control unit 33 displays that the update is complete (Q9), determines again whether or not a user has performed a deletion operation (Q10), and if it determines that a user has performed a deletion operation (Q10: YES), it deletes the unnecessary information (Q11) and terminates the master update process.

[0120] (2-2) Post-update processing performed by the master-side control unit 33 after the software update is completed (see Figures 21 to 22) When the master-side control unit 33 starts the post-update processing, it determines whether the additional software needs to be operated (Q21). If the master-side control unit 33 determines whether the additional software needs to be operated (Q21: NO), it terminates the post-update processing. If the master-side control unit 33 determines whether the additional software needs to be operated (Q21: YES), it calculates the processing load of the additional software (Q22, corresponding to the processing load calculation procedure). The master-side control unit 33 determines whether operation requests have been notified from multiple software programs, including the additional software (Q23), and if it determines that operation requests have been notified from multiple software programs (Q23: YES), it mediates the operation of the software (Q24, corresponding to the mediation procedure) and notifies the target ECU of the mediation result (Q25).

[0121] The master control unit 33 calculates the frequency of use of the additional software (Q26, corresponding to the frequency of use calculation procedure), determines whether the additional software needs to be operated based on the calculated frequency of use (Q27, corresponding to the operation necessity determination procedure), transmits the calculated frequency of use information to the OTA center 2 (Q28), and waits for the receipt of a deletion instruction from the OTA center 2 (Q29). When the master control unit 33 determines that a deletion instruction has been received from the OTA center 2 (Q29: YES), it notifies the target ECU of the deletion instruction (Q30).

[0122] The master control unit 33 determines whether there is software duplication (Q31, corresponding to the duplication determination procedure). If the master control unit 33 determines that there is no software duplication (Q31: NO), it terminates the master update completion process. If the master control unit 33 determines that there is software duplication (Q31: YES), it notifies the target ECU of a deletion instruction to delete one of the duplicate software (Q32, corresponding to the deletion instruction procedure).

[0123] The master control unit 33 determines whether the operation of the additional software can be stopped (Q33, corresponding to the stop / stop determination procedure). If the master control unit 33 determines whether the operation of the additional software can be stopped (Q33: NO), it terminates the master-side update completion processing. If the master control unit 33 determines that the operation of the additional software can be stopped (Q33: YES), it notifies the target ECU of a stop instruction to stop the operation of the additional software (Q34, corresponding to the stop instruction procedure), and terminates the master-side update completion processing.

[0124] As described above, the embodiment provides the following advantages and benefits. The feasibility of installing the additional software on the target ECU is determined at the time of the additional software update. By determining the feasibility of installing the additional software at the time of the additional software update, it is possible to decide whether to continue or interrupt the additional software update. If it is determined that the additional software can be installed, the additional software update can be continued; if it is determined that the additional software cannot be installed, the additional software update can be interrupted.

[0125] The system now checks for conflicts between additional software and other software during the update process. By checking for conflicts during the update, it's possible to decide whether to continue or interrupt the update. If no conflicts are found between the additional software and other software, the update will continue; if conflicts are found, the update can be interrupted.

[0126] Campaign information regarding additional software is obtained from OTA Center 2, and the applicability of this obtained campaign information is determined at the time of the additional software update. By determining the applicability of the campaign information regarding additional software at the time of the additional software update, it is possible to decide whether to continue or interrupt the additional software update. If it is determined that the campaign information is applicable, the additional software update will continue; if it is determined that the campaign information is not applicable, the additional software update can be interrupted.

[0127] The processing load of additional software is now calculated after the update of the additional software is complete. By calculating the processing load of additional software after the update is complete, it is possible to decide how to handle other software based on the calculation results. For example, if the processing load of the additional software is determined to be relatively low, the addition of other software can be permitted, and if the processing load of the additional software is determined to be relatively high, the addition of other software can be restricted.

[0128] The system now arbitrates the operation of multiple software programs, including add-on software, after the update of the add-on software is complete. By arbitrating the operation of multiple software programs, including add-on software, after the update of the add-on software is complete, the operation of existing software and multiple software programs, including add-on software, can be guaranteed based on the arbitration result. Even if multiple operation requests occur simultaneously from multiple add-on software programs, or if operation requests occur simultaneously from existing software and add-on software, the operation of existing software and multiple software programs, including add-on software, can be guaranteed.

[0129] The system now calculates the usage frequency of additional software after the update is complete and sends this calculated usage frequency information to OTA Center 2. By sending this usage frequency information to OTA Center 2, OTA Center 2 can determine how to handle the additional software based on the usage frequency information. If the usage frequency of the additional software is determined to be relatively high, the system can instruct the target ECU to continue using the additional software. If the usage frequency is determined to be relatively low, the system can instruct the target ECU to delete the additional software.

[0130] The system now checks for software duplication, including additional software, after the update of the additional software is complete. If duplication is found, it instructs the target ECU to delete one of the duplicate software programs. By instructing the target ECU to delete one of the duplicate software programs, resources used by other software can be secured, and the operation of other software can be guaranteed.

[0131] The frequency of additional software usage is calculated after the update is complete, and the necessity of running the additional software is determined based on this calculated frequency. By determining the necessity of running the additional software based on its usage frequency, the handling of the additional software can be decided. The target ECU is instructed to delete software with a usage frequency below a threshold, and by deleting such software, resources used by other software can be secured, and the operation of other software can be guaranteed. This makes it possible to appropriately avoid problems that may occur due to the addition of software.

[0132] The system now determines whether the additional software can be stopped after the update is complete. If it is determined that the additional software can be stopped, it instructs the target ECU to stop the additional software. By instructing the target ECU to stop the additional software and thus stopping its operation, resources used by other software can be secured, ensuring the operation of other software. This allows for the appropriate avoidance of potential problems that may arise from the addition of software.

[0133] This disclosure is described in accordance with the embodiments, but it is understood that this disclosure is not limited to such embodiments or structures. This disclosure also includes various modifications and variations within the equivalence. In addition, various combinations and forms, as well as other combinations and forms that include only one, more, or fewer of those elements, fall within the scope and concept of this disclosure.

[0134] Although the example of wireless reprogramming was given using OTA Center 2, this method can also be applied to wired reprogramming using an external tool 30 connected to the master ECU 5 via a wired connection.

[0135] The control unit and its method described herein may be implemented by a dedicated computer provided by configuring a processor and memory programmed to perform one or more functions embodied by a computer program. Alternatively, the control unit and its method described herein may be implemented by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Or, the control unit and its method described herein may be implemented by one or more dedicated computers configured by a combination of a processor and memory programmed to perform one or more functions and a processor configured with one or more hardware logic circuits. The computer program may be stored as instructions executed by the computer on a computer-readable non-transitional tangible recording medium.

[0136] In the scope of this disclosure or claims, the term "processor" means one or more hardware processors configured to execute the processing defined by computer program code (i.e., one or more instructions of a computer program) contained in a computer program by reading the computer program code each time. In other words, a "processor" is a hardware device that executes one or more programmed processes. Therefore, computer program code can also be said to be software that can define the processing of the processor according to its content. A "processor" can be a general-purpose or specific-purpose processor, and may be, but is not limited to, a CPU, microprocessor, GPU, and DFP (Data Flow Processor).

[0137] In this disclosure or claims, the term “memory” refers to one or more non-transitional tangible recording media configured to record computer program code and / or data in a manner accessible by a processor. “Memory” can be implemented by memory technologies such as SRAM, SDRAM, non-volatile / flash type memory, or other types of memory. The computer program code that constitutes the program is recorded in memory and executed by the processor, thereby enabling the processor to perform the various functions described above.

[0138] In this disclosure or claims, the term “circuit” refers to one or more hardware logic circuits configured to perform specific processing based on a pre-designed circuit configuration. In other words (and, in contrast to “processor”), “circuit” in this disclosure or claims refers to hardware devices that perform specific processing based on a circuit configuration, rather than processing defined by software such as the computer program code described above. For example, “circuit” may include custom ICs such as ASICs (Application Specific Integrated Circuits) and FPGAs (Field Programmable Gate Arrays) designed with Hardware Description Language (HDL). That is, “circuit” in this disclosure or claims includes all hardware circuits except for the processor described above that performs processing by reading computer program code.

[0139] In this disclosure or claims, the expression "at least one of a circuit and a processor" should be interpreted as a disjunctive (logical OR) and not as at least one circuit and at least one processor. Therefore, in this disclosure or claims, "the various functions of the center-side control unit 32 may be realized using at least one of a circuit and a processor" includes cases where only the circuit causes the center-side control unit 32 to perform all functions, where only the processor causes the center-side control unit 32 to perform all functions, and where the circuit causes the center-side control unit 32 to perform some functions and the processor causes the center-side control unit 32 to perform the remaining functions. In the last example, for example, if the center-side control unit 32 performs functions A to C, functions A and B may be realized by the circuit, and the remaining function C may be realized by the processor.

[0140] Within the scope of this disclosure or claims, "The various functions of the master control unit 33 may be implemented using at least one of a circuit and a processor" includes cases where only the circuit causes the master control unit 33 to perform all functions, where only the processor causes the master control unit 33 to perform all functions, and where the circuit causes the master control unit 33 to perform some functions and the processor causes the master control unit 33 to perform the remaining functions. In the last example, for example, if the master control unit 33 performs functions A to C, functions A and B may be implemented by the circuit, and the remaining function C may be implemented by the processor.

Claims

1. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, wherein the software update system (1) comprises a processing load calculation unit (34c) that calculates the processing load of additional software added to the update target device after the update of the additional software is completed.

2. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, the software update system comprising an arbitration unit (35) that arbitrates the operation of a plurality of software, including additional software added to the update target device, after the completion of the update of the additional software.

3. The software update system according to claim 2, wherein the arbitration unit arbitrates the operation of a plurality of additional software added to the update target device after the update of the additional software is completed.

4. The software update system according to claim 2, wherein the arbitration unit arbitrates the operation of additional software added to the update target device and the operation of existing software already installed in the update target device after the update of the additional software is completed.

5. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, the software update system (1) comprising: a usage frequency calculation unit (34d) that calculates the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission unit (34f) that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation unit to the external device.

6. The software update system according to claim 5, wherein the usage frequency calculation unit calculates the usage frequency of the additional software based on the number of operation requests from the additional software.

7. An update control device (5) that acquires software from an external device and controls the update of software in a device to be updated, comprising a processing load calculation unit (34c) that calculates the processing load of additional software added to the device to be updated after the update of the additional software is completed.

8. An update control device (5) that acquires software from an external device and controls the update of software in a device to be updated, comprising an arbitration unit (35) that arbitrates the operation of a plurality of software, including additional software added to the device to be updated, after the update of the additional software is completed.

9. An update control device (5) that acquires software from an external device and controls the update of software in a device to be updated, comprising: a usage frequency calculation unit (34d) that calculates the usage frequency of additional software added to the device to be updated after the update of the additional software is completed; and a usage frequency information transmission unit (34f) that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation unit to the external device.

10. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, wherein the software update method includes a processing load calculation procedure that calculates the processing load of additional software added to the update target device after the update of the additional software is completed.

11. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, wherein the software update method includes an arbitration procedure that arbitrates the operation of multiple software, including additional software added to the update target device, after the update of the additional software is completed.

12. A software update system (1) comprising an external device (2) that distributes software to an update control device, and an update control device (5) that acquires the software from the external device and controls the software update on the update target device, wherein the software update method includes: a usage frequency calculation procedure that calculates the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission procedure that transmits usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.

13. A software update method in which an update control device (5) that acquires software from an external device and controls the update of software in the update target device performs a processing load calculation procedure to calculate the processing load of additional software added to the update target device after the update of the additional software is completed.

14. A software update method in which an update control device (5) that acquires software from an external device and controls the update of software in the update target device performs an arbitration procedure to arbitrate the operation of multiple software, including additional software added to the update target device, after the update of the additional software is completed.

15. A software update method in an update control device (5) that acquires software from an external device and controls the update of software in a device to be updated, comprising: a usage frequency calculation procedure for calculating the usage frequency of additional software added to the device to be updated after the update of the additional software is completed; and a usage frequency information transmission procedure for transmitting usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.

16. A software update program that causes the device-side control unit (33) of an update control device (5), which acquires software from an external device and controls the update of software in the update target device, to execute a processing load calculation procedure using at least one of a circuit and a processor to calculate the processing load of additional software added to the update target device after the update of the additional software is completed.

17. A software update program that causes the device-side control unit (33) of an update control device (5), which acquires software from an external device and controls software updates in the update target device, to execute an arbitration procedure by at least one of a circuit and a processor, which arbitrates the operation of multiple software, including additional software added to the update target device, after the update of the additional software is completed.

18. A software update program that causes the device-side control unit (33) of an update control device (5), which acquires software from an external device and controls software updates in the update target device, to execute, by at least one of a circuit and a processor, a usage frequency calculation procedure for calculating the usage frequency of additional software added to the update target device after the update of the additional software is completed, and a usage frequency information transmission procedure for transmitting usage frequency information indicating the usage frequency of the additional software calculated by the usage frequency calculation procedure to the external device.