WO2021084928A1 - 中継装置、車載通信システム、車両および車載通信方法 - Google Patents

中継装置、車載通信システム、車両および車載通信方法 Download PDF

Info

Publication number
WO2021084928A1
WO2021084928A1 PCT/JP2020/034302 JP2020034302W WO2021084928A1 WO 2021084928 A1 WO2021084928 A1 WO 2021084928A1 JP 2020034302 W JP2020034302 W JP 2020034302W WO 2021084928 A1 WO2021084928 A1 WO 2021084928A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
unit
frame
target frame
received
Prior art date
Application number
PCT/JP2020/034302
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 US17/770,060 priority Critical patent/US11799991B2/en
Priority to CN202080071367.6A priority patent/CN114556982A/zh
Priority to JP2021554144A priority patent/JP7447912B2/ja
Publication of WO2021084928A1 publication Critical patent/WO2021084928A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/35Flow control; Congestion control by embedding flow control information in regular packets, e.g. piggybacking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • 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
    • 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/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • 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/40241Flexray
    • 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
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • H04L2012/647Frame Relay, X.25

Definitions

  • the present disclosure relates to a relay device, an in-vehicle communication system, a vehicle, and an in-vehicle communication method.
  • Patent Document 1 Japanese Unexamined Patent Publication No. 2019-9559 discloses the following servers. That is, the server is applied to the communication system (10) that uses the TCP / IP communication protocol, and is a server (20) that provides a service to the client in response to a subscription request of the client (40 to 44, 50 to 54).
  • a table storage unit (30) configured to store a priority table (32) in which the priority of receiving the service is set corresponding to the client for each service, and the client.
  • a subscription request for the service is requested from the client, it is configured to determine whether or not to allow the subscription request for the service from the client based on the priority table stored in the table storage unit. It is provided with a service determination unit (26, S400 to S410).
  • the relay device of the present disclosure is a relay device used in an in-vehicle network including a plurality of functional units, and includes a relay unit that relays and processes frames transmitted and received between the functional units, and a relay management unit.
  • the functional unit refers to a target frame which is a frame transmitted and received according to a predetermined communication protocol and which has information capable of identifying a service request source and information capable of identifying the content of the requested service.
  • the target frame received from the relay unit is output to the relay management unit, and the relay management unit sets the relay processing in the relay unit based on the information included in the target frame received from the relay unit. A determination regarding the change is made, and depending on the determination result, the target frame is output to the relay unit or the target frame is discarded.
  • the in-vehicle communication system of the present disclosure includes a plurality of functional units and a relay device, the relay device relays frames transmitted and received between the functional units, and the functional unit transmits and receives according to a predetermined communication protocol.
  • the target frame which is a frame having information that can identify the request source of the service and information that can identify the content of the requested service, is transmitted to the relay device, and the relay device receives the frame.
  • the target frame is received from the functional unit, a determination regarding a setting change of the relay process is made based on the received information included in the target frame, and other functional units of the target frame are determined according to the determination result. Relay to or discard the target frame.
  • the in-vehicle communication method of the present disclosure is an in-vehicle communication method in a relay device used in an in-vehicle network including a plurality of functional units, and includes a step of relaying a frame transmitted and received between the functional units and a setting of the relay processing.
  • the step of determining the setting change of the relay process which includes the step of determining the change
  • the frame is a frame transmitted and received according to a predetermined communication protocol, and is requested with information that can identify the request source of the service.
  • a target frame which is a frame having information that can identify the contents of the service, is received from the functional unit, and based on the received information included in the target frame, a judgment regarding the setting change of the relay process is made to make a judgment.
  • the target frame is relayed to another functional unit or the target frame is discarded.
  • One aspect of the present disclosure can be realized not only as a relay device provided with such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes a part or all of the relay device, or processing in the relay device. It can be realized as a program for causing a computer to execute the above steps. Further, one aspect of the present disclosure can be realized not only as an in-vehicle communication system including such a characteristic processing unit, but also as a method in which such characteristic processing is a step, or an in-vehicle communication system. It can be realized as a semiconductor integrated circuit that realizes a part or all of it, or it can be realized as a program for causing a computer to execute a processing step in an in-vehicle communication system.
  • FIG. 1 is a diagram showing a configuration of an in-vehicle communication system according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram showing an example of a frame transmitted and received by the vehicle-mounted ECU according to the embodiment of the present disclosure.
  • FIG. 3 is a diagram showing an example of a frame transmitted and received by the vehicle-mounted ECU according to the embodiment of the present disclosure.
  • FIG. 4 is a diagram showing an example of the configuration of the relay device according to the embodiment of the present disclosure.
  • FIG. 5 is a diagram showing an example of an address table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • FIG. 6 is a diagram showing an example of a setting table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • FIG. 1 is a diagram showing a configuration of an in-vehicle communication system according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram showing an example of a frame transmitted and received by the vehicle-mounted ECU according
  • FIG. 7 is a diagram showing another example of the setting table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • FIG. 8 is a flowchart defining an example of an operation procedure in which the relay device changes the relay processing setting in the in-vehicle communication system according to the embodiment of the present disclosure.
  • FIG. 9 is a diagram showing an example of a processing sequence for changing the setting of relay processing of frames transmitted / received between functional units in the in-vehicle communication system according to the embodiment of the present disclosure.
  • FIG. 10 is a diagram showing another example of a processing sequence for changing the setting of relay processing of frames transmitted / received between functional units in the in-vehicle communication system according to the embodiment of the present disclosure.
  • FIG. 11 is a diagram showing a configuration of a modified example of the relay device according to the embodiment of the present disclosure.
  • the present disclosure has been made to solve the above-mentioned problems, and an object thereof is to provide a relay device, an in-vehicle communication system, a vehicle, and an in-vehicle communication method capable of more efficiently performing relay processing in an in-vehicle network. It is to be.
  • the relay device is a relay device used in an in-vehicle network including a plurality of functional units, and is a relay unit that relays and processes frames transmitted and received between the functional units, and relays.
  • the relay unit includes a management unit, and the relay unit is a frame that is transmitted and received according to a predetermined communication protocol, and has information that can identify the request source of the service and information that can identify the content of the requested service.
  • the target frame is received from the functional unit, the received target frame is output to the relay management unit, and the relay management unit receives the target frame from the relay unit based on the information contained in the target frame.
  • a determination is made regarding the setting change of the relay process in the relay unit, and the output of the target frame to the relay unit or the discarding of the target frame is performed according to the determination result.
  • the frame is relayed between the functional units according to the status of the service-oriented communication between the functional units.
  • frames transmitted and received between the functional unit of the service provider and the functional unit of the service provider can be efficiently relayed. Therefore, the relay processing in the in-vehicle network can be performed more efficiently.
  • the relay management unit changes the content of the target frame and outputs the changed target frame to the relay unit.
  • information to be notified to the functional unit is added to the target frame, and the target frame is transmitted to the functional unit via the relay unit to notify the information from the relay device to the functional unit. It can be done efficiently.
  • the relay unit outputs port information indicating the communication port via which the received target frame has passed from among the plurality of communication ports included in the relay device to the relay management unit, and the relay management unit.
  • the unit makes a determination regarding the setting change based on the port information received from the relay unit.
  • the relay management unit makes a determination regarding the setting change based on the information regarding the functional unit of the provider or the information regarding the functional unit of the providing destination of the service related to the target frame.
  • the function of the provider is based on the communication band according to the amount of data transmitted from the functional unit of the service provider to the functional unit of the service destination in accordance with the service-oriented communication between the functional units. It is possible to make a judgment regarding a change in communication band setting between a unit and a functional unit of a provider.
  • the relay management unit makes a judgment regarding the setting change based on the content of the information for starting the provision of the service related to the target frame.
  • the relay management unit detects an abnormality in the target frame and makes a judgment regarding the setting change based on the detection result.
  • the relay management unit makes a determination regarding the setting change based on the content of the header of the target frame transmitted / received according to the SOME / IP communication protocol.
  • relay processing can be performed more efficiently between functional units that perform service-oriented communication according to the SOME / IP communication protocol.
  • the relay management unit determines the content of the setting change, notifies the relay unit of the decision content, and the relay unit performs the determination content according to the decision content notified from the relay management unit. Change the settings related to relay processing.
  • the setting of the relay device can be dynamically changed according to the information included in the target frame, so that the relay process in the in-vehicle network can be performed more efficiently.
  • the relay device further includes a storage unit that non-volatilely stores the determined content, and the relay unit follows the determined content in the storage unit when the relay device is activated. , The setting related to the relay processing is changed.
  • the relay management unit provides information based on the determination result regarding the setting change via the relay unit to the functional unit of the service provider related to the target frame or the service related to the target frame. Notify the above-mentioned functional unit.
  • the in-vehicle communication system includes a plurality of functional units and a relay device, and the relay device relays frames transmitted and received between the functional units, and the functional unit relays the frames.
  • the relay device receives the target frame from the functional unit, determines the setting change of the relay process based on the received information included in the target frame, and determines the setting change of the relay process according to the determination result. Relaying the target frame to another functional unit or discarding the target frame.
  • the frame is relayed between the functional units according to the status of the service-oriented communication between the functional units.
  • frames transmitted and received between the functional unit of the service provider and the functional unit of the service provider can be efficiently relayed. Therefore, the relay processing in the in-vehicle network can be performed more efficiently.
  • the vehicle according to the embodiment of the present disclosure includes the in-vehicle communication system.
  • the in-vehicle communication method is an in-vehicle communication method in a relay device used in an in-vehicle network including a plurality of functional units, and relays frames transmitted and received between the functional units.
  • the step of determining the setting change of the relay processing which includes the step and the step of determining the setting change of the relay processing, the frame is a frame transmitted and received according to a predetermined communication protocol, and the service request source is set.
  • a target frame which is a frame having identifiable information and identifiable information on the content of the requested service, is received from the functional unit, and the relay process is performed based on the information included in the received target frame.
  • a determination regarding the setting change is made, and depending on the determination result, the target frame is relayed to another functional unit or the target frame is discarded.
  • the frame is relayed between the functional units according to the status of the service-oriented communication between the functional units.
  • frames transmitted and received between the functional unit of the service provider and the functional unit of the service provider can be efficiently relayed. Therefore, the relay processing in the in-vehicle network can be performed more efficiently.
  • FIG. 1 is a diagram showing a configuration of an in-vehicle communication system according to an embodiment of the present disclosure.
  • the in-vehicle communication system 300 includes a plurality of in-vehicle ECUs (Electronic Control Units) 111 and a relay device 100.
  • the vehicle-mounted communication system 300 includes vehicle-mounted ECUs 111A to 111C as vehicle-mounted ECUs 111.
  • the in-vehicle communication system 300 is mounted on the vehicle 1.
  • the vehicle-mounted ECU 111 and the relay device 100 constitute the vehicle-mounted network 12.
  • the relay device 100 is used in the vehicle-mounted network 12 including a plurality of vehicle-mounted ECUs 111.
  • the in-vehicle ECU 111A includes the application 112A.
  • the vehicle-mounted ECU 111B includes application 112B.
  • the in-vehicle ECU 111C includes application 112C.
  • each of the applications 112A, 112B, and 112C will also be referred to as an application 112.
  • the in-vehicle ECU 111 and the application 112 are examples of functional units in the in-vehicle network 12.
  • the vehicle-mounted ECU 111 is connected to the relay device 100 via, for example, an Ethernet (registered trademark) cable 11.
  • the in-vehicle communication system 300 is not limited to the configuration including three in-vehicle ECUs 111, and may be configured to include two or four or more in-vehicle ECUs 111. Further, the in-vehicle communication system 300 is not limited to the configuration in which one application 112 is mounted on one in-vehicle ECU 111, and may be configured in which two or more applications 112 are mounted on one in-vehicle ECU 111.
  • the in-vehicle communication system 300 is not limited to the configuration including one relay device 100, and may be configured to include two or more relay devices 100.
  • the relay device 100 is, for example, a gateway device, and can relay data between a plurality of in-vehicle ECUs 111 connected to itself.
  • the relay device 100 can perform relay processing according to, for example, layer 2 and layer 3 higher than layer 2. For example, relay processing of frames between vehicle-mounted ECUs 111 belonging to the same VLAN and vehicle-mounted equipment belonging to different VLANs. The frame is relayed between the ECUs 111.
  • the relay device 100 relays frames exchanged between the vehicle-mounted ECUs 111 connected via the Ethernet cable 11 according to, for example, an Ethernet communication standard.
  • an Ethernet frame a frame that conforms to the Ethernet communication standard will be referred to as an Ethernet frame.
  • IP packets are stored in the Ethernet frame.
  • the in-vehicle communication system 300 is not limited to a configuration in which Ethernet frames are relayed according to the Ethernet communication standard, for example, CAN (Control Area Network), FlexRay (registered trademark), MOST (Media Oriented Systems Transport) (registration). Data may be relayed in accordance with communication standards such as (trademark) and LIN (Local Ethernet Network).
  • Ethernet communication standard for example, CAN (Control Area Network), FlexRay (registered trademark), MOST (Media Oriented Systems Transport) (registration).
  • Data may be relayed in accordance with communication standards such as (trademark) and LIN (Local Ethernet Network).
  • the in-vehicle ECU 111 is, for example, an automatic driving ECU, an engine ECU, a sensor, a navigation device, a human-machine interface, a camera, or the like.
  • the vehicle-mounted ECUs 111A, 111B, and 111C are a vehicle speed sensor, an engine ECU, and an automatic driving ECU, respectively.
  • the in-vehicle ECUs 111A, 111B, and 111C are also referred to as a vehicle speed sensor 111A, an engine ECU 111B, and an automatic driving ECU 111C, respectively.
  • Each application 112 performs a predetermined process in the in-vehicle ECU 111 on which the application 112 is mounted, for example, by performing a process of the application layer.
  • application 112A in the vehicle speed sensor 111A generates speed information indicating the traveling speed of the vehicle 1 at a predetermined cycle.
  • the vehicle speed sensor 111A periodically or irregularly transmits speed information indicating the speed of the vehicle 1 to another vehicle-mounted ECU 111 including the speed information.
  • the engine ECU 111B receives speed information from the vehicle-mounted ECU 111A via the relay device 100, and controls the engine based on the received speed information and the like.
  • the automatic driving ECU 111C receives speed information from the vehicle-mounted ECU 111A via the relay device 100, and performs automatic driving control of the vehicle 1 based on the received speed information and the like.
  • the vehicle speed sensor 111A is a server ECU that provides a service of notifying speed information. Further, the engine ECU 111B and the automatic driving ECU 111C are client ECUs that receive services from the vehicle speed sensor 111A.
  • Each functional unit sends and receives frames according to a predetermined protocol.
  • the in-vehicle ECU 111 transmits and receives frames according to the SOME / IP (Scalable Service-Oriented Middleware on Ethernet / Internet Protocol) protocol.
  • SOME / IP Scalable Service-Oriented Middleware on Ethernet / Internet Protocol
  • FIG. 2 is a diagram showing an example of a frame transmitted and received by the vehicle-mounted ECU according to the embodiment of the present disclosure.
  • FIG. 2 shows an example of a frame according to the SOME / IP protocol transmitted and received between the vehicle-mounted ECU 111.
  • the header of the frame according to the SOME / IP protocol includes a message ID, a Length, a request ID, a Protocol Version, an Interface Version, a Message Type, a Return Code, Flags, a Reservation, a Lens of Arrays It has fields for Length of Options Array and Options Array.
  • FIG. 3 is a diagram showing an example of a frame transmitted and received by the vehicle-mounted ECU according to the embodiment of the present disclosure.
  • FIG. 3 shows the details of the Entries Array field of the frame shown in FIG.
  • the fields of the Entries Array of the frame according to the SOME / IP protocol are Type, Index 1st options, Index 2st options, # of opt 1, # of opt 2, Service ID, Instruction ID, Instruction M. It has fields of TTL (Time To Live), Reserve, Initial Data Requested Flag, Reserve2, Counter and Instance group.
  • the in-vehicle ECU 111 transmits and receives a communication setting frame which is a frame for establishing a communication connection with another in-vehicle ECU 111 according to the SOME / IP protocol via the relay device 100.
  • the vehicle-mounted ECU 111 When the vehicle-mounted ECU 111 establishes a communication connection with another vehicle-mounted ECU 111 by transmitting and receiving a communication setting frame via the relay device 100, the vehicle-mounted ECU 111 communicates with the other vehicle-mounted ECU 111 using a frame that follows the SOME / IP protocol. For example, when the server ECU establishes a communication connection with the client ECU, the server ECU starts providing a service to the client ECU using a frame that follows the SOME / IP protocol.
  • the request ID field in the communication setting frame transmitted / received between the server ECU and the client ECU. More specifically, the MAC address of the client ECU is stored in the request ID field.
  • Information that can identify the content of the service by the server ECU is stored in the field of the message ID in the communication setting frame transmitted / received between the server ECU and the client ECU. More specifically, the message ID field stores information indicating the content of the service provided by the server ECU.
  • the automatic operation ECU 111C which is a client ECU
  • the vehicle-mounted network 12 it is an example of a communication setting frame including information that a server ECU capable of transmitting speed information is being searched.
  • a certain service search frame is generated, and the generated service search frame is multicast to another vehicle-mounted ECU 111 via the relay device 100.
  • the vehicle speed sensor 111A which is a server ECU, receives a service search frame from the automatic driving ECU 111C via the relay device 100, and includes an example of a communication setting frame including its own MAC address and information that the self can transmit speed information.
  • the service provision notification frame is generated, and the generated service provision notification frame is transmitted to the automatic operation ECU 111C via the relay device 100 as a response to the service search frame.
  • the automatic driving ECU 111C receives a service provision notification frame from the vehicle speed sensor 111A via the relay device 100, and includes a service subscription request frame which is an example of a communication setting frame including information to request transmission of its own ID and speed information. Is generated, and the generated service subscription request frame is transmitted to the vehicle speed sensor 111A via the relay device 100.
  • the vehicle speed sensor 111A receives a service subscription request frame from the automatic driving ECU 111C via the relay device 100, and permits the service subscription by the automatic driving ECU 111C based on the ID of the automatic driving ECU 111C included in the received service subscription request frame. Whether or not, that is, whether or not to start transmitting speed information to the automatic operation ECU 111C is determined.
  • the vehicle speed sensor 111A generates a service subscription availability frame, which is an example of the communication setting frame, including information indicating the determination content, and uses the generated service subscription availability frame as a response to the service subscription request frame via the relay device 100. It is transmitted to the automatic operation ECU 111C.
  • the vehicle speed sensor 111A decides to start providing the service to the autonomous driving ECU 111C
  • the vehicle speed sensor 111A relays a service providing frame which is a frame for providing the service according to the SOME / IP protocol on a regular or irregular basis. It is transmitted to the automatic operation ECU 111C via the device 100. More specifically, the vehicle speed sensor 111A periodically or irregularly transmits a service providing frame including speed information to the automatic driving ECU 111C via the relay device 100.
  • FIG. 4 is a diagram showing an example of the configuration of the relay device according to the embodiment of the present disclosure.
  • the relay device 100 includes a transfer control unit 10, a transfer management unit 20, and a storage unit 30.
  • the transfer control unit 10 includes communication ports 13A, 13B, 13C, 13D.
  • the transfer control unit 10 is an example of a relay unit.
  • the transfer management unit 20 is an example of a relay management unit.
  • the transfer control unit 10 is realized by, for example, a semiconductor integrated circuit.
  • the transfer management unit 20 is realized by, for example, a processor such as a CPU (Central Processing Unit) and a DSP (Digital Signal Processor).
  • the storage unit 30 is, for example, a flash memory.
  • Communication ports 13A, 13B, 13C, 13D are, for example, input / output ports.
  • each of the communication ports 13A, 13B, 13C, and 13D will also be referred to as a communication port 13.
  • the vehicle speed sensor 111A is connected to the communication port 13A via the wiring pattern and the Ethernet cable 11
  • the engine ECU 111B is connected to the communication port 13B via the wiring pattern and the Ethernet cable 11 for communication.
  • the automatic operation ECU 111C is connected to the port 13C via the wiring pattern and the Ethernet cable 11, and the transfer management unit 20 is connected to the communication port 13D via the wiring pattern.
  • the communication ports 13A, 13B, and 13C may be external connectors of the relay device 100 or the like.
  • the transfer control unit 10 relays frames transmitted and received between the functional units. More specifically, the transfer control unit 10 receives a frame addressed to another vehicle-mounted ECU 111 from the vehicle-mounted ECU 111 via the corresponding communication port 13, and transmits the frame to the other vehicle-mounted ECU 111 via the corresponding communication port.
  • the storage unit 30 stores an address table in which the communication port 13 and the MAC address of the device connected via the communication port 13 are associated with each other.
  • FIG. 5 is a diagram showing an example of an address table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • the MAC address of the vehicle speed sensor 111A is "MAC-A”
  • the MAC address of the engine ECU 111B is “MAC-B”
  • the MAC address of the automatic operation ECU 111C is "MAC-B”. It is “MAC-C”
  • the MAC address of the transfer management unit 20 is "MAC-D”.
  • the transfer control unit 10 corresponds to the communication port 13B corresponding to MAC-B according to the address table in the storage unit 30.
  • the frame is transmitted to the engine ECU 111B.
  • the storage unit 30 stores a setting table showing the shaping rate of the frame between the communication ports 13 to be relay-processed by the transfer control unit 10.
  • FIG. 6 is a diagram showing an example of a setting table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • the transfer control unit 10 relays the frames transmitted and received between the vehicle-mounted ECU 111 according to the setting table in the storage unit 30.
  • the transfer control unit 10 receives a frame addressed to the engine ECU 111B from the vehicle speed sensor 111A via the communication port 13A, and according to the setting table in the storage unit 30, the communication port 13B has a shaping rate of 31 Mbps.
  • the frame is transmitted to the engine ECU 111B via the engine.
  • the transfer control unit 10 is a frame that is transmitted / received according to a predetermined communication protocol and has information that can identify the request source of the service and information that can identify the content of the requested service.
  • the frame is received from the functional unit, and the received target frame is selectively output to the transfer management unit 20.
  • the transfer control unit 10 outputs the target frame to the transfer management unit 20 without relaying the target frame received from the functional unit to another functional unit.
  • the transfer control unit 10 receives a frame addressed to the vehicle speed sensor 111A from the automatic driving ECU 111C via the communication port 13C, and confirms the port number of the received frame, for example, the UDP header.
  • the transfer control unit 10 determines that the received frame is the target frame.
  • the transfer control unit 10 may be configured to determine whether or not the frame is a target frame based on the MAC address or IP address of the received frame.
  • the transfer control unit 10 determines that the received frame is the target frame, the transfer control unit 10 rewrites the destination MAC address of the target frame to MAC-D, which is the MAC address of the transfer management unit 20. Then, the transfer control unit 10 outputs the target frame to the transfer management unit 20 via the communication port 13D according to the address table in the storage unit 30.
  • the transfer control unit 10 determines that the received frame is not the target frame, the transfer control unit 10 transmits the frame to the vehicle speed sensor 111A via the communication port 13A according to the address table in the storage unit 30.
  • the transfer control unit 10 outputs port information indicating the communication port 13 that the received target frame has passed through to the transfer management unit 20 among the plurality of communication ports 13 in the relay device 100.
  • the transfer control unit 10 determines that the frame addressed to the vehicle speed sensor 111A received from the automatic driving ECU 111C via the communication port 13C is the target frame, the transfer control unit 10 receives the target frame via the communication port 13C. Port information indicating the above is generated, and the generated port information is included in the target frame and output to the transfer management unit 20.
  • the transfer management unit 20 determines the setting change of the relay process in the transfer control unit 10 based on the information included in the target frame received from the transfer control unit 10. Specifically, the transfer management unit 20 determines whether or not the setting is necessary and the content of the setting change as the determination regarding the setting change.
  • the transfer management unit 20 determines whether or not the target frame is a specific frame such as a communication setting frame and a service providing frame based on the message ID in the header of the target frame received from the transfer control unit 10. To judge.
  • the transfer management unit 20 determines that the target frame received from the transfer control unit 10 is a specific frame, the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 based on the target frame.
  • the transfer management unit 20 determines the setting change of the relay process in the transfer control unit 10 based on the content of the header of the target frame transmitted / received according to the SOME / IP communication protocol.
  • the transfer management unit 20 makes a determination regarding the setting change of the relay process in the transfer control unit 10 based on the content of the information for starting the provision of the service related to the communication setting frame.
  • information indicating whether or not the server ECU has permitted the service subscription by the client ECU is stored in the Type field of the communication setting frame, for example, the service subscription availability frame, which is transmitted from the server ECU to the client ECU.
  • the transfer management unit 20 confirms whether or not the server ECU has permitted the service subscription by the client ECU based on the information stored in the Type field of the service subscription availability frame received from the transfer control unit 10, and the confirmation result. Therefore, the transfer control unit 10 determines whether or not it is necessary to change the setting of the relay process.
  • the transfer management unit 20 when the transfer management unit 20 receives from the transfer control unit 10 a service subscription availability frame in which information indicating that the server ECU permits the service subscription of the client ECU is stored, the transfer management unit 20 relays the service in the transfer control unit 10. Judge that it is necessary to change the processing settings. On the other hand, when the transfer management unit 20 receives from the transfer control unit 10 a service subscription availability frame in which information indicating that the server ECU does not allow the service subscription of the client ECU is stored, the transfer management unit 20 sets the relay processing in the transfer control unit 10. Judge that no change is necessary.
  • the transfer management unit 20 determines the setting change of the relay process in the transfer control unit 10 based on the information about the functional unit of the provider or the information about the functional unit of the provider of the service related to the communication setting frame. Do.
  • the transfer management unit 20 has the server ECU after the start of providing the service from the server ECU to the client ECU based on the information stored in the message ID field of the communication setting frame received from the transfer control unit 10.
  • the transfer control unit 10 specifies a communication band required for relay processing of data transmitted / received between the client ECUs.
  • the transfer management unit 20 confirms the field of the message ID of the communication setting frame, for example, the service subscription availability frame received from the transfer control unit 10.
  • the transfer management unit 20 recognizes that the vehicle speed sensor 111A, which is the server ECU, starts providing the service to the automatic driving ECU 111C, which is the client ECU, based on the message ID in the service subscription availability frame,
  • the communication band to be secured in the transfer control unit 10 in order to relay the speed information to the automatic driving ECU 111C transmitted from the vehicle speed sensor 111A is specified.
  • the storage unit 30 stores necessary band information indicating a communication band to be secured in order to perform relay processing of frames transmitted and received between the server ECU and the client ECU in connection with the provision of services from the server ECU to the client ECU. doing.
  • the transfer management unit 20 specifies a communication band to be secured in the transfer control unit 10 in order to relay the speed information to the automatic driving ECU 111C transmitted from the vehicle speed sensor 111A based on the required band information in the storage unit 30. To do.
  • the transfer management unit 20 determines the content of the relay processing setting change in the transfer control unit 10, and notifies the transfer control unit 10 of the determined content.
  • the transfer control unit 10 changes the relay processing settings according to the decision content notified from the transfer management unit 20.
  • the transfer management unit 20 changes the shaping rate when relaying a frame from the communication port 13A to the communication port 13C as the content of the relay processing setting change in the transfer control unit 10, that is, the shaping rate. Is determined to be increased by 30 Mbps, and decision information indicating that the shaping rate when relaying a frame from the communication port 13A to the communication port 13C should be increased by 30 Mbps is output to the transfer control unit 10.
  • FIG. 7 is a diagram showing another example of the setting table in the storage unit of the relay device according to the embodiment of the present disclosure.
  • the transfer control unit 10 When the transfer control unit 10 receives the decision information from the transfer management unit 20, the transfer control unit 10 relays the frame from the communication port 13A to the communication port 13C in the setting table in the storage unit 30 according to the received decision information.
  • the shaping rate is changed to 31 Mbps.
  • the transfer control unit 10 relays the frames transmitted and received between the vehicle-mounted ECU 111 according to the changed setting table in the storage unit 30.
  • the transfer control unit 10 Since the transfer control unit 10 updates the setting table in the storage unit 30 according to the decision information received from the transfer management unit 20, the transfer control unit 10 stores the setting table when the relay device 100 is restarted next time, that is, when the relay device 100 is started from the stopped state.
  • the relay processing settings can be changed according to the determination contents in the unit 30.
  • the transfer management unit 20 determines the driving status of the vehicle 1 based on the content of the information for starting the provision of the service related to the communication setting frame, and transfers the vehicle 1 based on the determination result of the driving status of the vehicle 1.
  • the control unit 10 may be configured to make a determination regarding a change in the setting of the relay process.
  • the transfer management unit 20 recognizes that the vehicle speed sensor 111A, which is the server ECU, starts providing the service to the automatic driving ECU 111C, which is the client ECU, the driving status of the vehicle 1 is changed from the manual operation. It is determined that the operation will be switched to automatic operation, and based on the determination result, the shaping rate when relaying the frame from the communication port 13A to the communication port 13C is changed to the preset shaping rate in the automatic operation mode. In this way, the frame can be relayed more efficiently by changing the setting of the relay process according to the driving situation of the vehicle 1.
  • the transfer management unit 20 further determines the setting change of the relay process in the transfer control unit 10 based on the port information received from the transfer control unit 10.
  • the transfer management unit 20 confirms the reception frequency of the received target frame for each communication port 13 based on the port information received from the transfer control unit 10.
  • the transfer management unit 20 sets the relay processing setting in the transfer control unit 10 to change the frame via the communication port 13C. It is decided to stop the reception of the frame, and the decision information indicating that the reception of the frame via the communication port 13C should be stopped is output to the transfer control unit 10.
  • the transfer control unit 10 When the transfer control unit 10 receives the decision information from the transfer management unit 20, the transfer control unit 10 disconnects the electrical connection between the communication port 13C and the internal circuit according to the received decision information via the communication port 13C from the automatic operation ECU 111C. Set to stop receiving frames in.
  • the transfer management unit 20 detects an abnormality in the target frame, and based on the detection result, makes a determination regarding the setting change of the relay process in the transfer control unit 10.
  • the transfer management unit 20 enables the service from the server ECU to the client ECU based on the information stored in the TTL field in the target frame, for example, the service provision frame Entries Array received from the transfer control unit 10. The expiration of the period is detected as an abnormality of the target frame.
  • the transfer management unit 20 recognizes that the validity period of the service from the server ECU to the client ECU has expired based on the TTL in the service providing frame received from the transfer control unit 10.
  • the transfer management unit 20 recognizes that the validity period of the service from the vehicle speed sensor 111A to the automatic driving ECU 111C has expired based on the TTL in the service providing frame from the vehicle speed sensor 111A to the automatic driving ECU 111C. As the content of the setting change of the relay processing in the transfer control unit 10, it is determined to reduce the shaping rate when relaying the frame from the communication port 13A to the communication port 13C by 30 Mbps.
  • the transfer management unit 20 outputs the decision information indicating that the shaping rate when relaying the frame from the communication port 13A to the communication port 13C should be lowered by 30 Mbps to the transfer control unit 10.
  • the transfer control unit 10 When the transfer control unit 10 receives the decision information from the transfer management unit 20, the transfer control unit 10 relays the frame from the communication port 13A to the communication port 13C in the setting table in the storage unit 30 according to the received decision information, as shown in FIG. Change the shaping rate to 1 Mbps.
  • the transfer management unit 20 determines the driving status of the vehicle 1 based on the content of the information for starting the provision of the service related to the communication setting frame, and transfers the vehicle 1 based on the determination result of the driving status of the vehicle 1.
  • the control unit 10 may be configured to make a determination regarding a change in the setting of the relay process.
  • the transfer management unit 20 recognizes that the valid period of the service from the vehicle speed sensor 111A, which is the server ECU, to the automatic driving ECU 111C, which is the client ECU, has expired, the driving status of the vehicle 1 is changed from the automatic driving. It is determined that the operation will be switched to manual operation, and based on the determination result, the shaping rate when relaying the frame from the communication port 13A to the communication port 13C is changed to the preset shaping rate in the manual operation mode. In this way, the frame can be relayed more efficiently by changing the setting of the relay process according to the driving situation of the vehicle 1.
  • the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 according to at least one of the above-mentioned example 1, example 2 and example 3 of the setting change.
  • the transfer management unit 20 outputs the target frame to the transfer control unit 10 or discards the target frame.
  • the transfer management unit 20 when the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 based on the target frame, the transfer management unit 20 functions the target frame via the transfer control unit 10 according to the determination result. Send to the department or discard.
  • the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 based on the port information received from the transfer control unit 10, and the target frame is transmitted via the transfer control unit 10 according to the determination result. Send to the function part or discard.
  • the transfer management unit 20 determines the content of the relay processing setting change in the transfer control unit 10. For example, when it is decided to stop the reception of the frame via the communication port 13C, the target frame is discarded.
  • the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 based on the detection result of the abnormality of the target frame, and the target frame is transmitted via the transfer control unit 10 according to the determination result. Send to the function part or discard.
  • the validity period of the service from the server ECU to the client ECU has expired based on the information stored in the TTL field in the target frame, for example, the Entry Array of the service providing frame received from the transfer control unit 10. If detected, the service provision frame is discarded.
  • the transfer management unit 20 For example, if the transfer management unit 20 does not discard the target frame, the transfer management unit 20 transmits the target frame to the function unit via the transfer control unit 10.
  • the storage unit 30 stores correspondence information indicating the correspondence between the IP address and the MAC address used for the relay processing of the layer 3.
  • the transfer management unit 20 transmits the target frame to the function unit via the transfer control unit 10
  • the transfer management unit 20 specifies the MAC address corresponding to the IP address of the target frame based on the correspondence information in the storage unit 30. Then, the transfer management unit 20 rewrites the destination MAC address of the target frame with the specified MAC address.
  • the transfer management unit 20 When the transfer management unit 20 rewrites the destination MAC address of the target frame, the transfer management unit 20 outputs the target frame to the transfer control unit 10.
  • the transfer control unit 10 When the transfer control unit 10 receives the target frame from the transfer management unit 20 via the communication port 13D, the transfer control unit 10 transmits the received target frame via the communication port 13 corresponding to the destination MAC address of the target frame according to the address table in the storage unit 30. Send to the function part with.
  • the transfer management unit 20 transfers information based on the determination result regarding the setting change of the relay processing in the transfer control unit 10 to the functional unit and the communication setting frame of the service provider related to the communication setting frame via the transfer control unit 10. Notify at least one of the functional departments to which the service is provided.
  • the transfer management unit 20 transfers and controls a setting content request for inquiring the transfer control unit 10 for the current relay processing setting content after a predetermined time has elapsed after outputting the decision information to the transfer control unit 10. Output to unit 10.
  • the transfer control unit 10 When the transfer control unit 10 receives a setting content request from the transfer management unit 20, it outputs setting information indicating the setting content of the current relay process to the transfer management unit 20. Specifically, for example, the transfer control unit 10 acquires the setting table in the storage unit 30, and outputs the setting information indicating the contents of the acquired setting table to the transfer management unit 20.
  • the transfer management unit 20 determines whether or not the setting content of the relay process is changed according to the decision content of the transfer control unit 10 based on the received setting information and the decision information output by the self. Confirm.
  • the transfer management unit 20 confirms that the relay processing setting contents have been changed according to its own decision content, and provides the change completion information indicating that the relay processing setting content has been changed according to the decision content and the decision content. , Is transmitted to the server ECU and the client ECU via the transfer control unit 10.
  • the transfer management unit 20 changes the content of the target frame and outputs the changed target frame to the transfer control unit 10. More specifically, the transfer management unit 20 adds change completion information to the target frame to be output to the transfer control unit 10, and transmits the target frame including the change completion information to the server ECU and the client ECU via the transfer control unit 10. To do.
  • the vehicle speed sensor 111A which is a server ECU, receives the change completion information from the transfer management unit 20 via the transfer control unit 10, and starts transmitting the speed information to the automatic operation ECU 111C, which is a client ECU.
  • the vehicle speed sensor 111A sets the frequency of transmission of speed information to the automatic driving ECU 111C and the amount of data of speed information to be transmitted to the automatic driving ECU 111C based on the determination content indicated by the received change completion information.
  • Each device in the in-vehicle communication system includes a computer including a memory, and an arithmetic processing unit such as a CPU in the computer reads a program including a part or all of each step of the following flowchart and sequence from the memory and executes the program. ..
  • the programs of these plurality of devices can be installed from the outside. The programs of these plurality of devices are distributed in a state of being stored in a recording medium.
  • FIG. 8 is a flowchart defining an example of an operation procedure in which the relay device changes the relay processing setting in the in-vehicle communication system according to the embodiment of the present disclosure.
  • the relay device 100 listens for a frame from a functional unit in the vehicle-mounted network 12, for example, the vehicle-mounted ECU 111 (NO in step S102), receives the frame from the vehicle-mounted ECU 111 (YES in step S102), and receives the frame. It is determined whether or not the frame is the target frame. More specifically, the relay device 100 confirms the port number in the UDP header of the received frame, and the port number of the frame is the port number assigned in advance to the frame according to a predetermined communication protocol such as SOME / IP. If they match, it is determined that the received frame is the target frame (step S104).
  • a predetermined communication protocol such as SOME / IP
  • the relay device 100 determines that the received frame is not the target frame (NO in step S106)
  • the relay device 100 transmits the frame to the destination functional unit, for example, the in-vehicle ECU 111. That is, the relay device 100 relays the frame (step S108).
  • the relay device 100 waits for a new frame from the functional unit (NO in step S102).
  • the relay device 100 determines whether or not the target frame is a specific frame such as a communication setting frame and a service providing frame. More specifically, the transfer control unit 10 in the relay device 100 outputs the target frame to the transfer management unit 20.
  • the transfer control unit 10 includes the port information indicating the communication port 13 that the received target frame has passed through in the duplicated target frame and outputs the port information to the transfer management unit 20. Then, the transfer management unit 20 determines whether or not the target frame is a specific frame based on the information stored in the header of the target frame received from the transfer control unit 10 (step S110).
  • the relay device 100 determines that the target frame is not a specific frame (NO in step S112)
  • the relay device 100 transmits the target frame to the destination functional unit, for example, the in-vehicle ECU 111.
  • the transfer management unit 20 in the relay device 100 transmits the target frame to the destination functional unit, for example, the vehicle-mounted ECU 111 via the transfer control unit 10. That is, the relay device 100 relays the frame (step S108).
  • the relay device 100 determines that the target frame is a specific frame (YES in step S112)
  • the relay device 100 makes a determination regarding the setting change of the relay process based on the information included in the target frame. More specifically, for example, the transfer management unit 20 in the relay device 100 determines whether or not it is necessary to change the setting of the relay process in the transfer control unit 10 based on the information stored in the header of the service subscription availability frame or the service provision frame. Make a judgment and make a judgment regarding the content of the setting change. Alternatively, the transfer management unit 20 confirms the reception frequency of the service search frame via a certain communication port 13 based on the port information included in the target frame received from the transfer control unit 10, and transfers based on the confirmation result. The control unit 10 determines whether or not the relay processing setting needs to be changed and determines the content of the setting change (step S114).
  • the relay device 100 determines that it is not necessary to change the setting of the relay process (NO in step S116)
  • the relay device 100 transmits the target frame to the destination functional unit, for example, the in-vehicle ECU 111, or discards it (step S118). ..
  • the relay device 100 waits for a new frame from the functional unit (NO in step S102).
  • the relay device 100 determines that it is necessary to change the relay processing setting (YES in step S116)
  • the relay device 100 changes the relay processing setting. More specifically, the transfer management unit 20 in the relay device 100 determines the content of the setting change of the relay process in the transfer control unit 10, and notifies the transfer control unit 10 of the determined content.
  • the transfer control unit 10 changes the relay processing setting according to the decision content notified from the transfer management unit 20 (step S120).
  • the relay device 100 provides information based on the determination result regarding the relay processing setting change to the functional unit of the service provider related to the target frame and the service provider related to the target frame. Notify the functional part of. More specifically, the transfer management unit 20 in the relay device 100 confirms that the setting content of the relay process is changed according to the decision content notified to the transfer control unit 10 by itself, and according to the decision content and the decision content. The change completion information indicating that the setting contents of the relay processing have been changed is transmitted to each function unit via the transfer control unit 10 (step S122).
  • the relay device 100 transmits the target frame to the destination functional unit, for example, the in-vehicle ECU 111, or discards it (step S118).
  • the destination functional unit for example, the in-vehicle ECU 111
  • the relay device 100 waits for a new frame from the functional unit (NO in step S102).
  • step S122 information based on the determination result regarding the setting change of the relay processing is included in the target frame, and in the subsequent step S118, the target frame including the information is transmitted to the functional unit to provide the information to the service provider. You may notify the functional part of the above or the functional part of the service provider.
  • FIG. 9 is a diagram showing an example of a processing sequence for changing the setting of relay processing of frames transmitted and received between functional units in the in-vehicle communication system according to the embodiment of the present disclosure.
  • FIG. 9 shows a state in which the vehicle speed sensor 111A, which is a server ECU, provides a service to the engine ECU 111B, which is a client ECU.
  • the vehicle speed sensor 111A which is an example of the functional unit, transmits the service providing frame to the engine ECU 111B including the speed information to the relay device 100 at the timing when the speed information should be transmitted (step S202).
  • the relay device 100 receives the service providing frame from the vehicle speed sensor 111A, and transmits the received service providing frame to the engine ECU 111B which is an example of the functional unit. That is, the relay device 100 relays the service providing frame from the vehicle speed sensor 111A to the engine ECU 111B (step S204).
  • the automatic operation ECU 111C which is an example of the functional unit, transmits a service search frame, which is an example of the communication setting frame, to the relay device 100 (step S206).
  • the relay device 100 relays the service search frame received from the automatic driving ECU 111C to another vehicle-mounted ECU 111, for example, the vehicle speed sensor 111A (step S208).
  • the vehicle speed sensor 111A transmits a service provision notification frame, which is an example of the communication setting frame, to the relay device 100 as a response to the service search frame (step S210).
  • the relay device 100 relays the service provision notification frame received from the vehicle speed sensor 111A to the automatic driving ECU 111C (step S212).
  • the automatic operation ECU 111C transmits a service subscription request frame, which is an example of the communication setting frame, to the relay device 100 (step S214).
  • the relay device 100 relays the service subscription request frame received from the automatic driving ECU 111C to the vehicle speed sensor 111A (step S216).
  • the vehicle speed sensor 111A transmits to the relay device 100 a service subscription availability frame in which information indicating that the service subscription is permitted, which is an example of the communication setting frame, is stored (step S218). ).
  • the relay device 100 determines whether or not the setting of the relay process needs to be changed and determines the content of the setting change based on the information stored in the header of the service subscription availability frame received from the vehicle speed sensor 111A.
  • the setting is changed according to the result (step S220).
  • the relay device 100 relays the service subscription availability frame to the automatic operation ECU 111C (step S222).
  • the relay device 100 transmits a frame including the change completion information to the vehicle speed sensor 111A (step S224).
  • the relay device 100 transmits a frame including the change completion information to the automatic operation ECU 111C (step S226).
  • the vehicle speed sensor 111A transmits a service providing frame addressed to the engine ECU 111B and the automatic driving ECU 111C to the relay device 100 at the next transmission timing at which the speed information should be transmitted (step S228).
  • the relay device 100 receives the service providing frame from the vehicle speed sensor 111A, and transmits the received service providing frame to the engine ECU 111B and the automatic driving ECU 111C (step S230).
  • step S222 and step S226 may be combined as one step.
  • the relay device 100 may transmit a service subscription availability frame including change completion information to the automatic operation ECU 111C.
  • FIG. 10 is a diagram showing another example of a processing sequence for changing the setting of relay processing of frames transmitted and received between functional units in the in-vehicle communication system according to the embodiment of the present disclosure.
  • FIG. 10 shows a state in which the vehicle speed sensor 111A, which is a server ECU, provides a service to the engine ECU 111B, which is a client ECU.
  • the vehicle speed sensor 111A which is an example of the functional unit, transmits the service providing frame to the engine ECU 111B including the speed information to the relay device 100 at the timing when the speed information should be transmitted (step S302).
  • the relay device 100 receives the service providing frame from the vehicle speed sensor 111A, and transmits the received service providing frame to the engine ECU 111B which is an example of the functional unit. That is, the relay device 100 relays the service providing frame from the vehicle speed sensor 111A to the engine ECU 111B (step S304).
  • the automatic operation ECU 111C which is an example of the functional unit, repeatedly transmits the service search frame, which is an example of the communication setting frame, to the relay device 100 (step S306).
  • the relay device 100 relays the service search frame received from the automatic driving ECU 111C to another vehicle-mounted ECU 111, for example, the vehicle speed sensor 111A (step S308).
  • the automatic operation ECU 111C further transmits the service search frame to the relay device 100 (step S310).
  • the relay device 100 relays the frame from the automatic driving ECU 111C to the vehicle speed sensor 111A as a determination regarding the setting change of the relay processing. It is determined to stop, and the setting for stopping the reception of the frame via the communication port 13C is changed (step S312).
  • the automatic operation ECU 111C repeatedly transmits the service search frame to the relay device 100.
  • the relay device 100 does not receive the service search frame from the automatic operation ECU 111C after the setting is changed to stop the reception of the frame via the communication port 13C (step S314).
  • the vehicle speed sensor 111A transmits the service providing frame addressed to the engine ECU 111B to the relay device 100 at the next transmission timing at which the speed information should be transmitted (step S316).
  • the relay device 100 receives the service providing frame from the vehicle speed sensor 111A and transmits the received service providing frame to the engine ECU 111B (step S318).
  • FIG. 11 is a diagram showing a configuration of a modified example of the relay device according to the embodiment of the present disclosure.
  • the relay device 101 includes a transfer control unit 10, a transfer management unit 20, a storage unit 30, and a processing unit 40.
  • the processing unit 40 is an example of a functional unit in the in-vehicle network 12.
  • the processing unit 40 is connected to the communication port 13A of the transfer control unit 10.
  • the processing unit 40 acquires information such as speed information from the vehicle-mounted ECU 111 in the vehicle-mounted network 12, and transmits the acquired information to another vehicle-mounted ECU 111.
  • the processing unit 40 transmits and receives a communication setting frame for establishing a communication connection with the vehicle-mounted ECU 111 according to the SOME / IP protocol via the transfer control unit 10.
  • the processing unit 40 functions as a server, establishes a communication connection with the client ECU, and starts providing a service to the client ECU using a frame that follows the SOME / IP protocol. Specifically, the processing unit 40 periodically or irregularly transmits a service providing frame including information such as speed information to the vehicle-mounted ECU 111 via the transfer control unit 10.
  • the processing unit 40 functions as a client, establishes a communication connection with the server ECU, and receives a service from the server ECU using a frame that follows the SOME / IP protocol. Specifically, the processing unit 40 periodically or irregularly receives a service providing frame including information such as speed information from the vehicle-mounted ECU 111 via the transfer control unit 10.
  • the transfer control unit 10 relays the frames transmitted and received between the processing unit 40 and the vehicle-mounted ECU 111.
  • the transfer control unit 10 receives a specific target frame such as a communication setting frame and a service providing frame from the processing unit 40, and selectively outputs the received target frame to the transfer management unit 20.
  • the transfer control unit 10 receives a specific target frame such as a communication setting frame and a service providing frame from the vehicle-mounted ECU 111, and selectively outputs the received target frame to the transfer management unit 20.
  • the transfer control unit 10 is configured to output port information to the transfer management unit 20, but the present invention is not limited to this.
  • the transfer control unit 10 may be configured not to output the port information to the transfer management unit 20. Even in this case, the transfer management unit 20 can make a determination regarding the setting change of the relay processing according to the setting change example 1 or 3 described above.
  • the transfer management unit 20 is the provider of the content of the information for starting the provision of the service related to the communication setting frame and the service related to the communication setting frame.
  • the configuration is such that the transfer control unit 10 determines the setting change of the relay process based on the information about the functional unit or the information about the functional unit of the provision destination, but the present invention is not limited to this.
  • the transfer management unit 20 is configured to make a determination regarding a change in the relay processing setting in the transfer control unit 10 based on only the content of the information and either the functional unit of the provider or the functional unit of the provider. There may be.
  • the transfer management unit 20 sets the relay process in the transfer control unit 10 based on the contents of the header of the target frame transmitted / received according to the SOME / IP communication protocol.
  • the configuration is such that decisions regarding changes are made, but the configuration is not limited to this.
  • the transfer management unit 20 may be configured to make a determination regarding a setting change of the relay process in the transfer control unit 10 based on the contents of the header of the frame transmitted / received according to a communication protocol other than SOME / IP.
  • the transfer control unit 10 is configured to receive decision information from the transfer management unit 20 and change the setting of the relay process, but the present invention is limited to this. It's not a thing.
  • the transfer management unit 20 may determine that the relay processing setting is not changed. In this case, for example, the transfer management unit 20 transmits the decision information to the function unit via the transfer control unit 10.
  • the functional unit changes the settings related to the transmission of information to other functional units according to the decision information received from the transfer management unit 20.
  • the transfer control unit 10 is configured to change the setting of the relay process according to the determination contents in the storage unit 30 when the relay device 100 is activated.
  • the transfer control unit 10 may be configured so that the determination content in the storage unit 30 is not referred to when the relay device 100 is activated.
  • the storage unit 30 may be a memory including a volatile storage area and a non-volatile storage area.
  • the transfer control unit 10 changes the setting table in the volatile storage area of the storage unit 30 according to the decision information received from the transfer management unit 20 and then operates stably for a predetermined time
  • the transfer control unit 10 stores the changed setting table. It is stored in the non-volatile storage area of the unit 30.
  • the ID of the functional unit in the request ID field of the target frame is a predetermined ID, for example, the ID of the functional unit having a reliability of a predetermined value or more
  • the transfer control unit 10 stores the changed setting table in the storage unit 30. Store in the non-volatile storage area of.
  • the transfer management unit 20 is configured to notify the change completion information to the functional unit, for example, the in-vehicle ECU 111 via the transfer control unit 10, but the present invention is limited to this. It's not a thing.
  • the transfer management unit 20 may be configured not to notify the function unit of the change completion information.
  • the transfer management unit 20 has a configuration in which the content of the target frame is changed and the changed target frame is output to the transfer control unit 10. It is not limited to.
  • the transfer management unit 20 may be configured to output the target frame to the transfer control unit 10 without changing the content of the target frame.
  • the transfer control unit 10 relays the frames transmitted and received between the functional units.
  • the transfer control unit 10 is a frame that is transmitted and received according to a predetermined communication protocol, and is a frame that has information that can identify the request source of the service and information that can identify the content of the requested service. It receives from the functional unit and outputs the received target frame to the transfer management unit 20.
  • the transfer management unit 20 makes a determination regarding the setting change of the relay processing in the transfer control unit 10 based on the information included in the target frame received from the transfer control unit 10, and transfers the target frame according to the determination result. Output to unit 10 or discard the target frame.
  • the relay device 100 relays the frames transmitted and received between the functional units.
  • the functional unit relays a target frame which is a frame transmitted and received according to a predetermined communication protocol and which has information that can identify the request source of the service and information that can identify the content of the requested service. Send to 100.
  • the relay device 100 receives the target frame from the functional unit, determines the setting change of the relay process based on the information included in the received target frame, and determines other functional units of the target frame according to the determination result. Relay to or discard the target frame.
  • the vehicle-mounted communication method is a vehicle-mounted communication method in the relay device 100 used in the vehicle-mounted network 12 including a plurality of functional units.
  • the relay device 100 relays the frames transmitted and received between the functional units.
  • the relay device 100 makes a determination regarding the setting change of the relay process.
  • the relay device 100 is a frame transmitted and received according to a predetermined communication protocol, and identifies the information that can identify the request source of the service and the content of the requested service.
  • a target frame which is a frame having possible information, is received from the functional unit, a judgment regarding a setting change of relay processing is made based on the information included in the received target frame, and other than the target frame according to the judgment result. Relay to the functional part of or discard the target frame.
  • the frame between the functional units is changed according to the status of the service-oriented communication between the functional units. It is possible to make a judgment regarding the setting change of the relay processing of. As a result, for example, frames transmitted and received between the functional unit of the service provider and the functional unit of the service provider can be efficiently relayed.
  • the relay processing in the in-vehicle network can be performed more efficiently.
  • the transfer management unit 20 outputs the target frame to the transfer control unit 10 or discards the target frame, so that, for example, an unauthorized access from the functional unit is performed. Since target frames that should not be relayed to the functional unit, such as target frames, can be discarded, it is possible to prevent unauthorized target frames from being relayed to other functional units, improving security in the in-vehicle network. can do.
  • a functional unit that has been illegally accessed by a configuration and method in which the relay device relays or discards to another functional unit of the target frame Since it is possible to discard a target frame that should not be relayed to a functional part such as an illegal target frame from, it is possible to prevent the illegal target frame from being relayed to another functional part, and security in an in-vehicle network.
  • the sex can be improved.
  • a relay device used in an in-vehicle network that includes multiple functional units.
  • a transfer control unit that relays frames sent and received between the functional units, Equipped with a transfer management department
  • the transfer control unit is a frame that is transmitted / received according to the SOME / IP communication protocol, and is a frame having information that can identify the request source of the service and information that can identify the content of the requested service.
  • the frame is received from the functional unit, the received target frame is output to the transfer management unit, and the frame is output.
  • the transfer management unit Based on the information contained in the target frame received from the transfer control unit, the transfer management unit makes a determination regarding the setting change of the relay process in the transfer control unit, and the target frame is determined according to the determination result.
  • the transfer management unit provides a communication setting frame for establishing a communication connection between the functional units and a service for providing a service by the functional unit that provides the service.
  • a relay device that makes a determination regarding a setting change of relay processing in the transfer control unit based on at least one of the provided frames.
  • the relay device relays frames transmitted and received between the functional units, and relays the frames.
  • the functional unit is a frame that is transmitted and received according to a predetermined communication protocol, and is a frame having information that can identify the request source of the service and information that can identify the content of the requested service.
  • Send to the relay device The relay device receives the target frame from the functional unit, determines the setting change of the relay process based on the received information included in the target frame, and determines the setting change of the relay process according to the determination result.
  • the relay device notifies the functional unit of the service provider related to the target frame and the functional unit of the service provider of the target frame of information based on the determination result regarding the setting change.
  • the functional unit which is the provider of the service related to the target frame, starts providing the service to the functional unit to which the service related to the target frame is provided, based on the information notified from the relay device.
  • In-vehicle communication system In-vehicle communication system.
  • a relay device including a processor and a semiconductor integrated circuit used in an in-vehicle network including a plurality of functional units.
  • the semiconductor integrated circuit realizes a transfer control unit that relays and processes frames transmitted and received between the functional units.
  • the processor realizes a transfer management unit.
  • the transfer control unit is a frame that is transmitted and received according to a predetermined communication protocol, and is a frame that has information that can identify the request source of the service and information that can identify the content of the requested service. Received from the functional unit, output the received target frame to the transfer management unit, and output the received frame to the transfer management unit.
  • the transfer management unit Based on the information contained in the target frame received from the transfer control unit, the transfer management unit makes a determination regarding the setting change of the relay process in the transfer control unit, and the target frame is determined according to the determination result.
  • a relay device that outputs to the transfer control unit or discards the target frame.
  • the relay device relays frames transmitted and received between the vehicle-mounted ECUs, and relays the frames.
  • the in-vehicle ECU is a frame that is transmitted and received according to a predetermined communication protocol, and is a frame having information that can identify the request source of the service and information that can identify the content of the requested service.
  • Send to the relay device The relay device receives the target frame from the vehicle-mounted ECU, determines the setting change of the relay process based on the received information included in the target frame, and determines the target frame according to the determination result.
  • An in-vehicle communication system that relays to the other functional unit or discards the target frame.
  • a relay device used in an in-vehicle network that includes multiple functional units.
  • a relay unit that relays frames transmitted and received between the functional units, and a relay unit. Equipped with a relay management department
  • the relay unit is a frame that is transmitted and received according to a predetermined communication protocol, and is a frame having information that can identify the request source of the service and information that can identify the content of the requested service.
  • Received from the functional unit output the received target frame to the relay management unit,
  • the relay management unit determines the driving status of the vehicle based on the information included in the target frame received from the relay unit, and the relay processing in the relay unit is based on the determination result of the driving status of the vehicle.
  • a relay device that makes a determination regarding a change in the setting of the above and outputs the target frame to the relay unit or discards the target frame according to the determination result.
  • Vehicle 10 Transfer control unit 11 Ethernet cable 12 Vehicle-mounted network 13 Communication port 20 Transfer management unit 30 Storage unit 40 Processing unit 100
  • Relay device 101 Relay device 111A Vehicle speed sensor (vehicle-mounted ECU) 111B engine ECU (vehicle-mounted ECU) 111C automatic operation ECU (vehicle-mounted ECU) 112 Application 300 In-vehicle communication system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

中継装置は、複数の機能部間で送受信されるフレームを中継処理する中継部と、中継管理部とを備え、前記中継部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記中継管理部へ出力し、前記中継管理部は、前記中継部から受けた前記対象フレームに含まれる情報に基づいて、前記中継部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記中継部への出力または前記対象フレームの破棄を行う。

Description

中継装置、車載通信システム、車両および車載通信方法
 本開示は、中継装置、車載通信システム、車両および車載通信方法に関する。
 この出願は、2019年10月28日に出願された日本出願特願2019-195296号を基礎とする優先権を主張し、その開示のすべてをここに取り込む。
 特許文献1(特開2019-9559号公報)には、以下のようなサーバが開示されている。すなわち、サーバは、TCP/IPの通信プロトコルを使用する通信システム(10)に適用され、クライアント(40~44、50~54)の購読要求に応じてクライアントにサービスを提供するサーバ(20)であって、前記サービス毎に、前記サービスを受ける優先度が前記クライアントに対応して設定された優先度テーブル(32)を記憶しているように構成されたテーブル記憶部(30)と、前記クライアントから前記サービスの購読を要求されると、前記テーブル記憶部が記憶している前記優先度テーブルに基づいて、前記クライアントからの前記サービスの購読要求を許可するか否かを決定するように構成されたサービス決定部(26、S400~S410)と、を備える。
特開2019-9559号公報
 本開示の中継装置は、複数の機能部を含む車載ネットワークに用いられる中継装置であって、前記機能部間で送受信されるフレームを中継処理する中継部と、中継管理部とを備え、前記中継部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記中継管理部へ出力し、前記中継管理部は、前記中継部から受けた前記対象フレームに含まれる情報に基づいて、前記中継部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記中継部への出力または前記対象フレームの破棄を行う。
 本開示の車載通信システムは、複数の機能部と、中継装置とを備え、前記中継装置は、前記機能部間で送受信されるフレームを中継処理し、前記機能部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記中継装置へ送信し、前記中継装置は、前記対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う。
 本開示の車載通信方法は、複数の機能部を含む車載ネットワークに用いられる中継装置における車載通信方法であって、前記機能部間で送受信されるフレームを中継処理するステップと、前記中継処理の設定変更に関する判断を行うステップとを含み、前記中継処理の設定変更に関する判断を行うステップにおいては、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う。
 本開示の一態様は、このような特徴的な処理部を備える中継装置として実現され得るだけでなく、中継装置の一部または全部を実現する半導体集積回路として実現され得たり、中継装置における処理のステップをコンピュータに実行させるためのプログラムとして実現され得る。また、本開示の一態様は、このような特徴的な処理部を備える車載通信システムとして実現され得るだけでなく、かかる特徴的な処理をステップとする方法として実現され得たり、車載通信システムの一部または全部を実現する半導体集積回路として実現され得たり、車載通信システムにおける処理のステップをコンピュータに実行させるためのプログラムとして実現され得る。
図1は、本開示の実施の形態に係る車載通信システムの構成を示す図である。 図2は、本開示の実施の形態に係る車載ECUが送受信するフレームの一例を示す図である。 図3は、本開示の実施の形態に係る車載ECUが送受信するフレームの一例を示す図である。 図4は、本開示の実施の形態に係る中継装置の構成の一例を示す図である。 図5は、本開示の実施の形態に係る中継装置の記憶部におけるアドレステーブルの一例を示す図である。 図6は、本開示の実施の形態に係る中継装置の記憶部における設定テーブルの一例を示す図である。 図7は、本開示の実施の形態に係る中継装置の記憶部における設定テーブルの他の例を示す図である。 図8は、本開示の実施の形態に係る車載通信システムにおいて中継装置が中継処理の設定を変更する動作手順の一例を定めたフローチャートである。 図9は、本開示の実施の形態に係る車載通信システムにおける機能部間で送受信されるフレームの中継処理の設定を変更する処理のシーケンスの一例を示す図である。 図10は、本開示の実施の形態に係る車載通信システムにおける機能部間で送受信されるフレームの中継処理の設定を変更する処理のシーケンスの他の例を示す図である。 図11は、本開示の実施の形態に係る中継装置の変形例の構成を示す図である。
 近年、車載ネットワークへのサービス指向型通信の導入が進んでいる。
 [本開示が解決しようとする課題]
 特許文献1に記載の従来技術において、フレームの中継処理の効率の点でさらなる向上が求められている。従来技術を超えて、車載ネットワークにおける中継処理をより効率的に行うことが可能な技術が望まれる。
 本開示は、上述の課題を解決するためになされたもので、その目的は、車載ネットワークにおける中継処理をより効率的に行うことが可能な中継装置、車載通信システム、車両および車載通信方法を提供することである。
 [本開示の効果]
 本開示によれば、車載ネットワークにおける中継処理をより効率的に行うことができる。
 [本開示の実施形態の説明]
 最初に、本開示の実施形態の内容を列記して説明する。
 (1)本開示の実施の形態に係る中継装置は、複数の機能部を含む車載ネットワークに用いられる中継装置であって、前記機能部間で送受信されるフレームを中継処理する中継部と、中継管理部とを備え、前記中継部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記中継管理部へ出力し、前記中継管理部は、前記中継部から受けた前記対象フレームに含まれる情報に基づいて、前記中継部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記中継部への出力または前記対象フレームの破棄を行う。
 このように、対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行う構成により、たとえば、機能部間におけるサービス指向型通信の状況に応じて、当該機能部間におけるフレームの中継処理の設定変更に関する判断を行うことができる。これにより、たとえば、サービスの提供元の機能部およびサービスの提供先の機能部間において送受信されるフレームを効率的に中継することができる。したがって、車載ネットワークにおける中継処理をより効率的に行うことができる。
 (2)好ましくは、前記中継管理部は、前記対象フレームの内容を変更し、変更後の前記対象フレームを前記中継部へ出力する。
 このような構成により、たとえば、機能部へ通知すべき情報を対象フレームに追加し、中継部経由で当該対象フレームを当該機能部へ送信することにより、中継装置から機能部への情報の通知を効率的に行うことができる。
 (3)好ましくは、前記中継部は、前記中継装置が備える複数の通信ポートのうち、受信した前記対象フレームが経由した前記通信ポートを示すポート情報を前記中継管理部へ出力し、前記中継管理部は、前記中継部から受けた前記ポート情報にさらに基づいて、前記設定変更に関する判断を行う。
 このような構成により、ある機能部から対応の通信ポート経由で受信するフレームの受信頻度が所定値以上である場合、設定変更に関する判断として、たとえば当該機能部からのフレームの受信または中継を停止する判断を行うことができる。これにより、たとえば、不正アクセスされた機能部からの不正なフレームの受信または中継を停止することができるため、車載ネットワークのセキュリティを向上することができる。
 (4)好ましくは、前記中継管理部は、前記対象フレームに係るサービスの、提供元の前記機能部に関する情報または提供先の前記機能部に関する情報に基づいて、前記設定変更に関する判断を行う。
 このような構成により、機能部間におけるサービス指向型通信に伴ってサービスの提供元の機能部から提供先の機能部へ送信されるデータ量等に応じた通信帯域に基づいて、提供元の機能部および提供先の機能部間における通信帯域の設定変更に関する判断を行うことができる。
 (5)好ましくは、前記中継管理部は、前記対象フレームに係るサービスの提供を開始するための情報の内容に基づいて、前記設定変更に関する判断を行う。
 このような構成により、機能部間におけるサービス指向型通信の開始に伴って、提供元の機能部および提供先の機能部間における通信帯域の設定変更の要否の判断を行うことができる。
 (6)好ましくは、前記中継管理部は、前記対象フレームの異常の検知を行い、検知結果に基づいて、前記設定変更に関する判断を行う。
 このような構成により、対象フレームにおける異常の検知結果に基づいて、たとえば機能部間におけるフレームの中継を停止する判断を行うことができる。
 (7)好ましくは、前記中継管理部は、SOME/IPの通信プロトコルに従って送受信される前記対象フレームのヘッダの内容に基づいて、前記設定変更に関する判断を行う。
 このような構成により、SOME/IPの通信プロトコルに従うサービス指向型通信を行う機能部間において、中継処理をより効率的に行うことができる。
 (8)好ましくは、前記中継管理部は、前記設定変更の内容を決定し、決定内容を前記中継部に通知し、前記中継部は、前記中継管理部から通知された前記決定内容に従って、前記中継処理に関する設定を変更する。
 このような構成により、たとえば、対象フレームに含まれる情報に応じて中継装置の設定変更を動的に行うことができるため、車載ネットワークにおける中継処理をより一層効率的に行うことができる。
 (9)より好ましくは、前記中継装置は、さらに、前記決定内容を不揮発的に記憶する記憶部を備え、前記中継部は、前記中継装置が起動したときに、前記記憶部における前記決定内容に従って、前記中継処理に関する設定を変更する。
 このような構成により、中継装置の再起動が行われた場合に、記憶部における決定内容に従って、安定した中継処理を早期に行うことができる。
 (10)好ましくは、前記中継管理部は、前記設定変更に関する判断結果に基づく情報を前記中継部経由で、前記対象フレームに係るサービスの提供元の前記機能部または前記対象フレームに係るサービスの提供先の前記機能部へ通知する。
 このような構成により、設定変更に関する判断結果に基づいて、たとえば、機能部間におけるデータ伝送の頻度およびデータ量等の変更を機能部へ要求することができる。
 (11)本開示の実施の形態に係る車載通信システムは、複数の機能部と、中継装置とを備え、前記中継装置は、前記機能部間で送受信されるフレームを中継処理し、前記機能部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記中継装置へ送信し、前記中継装置は、前記対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う。
 このように、対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行う構成により、たとえば、機能部間におけるサービス指向型通信の状況に応じて、当該機能部間におけるフレームの中継処理の設定変更に関する判断を行うことができる。これにより、たとえば、サービスの提供元の機能部およびサービスの提供先の機能部間において送受信されるフレームを効率的に中継することができる。したがって、車載ネットワークにおける中継処理をより効率的に行うことができる。
 (12)本開示の実施の形態に係る車両は、前記車載通信システムを備える。
 このような構成により、車載通信システムを備える車両において、車載ネットワークにおける中継処理をより効率的に行うことができる。
 (13)本開示の実施の形態に係る車載通信方法は、複数の機能部を含む車載ネットワークに用いられる中継装置における車載通信方法であって、前記機能部間で送受信されるフレームを中継処理するステップと、前記中継処理の設定変更に関する判断を行うステップとを含み、前記中継処理の設定変更に関する判断を行うステップにおいては、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う。
 このように、対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行う方法により、たとえば、機能部間におけるサービス指向型通信の状況に応じて、当該機能部間におけるフレームの中継処理の設定変更に関する判断を行うことができる。これにより、たとえば、サービスの提供元の機能部およびサービスの提供先の機能部間において送受信されるフレームを効率的に中継することができる。したがって、車載ネットワークにおける中継処理をより効率的に行うことができる。
 以下、本開示の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。
 [車載通信システム]
 図1は、本開示の実施の形態に係る車載通信システムの構成を示す図である。
 図1を参照して、車載通信システム300は、複数の車載ECU(Electronic Control Unit)111と、中継装置100とを備える。具体的には、車載通信システム300は、車載ECU111として、車載ECU111A~111Cを備える。車載通信システム300は、車両1に搭載される。車載ECU111および中継装置100は、車載ネットワーク12を構成する。中継装置100は、複数の車載ECU111を含む車載ネットワーク12に用いられる。
 車載ECU111Aは、アプリケーション112Aを含む。車載ECU111Bは、アプリケーション112Bを含む。車載ECU111Cは、アプリケーション112Cを含む。以下、アプリケーション112A,112B,112Cの各々をアプリケーション112とも称する。
 車載ECU111およびアプリケーション112は、車載ネットワーク12における機能部の一例である。
 車載ネットワーク12において、車載ECU111は、たとえばイーサネット(登録商標)ケーブル11を介して中継装置100に接続される。
 なお、車載通信システム300は、3つの車載ECU111を備える構成に限らず、2つまたは4つ以上の車載ECU111を備える構成であってもよい。また、車載通信システム300は、1つの車載ECU111に1つのアプリケーション112が搭載される構成に限らず、1つの車載ECU111に2つ以上のアプリケーション112が搭載される構成であってもよい。
 また、車載通信システム300は、1つの中継装置100を備える構成に限らず、2つ以上の中継装置100を備える構成であってもよい。
 中継装置100は、たとえば、ゲートウェイ装置であり、自己に接続される複数の車載ECU111間のデータを中継可能である。中継装置100は、たとえば、レイヤ2、およびレイヤ2よりも上位のレイヤ3に従って中継処理を行うことが可能であり、たとえば、同じVLANに属する車載ECU111間のフレームの中継処理および異なるVLANに属する車載ECU111間のフレームの中継処理を行う。
 より詳細には、中継装置100は、たとえばイーサネットの通信規格に従って、イーサネットケーブル11を介して接続された車載ECU111間でやり取りされるフレームの中継処理を行う。以下、イーサネットの通信規格に従うフレームをイーサネットフレームと称する。イーサネットフレームには、IPパケットが格納される。
 なお、車載通信システム300では、イーサネットの通信規格に従ってイーサネットフレームの中継がそれぞれ行われる構成に限らず、たとえば、CAN(Controller Area Network)、FlexRay(登録商標)、MOST(Media Oriented Systems Transport)(登録商標)およびLIN(Local Interconnect Network)等の通信規格に従ってデータの中継が行われる構成であってもよい。
 車載ECU111は、たとえば、自動運転ECU、エンジンECU、センサ、ナビゲーション装置、ヒューマンマシンインタフェース、およびカメラ等である。
 この例では、車載ECU111A,111B,111Cは、それぞれ車速センサ、エンジンECUおよび自動運転ECUである。
 以下、車載ECU111A,111B,111Cを、それぞれ車速センサ111A、エンジンECU111Bおよび自動運転ECU111Cとも称する。
 各アプリケーション112は、たとえば、アプリケーションレイヤの処理を行なうことにより、自己が搭載される車載ECU111において所定の処理を行う。たとえば、車速センサ111Aにおけるアプリケーション112Aは、所定周期で、車両1の走行速度を示す速度情報を生成する。
 たとえば、車速センサ111Aは、定期的または不定期に、車両1の速度を示す速度情報をフレームに含めて他の車載ECU111へ送信する。
 エンジンECU111Bは、中継装置100経由で車載ECU111Aから速度情報を受信し、受信した速度情報等に基づいてエンジンを制御する。
 自動運転ECU111Cは、中継装置100経由で車載ECU111Aから速度情報を受信し、受信した速度情報等に基づいて車両1の自動運転制御を行う。
 すなわち、車速センサ111Aは、速度情報を通知するというサービスを提供するサーバECUである。また、エンジンECU111Bおよび自動運転ECU111Cは、車速センサ111Aからサービスの提供を受けるクライアントECUである。
 [機能部間の通信接続]
 各機能部は、所定のプロトコルに従うフレームを送受信する。たとえば、車載ECU111は、SOME/IP(Scalable Service-Oriented Middleware on Ethernet/Internet Protocol)のプロトコルに従うフレームを送受信する。
 図2は、本開示の実施の形態に係る車載ECUが送受信するフレームの一例を示す図である。図2は、車載ECU111間で送受信される、SOME/IPのプロトコルに従うフレームの一例を示している。
 図2を参照して、SOME/IPのプロトコルに従うフレームのヘッダは、メッセージID、Length、リクエストID、Protocol Version、Interface Version、Message Type、Return Code、Flags、Reserve、Length of Entries Array、Entries Array、Length of Options ArrayおよびOptions Arrayのフィールドを有する。
 図3は、本開示の実施の形態に係る車載ECUが送受信するフレームの一例を示す図である。図3は、図2に示すフレームのEntries Arrayフィールドの詳細を示している。
 図3を参照して、SOME/IPのプロトコルに従うフレームのEntries Arrayのフィールドは、Type、Index 1st options、Index 2st options、# of opt 1、# of opt 2、Service ID、Instance ID、Major Version、TTL(Time To Live)、Reserve、Initial Data Requested Flag、Reserve2、CounterおよびEventgroupのフィールドを有する。
 車載ECU111は、SOME/IPのプロトコルに従う、他の車載ECU111との通信接続を確立するためのフレームである通信設定フレームを中継装置100経由で送受信する。
 車載ECU111は、通信設定フレームを中継装置100経由で送受信することにより他の車載ECU111との通信接続を確立すると、SOME/IPのプロトコルに従うフレームを用いて当該他の車載ECU111と通信を行う。たとえば、サーバECUは、クライアントECUとの通信接続を確立すると、SOME/IPのプロトコルに従うフレームを用いて当該クライアントECUへのサービスの提供を開始する。
 サーバECUおよびクライアントECU間で送受信される通信設定フレームにおけるリクエストIDのフィールドには、サービスの要求元であるクライアントECUを識別可能な情報が格納される。より詳細には、リクエストIDのフィールドには、クライアントECUのMACアドレスが格納される。
 サーバECUおよびクライアントECU間で送受信される通信設定フレームにおけるメッセージIDのフィールドには、サーバECUによるサービスの内容を識別可能な情報が格納される。より詳細には、メッセージIDのフィールドには、サーバECUが提供するサービスの内容を示す情報が格納される。
 たとえば、クライアントECUである自動運転ECU111Cは、新たな車載ECU111として車載ネットワーク12に追加されると、速度情報を送信可能なサーバECUを検索中である旨の情報を含む、通信設定フレームの一例であるサービス探索フレームを生成し、生成したサービス探索フレームを中継装置100経由で他の車載ECU111へマルチキャストする。
 サーバECUである車速センサ111Aは、中継装置100経由で自動運転ECU111Cからサービス探索フレームを受信し、自己のMACアドレスおよび自己が速度情報を送信可能である旨の情報を含む、通信設定フレームの一例であるサービス提供通知フレームを生成し、生成したサービス提供通知フレームを、サービス探索フレームに対する応答として中継装置100経由で自動運転ECU111Cへ送信する。
 自動運転ECU111Cは、中継装置100経由で車速センサ111Aからサービス提供通知フレームを受信し、自己のIDおよび速度情報の送信を要求する旨の情報を含む、通信設定フレームの一例であるサービス購読要求フレームを生成し、生成したサービス購読要求フレームを中継装置100経由で車速センサ111Aへ送信する。
 車速センサ111Aは、中継装置100経由で自動運転ECU111Cからサービス購読要求フレームを受信し、受信したサービス購読要求フレームに含まれる自動運転ECU111CのID等に基づいて、自動運転ECU111Cによるサービス購読を許可するか否か、すなわち自動運転ECU111Cへの速度情報の送信を開始するか否かを決定する。
 そして、車速センサ111Aは、決定内容を示す情報を含む、通信設定フレームの一例であるサービス購読可否フレームを生成し、生成したサービス購読可否フレームを、サービス購読要求フレームに対する応答として中継装置100経由で自動運転ECU111Cへ送信する。
 車速センサ111Aは、自動運転ECU111Cへのサービスの提供を開始することを決定した場合、定期的または不定期に、SOME/IPのプロトコルに従う、サービスを提供するためのフレームであるサービス提供フレームを中継装置100経由で自動運転ECU111Cへ送信する。より詳細には、車速センサ111Aは、定期的または不定期に、速度情報を含むサービス提供フレームを中継装置100経由で自動運転ECU111Cへ送信する。
 [中継装置]
 図4は、本開示の実施の形態に係る中継装置の構成の一例を示す図である。
 図4を参照して、中継装置100は、転送制御部10と、転送管理部20と、記憶部30とを備える。転送制御部10は、通信ポート13A,13B,13C,13Dを含む。転送制御部10は、中継部の一例である。転送管理部20は、中継管理部の一例である。
 転送制御部10は、たとえば、半導体集積回路によって実現される。転送管理部20は、たとえば、CPU(Central Processing Unit)およびDSP(Digital Signal Processor)等のプロセッサによって実現される。記憶部30は、たとえばフラッシュメモリである。
 通信ポート13A,13B,13C,13Dは、たとえば入出力ポートである。以下、通信ポート13A,13B,13C,13Dの各々を、通信ポート13とも称する。
 図1および図4に示す例では、通信ポート13Aに配線パターンおよびイーサネットケーブル11を介して車速センサ111Aが接続され、通信ポート13Bに配線パターンおよびイーサネットケーブル11を介してエンジンECU111Bが接続され、通信ポート13Cに配線パターンおよびイーサネットケーブル11を介して自動運転ECU111Cが接続され、通信ポート13Dに配線パターンを介して転送管理部20が接続される。なお、通信ポート13A,13B,13Cは、中継装置100の外部コネクタ等であってもよい。
 [転送制御部]
 転送制御部10は、機能部間で送受信されるフレームを中継処理する。より詳細には、転送制御部10は、車載ECU111から対応の通信ポート13経由で他の車載ECU111宛のフレームを受信し、当該フレームを対応の通信ポート経由で当該他の車載ECU111へ送信する。
 たとえば、記憶部30は、通信ポート13と、通信ポート13を介して接続される装置のMACアドレスとを対応付けたアドレステーブルを記憶している。
 図5は、本開示の実施の形態に係る中継装置の記憶部におけるアドレステーブルの一例を示す図である。
 図5を参照して、アドレステーブルにおいて、たとえば、車速センサ111AのMACアドレスが「MAC-A」であり、エンジンECU111BのMACアドレスが「MAC-B」であり、自動運転ECU111CのMACアドレスが「MAC-C」であり、転送管理部20のMACアドレスが「MAC-D」である。
 転送制御部10は、通信ポート13A経由で車速センサ111Aから受信したフレームの宛先MACアドレスがMAC-Bである場合、記憶部30におけるアドレステーブルに従って、MAC-Bに対応する通信ポート13B経由で当該フレームをエンジンECU111Bへ送信する。
 たとえば、記憶部30は、転送制御部10において中継処理される通信ポート13間のフレームのシェーピングレートを示す設定テーブルを記憶している。
 図6は、本開示の実施の形態に係る中継装置の記憶部における設定テーブルの一例を示す図である。
 転送制御部10は、記憶部30における設定テーブルに従って、車載ECU111間で送受信されるフレームを中継処理する。
 図6を参照して、たとえば、転送制御部10は、通信ポート13A経由で車速センサ111AからエンジンECU111B宛のフレームを受信し、記憶部30における設定テーブルに従って、31Mbpsのシェーピングレートで、通信ポート13B経由で当該フレームをエンジンECU111Bへ送信する。
 また、転送制御部10は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを機能部から受信し、受信した対象フレームを選択的に転送管理部20へ出力する。
 たとえば、転送制御部10は、機能部から受信した対象フレームを他の機能部へ中継することなく、当該対象フレームを転送管理部20へ出力する。
 より詳細には、転送制御部10は、通信ポート13C経由で自動運転ECU111Cから車速センサ111A宛のフレームを受信し、受信したフレームの、たとえばUDPヘッダのポート番号を確認する。転送制御部10は、当該フレームのポート番号が、SOME/IPのプロトコルに従うフレームに予め割り当てられているポート番号と一致する場合、受信したフレームは対象フレームであると判断する。なお、転送制御部10は、受信したフレームのMACアドレスまたはIPアドレスに基づいて、当該フレームが対象フレームであるか否かを判断する構成であってもよい。
 転送制御部10は、受信したフレームが対象フレームであると判断した場合、当該対象フレームの宛先MACアドレスを転送管理部20のMACアドレスであるMAC-Dに書き換える。そして、転送制御部10は、記憶部30におけるアドレステーブルに従って、当該対象フレームを通信ポート13D経由で転送管理部20へ出力する。
 一方、転送制御部10は、受信したフレームが対象フレームではないと判断した場合、記憶部30におけるアドレステーブルに従って、当該フレームを、通信ポート13A経由で車速センサ111Aへ送信する。
 たとえば、転送制御部10は、中継装置100における複数の通信ポート13のうち、受信した対象フレームが経由した通信ポート13を示すポート情報を転送管理部20へ出力する。
 具体的には、転送制御部10は、通信ポート13C経由で自動運転ECU111Cから受信した車速センサ111A宛のフレームが対象フレームであると判断した場合、通信ポート13C経由で当該対象フレームを受信したことを示すポート情報を生成し、生成したポート情報を当該対象フレームに含めて転送管理部20へ出力する。
 [転送管理部]
 転送管理部20は、転送制御部10から受けた対象フレームに含まれる情報に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。具体的には、転送管理部20は、設定変更に関する判断として、設定変更の要否の判断および設定変更の内容に関する判断を行う。
 より詳細には、転送管理部20は、転送制御部10から受けた対象フレームのヘッダにおけるメッセージIDに基づいて、当該対象フレームが通信設定フレームおよびサービス提供フレーム等の特定のフレームであるか否かを判断する。
 転送管理部20は、転送制御部10から受けた対象フレームが特定のフレームであると判断した場合、当該対象フレームに基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 たとえば、転送管理部20は、SOME/IPの通信プロトコルに従って送受信される対象フレームのヘッダの内容に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 (設定変更の例1)
 たとえば、転送管理部20は、通信設定フレームに係るサービスの提供を開始するための情報の内容に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 より詳細には、車載ECU111間で送受信される通信設定フレームのEntries ArrayにおけるTypeのフィールドには、通信設定フレームに係るサービスの提供を開始するための情報が格納される。
 たとえば、サーバECUからクライアントECUへ送信される通信設定フレームたとえばサービス購読可否フレームのTypeのフィールドには、サーバECUがクライアントECUによるサービス購読を許可したか否かを示す情報が格納される。
 転送管理部20は、転送制御部10から受けたサービス購読可否フレームのTypeのフィールドに格納された情報に基づいて、サーバECUがクライアントECUによるサービス購読を許可したか否かを確認し、確認結果に応じて、転送制御部10における中継処理の設定変更の要否の判断を行う。
 具体的には、転送管理部20は、サーバECUがクライアントECUのサービス購読を許可する旨を示す情報が格納されたサービス購読可否フレームを転送制御部10から受けた場合、転送制御部10における中継処理の設定変更が必要であると判断する。一方、転送管理部20は、サーバECUがクライアントECUのサービス購読を許可しない旨を示す情報が格納されたサービス購読可否フレームを転送制御部10から受けた場合、転送制御部10における中継処理の設定変更は不要であると判断する。
 また、たとえば、転送管理部20は、通信設定フレームに係るサービスの、提供元の機能部に関する情報または提供先の機能部に関する情報に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 より詳細には、転送管理部20は、転送制御部10から受けた通信設定フレームのメッセージIDのフィールドに格納された情報に基づいて、サーバECUからクライアントECUへのサービスの提供の開始後にサーバECUおよびクライアントECU間で送受信されるデータの中継処理を行うために転送制御部10において必要な通信帯域を特定する。
 具体的には、転送管理部20は、転送制御部10から受けた通信設定フレームたとえばサービス購読可否フレームのメッセージIDのフィールドを確認する。
 そして、転送管理部20は、サービス購読可否フレームにおける上記メッセージIDに基づいて、サーバECUである車速センサ111AからクライアントECUである自動運転ECU111Cへのサービスの提供が開始されることを認識した場合、車速センサ111Aから送信される自動運転ECU111C宛の速度情報の中継処理を行うために転送制御部10において確保すべき通信帯域を特定する。
 たとえば、記憶部30は、サーバECUからクライアントECUへのサービスの提供に伴ってサーバECUおよびクライアントECU間で送受信されるフレームの中継処理を行うために確保すべき通信帯域を示す必要帯域情報を記憶している。
 転送管理部20は、記憶部30における必要帯域情報に基づいて、車速センサ111Aから送信される自動運転ECU111C宛の速度情報の中継処理を行うために転送制御部10において確保すべき通信帯域を特定する。
 たとえば、転送管理部20は、転送制御部10における中継処理の設定変更の内容を決定し、決定内容を転送制御部10に通知する。
 転送制御部10は、転送管理部20から通知された決定内容に従って、中継処理の設定変更を行う。
 具体的には、転送管理部20は、転送制御部10における中継処理の設定変更の内容として、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを変更すること、すなわち当該シェーピングレートを30Mbps高めることを決定し、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを30Mbps高めるべき旨を示す決定情報を転送制御部10へ出力する。
 図7は、本開示の実施の形態に係る中継装置の記憶部における設定テーブルの他の例を示す図である。
 図7を参照して、転送制御部10は、転送管理部20から決定情報を受けると、受けた決定情報に従って、記憶部30における設定テーブルにおいて、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを31Mbpsに変更する。
 転送制御部10は、記憶部30における変更後の設定テーブルに従って、車載ECU111間で送受信されるフレームを中継処理する。
 転送制御部10は、転送管理部20から受けた決定情報に従って記憶部30における設定テーブルを更新するので、次回の中継装置100の再起動時すなわち中継装置100が停止状態から起動するときに、記憶部30における決定内容に従って、中継処理の設定変更を行うことができる。
 なお、転送管理部20は、通信設定フレームに係るサービスの提供を開始するための情報の内容に基づいて、車両1の運転状況を判断し、車両1の運転状況の判断結果に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であってもよい。
 より詳細には、転送管理部20は、サーバECUである車速センサ111AからクライアントECUである自動運転ECU111Cへのサービスの提供が開始されることを認識した場合、車両1の運転状況が手動運転から自動運転に切り替わると判断し、判断結果に基づいて、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを、予め設定された、自動運転モードにおけるシェーピングレートに変更する。このように、車両1の運転状況に応じて、中継処理の設定変更を行うことにより、フレームをより効率的に中継することができる。
 (設定変更の例2)
 たとえば、転送管理部20は、転送制御部10から受けたポート情報にさらに基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 より詳細には、転送管理部20は、転送制御部10から受けたポート情報に基づいて、通信ポート13ごとに、受信した対象フレームの受信頻度を確認する。
 そして、転送管理部20は、たとえば、通信ポート13Cを経由した対象フレームの受信頻度が所定値以上である場合、転送制御部10における中継処理の設定変更の内容として、通信ポート13Cを経由したフレームの受信を停止することを決定し、通信ポート13Cを経由したフレームの受信を停止すべき旨を示す決定情報を転送制御部10へ出力する。
 転送制御部10は、転送管理部20から決定情報を受けると、受けた決定情報に従って、通信ポート13Cと内部回路との電気的な接続を切断する等の、自動運転ECU111Cからの通信ポート13C経由でのフレームの受信を停止する設定を行う。
 (設定変更の例3)
 たとえば、転送管理部20は、対象フレームの異常の検知を行い、検知結果に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う。
 より詳細には、転送管理部20は、転送制御部10から受けた対象フレームたとえばサービス提供フレームのEntries ArrayにおけるTTLのフィールドに格納された情報に基づいて、サーバECUからクライアントECUへのサービスの有効期間が満了したことを、対象フレームの異常として検知する。
 転送管理部20は、転送制御部10から受けたサービス提供フレームにおけるTTLに基づいて、サーバECUからクライアントECUへのサービスの有効期間が満了したことを認識する。
 具体的には、転送管理部20は、車速センサ111Aから自動運転ECU111C宛のサービス提供フレームにおけるTTLに基づいて、車速センサ111Aから自動運転ECU111Cへのサービスの有効期間が満了したことを認識した場合、転送制御部10における中継処理の設定変更の内容として、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを30Mbps下げることを決定する。
 そして、転送管理部20は、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを30Mbps下げるべきことを示す決定情報を転送制御部10へ出力する。
 転送制御部10は、転送管理部20から決定情報を受けると、受けた決定情報に従って、記憶部30における設定テーブルにおいて、図6に示すように、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを1Mbpsに変更する。
 なお、転送管理部20は、通信設定フレームに係るサービスの提供を開始するための情報の内容に基づいて、車両1の運転状況を判断し、車両1の運転状況の判断結果に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であってもよい。
 より詳細には、転送管理部20は、サーバECUである車速センサ111AからクライアントECUである自動運転ECU111Cへのサービスの有効期間が満了したことを認識した場合、車両1の運転状況が自動運転から手動運転に切り替わると判断し、判断結果に基づいて、通信ポート13Aから通信ポート13Cへフレームを中継する際のシェーピングレートを、予め設定された、手動運転モードにおけるシェーピングレートに変更する。このように、車両1の運転状況に応じて、中継処理の設定変更を行うことにより、フレームをより効率的に中継することができる。
 転送管理部20は、上述した設定変更の例1、例2および例3のうち少なくともいずれか1つに従って、転送制御部10における中継処理の設定変更に関する判断を行う。
 (対象フレームの中継または破棄)
 転送管理部20は、対象フレームの転送制御部10への出力または対象フレームの破棄を行う。
 より詳細には、転送管理部20は、対象フレームに基づいて、転送制御部10における中継処理の設定変更に関する判断を行うと、判断結果に応じて、当該対象フレームを転送制御部10経由で機能部へ送信するか、または破棄する。
 (対象フレームを破棄する場合の具体例)
 たとえば、転送管理部20は、転送制御部10から受けたポート情報に基づいて、転送制御部10における中継処理の設定変更に関する判断を行い、判断結果に応じて、対象フレームを転送制御部10経由で機能部へ送信するか、または破棄する。
 より詳細には、転送管理部20は、転送制御部10から受けたポート情報に基づいて、受信した対象フレームの受信頻度を確認した結果、転送制御部10における中継処理の設定変更の内容として、たとえば通信ポート13Cを経由したフレームの受信を停止することを決定した場合、当該対象フレームを破棄する。
 また、たとえば、転送管理部20は、対象フレームの異常の検知結果に基づいて、転送制御部10における中継処理の設定変更に関する判断を行い、判断結果に応じて、対象フレームを転送制御部10経由で機能部へ送信するか、または破棄する。
 より詳細には、転送制御部10から受けた対象フレームたとえばサービス提供フレームのEntries ArrayにおけるTTLのフィールドに格納された情報に基づいて、サーバECUからクライアントECUへのサービスの有効期間が満了したことを検知した場合、当該サービス提供フレームを破棄する。
 (対象フレームを中継する場合の具体例)
 たとえば、転送管理部20は、対象フレームを破棄しない場合、当該対象フレームを転送制御部10経由で機能部へ送信する。
 より詳細には、記憶部30は、レイヤ3の中継処理に用いるIPアドレスとMACアドレスとの対応関係を示す対応情報を記憶している。
 転送管理部20は、対象フレームを転送制御部10経由で機能部へ送信する場合、記憶部30における対応情報に基づいて、当該対象フレームのIPアドレスに対応するMACアドレスを特定する。そして、転送管理部20は、当該対象フレームの宛先MACアドレスを、特定したMACアドレスに書き換える。
 転送管理部20は、対象フレームの宛先MACアドレスを書き換えると、当該対象フレームを転送制御部10へ出力する。
 転送制御部10は、通信ポート13D経由で転送管理部20から対象フレームを受けると、記憶部30におけるアドレステーブルに従って、受けた対象フレームを、当該対象フレームの宛先MACアドレスに対応する通信ポート13経由で機能部へ送信する。
 (機能部への通知)
 たとえば、転送管理部20は、転送制御部10における中継処理の設定変更に関する判断結果に基づく情報を、転送制御部10経由で、通信設定フレームに係るサービスの提供元の機能部および通信設定フレームに係るサービスの提供先の機能部の少なくともいずれか一方へ通知する。
 より詳細には、転送管理部20は、決定情報を転送制御部10へ出力してから所定時間経過後、現在の中継処理の設定内容を転送制御部10に問い合わせるための設定内容要求を転送制御部10へ出力する。
 転送制御部10は、転送管理部20から設定内容要求を受けると、現在の中継処理の設定内容を示す設定情報を転送管理部20へ出力する。具体的には、たとえば、転送制御部10は、記憶部30における設定テーブルを取得し、取得した設定テーブルの内容を示す設定情報を転送管理部20へ出力する。
 転送管理部20は、転送制御部10から設定情報を受けると、受けた設定情報および自己が出力した決定情報に基づいて、自己の決定内容に従って中継処理の設定内容が変更されているか否かを確認する。
 転送管理部20は、自己の決定内容に従って中継処理の設定内容が変更されていることを確認し、当該決定内容および当該決定内容に従って中継処理の設定内容が変更された旨を示す変更完了情報を、転送制御部10経由でサーバECUおよびクライアントECUへ送信する。
 たとえば、転送管理部20は、対象フレームの内容を変更し、変更後の対象フレームを転送制御部10へ出力する。より詳細には、転送管理部20は、転送制御部10へ出力すべき対象フレームに変更完了情報を追加し、変更完了情報を含む対象フレームを転送制御部10経由でサーバECUおよびクライアントECUへ送信する。
 たとえば、サーバECUである車速センサ111Aは、転送制御部10経由で転送管理部20から変更完了情報を受信し、クライアントECUである自動運転ECU111Cへの速度情報の送信を開始する。たとえば、車速センサ111Aは、受信した変更完了情報が示す決定内容に基づいて、自動運転ECU111Cへの速度情報の送信頻度、および自動運転ECU111Cへ送信する速度情報のデータ量を設定する。
 [動作の流れ]
 車載通信システムにおける各装置は、メモリを含むコンピュータを備え、当該コンピュータにおけるCPU等の演算処理部は、以下のフローチャートおよびシーケンスの各ステップの一部または全部を含むプログラムを当該メモリから読み出して実行する。これら複数の装置のプログラムは、それぞれ、外部からインストールすることができる。これら複数の装置のプログラムは、それぞれ、記録媒体に格納された状態で流通する。
 図8は、本開示の実施の形態に係る車載通信システムにおいて中継装置が中継処理の設定を変更する動作手順の一例を定めたフローチャートである。
 図8を参照して、まず、中継装置100は、車載ネットワーク12における機能部たとえば車載ECU111からのフレームを待ち受け(ステップS102でNO)、車載ECU111からフレームを受信し(ステップS102でYES)、受信したフレームが対象フレームであるか否かを判断する。より詳細には、中継装置100は、受信したフレームのUDPヘッダにおけるポート番号を確認し、当該フレームのポート番号が、SOME/IP等の所定の通信プロトコルに従うフレームに予め割り当てられているポート番号と一致する場合、受信したフレームは対象フレームであると判断する(ステップS104)。
 中継装置100は、受信したフレームが対象フレームではないと判断した場合(ステップS106でNO)、当該フレームを宛先の機能部たとえば車載ECU111へ送信する。すなわち、中継装置100は、当該フレームを中継処理する(ステップS108)。
 次に、中継装置100は、機能部からの新たなフレームを待ち受ける(ステップS102でNO)。
 一方、中継装置100は、受信したフレームが対象フレームであると判断した場合(ステップS106でYES)、対象フレームが通信設定フレームおよびサービス提供フレーム等の特定のフレームであるか否かを判断する。より詳細には、中継装置100における転送制御部10は、対象フレームを転送管理部20へ出力する。たとえば、転送制御部10は、受信した対象フレームが経由した通信ポート13を示すポート情報を、複製した当該対象フレームに含めて転送管理部20へ出力する。そして、転送管理部20は、転送制御部10から受けた対象フレームのヘッダに格納された情報に基づいて、当該対象フレームが特定のフレームであるか否かを判断する(ステップS110)。
 次に、中継装置100は、対象フレームが特定のフレームではないと判断した場合(ステップS112でNO)、当該対象フレームを宛先の機能部たとえば車載ECU111へ送信する。より詳細には、中継装置100における転送管理部20は、転送制御部10経由で対象フレームを宛先の機能部たとえば車載ECU111へ送信する。すなわち、中継装置100は、当該フレームを中継処理する(ステップS108)。
 一方、中継装置100は、対象フレームが特定のフレームであると判断した場合(ステップS112でYES)、当該対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行う。より詳細には、たとえば、中継装置100における転送管理部20は、サービス購読可否フレームまたはサービス提供フレームのヘッダに格納された情報に基づいて、転送制御部10における中継処理の設定変更の要否の判断および設定変更の内容に関する判断を行う。あるいは、転送管理部20は、転送制御部10から受けた対象フレームに含まれるポート情報に基づいて、ある通信ポート13を経由したサービス探索フレームの受信頻度を確認し、確認結果に基づいて、転送制御部10における中継処理の設定変更の要否の判断および設定変更の内容に関する判断を行う(ステップS114)。
 次に、中継装置100は、中継処理の設定変更の必要がないと判断した場合(ステップS116でNO)、対象フレームを宛先の機能部たとえば車載ECU111へ送信するか、または破棄する(ステップS118)。
 次に、中継装置100は、機能部からの新たなフレームを待ち受ける(ステップS102でNO)。
 一方、中継装置100は、中継処理の設定変更の必要があると判断した場合(ステップS116でYES)、中継処理の設定変更を行う。より詳細には、中継装置100における転送管理部20は、転送制御部10における中継処理の設定変更の内容を決定し、決定内容を転送制御部10に通知する。転送制御部10は、転送管理部20から通知された決定内容に従って、中継処理の設定変更を行う(ステップS120)。
 次に、中継装置100は、中継処理の設定変更が完了すると、中継処理の設定変更に関する判断結果に基づく情報を、対象フレームに係るサービスの提供元の機能部および対象フレームに係るサービスの提供先の機能部へ通知する。より詳細には、中継装置100における転送管理部20は、自己が転送制御部10に通知した決定内容に従って中継処理の設定内容が変更されていることを確認し、当該決定内容および当該決定内容に従って中継処理の設定内容が変更された旨を示す変更完了情報を、転送制御部10経由で各機能部へ送信する(ステップS122)。
 次に、中継装置100は、対象フレームを宛先の機能部たとえば車載ECU111へ送信するか、または破棄する(ステップS118)。
 次に、中継装置100は、機能部からの新たなフレームを待ち受ける(ステップS102でNO)。
 なお、ステップS122において、中継処理の設定変更に関する判断結果に基づく情報を対象フレームに含め、その後のステップS118において、当該情報を含む対象フレームを機能部へ送信することにより当該情報をサービスの提供元の機能部またはサービスの提供先の機能部へ通知してもよい。
 図9は、本開示の実施の形態に係る車載通信システムにおける機能部間で送受信されるフレームの中継処理の設定を変更する処理のシーケンスの一例を示す図である。図9は、サーバECUである車速センサ111Aが、クライアントECUであるエンジンECU111Bにサービスを提供している状態を示している。
 図9を参照して、機能部の一例である車速センサ111Aは、速度情報を送信すべきタイミングで、速度情報を含むエンジンECU111B宛のサービス提供フレームを中継装置100へ送信する(ステップS202)。
 次に、中継装置100は、車速センサ111Aからサービス提供フレームを受信し、受信したサービス提供フレームを機能部の一例であるエンジンECU111Bへ送信する。すなわち、中継装置100は、車速センサ111Aからのサービス提供フレームをエンジンECU111Bへ中継する(ステップS204)。
 次に、機能部の一例である自動運転ECU111Cは、通信設定フレームの一例であるサービス探索フレームを中継装置100へ送信する(ステップS206)。
 次に、中継装置100は、自動運転ECU111Cから受信したサービス探索フレームを、他の車載ECU111たとえば車速センサ111Aへ中継する(ステップS208)。
 次に、車速センサ111Aは、サービス探索フレームに対する応答として、通信設定フレームの一例であるサービス提供通知フレームを中継装置100へ送信する(ステップS210)。
 次に、中継装置100は、車速センサ111Aから受信したサービス提供通知フレームを自動運転ECU111Cへ中継する(ステップS212)。
 次に、自動運転ECU111Cは、通信設定フレームの一例であるサービス購読要求フレームを中継装置100へ送信する(ステップS214)。
 次に、中継装置100は、自動運転ECU111Cから受信したサービス購読要求フレームを車速センサ111Aへ中継する(ステップS216)。
 次に、車速センサ111Aは、サービス購読要求に対する応答として、通信設定フレームの一例である、サービス購読を許可する旨を示す情報が格納されたサービス購読可否フレームを中継装置100へ送信する(ステップS218)。
 次に、中継装置100は、車速センサ111Aから受信したサービス購読可否フレームのヘッダに格納された情報に基づいて、中継処理の設定変更の要否の判断および設定変更の内容に関する判断を行い、判断結果に応じて設定変更を行う(ステップS220)。
 次に、中継装置100は、サービス購読可否フレームを自動運転ECU111Cへ中継する(ステップS222)。
 次に、中継装置100は、変更完了情報を含むフレームを車速センサ111Aへ送信する(ステップS224)。
 また、中継装置100は、変更完了情報を含むフレームを自動運転ECU111Cへ送信する(ステップS226)。
 次に、車速センサ111Aは、速度情報を送信すべき次の送信タイミングで、エンジンECU111Bおよび自動運転ECU111C宛のサービス提供フレームを中継装置100へ送信する(ステップS228)。
 次に、中継装置100は、車速センサ111Aからサービス提供フレームを受信し、受信したサービス提供フレームをエンジンECU111Bおよび自動運転ECU111Cへ送信する(ステップS230)。
 なお、ステップS222およびステップS226を1つのステップとしてまとめてもよい。具体的には、中継装置100は、変更完了情報を含むサービス購読可否フレームを自動運転ECU111Cへ送信してもよい。
 図10は、本開示の実施の形態に係る車載通信システムにおける機能部間で送受信されるフレームの中継処理の設定を変更する処理のシーケンスの他の例を示す図である。図10は、サーバECUである車速センサ111Aが、クライアントECUであるエンジンECU111Bにサービスを提供している状態を示している。
 図10を参照して、機能部の一例である車速センサ111Aは、速度情報を送信すべきタイミングで、速度情報を含むエンジンECU111B宛のサービス提供フレームを中継装置100へ送信する(ステップS302)。
 次に、中継装置100は、車速センサ111Aからサービス提供フレームを受信し、受信したサービス提供フレームを機能部の一例であるエンジンECU111Bへ送信する。すなわち、中継装置100は、車速センサ111Aからのサービス提供フレームをエンジンECU111Bへ中継する(ステップS304)。
 次に、機能部の一例である自動運転ECU111Cは、通信設定フレームの一例であるサービス探索フレームを中継装置100へ繰り返し送信する(ステップS306)。
 次に、中継装置100は、自動運転ECU111Cから受信したサービス探索フレームを、他の車載ECU111たとえば車速センサ111Aへ中継する(ステップS308)。
 次に、自動運転ECU111Cは、サービス探索フレームを中継装置100へさらに送信する(ステップS310)。
 次に、中継装置100は、自動運転ECU111Cからのサービス探索フレームの受信頻度が所定値以上である場合、中継処理の設定変更に関する判断として、自動運転ECU111Cから車速センサ111Aへのフレームの中継処理を停止する判断を行い、通信ポート13Cを経由したフレームの受信を停止する設定変更を行う(ステップS312)。
 次に、自動運転ECU111Cは、サービス探索フレームを中継装置100へ繰り返し送信する。一方、中継装置100は、通信ポート13Cを経由したフレームの受信を停止する設定変更を行った後は、自動運転ECU111Cからのサービス探索フレームを受信しない(ステップS314)。
 次に、車速センサ111Aは、速度情報を送信すべき次の送信タイミングで、エンジンECU111B宛のサービス提供フレームを中継装置100へ送信する(ステップS316)。
 次に、中継装置100は、車速センサ111Aからサービス提供フレームを受信し、受信したサービス提供フレームをエンジンECU111Bへ送信する(ステップS318)。
 [変形例]
 図11は、本開示の実施の形態に係る中継装置の変形例の構成を示す図である。
 図11を参照して、中継装置101は、転送制御部10と、転送管理部20と、記憶部30と、処理部40とを備える。
 処理部40は、車載ネットワーク12における機能部の一例である。処理部40は、転送制御部10の通信ポート13Aに接続される。たとえば、処理部40は、車載ネットワーク12における車載ECU111から速度情報等の情報を取得し、取得した情報を他の車載ECU111へ送信する。
 処理部40は、SOME/IPのプロトコルに従う、車載ECU111との通信接続を確立するための通信設定フレームを転送制御部10経由で送受信する。
 たとえば、処理部40は、サーバとして機能し、クライアントECUとの通信接続を確立し、SOME/IPのプロトコルに従うフレームを用いて当該クライアントECUへのサービスの提供を開始する。具体的には、処理部40は、定期的または不定期に、速度情報等の情報を含むサービス提供フレームを転送制御部10経由で車載ECU111へ送信する。
 あるいは、処理部40は、クライアントとして機能し、サーバECUとの通信接続を確立し、SOME/IPのプロトコルに従うフレームを用いて当該サーバECUからサービスの提供を受ける。具体的には、処理部40は、定期的または不定期に、速度情報等の情報を含むサービス提供フレームを転送制御部10経由で車載ECU111から受信する。
 転送制御部10は、処理部40および車載ECU111間で送受信されるフレームを中継処理する。
 たとえば、転送制御部10は、通信設定フレームおよびサービス提供フレーム等の特定の対象フレームを処理部40から受信し、受信した対象フレームを選択的に転送管理部20へ出力する。あるいは、転送制御部10は、通信設定フレームおよびサービス提供フレーム等の特定の対象フレームを車載ECU111から受信し、受信した対象フレームを選択的に転送管理部20へ出力する。
 [その他の変形例]
 なお、本開示の実施の形態に係る中継装置100では、転送制御部10は、ポート情報を転送管理部20へ出力する構成であるとしたが、これに限定するものではない。転送制御部10は、ポート情報を転送管理部20へ出力しない構成であってもよい。この場合であっても、転送管理部20は、上述した設定変更の例1または例3に従って、中継処理の設定変更に関する判断を行うことができる。
 また、本開示の実施の形態に係る中継装置100では、転送管理部20は、通信設定フレームに係るサービスの提供を開始するための情報の内容、および通信設定フレームに係るサービスの、提供元の機能部に関する情報または提供先の機能部に関する情報に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であるとしたが、これに限定するものではない。転送管理部20は、当該情報の内容、および当該提供元の機能部または当該提供先の機能部のいずれか一方のみに基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であってもよい。
 また、本開示の実施の形態に係る中継装置100では、転送管理部20は、SOME/IPの通信プロトコルに従って送受信される対象フレームのヘッダの内容に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であるとしたが、これに限定するものではない。転送管理部20は、SOME/IP以外の他の通信プロトコルに従って送受信されるフレームのヘッダの内容に基づいて、転送制御部10における中継処理の設定変更に関する判断を行う構成であってもよい。
 また、本開示の実施の形態に係る中継装置100では、転送制御部10は、転送管理部20から決定情報を受けて、中継処理の設定変更を行う構成であるとしたが、これに限定するものではない。転送管理部20は、中継処理の設定変更を行わない旨の判断を行ってもよい。この場合、たとえば、転送管理部20は、決定情報を転送制御部10経由で機能部へ送信する。機能部は、転送管理部20から受信した決定情報に従って、他の機能部への情報の送信に関する設定変更を行う。
 また、本開示の実施の形態に係る中継装置100では、転送制御部10は、中継装置100が起動したときに、記憶部30における決定内容に従って、中継処理の設定変更を行う構成であるとしたが、これに限定するものではない。転送制御部10は、中継装置100の起動時に記憶部30における決定内容を参照しない構成であってもよい。
 また、記憶部30は、揮発性記憶領域および不揮発性記憶領域を含むメモリであってもよい。たとえば、転送制御部10は、転送管理部20から受けた決定情報に従って記憶部30の揮発性記憶領域における設定テーブルを変更した後、所定時間安定して動作した場合、変更後の設定テーブルを記憶部30の不揮発性記憶領域に保存する。あるいは、転送制御部10は、対象フレームのリクエストIDのフィールドにおける機能部のIDが、所定のIDたとえば信頼度が所定値以上の機能部のIDである場合、変更後の設定テーブルを記憶部30の不揮発性記憶領域に保存する。
 また、本開示の実施の形態に係る中継装置100では、転送管理部20は、変更完了情報を転送制御部10経由で機能部たとえば車載ECU111へ通知する構成であるとしたが、これに限定するものではない。転送管理部20は、変更完了情報を機能部へ通知しない構成であってもよい。
 また、本開示の実施の形態に係る中継装置100では、転送管理部20は、対象フレームの内容を変更し、変更後の対象フレームを転送制御部10へ出力する構成であるとしたが、これに限定するものではない。転送管理部20は、対象フレームの内容を変更することなく当該対象フレームを転送制御部10へ出力する構成であってもよい。
 ところで、車載ネットワークにおける中継処理をより効率的に行うことが可能な技術が望まれる。
 たとえば、近年、サービス指向型通信が導入された車載ネットワークの普及が進んでいる。このようなサービス指向型通信を行う機能部間での通信状況に応じて、低コストで、当該機能部間で送受信されるフレームの中継処理を効率化したり、当該機能部間の通信のセキュリティを向上したりすることが可能な技術が望まれる。
 これに対して、本開示の実施の形態に係る中継装置では、転送制御部10は、機能部間で送受信されるフレームを中継処理する。転送制御部10は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを機能部から受信し、受信した対象フレームを転送管理部20へ出力する。転送管理部20は、転送制御部10から受けた対象フレームに含まれる情報に基づいて、転送制御部10における中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、対象フレームの転送制御部10への出力または対象フレームの破棄を行う。
 本開示の実施の形態に係る車載通信システム300では、中継装置100は、機能部間で送受信されるフレームを中継処理する。機能部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを中継装置100へ送信する。中継装置100は、対象フレームを機能部から受信し、受信した対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、対象フレームの他の機能部への中継または対象フレームの破棄を行う。
 本開示の実施の形態に係る車載通信方法は、複数の機能部を含む車載ネットワーク12に用いられる中継装置100における車載通信方法である。この車載通信方法では、まず、中継装置100が、機能部間で送受信されるフレームを中継処理する。次に、中継装置100が、中継処理の設定変更に関する判断を行う。中継装置100は、中継処理の設定変更に関する判断を行うステップにおいては、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを機能部から受信し、受信した対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行い、判断結果に応じて、対象フレームの他の機能部への中継または対象フレームの破棄を行う。
 このように、対象フレームに含まれる情報に基づいて、中継処理の設定変更に関する判断を行う構成または方法により、たとえば、機能部間におけるサービス指向型通信の状況に応じて、当該機能部間におけるフレームの中継処理の設定変更に関する判断を行うことができる。これにより、たとえば、サービスの提供元の機能部およびサービスの提供先の機能部間において送受信されるフレームを効率的に中継することができる。
 したがって、本開示の実施の形態に係る中継装置、車載通信システムおよび車載通信方法では、車載ネットワークにおける中継処理をより効率的に行うことができる。
 また、本開示の実施の形態に係る中継装置では、転送管理部20が対象フレームの転送制御部10への出力または対象フレームの破棄を行う構成により、たとえば、不正アクセスされた機能部からの不正な対象フレーム等の、機能部へ中継すべきでない対象フレームを破棄することができるので、不正な対象フレームが他の機能部へ中継されることを防ぐことができ、車載ネットワークにおけるセキュリティ性を向上することができる。
 また、本開示の実施の形態に係る車載通信システムおよび車載通信方法では、中継装置が、対象フレームの他の機能部への中継または破棄を行う構成および方法により、たとえば、不正アクセスされた機能部からの不正な対象フレーム等の、機能部へ中継すべきでない対象フレームを破棄することができるので、不正な対象フレームが他の機能部へ中継されることを防ぐことができ、車載ネットワークにおけるセキュリティ性を向上することができる。
 上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 以上の説明は、以下に付記する特徴を含む。
 [付記1]
 複数の機能部を含む車載ネットワークに用いられる中継装置であって、
 前記機能部間で送受信されるフレームを中継処理する転送制御部と、
 転送管理部とを備え、
 前記転送制御部は、SOME/IPの通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記転送管理部へ出力し、
 前記転送管理部は、前記転送制御部から受けた前記対象フレームに含まれる情報に基づいて、前記転送制御部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記転送制御部への出力または前記対象フレームの破棄を行い、
 前記転送管理部は、前記転送制御部から受けた前記対象フレームのうち、機能部間の通信接続を確立するための通信設定フレームおよびサービスの提供元の前記機能部によるサービスを提供するためのサービス提供フレームの少なくともいずれか一方に基づいて、前記転送制御部における中継処理の設定変更に関する判断を行う、中継装置。
 [付記2]
 複数の機能部と、
 中継装置とを備え、
 前記中継装置は、前記機能部間で送受信されるフレームを中継処理し、
 前記機能部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記中継装置へ送信し、
 前記中継装置は、前記対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行い、
 前記中継装置は、前記設定変更に関する判断結果に基づく情報を、前記対象フレームに係るサービスの提供元の前記機能部および前記対象フレームに係るサービスの提供先の前記機能部へ通知し、
 前記対象フレームに係るサービスの提供元の前記機能部は、前記中継装置から通知された前記情報に基づいて、前記対象フレームに係るサービスの提供先の前記機能部へのサービスの提供を開始する、車載通信システム。
 [付記3]
 複数の機能部を含む車載ネットワークに用いられる、プロセッサおよび半導体集積回路を備える中継装置であって、
 前記半導体集積回路は、前記機能部間で送受信されるフレームを中継処理する転送制御部を実現し、
 前記プロセッサは、転送管理部を実現し、
 前記転送制御部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記転送管理部へ出力し、
 前記転送管理部は、前記転送制御部から受けた前記対象フレームに含まれる情報に基づいて、前記転送制御部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記転送制御部への出力または前記対象フレームの破棄を行う、中継装置。
 [付記4]
 複数の車載ECUと、
 中継装置とを備え、
 前記中継装置は、前記車載ECU間で送受信されるフレームを中継処理し、
 前記車載ECUは、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記中継装置へ送信し、
 前記中継装置は、前記対象フレームを前記車載ECUから受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う、車載通信システム。
 [付記5]
 複数の機能部を含む車載ネットワークに用いられる中継装置であって、
 前記機能部間で送受信されるフレームを中継処理する中継部と、
 中継管理部とを備え、
 前記中継部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記中継管理部へ出力し、
 前記中継管理部は、前記中継部から受けた前記対象フレームに含まれる情報に基づいて、車両の運転状況を判断し、前記車両の運転状況の判断結果に基づいて、前記中継部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記中継部への出力または前記対象フレームの破棄を行う、中継装置。
 1   車両
 10  転送制御部
 11  イーサネットケーブル
 12  車載ネットワーク
 13  通信ポート
 20  転送管理部
 30  記憶部
 40  処理部
 100 中継装置
 101 中継装置
 111A 車速センサ(車載ECU)
 111B エンジンECU(車載ECU)
 111C 自動運転ECU(車載ECU)
 112 アプリケーション
 300 車載通信システム

Claims (13)

  1.  複数の機能部を含む車載ネットワークに用いられる中継装置であって、
     前記機能部間で送受信されるフレームを中継処理する中継部と、
     中継管理部とを備え、
     前記中継部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームを前記中継管理部へ出力し、
     前記中継管理部は、前記中継部から受けた前記対象フレームに含まれる情報に基づいて、前記中継部における前記中継処理の設定変更に関する判断を行うとともに、判断結果に応じて、前記対象フレームの前記中継部への出力または前記対象フレームの破棄を行う、中継装置。
  2.  前記中継管理部は、前記対象フレームの内容を変更し、変更後の前記対象フレームを前記中継部へ出力する、請求項1に記載の中継装置。
  3.  前記中継部は、前記中継装置が備える複数の通信ポートのうち、受信した前記対象フレームが経由した前記通信ポートを示すポート情報を前記中継管理部へ出力し、
     前記中継管理部は、前記中継部から受けた前記ポート情報にさらに基づいて、前記設定変更に関する判断を行う、請求項1または請求項2に記載の中継装置。
  4.  前記中継管理部は、前記対象フレームに係るサービスの、提供元の前記機能部に関する情報または提供先の前記機能部に関する情報に基づいて、前記設定変更に関する判断を行う、請求項1から請求項3のいずれか1項に記載の中継装置。
  5.  前記中継管理部は、前記対象フレームに係るサービスの提供を開始するための情報の内容に基づいて、前記設定変更に関する判断を行う、請求項1から請求項4のいずれか1項に記載の中継装置。
  6.  前記中継管理部は、前記対象フレームの異常の検知を行い、検知結果に基づいて、前記設定変更に関する判断を行う、請求項1から請求項5のいずれか1項に記載の中継装置。
  7.  前記中継管理部は、SOME/IP(Scalable Service-Oriented Middleware on Ethernet/Internet Protocol)の通信プロトコルに従って送受信される前記対象フレームのヘッダの内容に基づいて、前記設定変更に関する判断を行う、請求項1から請求項6のいずれか1項に記載の中継装置。
  8.  前記中継管理部は、前記設定変更の内容を決定し、決定内容を前記中継部に通知し、
     前記中継部は、前記中継管理部から通知された前記決定内容に従って、前記中継処理に関する設定を変更する、請求項1から請求項7のいずれか1項に記載の中継装置。
  9.  前記中継装置は、さらに、
     前記決定内容を不揮発的に記憶する記憶部を備え、
     前記中継部は、前記中継装置が起動したときに、前記記憶部における前記決定内容に従って、前記中継処理に関する設定を変更する、請求項8に記載の中継装置。
  10.  前記中継管理部は、前記設定変更に関する判断結果に基づく情報を前記中継部経由で、前記対象フレームに係るサービスの提供元の前記機能部または前記対象フレームに係るサービスの提供先の前記機能部へ通知する、請求項1から請求項9のいずれか1項に記載の中継装置。
  11.  複数の機能部と、
     中継装置とを備え、
     前記中継装置は、前記機能部間で送受信されるフレームを中継処理し、
     前記機能部は、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記中継装置へ送信し、
     前記中継装置は、前記対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う、車載通信システム。
  12.  請求項11に記載の車載通信システムを備える、車両。
  13.  複数の機能部を含む車載ネットワークに用いられる中継装置における車載通信方法であって、
     前記機能部間で送受信されるフレームを中継処理するステップと、
     前記中継処理の設定変更に関する判断を行うステップとを含み、
     前記中継処理の設定変更に関する判断を行うステップにおいては、所定の通信プロトコルに従って送受信されるフレームであって、サービスの要求元を識別可能な情報と、要求されるサービスの内容を識別可能な情報とを有するフレームである対象フレームを前記機能部から受信し、受信した前記対象フレームに含まれる情報に基づいて、前記中継処理の設定変更に関する判断を行い、判断結果に応じて、前記対象フレームの他の前記機能部への中継または前記対象フレームの破棄を行う、車載通信方法。
PCT/JP2020/034302 2019-10-28 2020-09-10 中継装置、車載通信システム、車両および車載通信方法 WO2021084928A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/770,060 US11799991B2 (en) 2019-10-28 2020-09-10 Relay device, in-vehicle communication system, vehicle, and in-vehicle communication method
CN202080071367.6A CN114556982A (zh) 2019-10-28 2020-09-10 中继装置、车载通信系统、车辆及车载通信方法
JP2021554144A JP7447912B2 (ja) 2019-10-28 2020-09-10 中継装置、車載通信システム、車載通信プログラムおよび車載通信方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019195296 2019-10-28
JP2019-195296 2019-10-28

Publications (1)

Publication Number Publication Date
WO2021084928A1 true WO2021084928A1 (ja) 2021-05-06

Family

ID=75714628

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/034302 WO2021084928A1 (ja) 2019-10-28 2020-09-10 中継装置、車載通信システム、車両および車載通信方法

Country Status (4)

Country Link
US (1) US11799991B2 (ja)
JP (1) JP7447912B2 (ja)
CN (1) CN114556982A (ja)
WO (1) WO2021084928A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018127790A2 (en) * 2017-01-05 2018-07-12 Guardknox Cyber Technologies Ltd. Specially programmed computing systems with associated devices configured to implement centralized services ecu based on services oriented architecture and methods of use thereof
JP2019009559A (ja) * 2017-06-22 2019-01-17 株式会社デンソー サーバ

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4922120B2 (ja) * 2007-10-05 2012-04-25 株式会社オートネットワーク技術研究所 通信システム及び中継装置
JP5900198B2 (ja) * 2012-07-06 2016-04-06 株式会社オートネットワーク技術研究所 通信システム、中継装置及び通信装置
US10644976B2 (en) * 2015-05-18 2020-05-05 Denso Corporation Relay apparatus
JP2017147662A (ja) * 2016-02-18 2017-08-24 株式会社オートネットワーク技術研究所 中継装置
DE112017006854T5 (de) * 2017-01-18 2019-10-02 Panasonic Intellectual Property Management Co., Ltd. Überwachungsvorrichtung, Überwachungsverfahren und Computerprogramm
WO2019021403A1 (ja) * 2017-07-26 2019-01-31 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 制御ネットワークシステム、車両遠隔制御システム及び車載中継装置
US20200389469A1 (en) * 2017-12-24 2020-12-10 Arilou Information Security Technologies Ltd. System and method for tunnel-based malware detection
JP7354658B2 (ja) * 2018-08-10 2023-10-03 株式会社デンソー 車両用電子制御システム、進捗表示の画面表示制御方法及び進捗表示の画面表示制御プログラム
JPWO2020085330A1 (ja) * 2018-10-25 2021-09-30 パナソニックIpマネジメント株式会社 電子制御装置、電子制御方法及びプログラム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018127790A2 (en) * 2017-01-05 2018-07-12 Guardknox Cyber Technologies Ltd. Specially programmed computing systems with associated devices configured to implement centralized services ecu based on services oriented architecture and methods of use thereof
JP2019009559A (ja) * 2017-06-22 2019-01-17 株式会社デンソー サーバ

Also Published As

Publication number Publication date
JP7447912B2 (ja) 2024-03-12
US20220360648A1 (en) 2022-11-10
CN114556982A (zh) 2022-05-27
JPWO2021084928A1 (ja) 2021-05-06
US11799991B2 (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US10924300B2 (en) Virtual controller area network
US9755968B2 (en) Method and apparatus for processing a SOME/IP stream through interworking with AVB technology
JP4664143B2 (ja) パケット転送装置、通信網及びパケット転送方法
JP6674007B1 (ja) 車載通信装置、通信制御方法および通信制御プログラム
US20040122978A1 (en) Method and system to connect internet protocol hosts via an application specific bus
WO2019021404A1 (ja) ネットワーク監視器
JP2019009596A (ja) 車載通信装置、通信制御方法および通信制御プログラム
US20240146604A1 (en) Relay device, vehicle communication system, vehicle, communication method, and communication program
JP2024001296A (ja) 管理装置、車両通信システム、車両通信管理方法および車両通信管理プログラム
WO2019167370A1 (ja) スイッチ装置、監視方法および監視プログラム
WO2021084927A1 (ja) 中継装置、車載通信システム、車両および車載通信方法
JP2018164164A (ja) スイッチ装置、通信制御方法および通信制御プログラム
WO2021084928A1 (ja) 中継装置、車載通信システム、車両および車載通信方法
WO2021106446A1 (ja) 検知装置、車両、検知方法および検知プログラム
WO2021084929A1 (ja) 中継装置、車載通信システム、車両および車載通信方法
CN109923878B (zh) 传输数据的方法、通信网络、参与者和交通运输工具
CN113853769B (zh) 设定装置、通信系统以及车辆通信管理方法
JP7464054B2 (ja) 中継装置、通信方法および通信プログラム
JP2006319671A (ja) 中継装置及び通信システム
JP2024075747A (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: 20881507

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021554144

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20881507

Country of ref document: EP

Kind code of ref document: A1