WO2013099645A1 - 中継装置、通信ハーネス及び通信システム - Google Patents

中継装置、通信ハーネス及び通信システム Download PDF

Info

Publication number
WO2013099645A1
WO2013099645A1 PCT/JP2012/082437 JP2012082437W WO2013099645A1 WO 2013099645 A1 WO2013099645 A1 WO 2013099645A1 JP 2012082437 W JP2012082437 W JP 2012082437W WO 2013099645 A1 WO2013099645 A1 WO 2013099645A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
relay
communication
destination
cpu
Prior art date
Application number
PCT/JP2012/082437
Other languages
English (en)
French (fr)
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 株式会社オートネットワーク技術研究所
Priority to DE112012005479.2T priority Critical patent/DE112012005479T5/de
Priority to US14/365,335 priority patent/US20140379954A1/en
Priority to CN201280065219.9A priority patent/CN104012046B/zh
Publication of WO2013099645A1 publication Critical patent/WO2013099645A1/ja

Links

Images

Classifications

    • 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
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • 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/40Bus networks
    • H04L12/40006Architecture of a communication node
    • 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/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • H04L12/40182Flexible bus arrangements involving redundancy by using a plurality of communication lines
    • 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
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching 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/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • 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/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Definitions

  • the present invention relates to a relay device that relays between different communication buses.
  • the relay device can replace a routing table to cope with various relay variations and can save the storage capacity of the routing table.
  • ECUs Electronic Control Units
  • various processes are performed by sending and receiving data to each other. It is the target. Since the number of ECUs connected to one communication bus is limited or the communication speed varies depending on the role of the ECU, the ECUs are divided into a plurality of groups and connected to one communication bus for each group. A configuration is employed in which communication buses are connected by a relay device (gateway).
  • the relay device identifies information received from one communication bus by CANID if it is a CAN (Controller Area Network), and refers to a routing table that specifies the necessity of relay and the relay destination communication bus for each CANID. Relay processing is realized by transmission from a relay destination communication bus (Patent Documents 1, 2, etc.).
  • a routing table is stored in a memory, and information is transmitted from a single communication bus from a CPU based on a relay processing program or from a circuit configured to perform relay processing.
  • the timing of transmitting one piece of information or the timing of transmitting one piece of information is read, the correspondence between the ID and the relay destination communication bus is read from the routing table in the memory and the process of specifying the relay destination communication bus is performed each time.
  • processing is slowed down by reading from the memory, and the amount of information in the routing table stored in the memory is increased.
  • in-vehicle ECUs are rewritable in recent years in order to avoid the production of each hardware due to differences in vehicle type or options, etc., in order to reduce hardware costs.
  • a microcomputer hereinafter referred to as a microcomputer process based on a computer program is employed.
  • Patent Document 2 also describes that when the relay device is activated, the routing table stored in the memory is read and converted, and incorporated into the relay processing circuit.
  • the number of in-vehicle ECUs is enormous since functions realized by electronic control are increasing.
  • the relay device is also required to relay information between three or more communication buses instead of relaying information between two communication buses. Therefore, various relay variations, such as relaying certain information from one communication bus to the other three communication buses, combining two pieces of information received from the two communication buses, and transmitting them from the other one communication bus. Exists. Furthermore, since the number of communication buses and the type of ECU connected to each communication bus are different for each vehicle manufacturer, vehicle type, or option, relay variations increase. In the configuration in which the CPU reads the computer program incorporating the contents of the routing table, a relay processing program must be developed for each different variation, and it is difficult to reduce development costs.
  • the present invention has been made in view of such circumstances, and a relay apparatus capable of replacing a routing table to cope with various relay variations and saving the storage capacity of the routing table.
  • An object of the present invention is to provide a communication harness including the relay device and a communication system including the relay device.
  • the relay device receives at one or more communication units based on a plurality of communication units respectively connected to different communication buses, a rewritable storage unit, and a computer program stored in the storage unit.
  • a routing device for specifying a relay destination of received information in the storage unit, wherein the storage unit includes a processor that executes a relay process for transmitting the one or more information from other one or more communication units
  • the routing table includes a first table in which the necessity of relaying for each identification information of the information and a storage destination of the information in the case of relaying are recorded, and an area for storing received information.
  • a second table for recording a third table including a relay destination, an area for storing information to be relayed, which is associated with the relay destination, and index information indicating a storage destination of the information. It characterized in that it comprises a fourth table is recorded, and a fifth table that records the number of information in the third table.
  • the processor when the processor receives information from any of the plurality of communication units, the processor refers to the first table and the information needs to be relayed based on the first table. And executing means including means for referring to the storage destination of the information from the first table and means for storing the information in the storage destination in the second table.
  • the second table includes a relay destination in association with the storage area, and the processor refers to the first table when receiving information from any of the plurality of communication units. And means for referring to the storage destination of the information from the first table and the relay destination associated with the storage destination in the second table when the information is relayed based on the means and the first table. And executing means including means for transmitting the information.
  • the processor is configured to refer to the third table, and to specify information stored in the storage destination of the third table based on the fourth table.
  • the relay apparatus is characterized in that the processor includes means for reading the number of information from the fifth table, and refers to the third table for the number of read information.
  • a communication harness according to the present invention includes any one of the relay devices according to the present invention and a plurality of communication buses respectively connected to the plurality of communication units of the relay device.
  • the communication system includes any of a plurality of communication devices that transmit and receive information, a plurality of communication buses to which the plurality of communication devices are respectively connected, and a relay device of the invention to which the plurality of communication buses are connected. It is characterized by including a heel.
  • a rewritable routing table is stored in the storage unit of the relay device, and the routing table specifies a relay destination of information received from any communication bus.
  • the processor refers to the first table.
  • the received information is stored in the storage destination.
  • the storage area of the second table is associated with a relay destination when the received information is relayed as it is, and when the received information needs to be relayed, it is included in the first table by the processor.
  • the received information is relayed to the relay destination associated with the storage area in the second table which is the storage destination.
  • the processor specifies the storage destination in the second table of the information stored in the third table based on the index information in the fourth table, reads the information from the storage destination, and stores it in the storage destination in the third table.
  • the received information further includes a plurality of information
  • the existence of index information can save the capacity of the routing table. Is possible.
  • the processor since the number of information in the third table is recorded in the fifth table, the processor sequentially transmits the information in the third table according to the number of information regardless of the contents of the third table. It is possible.
  • the routing table in the present invention is composed of a plurality of tables related to each other, and does not consume memory unnecessarily, for example.
  • the present invention it is not necessary to recreate a computer program for the processor to execute the relay process according to each different relay variation. As a result, development costs can be reduced. Further, since it is not necessary to re-create a computer program for executing the relay processing, the inspection of the computer program does not have to be performed every time for different relay variations when performing the inspection of the relay device of the present invention. Only operations including different routing tables corresponding to relay variations need be inspected. Accordingly, it is possible to reduce the number of items to be inspected after construction of the relay device and the communication system including the relay device, thereby suppressing the manufacturing cost.
  • FIG. 1 is a block diagram showing a configuration of an in-vehicle communication system according to the present embodiment.
  • the in-vehicle communication system includes a plurality of communication buses 11, 12, 13, and 14, ECUs 21, 22, 23, and 24 connected to the communication buses 11, 12, 13, and 14, and communication buses 11, 12, 13, and 14, respectively. 14 and a relay device 3 that performs a relay process of information between them.
  • the communication via the communication buses 11, 12, 13, and 14 all conform to the CAN protocol.
  • the plurality of communication buses 11, 12, 13, and 14 are distinguished by the types of control targets of the connected ECUs 21, 22, 23, and 24. In other words, it is distinguished by the type of information transmitted and received.
  • the communication speed may be set differently for each of the communication buses 11, 12, 13, and 14.
  • the communication bus 11 is connected to a plurality of ECUs 21 for controlling the travel control system, and information on the control system such as the vehicle speed is transmitted and received.
  • a plurality of ECUs 22 for controlling the power control system are connected to the communication bus 12, and information on the power control system such as battery information is transmitted and received.
  • a plurality of ECUs 23 for controlling accessory systems such as a car navigation system are connected to the communication bus 13, and multimedia information such as time information and position information is transmitted and received.
  • a plurality of ECUs 24 for controlling the body are connected to the communication bus 14, and information regarding door locks, security, and the like is transmitted and received.
  • the relay device 3 includes a CPU (Central Processing Unit) 30, a first communication unit 31, a second communication unit 32, a third communication unit 33, a fourth communication unit 34, a flash memory 35, and a RAM (Random Access Memory 36).
  • the CPU 30 executes transmission / reception via the first to fourth communication units 31 to 34 using the RAM 36 as a transmission buffer or a reception buffer based on a routing table 37 stored in the flash memory 35 and a computer program which will be described later. Implement relay processing.
  • the CPU 30 may be replaced with an MPU (Micro Processing Unit).
  • the first to fourth communication units 31 to 34 each include a CAN controller and a CAN transceiver, and realize transmission / reception of CAN messages including various information based on the CAN protocol.
  • the first communication unit 31 is connected to the communication bus 11
  • the second communication unit 32 is connected to the communication bus 12
  • the third communication unit 33 is connected to the communication bus 13
  • the fourth communication unit 34 is connected to the communication bus 14.
  • the flash memory 35 is a rewritable nonvolatile memory, and stores a computer program and a routing table read by the CPU 30 as will be described later.
  • a nonvolatile memory such as an EEPROM (registered trademark) may be used.
  • the RAM 36 is used as a transmission / reception buffer.
  • the CPU 30 stores the CAN message received by the first to fourth communication units 31 to 34 and the CAN message transmitted by the first to fourth communication units 31 to 34 in the RAM 36.
  • the CPU 30, the CAN controller unit in the first to fourth communication units 31 to 34, the flash memory 35, and the RAM 36 may be configured as a microcomputer.
  • FIG. 2 is a schematic diagram schematically showing the contents of information stored in the flash memory 35.
  • the flash memory 35 stores a routing table 37, a routing program 38, and a platform program 39.
  • a driver program (not shown) or the like may be stored.
  • the platform program 39 When the first to fourth communication units 31 to 34 receive the CAN message, the platform program 39 notifies the CPU 30 of the reception interrupt and writes it to the reception buffer of the RAM 36.
  • the CAN created and given by the CPU 30 This is a program in which basic input / output processing, such as processing for sending messages to the first to fourth communication units 31 to 34, is shared by each device.
  • the routing program 38 is a program for realizing a relay process by the CPU 30, that is, a processing procedure as shown in a flowchart described later.
  • the routing program 38 does not include a vehicle type or option-dependent execution code so that rewriting is not required even when the routing table 37 is replaced with another routing table 40.
  • the routing program 38 is configured to include a common execution code corresponding to the routing table 37 and the routing table 40 and other routing tables so as to correspond to the replaced routing table 40. . Details of the execution code will be described in each flowchart described later.
  • the routing table 37 stores and manages a first table 71 for managing whether or not it is a relay target, a second table 72 for storing and managing a CAN message to be received, and a CAN message to be transmitted (relayed).
  • a fifth table 75 for managing the number of records.
  • FIG. 3 is an explanatory diagram showing an example of the contents of the first table 71 of the routing table 37.
  • the first table 71 is composed of records for each CAN bus of the received CAN message for each of the communication buses 11 to 14.
  • Each record includes an index to the second table 72 in the example of FIG.
  • the record type is fixed and the length of each record is constant.
  • Each record is sequentially stored from the top of the area of the first table 71 on the flash memory 35 in order from the record of CANID “0” of the communication bus 11.
  • CANID is represented by 11 bits, for example, and the maximum value is 0x7FF according to the CAN specification.
  • the index to the second table 72 is expressed by 1 byte, for example, and indicates the order of records in the second table 72. Then, the index to the second table 72 indicates whether or not it is a relay target. When the index is not “0”, it is a relay target, and when the index is “0”, it is not a relay target.
  • a CAN message with a CAN ID “0” received from the communication bus 11 is not a relay target because the index is “0”.
  • the CAN message with the CANID “0x050” received from the communication bus 11 is a relay target because the index is not “0”, and the “1” th record in the second table 72 may be referred to.
  • the CAN message with CANID “0x051” is a relay target because the index is not “0”, and the “2” th record in the second table 72 may be referred to.
  • the CAN message whose CANID is “0x052” is also a relay object because the index is not “0”, and the “3” th record in the second table 72 may be referred to.
  • FIG. 4 is an explanatory diagram showing an example of the contents of the second table 72 of the routing table 37.
  • the second table 72 includes an immediate relay destination information corresponding to the CAN message stored in each record, a data storage area, and a reception flag indicating whether or not unrelayed data is received (ON: reception / OFF: relay). Information), timeout time (milliseconds), and timeout value.
  • the record type is fixed and the length of each record is constant.
  • Each record is stored in order from the first record, starting from the top of the area of the second table 72 on the flash memory 35.
  • the immediate relay destination is represented by, for example, 5 bits, and is assigned to the communication buses 11 to 14, that is, the first to fourth communication units 31 to 34 one bit at a time (1 bit is reserved). If “1”, there is no relay destination.
  • the data consists of a plurality of signal information.
  • the signal information of the open / closed state of the door of the vehicle can be expressed by “1: open / 0: closed” bit by bit.
  • the front seat right door is opened and closed, the front seat left door is opened and closed, the rear seat right door is opened and closed, and the rear seat in order from the top 5 bits. It is possible to represent the opening / closing of the left door and the opening / closing of the rear door.
  • the reception flag is represented by 8 bits, for example, “ON: reception” is “0x01”, and “OFF: relayed” is “0x00”.
  • the timeout time is represented by, for example, 8 bits, and is a time-out time after reception for each CAN message.
  • the timeout value is represented by 16 bits, for example, and is a value after the timeout.
  • the immediate relay destination of the CAN message stored in the index “1” is “01110b”, and the last bit corresponding to the communication bus 11 and the spare first bit are “0”. Since the other bits are “1”, the communication buses 12 to 14, that is, the second communication unit 32 to the fourth communication unit 34 are immediately relayed. Then, the data “x” of the CAN message is stored in the storage area of the record. The reception flag is “OFF”. The timeout time is “0 milliseconds”, and the timeout value is “0x0000”.
  • the CAN message stored in the index “2” is a relay target (OK), but the immediate relay destination is “00000b” and is not relayed immediately.
  • the data “y” of the CAN message is stored in the storage area of the record, and the reception flag is “ON” until relaying is completed.
  • the timeout time is “10 milliseconds” and becomes “0x0001” after the timeout.
  • FIG. 5 is an explanatory diagram showing a reference example.
  • the routing table is realized by adding the record contents of the second table 72 to each record for each CANID in the first table 71.
  • the area in the record indicated by hatching in FIG. 5 is not used when relaying is not required. Therefore, the corresponding storage capacity is extra.
  • the entire storage capacity of the routing table 37 is reduced by dividing the first table 71 and the second table 72 and associating them with the index information. Can be saved.
  • the CPU 30 that executes processing based on the routing program 38 flashes from the first table 71 even when the contents of the second table 72 are different. It can be specified from which address on the memory 35 the record should be read. Therefore, even when the routing table 40 is replaced with another routing table 40, the first table 71 and the second table 72 are also replaced with the first table 471 and the second table 472. Therefore, the processing of the CPU 30 based on the routing program 38 is changed. There is no need.
  • FIG. 6 is an explanatory diagram showing an example of the contents of the third table 73 of the routing table 37.
  • the third table 73 is composed of records for each CAN message to be transmitted.
  • Each record includes a CAN ID, relay destination bus information, an information length (DLC) of a data portion included in a CAN message to be transmitted, a data storage area, and a transmission condition. Transmission conditions are not mandatory. Note that the record type is fixed and the record length is constant.
  • Each record is stored in order from the top of the area of the third table 73 on the flash memory 35 from the record of the top index “1” (CANID is “0x010”).
  • CANID is represented by 11 bits, for example.
  • the relay destination bus information is represented by, for example, 5 bits, and each bit corresponds to “(standby) (communication bus 14) (communication bus 13) (communication bus 12) (communication bus 11)”, and is “1”. When it is “0”, it is not a relay destination.
  • the relay destination bus of the transmission CAN message whose CANID is “0x010” is the communication bus 11, that is, the message is a CAN message transmitted from the first communication unit 31 every 10 milliseconds.
  • “k” having an information length of “kk” is stored in the storage area of the data portion of the transmission CAN message having a CAN ID of “0x010”.
  • the transmission condition may be a condition other than the time such that the ignition position is ACC (accessory). In addition, it may be whether or not the signal value in the data satisfies some condition.
  • FIG. 7 is an explanatory diagram showing an example of the contents of the fourth table 74 of the routing table 37.
  • the fourth table 74 includes information on the storage position of each signal in the second table 72 and the third table 73.
  • the storage position is represented by the start byte of the target signal in the data in the record of the second table 72 or the third table 73, the start bit of the signal in the start byte, and the bit length of the signal.
  • the first signal is a signal included in the data storage area of the index “2” in the second table 72 in which the received CAN message is stored, and is stored in the storage area. It is shown that data is stored in “1” bit of “0” bit of “0” byte.
  • the first signal is a signal to be included in the data storage area of the index “10” in the third table 73 in which the CAN message to be transmitted (relayed) is stored, and “0” of the data in the storage area. It is shown that the data should be stored in the “1” bit of the “0” bit of the byte.
  • the second signal is stored in “2” bits from the “3” bit of the “0” byte in the data storage area of the index “2” in the second table 72, and is stored in the third table.
  • 73 indicates that data should be stored in “2” bits from the “0” bit of the “0” byte in the data storage area of the index “25” in 73.
  • FIG. 8 is an explanatory diagram showing an example of the contents of the fifth table 75 of the routing table 37.
  • the fifth table 75 stores the number of records of each of the second table 72, the third table 73, and the fourth table 74.
  • the number of records in the second table 72 is “50”
  • the number of records in the third table 73 is “25”
  • the number of records in the fourth table 74 is “75”.
  • the control unit 30 of the relay apparatus 3 executes a relay process as described below.
  • the CPU 30 realizes an immediate relay process and a periodic relay process based on the routing program 38, respectively.
  • the CPU 30 relays directly to any one or more of the first to fourth communication buses 11 to 14 when the CAN message is received.
  • the periodic relay process the CPU 30 stores the data included in the CAN message in the data storage area (reception buffer) in the second table 72 at the time when the CAN message is received, and is constant, for example, 10 milliseconds.
  • the CPU 30 executes tasks by distinguishing between a reception process when a CAN message is received and a transmission process that is periodically executed.
  • FIG. 9 is a flowchart illustrating an example of a processing procedure of reception processing in the relay device 3.
  • the CPU 30 executes the following processing based on the routing program 38.
  • the CPU 30 specifies the CANID of the received CAN message and which of the communication buses 11 to 14 is the received bus (step S101).
  • the CPU 30 refers to the corresponding record in the first table 71 of the routing table 37 based on the specified CANID and communication bus (step S102). As shown in FIG. 3, in the first table 71, for each of the communication buses 11 to 14, whether or not it is a relay target is indicated by an index value for each CANID of the received message.
  • the CPU 30 refers to the index of the corresponding record to the second table 72 (step S103) and determines whether or not relaying is necessary (step S104).
  • step S103 the CPU 30 reads the first table 71 of the routing table 37 based on the routing program 38, using the communication bus and CANID as arguments, and sets the numerical value of the index in the first table 71 as the read return value. Based on this, a process for calling a function that returns a result of whether or not to be relayed is performed.
  • step S104 the CPU 30 refers to the corresponding record in the second table 72 based on the index referenced in step S102 (step S105).
  • the CPU 30 refers to the immediate relay destination of the reference record (step S106), and executes an immediate relay process based on the reference result (step S107).
  • the CPU 30 reads the data included in the received message (step S108), and based on the index referenced in step S102, the corresponding data in the second table 72 identified by the index The data is stored in the data portion of the record (step S109), the reception flag is set to ON (step S110), and the process ends.
  • CPU30 will complete
  • FIG. 10 is a flowchart showing an example of the processing procedure of the immediate relay processing in the relay device 3.
  • the flowchart shown in FIG. 10 corresponds to the detailed procedure of step S107 in FIG.
  • Step S71 judges whether it is a candidate for immediate relay based on the reference result of Step S106 of Drawing 9 (Step S71). Specifically, when the reference result is not “0x00 (00000b)”, the CPU 30 determines that it is an immediate relay target.
  • the CPU 30 determines that it is an object of immediate relay (S71: YES), it selects the communication bus 11 as an immediate relay destination (step S72), and the immediate relay destination as the reference result and the selected communication bus 11 are selected. It is determined whether or not they match (step S73). When the CPU 30 determines that they match (S73: YES), the CPU 30 has received the selected communication bus 11 from the first communication unit 31 connected to the selected communication bus 11 by processing based on the platform program 39. In order to immediately transmit the CAN message, the process of the platform program 39 is executed (step S74), and the process proceeds to the next process.
  • the CPU 30 determines whether or not all the communication buses 11 to 14 have been selected (step S75). If the CPU 30 determines not to select all (S75: NO), the next communication bus 12, that is, the second communication unit. 32 is selected (step S76), the process returns to step S73, and an immediate transmission process to the next communication bus 12 is executed.
  • step S71 If it is determined in step S71 that it is not an object of immediate relay (S71: NO), the immediate relay process for the received message is terminated, and the process returns to step S108 of FIG.
  • the CPU 30 receives a notification about the reception of the CAN message from the second communication unit 32, and identifies the CANID as “0x100” and the communication bus as “communication bus 12” (S101).
  • the CPU 30 refers to the “0x100” -th record of the communication bus 12 from the first table 71 of the routing table 37 (S102), and calls a function that returns a result of whether or not it is a relay target (S103). As shown in FIG. 3, the function returns “OK” because the index is “21” and not “0”, so the CPU 30 determines that relaying is necessary (S104: YES).
  • the CPU 30 refers to the corresponding record in the second table 72 based on the index “21” (S105).
  • the immediate relay destination “01001b” in the reference record is referred to (S106), the referred immediate relay destination is given, and the immediate relay processing of S107 is executed.
  • the CPU 30 determines that the referred immediate relay destination is not “0x00” and is an immediate relay target (S71: YES).
  • the CPU 30 selects the first communication bus 11 (S72), and determines that the last bit corresponding to the communication bus 11 of “01001b” is “1”, so that it matches the immediate relay destination (S73: YES).
  • the received CAN message is directly transmitted from the first communication unit 31 corresponding to the communication bus 11 (S74). Since the CPU 30 has not selected all the communication buses 11 to 14 (S75: NO), the CPU 30 selects the next communication bus 12 (S76).
  • the CPU 30 returns the process to step S73, and determines that the second bit from the end corresponding to the communication bus 12 of the immediate relay destination “01001b” is “0”, so that it does not match the immediate relay destination (S73: NO). ), The process proceeds to step S75. Since the CPU 30 has not yet selected all the communication buses 11 to 14 (S75: NO), the CPU 30 selects the next communication bus 13 (S76). The CPU 30 returns the process to step S73, and determines that the third bit from the end corresponding to the communication bus 13 of the immediate relay destination “01001b” is “0”, so that it does not match the immediate relay destination (S73: NO). ), The process proceeds to step S75.
  • step S75 it is determined that all the communication buses 11 to 14 have been selected, and the process returns to step S108 in FIG.
  • the CPU 30 reads the data “v” of the received CAN message (S108), writes it in the data storage area of the reference record of the second table 72 in the routing table 37 (S109), and sets the reception flag to “ON” ( S110), the process is terminated.
  • FIG. 11 and FIG. 12 are flowcharts illustrating an example of a processing procedure of transmission processing in the relay device 3.
  • the relay device 3 counts a fixed period of, for example, 10 milliseconds by a timer unit (not shown), and notifies the CPU 30 of a timer interrupt every time 10 milliseconds have elapsed.
  • the CPU 30 executes the following processing based on the routing program 38 when the timer interruption is notified.
  • the CPU 30 refers to the fifth table 75 (step S201), and acquires the number of records in the third table 73, that is, the number of CAN messages to be transmitted (step S202).
  • the CPU 30 assigns “0” to the variable L for counting (step S203), and reads each record of the third table 73 in order from the top for the number of acquired records (step S204).
  • CPU30 extracts the signal which makes the said record the index destination of the 3rd table 73 from the 4th table 74 (step S205).
  • One extracted signal is selected (step S206), the record of the selected signal is referenced from the fourth table 74 (step S207), and it is specified in which of the second table 72 the signal is stored (step S207). 208).
  • the CPU 30 refers to the specified record in the second table 72 (step S209), and determines whether or not the reception flag is “ON” (step S210).
  • the CPU 30 acquires a signal from the storage position specified in step S208 (step S211), and the acquired signal is indicated by the record referred to in step S207.
  • the CPU 30 determines whether or not all the signals extracted in step S205 have been selected (step S213). If the CPU 30 determines that all of the signals have not been selected (S213: NO), the process returns to step S206, and the next signal Is selected (S206).
  • step S213 If the CPU 30 determines that all are selected in step S213 (S213: YES), since the data of the CAN message to be transmitted has been completed, is the transmission condition for the record read in step S204 satisfied? It is determined whether or not (step S214). If the CPU 30 determines that the transmission condition is satisfied (S214: YES), the CPU 30 sends the CAN message including the data portion in the record to the first to fourth communication units 31 corresponding to the relay destination bus in the record. To any one of -34 for transmission (step S215).
  • the CPU 30 adds “1” to the count variable L (step S216), and determines whether or not the number of records acquired in step S202 matches the variable L (step S217). That is, the CPU 30 determines whether or not processing has been executed for all records in the third table 73 (S217). If the CPU 30 determines that they do not match in step S217 (S217: NO), it returns the process to step S204 and reads the next record (S204).
  • step S214 determines that the transmission condition is not satisfied in step S214 (S214: NO)
  • the CPU 30 advances the process to step S216 and executes the process for the next record.
  • step S217 If the CPU 30 determines in step S217 that the number of records acquired in step S202 matches the variable L (S217: YES), the reception flag of all records in the reception table is set to “OFF” (step S218). Exit.
  • CPU 30 extracts from the fourth table 74 signals (25 to 29) with the record of index “5” in the third table 73 as the index destination (S205).
  • the 25th signal is selected from the extracted signals (S206), the fourth table 74 is referred to (S207), and the selected signal is stored in the record of the index “21” in the second table 72.
  • Specify S208).
  • the CPU 30 refers to the “21” -th record in the second table 72 (S209), and determines that the reception flag is “ON” (S210: YES).
  • the CPU 30 acquires a signal from the data storage area of the record in the reception table with reference to the storage position specified in step S208, that is, the start byte “0”, the start bit “4”, and the bit length “2” ( S211). Then, based on the storage position information in the third table 73 referred to in step S207, the CPU 30 sets the “0” -th bit of the “0” -th byte in the data storage area of the record of the index “5” in the third table 73.
  • the acquired signal information is stored for 2 bits from (S212).
  • the CPU 30 selects the “26th” signal (S206), refers to the fourth table 74, and acquires the signal from the record of the index “4” in the second table 72 (S212).
  • the fourth table 74 is referred to for each of the extracted signals (25 to 29) to complete the record of the index “5” in the third table 73, that is, the CAN message, and determine whether the transmission condition is satisfied (S214). ) Since the transmission condition is that the transmission cycle is every 20 milliseconds, transmission of the record in the transmission table (S215) is executed once every two transmission processes every 10 milliseconds.
  • the routing table 37 includes the fourth table 74 including the index information, the tables 71 to 75 have a fixed type, and a method of reading each record is a specific method in each processing procedure described above. With the determined configuration, even if the routing table 37 is replaced with the routing table 40, for example, the processing based on the routing program 38 does not need to be changed. In particular, since the routing table 37 or the routing table 40 is configured to include index information, it is possible to manage the information received corresponding to the different replaced routing table 40 and create information to be relayed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

 多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能であり、且つ、ルーティングテーブルの記憶容量を節約することができる中継装置、該中継装置を含む通信ハーネス、及び前記中継装置を含む通信システムを提供する。 中継装置は、情報を書き換え可能なフラッシュメモリ35に、CPUが中継処理を実行するためのルーティングプログラム38と、中継処理にて中継先を特定するためのルーティングテーブル37とを記憶してある。ルーティングテーブル37は、中継対象であるか否かを管理する第1テーブル、受信するCANメッセージを格納する第2テーブルと、送信(中継)するCANメッセージを格納する第3テーブルと、シグナルの格納位置を管理する第4テーブルと、第2~第4テーブル内の有効なレコード数を管理する第5テーブルとを含む。

Description

中継装置、通信ハーネス及び通信システム
 本発明は、異なる通信バス間を中継する中継装置に関し、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能であり、且つ、ルーティングテーブルの記憶容量を節約することができる中継装置、該中継装置を含む通信ハーネス、及び前記中継装置を含む通信システムに関する。
 車両制御の分野では、車内に配される夫々機器を制御する多数の制御機器(ECU:Electronic Control Unit)を通信バスで接続し、相互にデータを送受信させて、多様な処理を行なう構成が一般的となっている。1つの通信バスに接続されるECUの数に制限があること、又はECUの役割によって通信速度が異なることから、ECUを複数の群に分け、群毎に1つの通信バスに接続し、2つの通信バス間を中継装置(ゲートウェイ)で接続する構成が採用されている。
 中継装置は、1つの通信バスから受信した情報を、CAN(Controller Area Network)であればCANIDで識別し、CANID毎に中継の要否及び中継先の通信バスを特定するルーティングテーブルを参照し、中継先の通信バスから送信して中継処理を実現している(特許文献1,2等)。
特開2009-049944号公報 国際公開第2008/126698号パンフレット 特開2006-340099号公報
 特許文献1又は2に記載されている構成では、ルーティングテーブルをメモリに記憶しておき、中継処理プログラムに基づくCPUから、又は中継処理を行なうように構成された回路から、一の通信バスから情報を受信する都度、又は、一の情報を送信するタイミングが到来する都度、メモリ内のルーティングテーブルからIDと中継先の通信バスとの対応を読み出して中継先の通信バスを特定する処理を毎回行なう。このような構成では、メモリからの読み出しによって処理が遅くなったり、メモリに記憶するルーティングテーブルの情報量が多くなったりするなどの問題がある。
 また、特許文献3に開示されているように、車載ECUは、昨今ではハードウェアコストの削減のため、車種又はオプションなどの違いで夫々のハードウェアを製作することを回避するため、書き換え可能なコンピュータプログラムに基づくマイクロコンピュータ(以下マイコンという)処理が採用されている。
 このような事情から、処理の高速化、及びメモリの節約のために結局、ルーティングテーブルの内容を組み込んだコンピュータプログラムをCPUに読み出させて実行するマイコンを用いた構成が採用されているのが現実である。つまり、コンピュータプログラムの実行コード内に、ある情報を受信した場合の中継先が既に規定されており、テーブルの読み出し処理が不要である。特許文献2にも、中継装置が起動するときに、メモリに記憶されているルーティングテーブルを読み込んで変換し、中継処理回路内に組み込んで用いることが記載されている。
 一方で、電子制御にて実現される機能が増加していることから車載ECUの数も膨大である。中継装置も、2つの通信バス間の情報の中継ではなく、3つ以上の通信バス間の情報の中継処理が必要になってきている。したがって、ある情報は1の通信バスから他の3つの通信バスへ中継し、2つの通信バスから夫々受信した2つの情報をまとめて、他の1の通信バスから送信するなどの多様な中継バリエーションが存在する。更に、車両メーカ、車種又はオプション毎に、通信バスの数、各通信バスに接続されるECUの種類が異なるから、中継バリエーションが増加する。ルーティングテーブルの内容を組み込んだコンピュータプログラムをCPUに読み出させる構成では、異なるバリエーション毎に、中継処理のプログラムを開発しなければならず、開発コストを抑えることが困難である。
 また、車両制御の分野では特に、メモリの節約が求められている。したがって、ルーティングテーブルが多様な中継バリエーションに対応できるように、全ての情報毎に、表のように中継先等を記憶したルーティングテーブルを備える構成では、ルーティングテーブルの記憶容量が大きくなり、好ましくない。
 本発明は斯かる事情に鑑みてなされたものであり、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能であり、且つ、ルーティングテーブルの記憶容量を節約することができる中継装置、該中継装置を含む通信ハーネス、及び前記中継装置を含む通信システムを提供することを目的とする。
 本発明に係る中継装置は、異なる通信バスに夫々接続する複数の通信部と、書き換え可能な記憶部と、該記憶部に記憶してあるコンピュータプログラムに基づき、1又は複数の通信部にて受信した1又は複数の情報を他の1又は複数の通信部から送信する中継処理を実行するプロセッサとを備える中継装置であって、前記記憶部には、受信した情報の中継先を特定するルーティングテーブルが記憶してあり、該ルーティングテーブルは、前記情報の識別情報毎の中継要否、及び中継要の場合の前記情報の格納先が記録された第1テーブルと、受信した情報を格納する領域を記録するための第2テーブルと、中継先、及び該中継先に対応付けられ、中継する情報を格納する領域を含む第3テーブルと、情報の格納先を示すインデックス情報が記録された第4テーブルと、第3テーブル内の情報数を記録する第5テーブルとを含むことを特徴とする。
 本発明に係る中継装置は、前記プロセッサは、前記複数の通信部のいずれかから情報を受信した場合、第1テーブルを参照する手段と、第1テーブルに基づき、前記情報が中継要である場合、第1テーブルから前記情報の格納先を参照する手段と、前記情報を第2テーブル内の前記格納先に格納する手段とを含む実行手段を備えることを特徴とする。
 本発明に係る中継装置は、第2テーブルは、前記格納領域に対応付けて中継先を含み、前記プロセッサは、前記複数の通信部のいずれかから情報を受信した場合、第1テーブルを参照する手段と、第1テーブルに基づき、前記情報が中継要である場合、第1テーブルから前記情報の格納先を参照する手段と、第2テーブル内の前記格納先に対応付けられている中継先へ、前記情報を送信する手段とを含む実行手段を備えることを特徴とする。
 本発明に係る中継装置は、前記プロセッサは、第3テーブルを参照する手段と、第3テーブルの格納先に格納する情報の、第2テーブルにおける格納先を第4テーブルに基づき特定する手段と、特定した格納先から情報を読み出す手段と、読み出した情報を第3テーブルの格納先に格納する手段と、格納した情報を対応する中継先へ送信する手段とを含む実行手段を備えることを特徴とする。
 本発明に係る中継装置は、前記プロセッサは、第5テーブルから情報数を読み出す手段を備え、読み出した情報数分、第3テーブルを参照するようにしてあることを特徴とする。
 本発明に係る通信ハーネスは、上記発明の中継装置のいずれかと、該中継装置の前記複数の通信部に夫々接続される複数の通信バスとを含むことを特徴とする。
 本発明に係る通信システムは、情報を送受信する複数の通信装置と、該複数の通信装置が夫々接続された複数の通信バスと、該複数の通信バスが接続された上記発明の中継装置のいずれかとを含むことを特徴とする。
 本発明では、中継装置の記憶部には書き換え可能なルーティングテーブルが記憶され、該ルーティングテーブルは、いずれかの通信バスから受信した情報の中継先を特定するものであって、中継要否及び中継要の場合の格納先が記録された第1テーブル、受信した情報を格納する領域を記録する第2テーブル、中継先及び該中継先に対応付けられる中継する情報を格納する第3テーブル、情報の格納先を示すインデックス情報が記録された第4テーブル、及び第3テーブル内の情報数を記録する第5テーブルを含む。第2テーブル及び第3テーブルの内容が他の内容に変えられたとしても、それに対応する第1、第4、及び第5テーブルが存在することにより、コンピュータプログラムに基づく処理を実行するプロセッサによって実行する手順を変更する必要がない。更に例えば、第2テーブルは中継要の情報のみについて格納すればよい。第3テーブルについても送信する情報のみについて格納すればよい。
 本発明では、受信した情報が、中継要である場合には、第1テーブルに中継要否のみならず、第2テーブル内の格納先が記憶されており、プロセッサにより第1テーブルを参照して当該格納先へ前記受信した情報が格納される。
 本発明では、第2テーブルの格納領域には、受信した情報をそのまま中継する場合の中継先が対応付けられており、受信した情報が中継要である場合には、プロセッサにより第1テーブルに含まれる格納先である第2テーブル内の格納領域に対応付けられた中継先へ前記受信した情報が中継される。
 本発明では、プロセッサは第4テーブルのインデックス情報により、第3テーブルに格納する情報の第2テーブルにおける格納先を特定し、該格納先から情報を読み出して第3テーブルにおける格納先に格納する。受信した情報が更に複数の情報を含む場合、中継の際に、複数の受信情報から中継する情報を作成する必要があるとき、インデックス情報が存在することにより、ルーティングテーブルの容量を節約することが可能である。
 本発明では、第5テーブルには第3テーブル内の情報数が記録されているから、プロセッサは、第3テーブルの内容によらず、前記情報数に応じて第3テーブルの情報を順次送信することが可能である。
 本発明による場合、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能である。そして、置換されたルーティングテーブルに対しても特定の命令コードを実行することにより、置換された異なるルーティングテーブルに対応して受信した情報を管理し、中継する情報を作成することができる。しかも、本発明におけるルーティングテーブルは、互いに関連する複数のテーブルで構成され、例えば不要にメモリを消費しない。
 本発明による場合、異なる中継バリエーション夫々に応じてプロセッサが中継処理を実行するためのコンピュータプログラムを作成し直す必要がない。これにより、開発コストを抑えることが可能である。また、中継処理を実行するためのコンピュータプログラムを作成し直す必要がないから、本発明の中継装置の検査を行なうに際し、前記コンピュータプログラムの検査は、異なる中継バリエーション毎に毎回行なう必要がなく、異なる中継バリエーションに対応させた異なるルーティングテーブルを含めた動作のみ検査すればよい。したがって、中継装置及び該中継装置を含む通信システム構築後の検査の項目を減少させ、製造コストを抑えることも可能である。
本実施の形態における車載通信システムの構成を示すブロック図である。 フラッシュメモリに記憶される情報の内容を模式的に示す模式図である。 ルーティングテーブルの第1テーブルの内容例を示す説明図である。 ルーティングテーブルの第2テーブルの内容例を示す説明図である。 参考例を示す説明図である。 ルーティングテーブルの第3テーブルの内容例を示す説明図である。 ルーティングテーブルの第4テーブルの内容例を示す説明図である。 ルーティングテーブルの第5テーブルの内容例を示す説明図である。 中継装置における受信処理の処理手順の一例を示すフローチャートである。 中継装置における即時中継処理の処理手順の一例を示すフローチャートである。 中継装置における送信処理の処理手順の一例を示すフローチャートである。 中継装置における送信処理の処理手順の一例を示すフローチャートである。
 以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
 なお、以下の実施の形態では本発明を、車載機器を制御する車載通信システムに適用した場合の例を挙げて説明する。
 図1は、本実施の形態における車載通信システムの構成を示すブロック図である。車載通信システムは、複数の通信バス11,12,13,14と、通信バス11,12,13,14夫々に接続されているECU21,22,23,24と、通信バス11,12,13,14間の情報の中継処理を行なう中継装置3とを含む。
 実施の形態1では、通信バス11,12,13,14を介した通信は、いずれもCANプロトコルに準じる。複数の通信バス11,12,13,14は、接続されるECU21,22,23,24の制御対象の種類で区別されている。換言すれば、送受信される情報種類で区別される。通信速度は、通信バス11,12,13,14毎に異なる設定とされていてもよい。例えば、通信バス11には走行制御系の制御を行なう複数のECU21が接続されており、車速等の制御系の情報が送受信される。通信バス12には、電力制御系の制御を行なう複数のECU22が接続されており、バッテリー情報などの電力制御系の情報が送受信される。通信バス13には、カーナビゲーションシステムなどのアクセサリ系の制御を行なう複数のECU23が接続されており、時間情報、位置情報などのマルチメディア系の情報が送受信される。通信バス14には、ボディの制御を行なう複数のECU24が接続されており、ドアロック、セキュリティなどに関する情報が送受信される。
 中継装置3は、CPU(Central Processing Unit)30と、第1通信部31と、第2通信部32と、第3通信部33と、第4通信部34と、フラッシュメモリ35と、RAM(Random Access Memory)36とを備えている。
 CPU30は、フラッシュメモリ35に記憶されているルーティングテーブル37及び後述のコンピュータプログラムに基づき、RAM36を送信バッファ又は受信バッファとして用い、第1~第4通信部31~34を介した送受信を実行して中継処理を実現する。CPU30はMPU(Micro Processing Unit )に代替されてもよい。
 第1~第4通信部31~34は夫々、CANコントローラ及びCANトランシーバを含み、CANプロトコルに基づき、各種情報を含むCANメッセージの送受信を実現する。第1通信部31は通信バス11に、第2通信部32は通信バス12に、第3通信部33は通信バス13に、第4通信部34は通信バス14に接続されている。
 フラッシュメモリ35は、書き換え可能な不揮発性メモリであり、後述するようにCPU30が読み出すコンピュータプログラム及びルーティングテーブルを記憶する。なお、フラッシュメモリ35の代替として、EEPROM(登録商標)などの不揮発性メモリを用いてもよい。
 RAM36は、送受信バッファとして用いられる。CPU30は、第1~第4通信部31~34にて受信したCANメッセージ、及び、第1~第4通信部31~34にて送信するCANメッセージをRAM36に記憶する。
 なお、CPU30、第1~第4通信部31~34におけるCANコントローラ部、フラッシュメモリ35及びRAM36でマイコンとして構成されていてよい。
 図2は、フラッシュメモリ35に記憶される情報の内容を模式的に示す模式図である。フラッシュメモリ35には、ルーティングテーブル37、ルーティングプログラム38、及びプラットフォームプログラム39が記憶されている。他に、図示しないドライバプログラム等が記憶されていてもよい。
 プラットフォームプログラム39は、第1~第4通信部31~34にてCANメッセージを受信した場合に、CPU30へ受信割込を通知し、RAM36の受信バッファに書き込む処理、CPU30が作成して与えたCANメッセージを、第1~第4通信部31~34へ与えて送信せしめる処理など、基本的な入出力処理を各機器で共通化したプログラムである。
 ルーティングプログラム38は、CPU30による中継処理、即ち後述のフローチャートに示すような処理手順を実現するためのプログラムである。ルーティングプログラム38は、ルーティングテーブル37が、他のルーティングテーブル40に置換された場合でも、書き換え不要となるように、車種又はオプション依存の実行コードを含まない。ルーティングプログラム38は、置換されたルーティングテーブル40にも対応するように、ルーティングテーブル37、及びルーティングテーブル40、並びに他のルーティングテーブルにも対応する共通化された実行コードを含むように構成されている。実行コードについては、後述の各フローチャートにて詳細を説明する。
 ルーティングテーブル37は、中継対象であるか否かを管理する第1テーブル71と、受信するCANメッセージを格納し、管理する第2テーブル72と、送信(中継)するCANメッセージを格納し、管理する第3テーブル73と、受信したCANメッセージ及び送信するCANメッセージのデータに含まれるシグナルの格納位置を管理する第4テーブル74と、第2テーブル72、第3テーブル73及び第4テーブル74内の有効なレコード数を管理する第5テーブル75とを含む。
 図3は、ルーティングテーブル37の第1テーブル71の内容例を示す説明図である。第1テーブル71は、通信バス11~14毎に、受信するCANメッセージのCANID別のレコードからなる。各レコードは図3の例では、第2テーブル72へのインデックスからなる。レコードの型は定められており、各レコード長は一定である。各レコードは、通信バス11のCANID「0」のレコードから順に、フラッシュメモリ35上の第1テーブル71の領域の先頭から順に記憶される。
 CANIDは、例えば11ビットで表わされ、CANの規定により最大値は0x7FFである。第2テーブル72へのインデックスは例えば1バイトで表わされ、第2テーブル72内のレコード順を示す。そして、第2テーブル72へのインデックスにて、中継対象であるか否かを示す。インデックスが「0」でない場合、中継対象であり、インデックスが「0」の場合は中継対象ではない。
 図3に示す内容例では例えば、通信バス11から受信されるCANIDが「0」のCANメッセージは、インデックスが「0」であるから中継対象でない。また、通信バス11から受信されるCANIDが「0x050」のCANメッセージは、インデックスが「0」でないから中継対象であり、第2テーブル72の「1」番目のレコードを参照すればよい。CANIDが「0x051」のCANメッセージは、インデックスが「0」でないから中継対象であり、第2テーブル72の「2」番目のレコードを参照すればよい。CANIDが「0x052」のCANメッセージも、インデックスが「0」でないから中継対象であり、第2テーブル72の「3」番目のレコードを参照すればよい。
 図4は、ルーティングテーブル37の第2テーブル72の内容例を示す説明図である。第2テーブル72は、各レコードに格納するCANメッセージに対応する即時中継先の情報、データの格納領域、未中継のデータを受信しているか否かを示す受信フラグ(ON:受信/OFF:中継済み)の情報、タイムアウト時間(ミリ秒)、タイムアウト値からなる。レコードの型は定められており、各レコード長は一定である。各レコードは1番目のレコードから順に、フラッシュメモリ35上の第2テーブル72の領域の先頭から順に記憶される。
 即時中継先は、例えば5ビットで表わし、1ビットずつ、通信バス11~14、即ち第1~第4通信部31~34に割り振り(1ビットは予備)、「0」の場合は中継先でなく、「1」の場合は中継先であることを表す。
 データの格納領域は8ビット用意されている。なおデータは、複数のシグナル情報からなる。例えば車両のドアの開閉状態のシグナル情報を、1ビットずつ「1:開/0:閉」で表わすことができる。具体的には、受信したCANメッセージのデータ部分の8ビットの内、先頭から5ビットで順に、前部座席右側ドアの開閉、前部座席左側ドアの開閉、後部座席右側ドアの開閉、後部座席左側ドアの開閉、リアドアの開閉を表すことが可能である。
 受信フラグは、例えば8ビットで表わされ、「ON:受信」は「0x01」、「OFF:中継済み」は「0x00」とする。
 タイムアウト時間は、例えば8ビットで表わされ、CANメッセージ毎に受信してからタイムアウトする時間である。タイムアウト値は、例えば16ビットで表わされ、タイムアウト後になる値である。
 図4に示す内容例では例えば、インデックス「1」に格納するCANメッセージの即時中継先は「01110b」であって、通信バス11に対応する末尾のビットと、予備の先頭ビットとが「0」であって他のビットは「1」であるから、通信バス12~14即ち第2通信部32~第4通信部34により即時中継する。そして、CANメッセージのデータ「x」は、当該レコードの格納領域に格納される。受信フラグは「OFF」とされている。タイムアウト時間は「0ミリ秒」で、タイムアウト値は「0x0000」である。また、インデックス「2」に格納するCANメッセージは、中継対象であるが(OK)、即時中継先は「00000b」であって即時中継しない。そして、CANメッセージのデータ「y」は、当該レコードの格納領域に格納され、中継済みとなるまで受信フラグは「ON」である。タイムアウト時間は「10ミリ秒」で、タイムアウト後に「0x0001」になる。
 ここで参考として、第1テーブル71と第2テーブル72とが1つのテーブルとしてまとめられた場合の例を挙げる。図5は、参考例を示す説明図である。図5の例では、第1テーブル71におけるCANID毎のレコード夫々に、第2テーブル72のレコード内容が追加された形でルーティングテーブルが実現されている。図5中のハッチングで示すレコード内の領域は、中継不要の場合は使用されない。したがってその分の記憶容量が余分である。この点、図3及び図4に示したように、第1テーブル71及び第2テーブル72に分けてインデックス情報で関連付けていることにより、ルーティングテーブル37の全体の記憶容量を削減し、フラッシュメモリ35を節約することができる。また、第2テーブル72は、インデックス情報を参照して読み出されるから、第2テーブル72の内容が異なる場合であっても、ルーティングプログラム38に基づく処理を実行するCPU30は、第1テーブル71からフラッシュメモリ35上のいずれのアドレスからレコードを読み出せばよいかを特定することができる。したがって、他のルーティングテーブル40に置換された場合でも、第1テーブル71及び第2テーブル72も第1テーブル471及び第2テーブル472に置換されるから、ルーティングプログラム38に基づくCPU30の処理は変更する必要がない。
 図6は、ルーティングテーブル37の第3テーブル73の内容例を示す説明図である。第3テーブル73は、送信するCANメッセージ別のレコードからなる。各レコードは、CANID、中継先のバス情報、送信するCANメッセージに含まれるデータ部分の情報長(DLC)、データの格納領域、及び送信条件からなる。送信条件は必須ではない。なお、レコードの型が定められており、レコード長は一定である。各レコードは、先頭のインデックス「1」のレコード(CANIDが「0x010」)から、フラッシュメモリ35上の第3テーブル73の領域の先頭から順に記憶される。
 図6に示す内容例では、CANIDは例えば11ビットで表わされる。中継先のバス情報は例えば5ビットで表わし、各ビットは「(予備)(通信バス14)(通信バス13)(通信バス12)(通信バス11)」に対応し、夫々「1」であるときは中継先であり、「0」であるときは中継先でない。例えば、CANIDが「0x010」の送信CANメッセージの中継先のバスは通信バス11、即ち当該メッセージは第1通信部31から10ミリ秒毎に送信するCANメッセージである。また、CANIDが「0x010」の送信CANメッセージのデータ部分の格納領域に例えば情報長が「kk」の「k」が格納される。送信条件は、イグニッション位置がACC(アクセサリ)であるなどの時間以外の条件でもよい。他には、データ内のシグナル値が何らかの条件を満たすか否かなどであってもよい。
 図7は、ルーティングテーブル37の第4テーブル74の内容例を示す説明図である。第4テーブル74は、各シグナルの第2テーブル72及び第3テーブル73夫々における格納位置の情報を含む。格納位置は、第2テーブル72又は第3テーブル73のレコード内のデータ中の対象シグナルの開始バイト、開始バイト内のシグナルの開始ビット、及びシグナルのビット長により表されている。
 図7に示す例では例えば、1つめのシグナルは、受信したCANメッセージが格納されている第2テーブル72内のインデックス「2」のデータ格納領域内に含まれるシグナルであり、格納領域に格納されているデータの「0」バイト目の「0」ビット目の「1」ビット分に格納されることが示されている。また1つめのシグナルは、送信(中継)するCANメッセージが格納されている第3テーブル73内のインデックス「10」のデータ格納領域に含まれるべきシグナルであり、当該格納領域のデータの「0」バイト目の「0」ビット目の「1」ビット分に格納すべきことが示されている。同様にして、2つめのシグナルは、第2テーブル72内のインデックス「2」のデータ格納領域の「0」バイト目の「3」ビット目からの「2」ビット分に格納され、第3テーブル73内のインデックス「25」のデータ格納領域の「0」バイト目の「0」ビット目からの「2」ビット分に格納すべきことが示されている。
 図8は、ルーティングテーブル37の第5テーブル75の内容例を示す説明図である。第5テーブル75は、第2テーブル72、第3テーブル73及び第4テーブル74夫々のレコード数を記憶している。図8に示す例では、第2テーブル72のレコード数は「50」、第3テーブル73のレコード数は「25」、第4テーブル74のレコード数は「75」である。
 図3~図4、及び図6~図8に示した第1~第5テーブル71~75に基づき、中継装置3の制御部30は、以下に説明するような中継処理を実行する。なおCPU30は、ルーティングプログラム38に基づき、即時中継処理及び定期的中継処理を夫々実現する。即時中継処理では、CPU30は、CANメッセージを受信した時点で直接的に、第1~第4通信バス11~14のいずれか1つ又は複数へ中継する。定期的中継処理では、CPU30は、CANメッセージを受信した時点では、CANメッセージに含まれるデータを第2テーブル72内のデータ格納領域(受信バッファ)に記憶しておき、例えば10ミリ秒などの一定期間が経過する都度、定期的に、第2テーブル72からデータを参照して第3テーブル73にCANメッセージを作成(格納)して送信する。CPU30は、即時中継処理及び定期的中継処理を実現するために、CANメッセージを受信したときの受信処理と、周期的に実行する送信処理とにタスクを区別して夫々実行する。
 図9は、中継装置3における受信処理の処理手順の一例を示すフローチャートである。プラットフォームプログラム39に基づく処理により、CPU30へ受信割込みが通知された場合に、CPU30はルーティングプログラム38に基づいて以下の処理を実行する。
 CPU30は、受信したCANメッセージのCANID及び受信したバスが通信バス11~14のいずれであるかを特定する(ステップS101)。CPU30は、特定したCANID及び通信バスに基づき、ルーティングテーブル37の第1テーブル71内の該当レコードを参照する(ステップS102)。図3に示したように、第1テーブル71では、通信バス11~14毎に、受信したメッセージのCANID別に、中継対象であるか否かがインデックスの数値で示されている。CPU30は、該当レコードの第2テーブル72へのインデックスを参照し(ステップS103)、中継の要否を判定する(ステップS104)。ステップS103では具体的には、CPU30は、ルーティングプログラム38に基づき、通信バス及びCANIDを引数としてルーティングテーブル37の第1テーブル71を読み出し、読み出した戻り値として第1テーブル71内のインデックスの数値に基づき中継対象であるか否かの結果を返す関数を呼び出す処理を行なう。
 ステップS104にて要と判定した場合(S104:YES)、CPU30は、ステップS102で参照したインデックスに基づき第2テーブル72内の該当レコードを参照する(ステップS105)。CPU30は、参照レコードの即時中継先を参照し(ステップS106)、参照結果に基づき即時中継処理を実行する(ステップS107)。
 CPU30は、即時中継処理後、受信したメッセージに含まれているデータを読み出し(ステップS108)、ステップS102で参照したインデックスに基づき、読み出したデータを前記インデックスで特定される第2テーブル72内の該当レコードのデータ部に格納し(ステップS109)、受信フラグをONに設定し(ステップS110)、処理を終了する。
 CPU30は、ステップS104にて、参照結果に基づき不要と判定した場合(S104:NO)、処理をそのまま終了する。
 図10は、中継装置3における即時中継処理の処理手順の一例を示すフローチャートである。図10に示すフローチャートは、図9のステップS107の詳細な手順に対応する。
 CPU30は、図9のステップS106の参照結果に基づき、即時中継対象であるか否かを判断する(ステップS71)。具体的には、参照結果が「0x00(00000b)」でない場合、CPU30は即時中継対象であると判断する。
 CPU30は即時中継対象であると判断した場合(S71:YES)、即時中継先として通信バス11を選択し(ステップS72)、参照結果である即時中継先と、選択してある通信バス11とが一致するか否かを判断する(ステップS73)。CPU30は、一致したと判断した場合(S73:YES)、プラットフォームプログラム39に基づく処理により、選択してある通信バス11へ、即ち選択した通信バス11に接続する第1通信部31から、受信したCANメッセージを即時送信せしめるべく、プラットフォームプログラム39の処理を実行し(ステップS74)、次の処理へ進む。
 CPU30は、全通信バス11~14を選択したか否かを判断し(ステップS75)、全てを選択していないと判断した場合(S75:NO)、次の通信バス12、即ち第2通信部32を選択し(ステップS76)、処理をステップS73へ戻し、次の通信バス12への即時送信処理を実行する。
 CPU30は、通信バス13及び通信バス14についてもステップS72~S74の処理を実行し、全通信バス11~14を選択したと判断した場合(S75:YES)、受信したCANメッセージについての即時中継処理を終了し、図9のステップS108へ処理を戻す。
 ステップS71にて、即時中継対象でないと判断した場合(S71:NO)、受信したメッセージについての即時中継処理を終了し、図9のステップS108へ処理を戻す。
 図9及び図10のフローチャートに示した処理手順について、具体例を挙げて説明する。具体例として、通信バス12から、CANIDが「0x100」のCANメッセージが送信された場合の処理を説明する。
 CPU30は、第2通信部32からCANメッセージの受信について通知を受け、CANIDを「0x100」、通信バスを「通信バス12」と特定する(S101)。CPU30は、ルーティングテーブル37の第1テーブル71から通信バス12の「0x100」番目のレコードを参照し(S102)、中継対象であるか否かの結果を返す関数を呼び出す(S103)。当該関数により、図3に示すように、インデックスが「21」であって「0」でないために「OK」が返されるから、CPU30は、中継要と判定する(S104:YES)。CPU30は、インデックス「21」に基づき、第2テーブル72内の該当レコードを参照する(S105)。参照レコード内の即時中継先「01001b」を参照し(S106)、参照した即時中継先を与えてS107の即時中継処理を実行する。
 CPU30は、即時中継処理にて、参照した即時中継先は「0x00」でないので即時中継対象であると判断する(S71:YES)。CPU30は、最初の通信バス11を選択し(S72)、「01001b」の通信バス11に対応する末尾ビットは「1」であるから即時中継先と一致すると判断し(S73:YES)、選択した通信バス11に対応する第1通信部31から、受信してあるCANメッセージを直接的に送信する(S74)。CPU30は、全ての通信バス11~14を選択していないから(S75:NO)、次の通信バス12を選択する(S76)。CPU30は、処理をステップS73に戻し、即時中継先「01001b」の通信バス12に対応する末尾から2つ目のビットが「0」であるから即時中継先と一致しないと判断し(S73:NO)、処理をステップS75へ進める。そしてCPU30は、未だ全ての通信バス11~14を選択していないから(S75:NO)、次の通信バス13を選択する(S76)。CPU30は、処理をステップS73へ戻し、即時中継先「01001b」の通信バス13に対応する末尾から3つ目のビットが「0」であるから即時中継先と一致しないと判断し(S73:NO)、処理をステップS75へ進める。CPU30は、未だ全ての通信バス11~14を選択していないから(S75:NO)、次の通信バス14を選択する(S76)。CPU30は、処理をステップS73へ戻し、即時中継先「01001b」の通信バス14に対応する末尾から4つ目のビットが「1」であるから即時中継先と一致すると判断し(S73:YES)、選択した通信バス14に対応する第4通信部34から、受信してあるCANメッセージを直接的に送信する(S74)。ステップS75で全ての通信バス11~14を選択したと判断し、図9のステップS108に戻る。
 CPU30は、受信したCANメッセージのデータ「v」を読み出し(S108)、ルーティングテーブル37内の第2テーブル72の参照レコードのデータ格納領域に書き込み(S109)、受信フラグを「ON」に設定し(S110)、処理を終了する。
 次に、中継装置3における送信処理について説明する。図11及び図12は、中継装置3における送信処理の処理手順の一例を示すフローチャートである。中継装置3は、図示しないタイマ部にて、例えば10ミリ秒の一定期間をカウントしており、10ミリ秒が経過する都度、タイマ割込をCPU30へ通知する。CPU30は、当該タイマ割込が通知された場合に、ルーティングプログラム38に基づき以下の処理を実行する。
 CPU30は、第5テーブル75を参照し(ステップS201)、第3テーブル73内のレコード数、即ち送信するCANメッセージの数を取得する(ステップS202)。
 CPU30は、カウント用の変数Lに「0」を代入し(ステップS203)、第3テーブル73の各レコードを、取得したレコード数分、先頭から順に読み出す(ステップS204)。CPU30は、第4テーブル74から、当該レコードを第3テーブル73のインデックス先とするシグナルを抽出する(ステップS205)。抽出したシグナルを1つ選択し(ステップS206)、選択したシグナルのレコードを第4テーブル74から参照し(ステップS207)、シグナルが第2テーブル72内のいずれに格納されているかを特定する(ステップ208)。
 CPU30は、特定した第2テーブル72内のレコードを参照し(ステップS209)、受信フラグが「ON」であるか否かを判断する(ステップS210)。CPU30は、受信フラグが「ON」である場合(S210:YES)、ステップS208で特定した格納位置からシグナルを取得し(ステップS211)、取得したシグナルを、ステップS207で参照しているレコードが示す第3テーブル73内での格納位置に格納する(ステップS212)。
 CPU30は、ステップS205で抽出したシグナルを全て選択したか否かを判断し(ステップS213)、全てを選択していないと判断した場合(S213:NO)、処理をステップS206へ戻し、次のシグナルを選択する(S206)。
 次に選択したシグナルが格納されている第2テーブル72のレコード内の受信フラグが「OFF」であると判断した場合(S210:NO)、処理をステップS213へ進める。
 CPU30は、ステップS213にて全てを選択したと判断した場合(S213:YES)、送信するCANメッセージのデータが完成しているので、ステップS204で読み出している当該レコードの送信条件が成立しているか否かを判断する(ステップS214)。CPU30は、送信条件が成立していると判断した場合(S214:YES)、当該レコード内のデータ部分を含むCANメッセージを、当該レコード内の中継先バスに対応する第1~第4通信部31~34のいずれかに与えて送信せしめる(ステップS215)。
 次にCPU30は、カウント用の変数Lに「1」を加算し(ステップS216)、ステップS202で取得したレコード数と変数Lとが一致するか否かを判断する(ステップS217)。即ちCPU30は、第3テーブル73内の全てのレコードについて処理を実行したか否かを判断する(S217)。CPU30は、ステップS217で一致しないと判断した場合(S217:NO)、処理をステップS204へ戻し、次のレコードを読み出す(S204)。
 CPU30は、ステップS214にて送信条件が不成立であると判断した場合(S214:NO)、処理をステップS216へ進め、次のレコードについて処理を実行する。
 CPU30は、ステップS217にて、ステップS202で取得したレコード数と変数Lとが一致すると判断した場合(S217:YES)、受信テーブルの全レコードの受信フラグを「OFF」とし(ステップS218)、処理を終了する。
 図11及び図12のフローチャートに示した処理手順について、具体例を挙げて説明する。具体例として、図6の第3テーブル73の内容例の内、インデックス「5」のCANIDが「0x0A0」のレコードを読み出した場合(S204)の処理を説明する。
 CPU30は、第3テーブル73のインデックス「5」のレコードをインデックス先とするシグナル(25~29)を、第4テーブル74から抽出する(S205)。抽出したシグナルの内、25番目のシグナルを選択し(S206)、第4テーブル74を参照し(S207)、選択したシグナルが第2テーブル72内のインデックス「21」のレコードに格納されていると特定する(S208)。
 CPU30は、第2テーブル72内の「21」番目のレコードを参照し(S209)、受信フラグが「ON」であると判断する(S210:YES)。CPU30は、受信テーブル内の当該レコードのデータ格納領域から、ステップS208で特定した格納位置、即ち開始バイト「0」、開始ビット「4」、ビット長「2」を参照してシグナルを取得する(S211)。そしてCPU30は、ステップS207で参照した第3テーブル73における格納位置の情報に基づき、第3テーブル73のインデックス「5」のレコードのデータ格納領域の「0」番目のバイトの「0」番目のビットから2ビット分、取得したシグナルの情報を格納する(S212)。
 CPU30は、次に「26」番目のシグナルを選択し(S206)、第4テーブル74を参照して、第2テーブル72のインデックス「4」のレコードからシグナルを取得する(S212)。抽出したシグナル(25~29)について夫々第4テーブル74を参照して第3テーブル73のインデックス「5」のレコード即ちCANメッセージを完成させ、送信条件が成立しているか否かを判断し(S214)、送信条件は送信周期が20ミリ秒毎であるから、10ミリ秒毎の送信処理の2回につき1回、送信テーブルの当該レコードの送信(S215)を実行する。
 このように、ルーティングテーブル37が、インデックス情報を含む第4テーブル74を含み、各テーブル71~75は一定の型を持ち、各レコードを読み出す方法が、上述した各処理手順内の特定の方法に定められる構成とすることにより、ルーティングテーブル37が、例えばルーティングテーブル40に置換されたとしても、ルーティングプログラム38に基づく処理は変更する必要がない。特に、ルーティングテーブル37又はルーティングテーブル40がインデックス情報を含んで構成されていることによって、置換された異なるルーティングテーブル40に対応して受信した情報を管理し、中継する情報を作成することができる。
 しかも、図3、図4及び図6~図8のようにテーブルが的確に分けられていることにより、ルーティングテーブル37の容量を削減し、フラッシュメモリ35の記憶領域を節約することが出来る点、優れた効果を奏する。
 なお、上述のように開示された本実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 3 中継装置
 30 CPU
 35 フラッシュメモリ
 37,40 ルーティングテーブル
 38 ルーティングプログラム
 71,471 第1テーブル
 72,472 第2テーブル
 73,473 第3テーブル
 74,474 第4テーブル
 75,475 第5テーブル

Claims (7)

  1.  異なる通信バスに夫々接続する複数の通信部と、書き換え可能な記憶部と、該記憶部に記憶してあるコンピュータプログラムに基づき、1又は複数の通信部にて受信した1又は複数の情報を他の1又は複数の通信部から送信する中継処理を実行するプロセッサとを備える中継装置であって、
     前記記憶部には、受信した情報の中継先を特定するルーティングテーブルが記憶してあり、
     該ルーティングテーブルは、
     前記情報の識別情報毎の中継要否、及び中継要の場合の前記情報の格納先が記録された第1テーブルと、
     受信した情報を格納する領域を記録するための第2テーブルと、
     中継先、及び該中継先に対応付けられ、中継する情報を格納する領域を含む第3テーブルと、
     情報の格納先を示すインデックス情報が記録された第4テーブルと、
     第3テーブル内の情報数を記録する第5テーブルと
     を含むことを特徴とする中継装置。
  2.  前記プロセッサは、
     前記複数の通信部のいずれかから情報を受信した場合、第1テーブルを参照する手段と、
     第1テーブルに基づき、前記情報が中継要である場合、第1テーブルから前記情報の格納先を参照する手段と、
     前記情報を第2テーブル内の前記格納先に格納する手段と
     を含む実行手段を備えることを特徴とする請求項1に記載の中継装置。
  3.  第2テーブルは、前記格納領域に対応付けて中継先を含み、
     前記プロセッサは、
     前記複数の通信部のいずれかから情報を受信した場合、第1テーブルを参照する手段と、
     第1テーブルに基づき、前記情報が中継要である場合、第1テーブルから前記情報の格納先を参照する手段と、
     第2テーブル内の前記格納先に対応付けられている中継先へ、前記情報を送信する手段と
     を含む実行手段を備えることを特徴とする請求項1に記載の中継装置。
  4.  前記プロセッサは、
     第3テーブルを参照する手段と、
     第3テーブルの格納先に格納する情報の、第2テーブルにおける格納先を第4テーブルに基づき特定する手段と、
     特定した格納先から情報を読み出す手段と、
     読み出した情報を第3テーブルの格納先に格納する手段と、
     格納した情報を対応する中継先へ送信する手段と
     を含む実行手段を備えることを特徴する請求項1に記載の中継装置。
  5.  前記プロセッサは、
     第5テーブルから情報数を読み出す手段を備え、
     読み出した情報数分、第3テーブルを参照するようにしてあること
     を特徴とする請求項3に記載の中継装置。
  6.  請求項1乃至5のいずれかに記載の中継装置と、該中継装置の前記複数の通信部に夫々接続される複数の通信バスとを含むこと
     を特徴とする通信ハーネス。
  7.  情報を送受信する複数の通信装置と、該複数の通信装置が夫々接続された複数の通信バスと、該複数の通信バスが接続された請求項1乃至5のいずれかに記載の中継装置とを含むこと
     を特徴とする通信システム。
PCT/JP2012/082437 2011-12-27 2012-12-14 中継装置、通信ハーネス及び通信システム WO2013099645A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE112012005479.2T DE112012005479T5 (de) 2011-12-27 2012-12-14 Weiterleiteinrichtung, Kommunikationskabelbaum und Kommunikationssystem
US14/365,335 US20140379954A1 (en) 2011-12-27 2012-12-14 Relay device, communication harness, and communication system
CN201280065219.9A CN104012046B (zh) 2011-12-27 2012-12-14 中继装置、通信线束以及通信***

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011-286400 2011-12-27
JP2011286400A JP5686095B2 (ja) 2011-12-27 2011-12-27 中継装置、通信ハーネス及び通信システム

Publications (1)

Publication Number Publication Date
WO2013099645A1 true WO2013099645A1 (ja) 2013-07-04

Family

ID=48697137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/082437 WO2013099645A1 (ja) 2011-12-27 2012-12-14 中継装置、通信ハーネス及び通信システム

Country Status (5)

Country Link
US (1) US20140379954A1 (ja)
JP (1) JP5686095B2 (ja)
CN (1) CN104012046B (ja)
DE (1) DE112012005479T5 (ja)
WO (1) WO2013099645A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015112397A1 (en) * 2014-01-21 2015-07-30 Woodward, Inc. Redundant can interface for dual actuation systems

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101536141B1 (ko) * 2014-02-13 2015-07-13 현대자동차주식회사 이더넷과 can 통신 간의 신호 변환을 제공하는 차량용 장치 및 그 제어방법
US10129150B2 (en) 2015-12-01 2018-11-13 Marvell World Trade Ltd. Systems and methods for implementing a switched controller area network
WO2017094190A1 (ja) * 2015-12-04 2017-06-08 三菱電機株式会社 転送制御装置、車両及び転送制御方法
US10367889B2 (en) 2017-02-16 2019-07-30 Ford Global Technologies, Llc Smart routing for on-vehicle telematics protocol
US10348348B2 (en) 2017-03-06 2019-07-09 Ford Global Technologies, Llc Method and apparatus for vehicle message routing
JP6768614B2 (ja) * 2017-09-15 2020-10-14 矢崎総業株式会社 車載ネットワーク装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092146A (ja) * 2006-09-29 2008-04-17 Auto Network Gijutsu Kenkyusho:Kk 車内通信方法、車内通信システム及び中継装置
JP2008099014A (ja) * 2006-10-12 2008-04-24 Auto Network Gijutsu Kenkyusho:Kk 車内通信方法、車内通信システム、中継装置及び車載型通信装置
JP2010098626A (ja) * 2008-10-20 2010-04-30 Hitachi Automotive Systems Ltd 車載ゲートウェイ装置におけるルーティング方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3685918B2 (ja) * 1998-01-14 2005-08-24 富士通株式会社 中継装置、ネットワーク中継システムおよび中継方法
JP4415773B2 (ja) * 2004-06-30 2010-02-17 株式会社日立製作所 仮想ルータ対応マルチキャストパケット中継装置
CN101179508A (zh) * 2007-11-29 2008-05-14 中兴通讯股份有限公司 Ipv4和ipv6复用路由表生成装置及该装置生成复用路由表方法
WO2009130941A1 (ja) * 2008-04-22 2009-10-29 日本電気株式会社 中継装置およびネットワークシステム及び経路切替方法並びに記録媒体
CN102204174A (zh) * 2008-11-04 2011-09-28 株式会社自动网络技术研究所 通信装置、中继装置、通信***及通信方法
JP5370500B2 (ja) * 2010-02-08 2013-12-18 富士通株式会社 ネットワーク中継装置および診断方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092146A (ja) * 2006-09-29 2008-04-17 Auto Network Gijutsu Kenkyusho:Kk 車内通信方法、車内通信システム及び中継装置
JP2008099014A (ja) * 2006-10-12 2008-04-24 Auto Network Gijutsu Kenkyusho:Kk 車内通信方法、車内通信システム、中継装置及び車載型通信装置
JP2010098626A (ja) * 2008-10-20 2010-04-30 Hitachi Automotive Systems Ltd 車載ゲートウェイ装置におけるルーティング方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015112397A1 (en) * 2014-01-21 2015-07-30 Woodward, Inc. Redundant can interface for dual actuation systems
US9860304B2 (en) 2014-01-21 2018-01-02 Woodward, Inc. Redundant CAN interface for dual actuation systems

Also Published As

Publication number Publication date
CN104012046B (zh) 2017-06-20
US20140379954A1 (en) 2014-12-25
JP2013135430A (ja) 2013-07-08
CN104012046A (zh) 2014-08-27
DE112012005479T5 (de) 2014-09-11
JP5686095B2 (ja) 2015-03-18

Similar Documents

Publication Publication Date Title
WO2013099645A1 (ja) 中継装置、通信ハーネス及び通信システム
CN108476162B (zh) 网络集线器、转发方法及车载网络***
US10153825B2 (en) Vehicle-mounted control device
JP5255579B2 (ja) 車内データ中継装置、車両制御システム
CN101283547B (zh) 一种车载数据库分布节点和车载数据库***
CN108476161B (zh) 电子控制单元、通信方法以及车载网络***
CN109726163A (zh) 一种基于spi的通信***、方法、设备和储存介质
JP2009253557A (ja) 車載用の中継接続ユニット
JP6798413B2 (ja) 車載中継装置、制御プログラム及びメモリ共有方法
CN104683126B (zh) 基于can总线的网络管理方法
JP4877663B2 (ja) データ中継装置、及び当該装置で用いられるデータ中継方法
JP2007174085A (ja) 車載lanシステム、電子制御ユニットおよび中継接続ユニット
CN112968821B (zh) 电子控制单元、通信方法以及车载网络***
CN102100037B (zh) 通信***的具有功能分离的发送事件存储器的用户节点
JP5696657B2 (ja) 中継装置、通信ハーネス及び通信システム
CN112787901B (zh) 网络集线器、转发方法及车载网络***
JP5728043B2 (ja) ゲートウェイ装置
JP2019199122A (ja) 車載中継装置、通信システム、バス決定方法及びコンピュータプログラム
JP2019009678A (ja) 車載通信ネットワークシステム
US11609875B2 (en) Data communication device and data communication module
JP2007135107A (ja) 中継接続ユニット
JP2010193000A (ja) 情報処理装置
JP2007318199A (ja) 中継接続ユニット
JP2009282612A (ja) マイクロコンピュータ

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: 12861477

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14365335

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112012005479

Country of ref document: DE

Ref document number: 1120120054792

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12861477

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 12861477

Country of ref document: EP

Kind code of ref document: A1