WO2019221058A1 - Dispositif de relais monté sur un véhicule, système de communication, procédé de détermination de bus et programme informatique - Google Patents

Dispositif de relais monté sur un véhicule, système de communication, procédé de détermination de bus et programme informatique Download PDF

Info

Publication number
WO2019221058A1
WO2019221058A1 PCT/JP2019/018933 JP2019018933W WO2019221058A1 WO 2019221058 A1 WO2019221058 A1 WO 2019221058A1 JP 2019018933 W JP2019018933 W JP 2019018933W WO 2019221058 A1 WO2019221058 A1 WO 2019221058A1
Authority
WO
WIPO (PCT)
Prior art keywords
bus
transmission
data
communication device
determination
Prior art date
Application number
PCT/JP2019/018933
Other languages
English (en)
Japanese (ja)
Inventor
小林 直人
Original Assignee
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社 filed Critical 株式会社オートネットワーク技術研究所
Publication of WO2019221058A1 publication Critical patent/WO2019221058A1/fr

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Definitions

  • the present invention relates to an in-vehicle relay device, a communication system, a bus determination method, and a computer program.
  • the program or data stored in the storage unit of the ECU of the vehicle needs to be updated to be rewritten with a new program or data, for example, when there is a need for function addition, defect correction, version upgrade, or the like. Yes, an update program or data is transmitted to the ECU to be updated by a communication line.
  • Patent Literature 1 when an update file is received regarding the update of an in-vehicle program by radio, the current vehicle load state is a low load state in which a program corresponding to the update file can be updated, or this program is If it is determined whether it is a non-updatable high load state and it is determined that the load is low, the program corresponding to the update file is updated, and if it is determined that the load is high, the current vehicle An in-vehicle program update device that changes a load state to a low load state is disclosed.
  • a plurality of buses are connected, and in the in-vehicle relay device that transmits data to the communication device connected to the bus, the plurality of data to be transmitted to the plurality of communication devices
  • a receiving unit that receives data
  • a determination unit that determines whether a transmission destination of received data is a first communication device connected to one bus or a second communication device connected to two or more buses
  • a determination unit that determines a bus to be used for transmission of each received data based on the determination result of the determination unit.
  • a communication system is a communication system including an information processing device and an in-vehicle relay device that is connected to a plurality of buses and transmits data to the communication device connected to the bus.
  • a transmission destination is a first communication device connected to one bus of the in-vehicle relay device, or two or more buses of the in-vehicle relay device
  • a determination unit that determines whether the second communication device is connected; a determination unit that determines a bus used for transmission of each transmission data by the in-vehicle relay device based on a determination result of the determination unit; and the determination
  • An adder for attaching the bus data representing the bus determined by the transmission unit to each transmission data, and a transmission unit for transmitting the plurality of transmission data to which the bus data is attached to the in-vehicle relay device.
  • the vehicle relay device includes a receiver which receives the plurality of transmitted data from the information processing apparatus, on the basis of the bus data attached
  • a bus determination method includes a bus that determines a bus to be used for transmitting the data in an in-vehicle relay device that is connected to a plurality of buses and transmits data to a communication device connected to the bus.
  • a plurality of data to be transmitted to a plurality of communication devices are received, and a transmission destination of the received data is a first communication device connected to one bus, or a second connected to two or more buses. Determining whether the communication device is used, and determining a bus to be used for transmission of each received data based on the result of the determination.
  • a computer program has a plurality of buses connected thereto, and receives a plurality of data to be transmitted to the plurality of communication devices to a computer that transmits data to the communication devices connected to the bus, It is determined whether the destination of the received data is a first communication device connected to one bus or a second communication device connected to two or more buses, and based on the result of the determination, A process for determining a bus used for transmission of received data is executed.
  • FIG. 1 is a block diagram illustrating a main configuration of a vehicle according to a first embodiment.
  • the vehicle-mounted relay apparatus which concerns on this embodiment, it is a conceptual diagram which shows notionally the LUT which a memory
  • the vehicle-mounted relay apparatus which concerns on this embodiment, it is a conceptual diagram which shows notionally an example of the table of a "decision list" before a bus determination process.
  • the in-vehicle relay device concerning this embodiment, it is a flow chart explaining the bus decision processing by a control part.
  • FIG. 1 It is a conceptual diagram which shows notionally the example of writing of the table of "decision list” in the bus determination process which concerns on this embodiment. It is a conceptual diagram which shows notionally the example of writing of the table of "decision list” in the bus determination process which concerns on this embodiment. It is a block diagram which shows the principal part structure of the vehicle-mounted communication system which concerns on Embodiment 2. FIG. It is a functional block diagram which shows the principal part structure of the control part of a server apparatus in the vehicle-mounted communication system which concerns on this embodiment. In the in-vehicle communication system concerning this embodiment, it is a flowchart explaining the processing in which the control part of a server apparatus transmits the program for updating.
  • an object of the present invention is to provide an in-vehicle relay device, a communication system, a bus determination method, and a computer program capable of transmitting data within the shortest time when transmitting a plurality of data to a plurality of transmission destinations.
  • a plurality of buses are connected, and in the in-vehicle relay device that transmits data to the communication device connected to the bus, a plurality of devices to be transmitted to the plurality of communication devices And a determination unit that determines whether the reception destination of the received data is a first communication device connected to one bus or a second communication device connected to two or more buses. And a determination unit that determines a bus used for transmission of each received data based on the determination result of the determination unit.
  • the determination unit determines whether the transmission destination of the reception data is the first communication device or the first communication device. It determines whether it is 2 communication apparatuses, and the said determination part determines the bus
  • the in-vehicle relay device includes a storage unit that stores each communication device in association with a bus to which each communication device is connected, and the determination unit stores the content stored in the storage unit. Based on this, the determination is made.
  • the determination unit when the reception unit receives a plurality of data to be transmitted to a plurality of communication devices, the determination unit performs the determination described above, and the determination unit determines the determination result of the determination unit and Based on the storage contents of the storage unit, the bus used for transmission of each received data is determined. For example, when it is determined that the transmission destination of the received data is the second communication device, the determination unit determines whether two or more of the second communication devices are connected based on the storage content of the storage unit. A bus that is not used for transmission of other received data is selected from the buses. Therefore, when transmitting a plurality of reception data to a plurality of transmission destinations, it is possible to shorten the transmission time of the reception data to the transmission destination.
  • the determination unit preferentially determines a bus used for transmission of reception data whose transmission destination is the first communication device, and the storage unit A correspondence relationship in which one bus determined by the determination unit is associated with a transmission destination of received data transmitted using the one bus is stored.
  • the bus used for the transmission of the reception data whose transmission destination is the first communication device is preferentially determined, and the determined bus is associated with the transmission destination of the corresponding reception data.
  • the storage unit stores the correspondence relationship. In this way, the bus used for transmission to the first communication device that cannot select the bus is determined with priority, and then the bus used for transmission to the second communication device that can select the bus is already determined. It is decided not to overlap as much as possible. Accordingly, it is possible to more effectively suppress duplication of buses used for transmission of received data.
  • the determination unit is a bus having no corresponding transmission destination based on the correspondence relationship. Is determined as the bus used for transmission.
  • the determination unit determines a bus related to received data whose destination is the first communication device, and then determines a bus related to received data whose destination is the second communication device. decide.
  • the determination unit uses a bus having no corresponding transmission destination among two or more buses connected to the second communication device as a bus used for transmission. decide. Therefore, when transmitting a plurality of reception data to a plurality of transmission destinations, it is possible to suppress the overlapping of the buses used as much as possible, and the transmission time of the reception data to the transmission destination can be shortened.
  • the determination unit determines a bus having the smallest corresponding transmission destination as a bus used for transmission.
  • the determination unit determines a bus related to received data whose destination is the first communication device, and then determines a bus related to received data whose destination is the second communication device. decide. At this time, if there is no bus having no corresponding destination among the two or more buses connected to the second communication device in the correspondence relationship at that time, the determining unit transmits the bus having the smallest corresponding destination. It is determined as a bus to be used for. Therefore, when transmitting a plurality of reception data to a plurality of transmission destinations, it is possible to suppress the overlapping of the buses used as much as possible, and the transmission time of the reception data to the transmission destination can be shortened.
  • a communication system is the communication system including an information processing device and an in-vehicle relay device that is connected to a plurality of buses and transmits data to the communication device connected to the bus.
  • the processing device is configured such that a plurality of transmission data to be transmitted to a plurality of communication devices is a first communication device connected to one bus of the in-vehicle relay device, or two or more of the in-vehicle relay devices
  • a determination unit that determines whether the second communication device is connected to the bus, and a determination unit that determines a bus used for transmission of each transmission data by the in-vehicle relay device based on a determination result of the determination unit
  • An adding unit that attaches bus data representing the bus determined by the determining unit to each transmission data; and a transmission unit that transmits the plurality of transmission data to which the bus data is attached to the in-vehicle relay device.
  • the in-vehicle relay device includes a receiver which receives the plurality of transmitted data from the information processing
  • the information processing apparatus determines whether the transmission destination is the first communication apparatus or the second communication apparatus for a plurality of transmission data, and determines the result of the determination. Based on this, the bus used for transmission of each transmission data by the in-vehicle relay device is determined, and the bus data representing the determined bus is attached to each transmission data and transmitted to the in-vehicle relay device.
  • the in-vehicle relay device receives the plurality of transmission data from the information processing device, and transmits the transmission data to the communication device based on bus data attached to the transmission data. For example, when it is determined that the transmission destination of the transmission data is the second communication device, the information processing device selects a bus that is not used for transmission of other transmission data.
  • the transmission time to the transmission destination can be shortened. Further, as described above, since the information processing device performs the process of determining the bus, the processing load on the in-vehicle relay device is reduced, and the transmission data is quickly processed in the in-vehicle relay device.
  • the information processing device includes a storage unit that stores each communication device in association with the bus of the in-vehicle relay device to which the communication device is connected, The determination unit performs the determination based on the storage content of the storage unit.
  • the information processing device determines whether the transmission destination is the first communication device or the second communication device for each transmission data.
  • the bus used for transmission by the in-vehicle relay device is determined based on the result of the determination and the contents stored in the storage unit. For example, when it is determined that the transmission destination of the transmission data is the second communication device, the information processing device is connected to the two or more connected to the second communication device based on the storage content of the storage unit. A bus that is not used for transmitting other transmission data is selected from the buses. Therefore, when the in-vehicle relay device transmits a plurality of transmission data to a plurality of transmission destinations, it is possible to shorten the transmission time of the transmission data to the transmission destinations.
  • the determination unit prioritizes determination of a bus used for transmission by the in-vehicle relay device with respect to transmission data whose transmission destination is the first communication device.
  • the storage unit stores a correspondence relationship in which one bus determined by the determination unit is associated with a transmission destination of transmission data transmitted by the in-vehicle relay device using the one bus.
  • the bus used for transmission of transmission data whose transmission destination is the first communication device is preferentially determined, and the determined bus is associated with the transmission destination of the corresponding transmission data.
  • the storage unit stores the corresponding relationship. In this way, the bus used for transmission to the first communication device that cannot select the bus is determined with priority, and then the bus used for transmission to the second communication device that can select the bus is already determined. It is decided not to overlap as much as possible. Therefore, duplication of buses used for transmission of transmission data can be more effectively suppressed.
  • the determination unit uses a bus having no corresponding transmission destination based on the correspondence relationship.
  • the bus is used for transmission by the in-vehicle relay device.
  • the determination unit determines a bus related to transmission data whose transmission destination is the first communication device, and then determines a bus related to transmission data whose transmission destination is the second communication device. decide.
  • the determination unit uses a bus having no corresponding transmission destination among two or more buses connected to the second communication device as a bus used for transmission. decide. Therefore, when transmitting a plurality of transmission data to a plurality of transmission destinations, it is possible to suppress the overlapping of the buses used as much as possible, and the transmission time of the transmission data to the transmission destination can be shortened.
  • the determination unit determines the bus having the smallest corresponding transmission destination as a bus used for transmission by the in-vehicle relay device. To do.
  • the determination unit determines a bus related to transmission data whose transmission destination is the first communication device, and then determines a bus related to transmission data whose transmission destination is the second communication device. decide. At this time, if there is no bus having no corresponding destination among the two or more buses connected to the second communication device in the correspondence relationship at that time, the determining unit transmits the bus having the smallest corresponding destination. It is determined as a bus to be used for. Therefore, when transmitting a plurality of transmission data to a plurality of transmission destinations, it is possible to suppress the overlapping of the buses used as much as possible, and to shorten the transmission time of the transmission data to the transmission destination.
  • a bus determination method In the bus determination method according to one aspect of the present disclosure, a plurality of buses are connected, and a bus used for transmitting the data is transmitted in an in-vehicle relay device that transmits data to a communication device connected to the bus.
  • a bus determination method for determining a plurality of data to be transmitted to a plurality of communication devices are received, and a transmission destination of received data is a first communication device connected to one bus, or connected to two or more buses Determining whether the second communication device is to be used, and determining a bus to be used for transmission of each received data based on the result of the determination.
  • the transmission destination of the received data is the first communication device or the second communication device, Based on the result of such determination, the bus used for transmission of each received data is determined. For example, when it is determined that the transmission destination of received data is the second communication device, a bus that is not used for transmitting other received data is selected from two or more buses connected to the second communication device. The Therefore, when transmitting a plurality of received data to a plurality of transmission destinations, the transmission time to the transmission destination can be shortened.
  • a plurality of buses are connected, and a plurality of data to be transmitted to a plurality of communication devices are transmitted to a computer that transmits data to the communication devices connected to the bus. It is determined whether the reception destination of the received data is a first communication device connected to one bus or a second communication device connected to two or more buses, and based on the result of the determination Thus, processing for determining the bus used for transmission of each received data is executed.
  • a plurality of data to be transmitted to a plurality of communication devices are received under the control of a computer included in the in-vehicle relay device, and the transmission destination of the received data is the first communication device. It is determined whether it is a two-communication device, and the bus used for transmission of each received data is determined based on the result of such determination. For example, when it is determined that the transmission destination of received data is the second communication device, a bus that is not used for transmitting other received data is selected from two or more buses connected to the second communication device. The Therefore, when transmitting a plurality of received data to a plurality of transmission destinations, the transmission time to the transmission destination can be shortened.
  • FIG. 1 is a block diagram illustrating a main configuration of a vehicle C according to the first embodiment.
  • the vehicle C according to the present embodiment includes one in-vehicle relay device 10, a plurality of ECUs (Electronic Control Units) 20, and a wireless communication device 30.
  • ECUs 20 communication devices: ECU1, ECU2,.
  • ECU1, ECU2,... ECU9 are collectively referred to as ECU20.
  • buses 1 (B1), 2 (B2), and 3 (B3) are connected to the in-vehicle relay device 10.
  • ECU1, ECU2,... ECU9 are connected to the in-vehicle relay device 10 via buses B1, B2, B3.
  • ECU1, ECU2,..., ECU9 are divided into three groups and connected to buses B1, B2, B3.
  • ECU1, ECU2, and ECU3 are connected to the bus B1, ECU4, ECU5, ECU3, and ECU7 are connected to the bus B2, and ECU6, ECU7, ECU8, and ECU9 are connected to the bus B3. That is, ECU1, ECU2, ECU4, ECU5, ECU6, ECU8, and ECU9 are connected to only one of the buses B1, B2, and B3.
  • ECU3, ECU7 is connected with two buses among buses B1, B2, B3.
  • the case where ECU3 and ECU7 are connected to two buses will be described as an example. However, the present invention is not limited to this, and the ECU3 and ECU7 are configured to be connected to three or more buses. May be.
  • ECU1, ECU2, ECU4, ECU5, ECU6, ECU8, and ECU9 connected to only one bus are referred to as a single connection ECU (first communication device), and ECU3 is connected to two buses.
  • ECU7 is referred to as a multiple connection ECU (second communication device).
  • Each ECU 20 can transmit / receive a message (frame data) to / from the in-vehicle relay device 10 via the bus B1, B2 or B3.
  • the buses B1, B2, and B3 are, for example, twisted pair wires.
  • the vehicle C includes nine ECUs 20
  • the present invention is not limited to this, and may be configured to include nine or more or nine or less ECUs.
  • ECU1, ECU2,..., ECU9 include, for example, an ECU that controls the opening and closing of the door of the vehicle C, an ECU that controls the operation of the engine of the vehicle C, an ECU that controls the operation of the airbag, and an ABS (Antilock Brake System)
  • ECUs such as an ECU that controls the operation of the ECU are included.
  • the ECU 20 performs each process by reading and executing a program and data stored in an internal storage unit.
  • the program or data stored in the ECU 20 may be updated for the purpose of, for example, function addition or defect correction.
  • the wireless communication device 30 acquires an update program or data necessary for the program update process of the ECU 20 from the outside.
  • the wireless communication device 30 transmits the acquired frame data to the in-vehicle relay device 10.
  • Such frame data includes, for example, an update program or data for updating the program of the ECU 20.
  • the in-vehicle relay device 10 includes a control unit 11, a reception unit 13, a transmission unit 12, a buffer 14, a storage unit 15, and the like.
  • the in-vehicle relay device 10 receives the frame data from the wireless communication device 30 and extracts and stores the above-described program or data.
  • the in-vehicle relay device 10 transmits the update program stored through the buses B1, B2, and B3 to the ECU 20 to be updated.
  • the ECU 20 that has received the update program or the like from the in-vehicle relay device 10 performs a process of updating the program or data stored in the storage unit while executing the operation of the own machine.
  • the storage unit of the ECU 20 has two parts, and the update program and the like are written in the other part while executing the operation of the own machine using one part (used part).
  • the update program or the like is transmitted with a low load that does not affect the operation.
  • the used part is switched from the one part to the other part.
  • the control unit 11 includes an arithmetic processing unit such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), and is stored in the storage unit 15 or a ROM (Read Only Memory) (see FIG. 3). Various processes are performed by executing various programs. In the present embodiment, the control unit 11 performs, for example, processing for transmitting an update program or the like to the ECU 20 to be updated, processing for determining a bus used for transmission of the update program, or the like.
  • arithmetic processing unit such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit)
  • ROM Read Only Memory
  • the buffer 14 is configured using a memory element such as SRAM (Static Random Access Memory) or DRAM (Dynamic Random Access Memory).
  • SRAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • the receiving unit 13 and the transmitting unit 12 are connected to the buses B1, B2, and B3, transmit / receive frame data to / from the ECU 20 via the buses B1, B2, and B3, and receive frame data from the wireless communication device 30. .
  • the receiving unit 13 and the transmitting unit 12 may be configured using a so-called CAN controller.
  • the transmission unit 12 reads transmission data (for example, an update program) stored in the buffer 14 in accordance with an instruction from the control unit 11, and converts the read data into frame data according to a predetermined communication protocol. And it transmits to ECU20 by outputting to bus
  • transmission data for example, an update program
  • the receiving unit 13 receives frame data including the update program acquired by the wireless communication device 30, extracts the update program from the received frame data, stores it in the buffer 14, updates the program, etc. Is notified to the control unit 11.
  • the storage unit 15 is configured using, for example, an EEPROM (Electrically Erasable Programmable Read Only Memory) or a rewritable nonvolatile memory element such as a flash memory.
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • a rewritable nonvolatile memory element such as a flash memory.
  • the storage unit 15 stores an LUT (Look Up Table).
  • FIG. 2 is a conceptual diagram conceptually showing the LUT stored in the storage unit 15 in the in-vehicle relay device 10 according to the present embodiment.
  • the LUT is associated with identification data (ID) of each ECU 20 and a bus to which each ECU 20 is connected (hereinafter referred to as a connection bus).
  • ID identification data
  • connection bus a bus to which each ECU 20 is connected
  • the control unit 11 Based on the LUT in the storage unit 15, the control unit 11 performs processing for determining a bus used for transmission of an update program or the like (hereinafter referred to as bus determination processing).
  • the storage unit 15 stores a program P for performing bus determination processing.
  • the program P corresponds to, for example, the processing of each step in FIG. 5 described later, and the bus determination processing can be realized by the control unit 11 reading and executing the program P.
  • the storage unit 15 stores a “decision list” table and an “undecided list” table.
  • FIG. 3 is a conceptual diagram conceptually illustrating an example of a “decision list” table before the bus determination process in the in-vehicle relay device 10 according to the present embodiment.
  • the “determination list” table includes an update target ECU 20 (hereinafter also referred to as a transmission destination) to which an update program received from the wireless communication device 30 is to be transmitted, and a bus used to transmit such an update program or the like.
  • the bus determined in the bus determination process is associated with the bus. That is, the “determination list” table associates one bus determined by the bus determination process by the control unit 11 with a transmission destination of an update program or the like (received data) transmitted using the one bus. The corresponding relationship is shown.
  • the transmission destination is a single connection ECU among the plurality of update programs.
  • the bus determination process is preferentially performed for the update program. Therefore, until the bus determination process for the update program whose transmission destination is a single connection ECU is completed, the transmission destination of the update program whose transmission destination is a multiple connection ECU is temporarily written in the table of the “undecided list”. deep.
  • FIG. 4 is a functional block diagram illustrating a main configuration of the control unit 11 in the in-vehicle relay device 10 according to the present embodiment.
  • the control unit 11 includes a CPU 111, a ROM 112, a RAM 113, a determination unit 114, and a determination unit 115.
  • the ROM 112 stores in advance basic data, etc., among various control programs and calculation parameters, and the RAM 113 temporarily stores the data and reads it regardless of the storage order, storage position, etc. Is possible.
  • the RAM 113 stores, for example, a program read from the ROM 112, various data generated by executing the program, parameters that change as appropriate during the execution, and the like.
  • the CPU 111 performs the bus determination process described above by executing a control program stored in advance in the ROM 112.
  • the determination unit 114 When the determination unit 114 receives a plurality of update programs to be transmitted from the wireless communication device 30 to the plurality of ECUs 20, whether the transmission destination of each update program is a single connection ECU in the bus determination process, or It is determined whether the ECU is a multiple connection ECU.
  • the determination unit 115 determines an optimum bus to be used for transmission of each update program based on the determination result of the determination unit 114 with reference to the LUT in the storage unit 15. Details of the determination unit 114 and the determination unit 115 will be described later.
  • FIG. 5 is a flowchart for explaining bus determination processing by the control unit 11 in the in-vehicle relay device 10 according to the present embodiment.
  • the wireless communication device 30 receives five frame data including update programs A to E from the outside.
  • the transmission destination of the update program A is ECU1
  • the transmission destination of the update program B is ECU2
  • the transmission destination of the update program C is ECU3
  • the transmission destination of the update program D is ECU4
  • the transmission destination of the update program E Is an ECU 7. That is, the transmission destination of the update program A, the update program B, and the update program D is a single connection ECU, and the transmission destination of the update program C and the update program E is a multiple connection ECU.
  • the CPU 111 obtains transmission destination information from the header information of the frame data (step S101).
  • the determination unit 114 determines whether or not the transmission destination of the acquired update program A is a multi-connection ECU (step S102). Such a determination is made based on the LUT in the storage unit 15.
  • the determination unit 114 determines that the transmission destination is not a multiple connection ECU (NO in step S102).
  • the determination unit 115 determines an optimal bus used for transmission of the update program A with reference to the LUT in the storage unit 15 (step S103). Specifically, since the ECU 1 is connected only to the bus B1 from the LUT of the storage unit 15, the determination unit 115 determines the bus B1 as the optimum bus used for transmission of the update program A.
  • the CPU 111 stores the determination result made by the determination unit 115 in the “determination list” table (step S104). Specifically, the CPU 111 writes “ECU1” in the transmission destination column corresponding to the bus 1 (B1) of the “determined bus” in the “determination list” table of FIG.
  • the CPU 111 determines whether or not the writing process (hereinafter referred to as writing process) to the “decision list” table or the “undecided list” table has been completed for all received frame data (steps). S106).
  • writing process the writing process has been performed only on the frame data including the update program A. Therefore, the CPU 111 determines that the writing process has not been completed (step S106: NO), and returns the process to step S101. .
  • processing is performed on the frame data including the update program B. Such a process is the same as the process for the frame data including the update program A, and a description thereof will be omitted.
  • the CPU 111 acquires information on the transmission destination from the header information of the frame data (step S101). Further, the determination unit 114 determines whether or not the transmission destination of the acquired update program A is a multi-connection ECU (step S102).
  • the determination unit 114 determines that the transmission destination is the multiple connection ECU (step S102: YES). At this time, in order to preferentially perform the bus determination processing for the update program whose transmission destination is a single connection ECU, the CPU 111 sets the transmission destination (ECU 3) of the update program C in the “undecided list” table. Writing is performed temporarily (step S105).
  • step S106 determines whether or not the writing process has been completed for all received frame data. Up to this point, since the writing process has been performed only on the three frame data including the update programs A, B, and C, the CPU 111 determines that the writing process has not been completed (step S106: NO). ), The process returns to step S101 again.
  • the “determination list” table stores correspondences with a single connection ECU. That is, as shown in FIG. 6, “ECU1, ECU2” is written in the destination column corresponding to bus 1 (B1) of “determined bus”, and the destination column corresponding to bus 2 (B2). "ECU4" is written. Further, “ECU3, ECU7” is written in the “undetermined list” table (not shown).
  • step S106 when it is determined that the writing process has been completed for all the received frame data (step S106: YES), the CPU 111 checks the “undetermined list” table to write the transmission destination. It is determined whether or not there is (step S107).
  • step S107: NO If the CPU 111 determines that there is no writing in the “undetermined list” table (step S107: NO), the process ends. On the other hand, when the CPU 111 determines that there is a write in the “undetermined list” table (step S107: YES), the determining unit 115 selects the first ECU written in the “undetermined list” table (step S108). ). As described above, since “ECU3, ECU7” is currently written in the “undecided list” table, the determination unit 115 selects “ECU3” as the first ECU and performs the bus determination process.
  • the determination unit 115 determines whether there is a bus having no corresponding transmission destination among the connection buses of the ECU selected in step S108 in the correspondence relationship of FIG. 6 (step S109).
  • the ECU 3 is currently selected, and the connection buses of the ECU 3 are the bus B1 and the bus B2.
  • the determination unit 115 determines that there is no bus having no corresponding transmission destination among the connection buses of the ECU selected in step S108 (step S109: NO).
  • the determination unit 115 determines the bus with the smallest number of corresponding transmission destinations as the bus used for transmission (step S113). Specifically, the connection buses of the ECU 3 are the bus B1 and the bus B2, and in the correspondence relationship, two ECUs are associated with the bus 1 (B1), and one ECU is associated with the bus 2 (B2). (See FIG. 6). Therefore, the determination part 115 determines bus B2 among the connection buses of ECU3 as a bus used for transmission.
  • the CPU 111 writes and stores the determination result in step S113 in the “determination list” table of the storage unit 15 (step S111). That is, the CPU 111 writes “ECU3” in the transmission destination column corresponding to the bus 2 (B2) of the “determined bus” as in the “determination list” table shown in FIG. Further, the CPU 111 deletes the ECU 3 from the table in the “undecided list” column of the storage unit 15 (step S112).
  • step S114 determines whether or not the bus determination process for the transmission destination written in the “undetermined list” table is completed. Such a determination is made by checking the table of the “undecided list”. Currently, the ECU 3 is deleted, but the ECU 7 is still written. Therefore, the CPU 111 determines that the bus determination process for the transmission destination written in the “undetermined list” table is not completed (step S114: NO), and returns the process to step S108.
  • the determination unit 115 selects the first ECU written in the “undecided list” table (step S108). As described above, since only the ECU 7 is currently written in the “undetermined list” table, the determination unit 115 selects “ECU 7” as the first ECU and performs the bus determination process.
  • the determination unit 115 determines whether there is a bus having no corresponding transmission destination among the connection buses of the ECU selected in step S108 in the correspondence relationship of FIG. 7 (step S109).
  • the ECU 7 is currently selected, and the connection buses of the ECU 7 are the bus B2 and the bus B3.
  • the determination unit 115 determines that there is a bus having no corresponding transmission destination among the connection buses of the ECU selected in step S108 (step S109: YES).
  • the determination unit 115 determines a bus having no corresponding transmission destination as a bus used for transmission (step S110).
  • the connection buses of the ECU 7 are the bus B2 and the bus B3, two ECUs are associated with the bus 2 (B2), and no ECU is associated with the bus 3 (B3) ( (See FIG. 7). Therefore, the determination part 115 determines bus B3 among the connection buses of ECU7 as a bus used for transmission.
  • the CPU 111 writes and stores the determination result in step S110 in the “determination list” table of the storage unit 15 (step S111). That is, the CPU 111 writes “ECU7” in the transmission destination column corresponding to the bus 3 (B3) of the “determined bus” in the “determination list” table of FIG. Further, the CPU 111 deletes the ECU 7 from the “undecided list” table in the storage unit 15 (step S112).
  • the CPU 111 determines whether or not the bus determination process for the transmission destination written in the “undetermined list” table is completed (step S114).
  • the ECU 3 and the ECU 7 are all deleted from the “undetermined list” table. Accordingly, the CPU 111 determines that the bus determination process for the transmission destination written in the “undetermined list” table is completed (step S114: YES), and ends the process.
  • the transmission unit 12 transmits the update programs A to E to the target ECU 20 via the bus determined in the bus determination process as described above.
  • the in-vehicle relay device 10 when receiving a plurality of update programs, etc., duplicates the bus used for transmission of each update program to the transmission destination. As much as possible, the program update in the target ECU can be performed within the shortest time.
  • the bus determination process is preferentially performed. That is, the bus used for transmission to the single connection ECU in which the bus cannot be selected is determined with priority, and then the bus used for transmission to the multiple connection ECU does not overlap with the already determined bus as much as possible. To be determined selectively. Accordingly, it is possible to more effectively suppress duplication of buses used for transmission of update programs and the like.
  • determination unit 114 and the determination unit 115 described above may be configured by hardware logic, or may be constructed in software by the CPU 111 executing a predetermined program.
  • FIG. 8 is a block diagram illustrating a main configuration of the in-vehicle communication system 100 according to the second embodiment.
  • the in-vehicle communication system 100 according to the present embodiment includes a vehicle C and a server device 40.
  • the vehicle C includes one in-vehicle relay device 10, a plurality of ECUs 20, and a wireless communication device 30.
  • ECU1, ECU2,... ECU9 are collectively referred to as ECU20.
  • the server device 40 transmits frame data including an update program or data necessary for a program update process of the ECU 20 to the wireless communication device 30 of the vehicle C.
  • the wireless communication device 30 transmits the received frame data to the in-vehicle relay device 10, and the in-vehicle relay device 10 transmits this to the ECU 20 to be updated.
  • the main configuration of the vehicle C according to the present embodiment is the same as that of the vehicle C according to the first embodiment, and detailed description thereof is omitted.
  • the server device 40 includes a control unit 41, a transmission unit 42, a storage unit 43, and the like.
  • the control unit 41 includes an arithmetic processing unit such as a CPU or an MPU, for example, and performs various processes by executing various programs stored in the storage unit 43 or the ROM (see FIG. 9).
  • the storage unit 43 stores an update program for updating the program of each ECU 20 of the vehicle C, and the control unit 41, for example, a process of transmitting the update program of each ECU 20 to the vehicle C, and Processing (bus determination processing) for determining a bus used in advance when transmitting such an update program or the like to the target ECU 20 in the vehicle C is performed.
  • control unit 41 stores bus information (bus data) representing the determined specific bus in the predetermined update program. Attached.
  • the storage unit 43 is configured using a non-volatile rewritable memory element such as an EEPROM or a flash memory.
  • the storage unit 43 stores an LUT.
  • the LUT is associated with identification data (ID) of each ECU 20 of the vehicle C and a connection bus to which each ECU 20 is connected (see FIG. 2).
  • the control unit 41 Based on the LUT in the storage unit 43, the control unit 41 performs a bus determination process for determining a bus used for transmission of an update program or the like in the vehicle C.
  • the storage unit 43 stores a program P for performing bus determination processing.
  • the program P corresponds to, for example, the processing of each step in FIG. 5 described above, and the bus determination processing can be realized by the control unit 41 reading and executing the program P.
  • the storage unit 43 stores a “decision list” table and an “undecided list” table as in the first embodiment.
  • the “decision list” table and the “undetermined list” table have already been described, and a detailed description thereof will be omitted.
  • the transmission unit 42 transmits frame data (transmission data) including the bus information and the update program to the vehicle C according to a predetermined communication protocol.
  • FIG. 9 is a functional block diagram illustrating a main configuration of the control unit 41 of the server device 40 in the in-vehicle communication system 100 according to the present embodiment.
  • the control unit 41 includes a CPU 411, a ROM 412, a RAM 413, a determination unit 414, a determination unit 415, and an addition unit 416.
  • the ROM 412 stores in advance basic data, etc., among various control programs and calculation parameters.
  • the RAM 413 temporarily stores the data and reads it regardless of the storage order, storage position, etc. Is possible.
  • the RAM 413 stores, for example, a program read from the ROM 412, various data generated by executing the program, parameters that change as appropriate during the execution, and the like.
  • the CPU 411 performs the bus determination process described above by loading a control program stored in advance in the ROM 412 onto the RAM 413 and executing it.
  • the transmission destination of each update program is a single connection ECU or a plurality of connection ECUs. Determine if there is any.
  • the determining unit 415 determines an optimum bus to be used for transmission of each update program in the vehicle C with reference to the LUT in the storage unit 43 based on the determination result of the determining unit 414.
  • the adding unit 416 uses bus information (bus data) representing the bus determined by the determining unit 415 with respect to a predetermined updating program to be transmitted to the vehicle C (hereinafter referred to as a determined bus) for the predetermined updating. It is added as header information to the frame data including the program.
  • bus information bus data representing the bus determined by the determining unit 415 with respect to a predetermined updating program to be transmitted to the vehicle C (hereinafter referred to as a determined bus) for the predetermined updating. It is added as header information to the frame data including the program.
  • FIG. 10 is a flowchart illustrating a process in which the control unit 41 of the server device 40 transmits the update program in the in-vehicle communication system 100 according to the present embodiment.
  • the control unit 41 executes a bus determination process in advance (step S201).
  • bus determination processing is the same as the processing shown in FIG. 5 of the first embodiment, and detailed description thereof is omitted.
  • the CPU 411, the ROM 412, the RAM 413, the determination unit 414, and the determination unit 415 are the CPU 111, the ROM 112, the RAM 113, the determination unit 114, and the determination unit 115, respectively.
  • the CPU 411, the ROM 412, the RAM 413, the determination unit 414, and the determination unit 415 are the CPU 111, the ROM 112, the RAM 113, the determination unit 114, and the determination unit 115, respectively.
  • the CPU 411, the ROM 412, the RAM 413, the determination unit 414, and the determination unit 415 are the CPU 111, the ROM 112, the RAM 113, the determination unit 114, and the determination unit 115, respectively.
  • the adding unit 416 represents a corresponding determination bus for each update program.
  • the bus information is attached (step S202).
  • the transmission unit 42 transmits frame data including each update program and corresponding bus information to the vehicle C (step S203).
  • the plurality of frame data transmitted from the server device 40 is received by the wireless communication device 30 of the vehicle C.
  • the wireless communication device 30 transmits the received plurality of frame data to the in-vehicle relay device 10, and the in-vehicle relay device 10 extracts an update program from each frame data.
  • the in-vehicle relay device 10 transmits the extracted update program to the ECU 20 to be updated based on the bus information (decision bus) included in the frame data.
  • the in-vehicle communication system 100 is used to transmit each update program to the transmission destination when a plurality of update programs and the like are transmitted to the ECU 20 of the vehicle C. Duplication of the buses to be performed can be suppressed as much as possible, and the program update in the target ECU can be performed within the shortest time.
  • the server device 40 performs the bus determination process described above, so that the processing load on the vehicle C is reduced and the transmission of the update program and the program update are quickly performed on the vehicle C. Done.
  • determination unit 414 may be configured by hardware logic, or may be configured by software by the CPU 411 executing a predetermined program.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Abstract

Le dispositif de relais monté sur un véhicule selon la présente invention, qui est connecté à une pluralité de bus et transmet des données à des dispositifs de communication connectés aux bus, comprend : une unité de réception qui reçoit une pluralité d'ensembles de données devant être transmises à la pluralité de dispositifs de communication ; une unité d'évaluation qui évalue si la destination des données reçues est un premier dispositif de communication connecté à un bus ou un second dispositif de communication connecté à deux bus ou plus ; et une unité de détermination qui détermine un bus devant être utilisé pour la transmission des données reçues sur la base du résultat d'évaluation de l'unité d'évaluation.
PCT/JP2019/018933 2018-05-14 2019-05-13 Dispositif de relais monté sur un véhicule, système de communication, procédé de détermination de bus et programme informatique WO2019221058A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-093312 2018-05-14
JP2018093312A JP2019199122A (ja) 2018-05-14 2018-05-14 車載中継装置、通信システム、バス決定方法及びコンピュータプログラム

Publications (1)

Publication Number Publication Date
WO2019221058A1 true WO2019221058A1 (fr) 2019-11-21

Family

ID=68539981

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/018933 WO2019221058A1 (fr) 2018-05-14 2019-05-13 Dispositif de relais monté sur un véhicule, système de communication, procédé de détermination de bus et programme informatique

Country Status (2)

Country Link
JP (1) JP2019199122A (fr)
WO (1) WO2019221058A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021106568A1 (fr) * 2019-11-27 2021-06-03 株式会社オートネットワーク技術研究所 Dispositif de mise à jour embarqué, programme, et procédé de mise à jour de programme

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7247905B2 (ja) * 2020-01-22 2023-03-29 トヨタ自動車株式会社 第1中継装置、第2中継装置、第1中継方法、第2中継方法、第1中継プログラム、第2中継プログラム、及び中継システム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333007A (ja) * 2005-05-25 2006-12-07 Nissan Motor Co Ltd 車両通信システム及びデータ通信方法
JP2017143449A (ja) * 2016-02-11 2017-08-17 株式会社デンソー 通信装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333007A (ja) * 2005-05-25 2006-12-07 Nissan Motor Co Ltd 車両通信システム及びデータ通信方法
JP2017143449A (ja) * 2016-02-11 2017-08-17 株式会社デンソー 通信装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021106568A1 (fr) * 2019-11-27 2021-06-03 株式会社オートネットワーク技術研究所 Dispositif de mise à jour embarqué, programme, et procédé de mise à jour de programme
JP2021086378A (ja) * 2019-11-27 2021-06-03 株式会社オートネットワーク技術研究所 車載更新装置、プログラム及び、プログラムの更新方法
JP7310570B2 (ja) 2019-11-27 2023-07-19 株式会社オートネットワーク技術研究所 車載更新装置、プログラム及び、プログラムの更新方法

Also Published As

Publication number Publication date
JP2019199122A (ja) 2019-11-21

Similar Documents

Publication Publication Date Title
US11599349B2 (en) Gateway device, in-vehicle network system, and firmware update method
JP6380461B2 (ja) 中継装置、プログラム更新システム、およびプログラム更新方法
JP6665728B2 (ja) 車載更新装置、車載更新システム及び通信装置の更新方法
JP6323480B2 (ja) プログラム更新システム、プログラム更新方法及びコンピュータプログラム
JP6562134B2 (ja) 中継装置、プログラム更新システム、およびプログラム更新方法
US20180373522A1 (en) In-vehicle updating device, updating system, and update processing program
JP5353545B2 (ja) 車載ネットワーク装置
WO2019216330A1 (fr) Dispositif de mise à jour embarqué, procédé de traitement de mise à jour et programme de traitement de mise à jour
JP6060782B2 (ja) 中継装置
JP2023090981A (ja) ゲートウェイ装置、車載ネットワークシステム及びファームウェア更新方法
WO2019202965A1 (fr) Dispositif de mise à jour embarqué, système de mise à jour embarqué, procédé de traitement de mise à jour et programme de traitement de mise à jour
US20200167307A1 (en) In-vehicle relay device, control program, and memory sharing method
JP4987760B2 (ja) 中継装置、通信システム及び通信方法
WO2019221058A1 (fr) Dispositif de relais monté sur un véhicule, système de communication, procédé de détermination de bus et programme informatique
JP6562133B2 (ja) 中継装置、プログラム更新システム、およびプログラム更新方法
US20210065478A1 (en) Electronic control unit and non-transitory computer readable medium storing session establishment program
US10300923B2 (en) Device for storing data in a motor vehicle
JP6769270B2 (ja) 車載電子制御装置、車載電子制御システム、中継装置
JP7087334B2 (ja) 電子制御装置
US11803364B2 (en) Server, software updating device, vehicle, software updating system, control method, and non-transitory storage medium
JP6631676B2 (ja) 車載更新装置、更新システム及び更新処理プログラム
WO2020195034A1 (fr) Dispositif de mise à jour embarqué, système de traitement de mise à jour, procédé de traitement de mise à jour et programme de traitement
JP2020189586A (ja) データ書換方法、及びデータ書換システム
CN110677466A (zh) 应用程序的下载方法、装置、网关和存储介质
US11947824B2 (en) Electronic control unit, method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19802752

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19802752

Country of ref document: EP

Kind code of ref document: A1