Communication transceiver

The communication transceiver facilitates service-oriented communication in in-vehicle systems by converting protocols, addressing limitations in ECUs with low processing power and no protocol stack, ensuring efficient event delivery and data transmission.

JP2025104977APending Publication Date: 2025-07-10DENSO CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023223202
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-10

AI Technical Summary

Technical Problem

In-vehicle communication systems face challenges when ECUs with low processing power or without a protocol stack for service-oriented communication, limiting the implementation of service-oriented protocols.

Method used

A communication transceiver with a service control unit and interface unit converts data between different protocols, enabling service-oriented communication by transmitting and receiving data according to specific setting information, even when the main control unit cannot implement a protocol stack.

Benefits of technology

Enables service-oriented communication between ECUs, facilitating event delivery and efficient data transmission, even in systems with limited processing power, by using protocol conversion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025104977000001_ABST
    Figure 2025104977000001_ABST
Patent Text Reader

Abstract

To provide a communication receiver that can perform service-oriented communication in the whole of between servers and clients.SOLUTION: A communication transceiver 12 according to one aspect of the present disclosure is connected to a main control unit 11A of a communication device 10A. The communication transceiver includes a service control unit 121 and a service interface unit 122. The service control unit transmits a service presentation message to an electronic control device according to a first protocol of service-oriented communication based on first setting information set in response to an instruction from the main control unit. When service-oriented communication is established, the service interface unit converts communication data according to a second protocol received from the main control unit into communication data according to the first protocol based on second setting information set in response to the instruction from the main control unit, and transmits the converted communication data to the electronic control device.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a technology for realizing service-oriented communication.

Background Art

[0002] The in-vehicle communication system described in Citation 1 includes an integrated ECU, a plurality of relay ECUs connected to the integrated ECU, and a plurality of ECUs connected to each of the plurality of relay ECUs, and performs service-oriented communication with the integrated ECU as a server and the plurality of relay ECUs and the plurality of ECUs as clients. Specifically, in the in-vehicle communication system, each relay device converts data conforming to a protocol other than the service-oriented protocol into the service-oriented protocol, thereby realizing service-oriented communication between each relay device and the integrated ECU.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] In the in-vehicle communication system, the processing unit of the integrated ECU includes a protocol stack for service-oriented communication and generates messages of the service-oriented protocol. However, depending on the use of the ECU, the microcomputer included in the ECU may have low processing power or may only output RAW data. Such a microcomputer cannot implement a protocol stack.

[0005] One aspect of the present disclosure provides a technology for realizing service-oriented communication even when a protocol stack cannot be implemented in the main control unit of a communication device.

Means for Solving the Problems

[0006] A communication transceiver (12) according to one aspect of the present disclosure is connected to a main control unit (11A, 11B) of a communication device (10A, 10B) configured to be connected to an electronic control device (20A, 20B) via one or more communication lines (50A, 50B). The communication transceiver includes a service control unit (121) and a service interface unit (122). The service control unit transmits a presentation message offering to provide a service to the electronic control device according to a first protocol which is a service-oriented communication protocol, based on first setting information set according to an instruction from the main control unit. When service-oriented communication is established by the presentation message, the service interface unit, based on second setting information set according to an instruction from the main control unit, (i) converts communication data according to a second protocol received from the main control unit into communication data according to the first protocol and transmits it to the electronic control device, or (ii) converts communication data according to the first protocol received from the electronic control device into communication data according to the second protocol and transmits it to the main control unit.

[0007] The communication transceiver according to one aspect of the present disclosure is connected to the main control unit, and the first setting information and the second setting information are set. Thereby, even when the main control unit cannot implement a protocol stack for service communication, service-oriented communication can be introduced into the communication device. Therefore, service-oriented communication can be realized as a whole between the communication device and the electronic control device.

Brief Description of the Drawings

[0008]

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Embodiments for Carrying Out the Invention

[0009] <1. Configuration> With reference to FIG. 1, the configuration of the communication system 100 according to the present embodiment will be described. In the present embodiment, the communication system 100 is mounted on a vehicle. In another embodiment, at least a part of the communication system 100 may be installed in a moving body other than a vehicle such as a ship, a train, an airplane, or in a building, or may be a mobile terminal.

[0010] The communication system 100 includes a first server electronic control unit (hereinafter referred to as ECU) 10A, a second server ECU 10B, a first client ECU 20A, a second client ECU 20B, and an Ethernet switch 30. In the present embodiment, the first server ECU 10A and the second server ECU 10B correspond to the communication devices of the present disclosure, and the first client ECU 20A and the second client ECU 20B correspond to the electronic control devices of the present disclosure.

[0011] In another embodiment, the communication system 100 may include one or more first server ECUs 10A and may not include the second server ECU 10B, or may include one or more second server ECUs 10B and may not include the first server ECU 10A. Alternatively, in addition to the first server ECU 10A and / or the second server ECU 10B, the communication system 100 may include another server ECU.

[0012] Also, in another embodiment, the communication system 100 may include one or more first client ECUs 20A and may not include the second client ECU 20B, or may include one or more second client ECUs 20B and may not include the first client ECU 20A. Alternatively, in addition to the first client ECU 20A and / or the second client ECU 20B, the communication system 100 may include another client ECU.

[0013] The basic configuration of the first server ECU 10A is the same as that of the second server ECU 10B. The first server ECU 10A is connected to the Ethernet switch 30 via the first Ethernet signal line 50A. The second server ECU 10B is connected to the Ethernet switch 30 via the second Ethernet signal line 50B. The first Ethernet signal line 50A and the second Ethernet signal line 50B transmit signals according to the Ethernet protocol. Note that Ethernet is a registered trademark. In another embodiment, the first server ECU 10A may be connected to the Ethernet switch 30 via other Ethernet signal lines in addition to the first Ethernet signal line 50A. Also, the second server ECU 10B may be connected to the Ethernet switch 30 via other Ethernet signal lines in addition to the second Ethernet signal line 50B.

[0014] The basic configuration of the first client ECU 20A is the same as that of the second client ECU 20B. Each of the first client ECU 20A and the second client ECU 20B is connected to the Ethernet switch 30 via the first Ethernet signal line 50A and / or the second Ethernet signal line 50B. In this embodiment, the bandwidth of the first Ethernet signal line 50A is wider than that of the second Ethernet signal line 50B. For example, the bandwidth of the first Ethernet signal line 50A is 10 Gbps per second, and the bandwidth of the second Ethernet signal line 50B is 10 Mbps per second. In another embodiment, each of the first client ECU 20A and the second client ECU 20B may be connected to the Ethernet switch 30 via other Ethernet signal lines in addition to the first Ethernet signal line 50A and / or the second Ethernet signal line 50B.

[0015] The Ethernet switch 30 establishes Ethernet communication between the first server ECU 10A and the first client ECU 20A and / or the second client ECU 20B, and between the second server ECU 10B and the first client ECU 20A and / or the second client ECU 20B. Also, the Ethernet switch 30 may establish Ethernet communication between the first server ECU 10A and the second server ECU 10B, or may establish Ethernet communication between the first client ECU 20A and the second client ECU 20B. The Ethernet switch 30 relays Ethernet packets between the ECUs where Ethernet communication has been established.

[0016] As shown in FIG. 2, the first server ECU 10A is a camera module that captures an image and transmits a video stream to the first client ECU 20A and / or the second client ECU 20B. The video stream is stream data that continuously occurs and may include time information.

[0017] The first server ECU 10A includes a host device 11A, a service transceiver 12, and signal lines 151 and 152 as the first server signal line 15A. The host device 11A is an imager and includes a setting unit 111 and an application 112A. The host device 11A provides a camera service to the first client ECU 20A and / or the second client ECU 20B by executing the application 112A. Since the host device 11A only outputs a video stream, which is RAW data, via an interface, it does not have a protocol stack.

[0018] As shown in FIG. 4, the setting unit 111 has first setting information used for communication with the first and second client ECUs 20A, 20B, and instructs the service control unit 121, which will be described later, to write the first setting information via the signal line 151, which will be described later. Also, the setting unit 111 has second setting information used for communication with the first and second client ECUs 20A, 20B, and the signal line 1 Instruct to write the second setting information to the service IF unit 122 described later via 51. The first and second setting information are set at the time of designing the first server ECU 10A.

[0019] Specifically, as shown in FIG. 5, the first setting information is setting values related to service presentation and the own node, and includes the MAC address of the own node, the IP address of the own node, the multicast address for service presentation, the port number for service presentation, the port number for service-oriented communication, the multicast address for event distribution, and the service ID. The port number is a number that identifies the application that passes the packet. The service ID is a number that identifies the service provided by the first server ECU 10A.

[0020] Also, as shown in FIG. 6, the second setting information is setting values used for mutual conversion of data with the client ECU. The second setting information is, for example, a table, and is information associating the service type, the event ID, the type of transport layer protocol, the periodic transmission interval, the multicast threshold, and the data length. The service type includes methods and events. The types of transport layer protocols include TCP / IP, UDP, and IEEE 1722.

[0021] Note that the function of the setting unit 111 may be realized by software, or may be realized by hardware. Alternatively, the function of the setting unit 111 may be realized by a combination of software and hardware.

[0022] The host device 11A performs on-vehicle communication with relatively low processing load with the service transceiver 12 via the first server signal line 15A. The first server signal line 15A includes a signal line 151 and a signal line 152.

[0023] The signal line 151 is a signal line for transmitting and receiving small-capacity data such as setting values and notifications between the host device 11A and the service transceiver 12. The signal line 151 is Serial It is compatible with a Peripheral Interface (hereinafter referred to as SPI), etc. The signal line 152 is a signal line for transmitting large-capacity data such as a video stream. The signal line 152 is Mobile Industry Processor Interface - Camera Serial Interface (hereinafter referred to as MIPI-CSI), Mobile Industry Processor Interface - Camera Serial Interface 2 (hereinafter referred to as MIPI-CSI2), Mobile Industry Processor Interface - Display Serial Interface (hereinafter referred to as MIPI-DSI), etc. In this embodiment, SPI, MIPI-CSI, MIPI-CSI2, and MIPI-DSI correspond to the second protocol of the present disclosure.

[0024] The service transceiver 12 implements a protocol stack for realizing service-oriented communication. Specifically, the service transceiver 12 implements service-oriented communication protocols such as Scalable service - Oriented MiddlewarE over Internet Protocol (hereinafter referred to as SOME / IP) and Data Distribution Service (hereinafter referred to as DDS). SOME / IP and DDS are realized over Transmission Control Protocol / Internet Protocol (hereinafter referred to as TCP / IP).

[0025] That is, since the first server ECU 10A cannot implement a protocol stack for realizing service-oriented communication on the host device 11A, the service transceiver 12 implements a protocol stack for realizing service-oriented communication. As a result, the first server ECU 10A can perform service-oriented communication with the first and second client ECUs 20A and 20B.

[0026] Furthermore, the service transceiver 12 implements a protocol stack for delivering large-capacity data. Specifically, the service transceiver 12 implements protocols such as Institute of Electrical and Electronics Engineers (hereinafter, IEEE) 1722 for delivering large-capacity data. In this embodiment, SOME / IP and DDS correspond to the first protocol of the present disclosure, and IEEE 1722 corresponds to the third protocol of the present disclosure.

[0027] The service transceiver 12 includes a service control unit 121 and a service interface (hereinafter, IF) unit 122. As shown in FIG. 4, the service control unit 121 transmits a presentation message for presenting a service according to the first protocol to the first and second client ECUs 20A and 20B via the first Ethernet signal line 50A. The presentation message includes a service ID and indicates the content of the service provided by the first server ECU 10A.

[0028] The service control unit 121 receives a request for periodic subscription of event communication according to the first protocol from the first client ECU 20A and / or the second client ECU 20B that has received the presentation message via the first Ethernet signal line 50A. Then, based on the received periodic subscription request, the service control unit 121 registers information on the client ECU that is the requester of the periodic subscription in the service IF unit 122.

[0029] The service IF unit 122 has client information regarding the client ECU that periodically subscribes to events. Specifically, as shown in FIG. 7, the client information is, for example, a table, and is information in which the ID of the event distributed by the first server ECU 10A is associated with the IP address of the client ECU that periodically subscribes to the event.

[0030] The service IF unit 122 receives communication data conforming to the second protocol from the host device 11A via the signal line 152, and converts the communication data conforming to the second protocol into communication data conforming to the first or third protocol.

[0031] Then, the service IF unit 122 refers to the registration information and transmits the communication data conforming to the first or third protocol to the client ECU that is the request source for periodic subscription via the first Ethernet signal line 50A. This communication data is a video stream.

[0032] Note that the functions of each of the service control unit 121 and the service IF unit 122 may be realized by software, or may be realized by hardware. Alternatively, the functions of each of the service control unit 121 and the service IF unit 122 may be realized by a combination of software and hardware.

[0033] As shown in FIG. 2, the first client ECU 20A includes a physical layer 21 and an MPU 22A. The MPU 22A is a microprocessing unit or a system-on-chip, and implements protocols of SOME / IP, TCP / IP, and IEEE 1722.

[0034] As shown in FIG. 3, the second server ECU 10B is a control device that controls an actuator, and receives a request from the first client ECU 20A and / or the second client ECU 20B to control the actuator.

[0035] The second server ECU 10B includes a host device 11B, a service transceiver 12, and a second server signal line 15B. The host device 11B is a microprocessing unit (hereinafter referred to as MPU), and includes a setting unit 111 and an application 112B. The host device 11B is an app By executing relinkage 112B, services related to the actuator are provided to the first client ECU 20A and / or the second client ECU 20B. The function of the setting unit 111 of the host device 11B is the same as that of the setting unit 111 of the host device 11A.

[0036] The host device 11B performs on-board communication with relatively low processing load with the service transceiver 12 via the second server signal line 15B. The second server signal line 15B corresponds to, for example, SPI.

[0037] The service transceiver 12 includes a service control unit 121 and a service IF unit 122. The function of the service transceiver 12 of the second server ECU 10B is the same as that of the service transceiver 12 of the first server ECU 10A.

[0038] The host device 11B is a small-scale microcomputer for controlling the actuator. Since the protocol stack for realizing service-oriented communication has a large processing load, it is difficult to implement it on the host device 11B. Therefore, similar to the first server ECU 10A, the service transceiver 12 of the second server ECU 10B implements a protocol stack for realizing service-oriented communication.

[0039] The service IF unit 122 converts the communication data conforming to the first protocol received from the first client ECU 20A and / or the second client ECU 20B via the second Ethernet signal line 50B into communication data conforming to the second protocol. Then, the service IF unit 122 transmits the communication data conforming to the second protocol to the host device 11B via the second server signal line 15B. The communication data conforming to the first protocol is, for example, a request message.

[0040] Furthermore, the service IF unit 122 receives communication data conforming to the second protocol from the host device 11B via the second server signal line 15B, and converts the communication data conforming to the second protocol into communication data conforming to the first protocol. Then, the service IF unit 122 transmits the communication data conforming to the first protocol to the client ECU corresponding to the second communication data via the second Ethernet signal line 50B. The communication data conforming to the second protocol is, for example, a response message.

[0041] Note that, in this embodiment, the host devices 11A and 11B correspond to the main control unit of the present disclosure, and the service transceiver 12 corresponds to the communication transceiver of the present disclosure. As shown in FIG. 3, the second client ECU 20B includes a physical layer 21 and an MPU 22B. The MPU 22B is a microprocessing unit or a system-on-chip, and implements the SOME / IP and TCP / IP protocols.

[0042] <2. Processing> <2-1. First Example of Service-Oriented Communication in the First Pattern> Next, with reference to the sequence diagram of FIG. 8, the processing flow in the first example of service-oriented communication in the first pattern will be described. The first pattern is one of various patterns of service-oriented communication. In the first pattern, the first server ECU 10A periodically distributes events to the first client ECU 20A. Here, the processing in which the first server ECU 10A distributes events to the first client ECU 20A will be described. However, in addition to or instead of the first client ECU 20A, the first server ECU 10A may distribute events to the second client ECU 20B or other client ECUs.

[0043] In S10, the host device 11A sends predetermined information conforming to SPI to the service control unit 121 via the signal line 151, and instructs the service control unit 121 to write. to the service control unit 121. In S20, the host device 11A sends second setting information compliant with SPI to the service IF unit 122 via the signal line 151 and instructs the service IF unit 122 to write.

[0044] In S30, the first client ECU 20A transmits a discovery message (i.e., Find Service) compliant with SOME / IP to the service control unit 121 via the first Ethernet signal line 50A. The discovery message is a message for searching for services that can be received. In another embodiment, the process of S30 may be excluded.

[0045] In S40, upon receiving the discovery message or at the startup of the first server ECU 10A, the service control unit 121 transmits an offer message (i.e., Offer Service) compliant with SOME / IP to the first client ECU 20A via the first Ethernet signal line 50A based on the first setting information. The offer message indicates the periodic distribution of a video stream as a service provided by the first server ECU 10A.

[0046] Subsequently, in S50, the first client ECU 20A receives the offer message and detects services that can be received. That is, the first client ECU 20A detects event communications that can be subscribed to. When the first client ECU 20A detects a service, service-oriented communication is established between the first server ECU 10A and the first client ECU 20A.

[0047] Subsequently, in S60, the first client ECU 20A requests the service control unit 121 to subscribe to event communications periodically compliant with SOME / IP. Specifically, the first client ECU 20A transmits a periodic subscription request message (i.e., Subscribe EventGroup) compliant with SOME / IP to the service control unit 121 via the first Ethernet signal line 50A. The periodic subscription request message is a message for requesting to join a group that subscribes to event communications periodically.

[0048] Subsequently, in S70, host device 11A transmits first event data to service IF unit 122 via signal line 152. The first event data conforms to MIPI-CS1 and includes RAW data of a video stream and an event ID. When host device 11A transmits only one type of first event data, the first event data may not include an event ID.

[0049] Subsequently, in S80, since no client subscribing to events is registered in the client information at this time, service IF unit 122 discards the first event data received from host device 11A.

[0050] Subsequently, in S90, service control unit 121 transmits a periodic subscription approval message (i.e., Subscribe EventGroup Ack) conforming to SOME / IP to first client ECU 20A via first Ethernet signal line 50A.

[0051] Subsequently, in S100, service control unit 121 registers first client ECU 20A in the client information held by service IF unit 122. That is, service control unit 121 registers the IP address of first client ECU 20A in association with the event ID of event communication to be delivered to first client ECU 20A in the client information. When host device 11A transmits only one type of event data, service control unit 121 may register only the IP address of first client ECU 20A in the client information. With the registration of first client ECU 20A in the client information event communication to first client ECU 20A starts.

[0052] Subsequently, in S110, host device 11A transmits first event data to service IF unit 122 via signal line 152. Host device 11A repeatedly transmits the first event data to service IF unit 122 at a predetermined period.

[0053] Subsequently, in S120, the service IF unit 122 converts the first event data received from the host device 11A into second event data based on the second setting information. Specifically, the service IF unit 122 deletes the event ID from the first event data and adds a SOME / IP header based on the second setting information to generate the second event data. That is, the second event data includes RAW data and a SOME / IP header in accordance with SOME / IP.

[0054] The service IF unit 122 transmits the second event data (i.e., Notification event) to the first client ECU 20A via the first Ethernet signal line 50A. Each time the service IF unit 122 receives the first event data from the host device 11A, it converts the first event data into the second event data and transmits the second event data to the first client ECU 20A.

[0055] <2-2. Second Example of Service-Oriented Communication in the First Pattern> Next, with reference to the sequence diagram of FIG. 9, the processing flow in the second example of the service-oriented communication in the first pattern will be described.

[0056] In S110 to S210, the host device 11A, the service control unit 121, the service IF unit 122, and the first client ECU 20A execute the same processing as in S10 to S110.

[0057] In S220, the service IF unit 122 converts the first event data received from the host device 11A into third event data based on the second setting information. Specifically, the service IF unit 122 deletes the event ID from the first event data and adds an IEEE1772 header based on the second setting information to generate the third event data. That is, the third event data includes RAW data and an IEEE1772 header in accordance with IEEE1772.

[0058] The service IF unit 122 transmits the third event data to the first client ECU 20A via the first Ethernet signal line 50A. Each time the service IF unit 122 receives the first event data from the host device 11A, it converts the first event data into the third event data and transmits the third event data to the first client ECU 20A.

[0059] <2-3. Service-oriented communication between the second server ECU and the second client ECU> Next, with reference to the sequence diagram of FIG. 10, the processing flow in the service-oriented communication of the second pattern will be described. In the second pattern, the second client ECU 20B and the second server ECU 10B perform two-way communication, and each time the second client ECU 20B makes a request, the second server ECU 10B responds. Here, the processing of the two-way communication between the second server ECU 10B and the second client ECU 20B will be described, but the second server ECU 10B may perform two-way communication with the first client ECU 20A or other client ECUs.

[0060] In S310 to S350, the host device 11B, the service control unit 121, and the second client ECU 20B execute the same processing as in S10 to S50. In S360, the second client ECU 20B transmits the first request message to the service IF unit 122 via the second Ethernet signal line 50B. The first request message includes a SOME / IP header and first data in accordance with SOME / IP.

[0061] In S370, the service IF unit 122 converts the received first request message into a second request message based on the second setting information. Specifically, the service IF unit 122 deletes the SOME / IP header from the first request message, adds a MethodID, and generates the second request message. That is, the second request message includes a method ID and first data in accordance with SPI.

[0062] The service IF unit 122 selects a request identifier based on the second setting information, and transmits a second request message together with the request identifier to the host device 11B via the second server signal line 15B. At this time, the service IF unit 22 may attach an identifier indicating that the second request message is a request message.

[0063] In S380, the host device 11B transmits a first response message together with a response identifier to the service IF unit 122 via the second server signal line 15B. The first response message is a response to the second request message and includes a method ID and second data according to SPI. At this time, the host device 11B may attach an identifier indicating that the first response message is a response message.

[0064] In S390, the service IF unit 122 converts the received first response message into a second response message based on the second setting information. Specifically, the service IF unit 122 deletes the method ID from the second response message and adds a SOME / IP header to generate the second response message. That is, the second response message includes a SOME / IP header and second data according to SOME / IP. The service IF unit 122 transmits the second response message to the second client ECU 20B via the second Ethernet signal line 50B.

[0065] <3. State Transition> Next, with reference to FIG. 11, the transition of the service provision state of the first server ECU 10A will be described. The transition of the service provision state of the second server ECU 10B is the same as the transition of the service provision state of the first server ECU 10A, so the description thereof will be omitted. After the first server ECU 10A is started, the service provision state transitions between the NotReady state and the Ready state.

[0066] In the NotReady state, the service from the first server ECU 10A is not provided. In this state, the service IF unit 122 discards the data transmitted from the host device 11A.

[0067] In the Ready state, the service from the first server ECU 10A is provided. In this state, the service control unit 121 transmits Offer Servce. The service IF unit 122 receives Subscribe EventGroup from the client ECU and starts event communication.

[0068] In the Ready state, the service IF unit 122 converts the request message by SOME / IP from the client ECU into a request message corresponding to on-board communication and transmits it to the host device 11A. Also, the service IF unit 122 converts the response message by on-board communication from the host device 11A into a response message corresponding to SOME / IP and transmits it to the client ECU.

[0069] Next, with reference to FIG. 12, the transition of the event distribution state of the first server ECU 10A will be described. The transition of the event distribution state of the second server ECU 10B is the same as the transition of the event distribution state of the first server ECU 10A, so the description will be omitted. After the first server ECU 10A is started, the event distribution state transitions between the ServiceDown state and the ServiceUp state.

[0070] In the ServiceDown state, the service provision state is the NotReady state. When the service provision state transitions from the NotReady state to the Ready state in the ServiceDown state, the event distribution state transitions from the ServiceDown state to the ServiceUp state.

[0071] In the ServiceUp state, the service provision state is the Ready state. In the ServiceUp state, the service delivery state transitions between the NotSubscribed state and the Subscribed state. The initial state is the NotSubscribed state. In the NotSubscribed state, the first server ECU 10A does not send events.

[0072] In the Subscribed state, the first server ECU 10A delivers events. In the Subscribed state, the service delivery state transitions between the SubscribedMulticast state and the SubscribedUnicast state. In the SubscribedMulticast state, a certain number or more of client ECUs subscribe to events regularly. In the SubscribedUnicast state, less than a certain number of client ECUs subscribe to events regularly.

[0073] In the ServiceUp state, when a Subscribed EventGroup is received from a client ECU, the event delivery state transitions from the NotSubscribed state to the SubscribedUnicast state. In the SubscribedUnicast state, when the number of client ECUs subscribing to an event reaches a certain number or more, the event delivery state transitions from the SubscribedUnicast state to the SubscribedMulticast state. In the SubscribedMulticast state, when the number of client ECUs subscribing to an event becomes less than a certain number, the event delivery state transitions from the SubscribedMulticast state to the SubscribedUnicast state.

[0074] In the Subscribed state, when the number of client ECUs subscribing to an event becomes zero, the event delivery state transitions from the Subscribed state to the NotSubscribed state. Also, in the Subscribed state, when the service provision state transitions from the Ready state to the NotReady state, the event delivery state transitions from the ServiceUp state to the SeriviceDown state.

[0075] <4. Effects> According to the present embodiment described in detail above, the following effects can be obtained. (1) The service transceivers 12 having the service control units 121 and the service IF units 122 are mounted on the first and second server ECUs 10A and 10B, the first setting information is set in the service control unit 121, and the second setting information is set in the service IF unit 122. Thereby, even when the host devices 11A and 11B cannot implement the protocol stack for service-oriented communication, service-oriented communication can be introduced to the first and second server ECUs 10A and 10B.

[0076] (2) The service control unit 121 transmits a presentation message to the first and second client ECUs 20A and 20B based on the first setting information. Then, the service control unit 121 registers the first and second client ECUs 20A and 20B in the service IF unit 122 based on the periodic subscription requests from the first and second client ECUs 20A and 20B. Thereby, even when the host devices 11A and 11B cannot implement the protocol stack for service-oriented communication, events can be delivered from the first and second server ECUs 10A and 10B to the first and second client ECUs 20A and 20B.

[0077] (3) When delivering large-capacity data from the service IF unit 122, the service IF unit 122 can improve communication efficiency by using a protocol different from the protocol used for communication for establishing service-oriented communication.

[0078] (4) The service IF unit 122 converts a request message and a response message based on the second setting information. Thereby, even when the host devices 11A and 11B cannot implement the protocol stack for service-oriented communication, the first and second server ECUs 10A and 10B can transmit a response message to the first and second client ECUs 20A and 20B.

[0079] (Other embodiments) Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be implemented in various modifications.

[0080] (a) In the above embodiment, the first server ECU 10A performed event distribution in service-oriented communication, but it may perform two-way communication with the client ECU like the second server ECU 10B.

[0081] (b) In the above embodiment, the second server ECU 10B performed two-way communication with the second client ECU 20B in service-oriented communication, but it may perform event distribution like the first server ECU 10A.

[0082] (c) The service transceiver 12 and its method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor and a memory programmed to execute one or more functions embodied by a computer program. Alternatively, the service transceiver 12 and its method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Or, the service transceiver 12 and its method described in the present disclosure may be realized by one or more dedicated computers configured by a combination of a processor and a memory programmed to execute one or more functions and a processor configured by one or more hardware logic circuits. Further, the computer program may be stored in a computer-readable non-transitory tangible recording medium as instructions to be executed by a computer. The method of realizing the functions of each part included in the service transceiver 12 does not necessarily have to include software, and all of its functions may be realized using one or more hardware.

[0083] (d) In the above-described embodiment, multiple functions of one component may be realized by multiple components, or one function of one component may be realized by multiple components. Also, multiple functions of multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Further, a part of the configuration of the above-described embodiment may be omitted. Also, at least a part of the configuration of the above-described embodiment may be added to or replaced with the configuration of other above-described embodiments.

[0084] (e) In addition to the communication transceiver described above, the present disclosure can also be realized in various forms such as an electronic control device having the communication transceiver as a component, a program for causing a computer to function as the communication transceiver, a non-transitory tangible recording medium such as a semiconductor memory recording this program, and a service-oriented communication method.

[0085] [Technical idea disclosed in this specification] [Item 1] A communication transceiver (12) connected to the main control unit (11A, 11B) of the communication device (10A, 10B), which is configured to be connected to an electronic control device (20A, 20B) via a single or multiple communication lines (50A, 50B), wherein a service control unit (121) configured to transmit a presentation message offering to provide a service to the electronic control device in accordance with a first protocol, which is a service-oriented communication protocol, based on first setting information set in response to an instruction from the main control unit; When service-oriented communication is established by the prompt message, based on the second setting information set according to an instruction from the main control unit, (i) convert communication data according to a second protocol received from the main control unit into communication data according to the first protocol and transmit it to the electronic control device, or (ii) convert communication data according to the first protocol received from the electronic control device into communication data according to the second protocol and transmit it to the main control unit. The service interface unit (122) is configured as follows. A communication transceiver comprising [Item 2] The service control unit (121) receives a request for periodic subscription of event communication according to the first protocol from the electronic control device (20A, 20B) that has received the prompt message, and based on the received request, registers information of the requester who requested the periodic subscription in the service interface unit (122). The service interface unit receives communication data according to the second protocol from the main control unit (11A, 11B), converts the communication data received from the main control unit into an event message according to the first protocol based on the second setting information, and based on the registered information of the requester, transmits the event message according to the first protocol to the electronic control device. The communication transceiver according to Item 1. [Item 3] The service interface unit (122) receives a request message according to the first protocol from the electronic control device (20A, 20B) that has received the prompt message, converts the request message according to the first protocol into a request message according to the second protocol based on the second setting information, A request message conforming to the second protocol is transmitted to the main control units (11A, 11B) together with an identifier indicating the request message. A response message conforming to the second protocol is received from the main control unit together with an identifier indicating the response message. Based on the second setting information, the response message conforming to the second protocol received from the main control unit is converted into a response message conforming to the first protocol and transmitted to the electronic control device. The communication transceiver according to item 1 or 2. [Item 4] The service control unit (121) A request for periodic subscription of event communication conforming to the first protocol is received from the electronic control device (20A) that has received the prompt message. Based on the received request, information on the requester who requested the periodic subscription is registered in the service interface unit (122). The service interface unit Communication data conforming to the second protocol is received from the main control unit (11A). Based on the second setting information, the communication data received from the main control unit is converted into communication data conforming to a third protocol different from the first protocol. Based on the registered information on the requester, the communication data conforming to the third protocol is transmitted to the electronic control device. The communication transceiver according to any one of items 1 to 3. [Item 5] The first protocol is Scalable service - Oriented MiddlewarE over Internet Protocol (SOME / IP) or Data Distribution Service (DDS). The communication transceiver according to any one of items 1 to 4. [Item 6] The second protocol corresponds to at least one of Serial Peripheral Interface (SPI), Mobile Industry Processor Interface - Camera Serial Interface (MIPI-CSI), Mobile Industry Processor Interface - Camera Serial Interface 2 (MIPI-CSI2), and Mobile Industry Processor Interface - Display Serial Interface (MIPI-DSI). The communication transceiver according to any one of Items 1 to 5. [Item 7] The third protocol is Institute of Electrical and Electronics Engineers (IEEE) 1722. The communication transceiver according to Item 4.

Explanation of Signs

[0086] 10A…First server ECU, 10B…Second server ECU, 11A, 11B…Host devices, 12…Service transceiver, 20A…First client ECU, 20B…Second client ECU, 50A…First Ethernet signal line, 50B…Second Ethernet signal line, 100…Communication system, 111…Setting unit, 121…Service control unit, 122…Service IF unit.

Claims

1. In a communication device (10A, 10B) configured to be connected to an electronic control device (20A, 20B) via a single or a plurality of communication lines (50A, 50B), a communication transceiver (12) connected to a main control unit (11A, 11B) of the communication device, comprising: a service control unit (121) configured to transmit a presentation message requesting to provide a service to the electronic control device according to a first protocol which is a service-oriented communication protocol, based on first setting information set according to an instruction from the main control unit; a service interface unit (122) configured to, when service-oriented communication is established by the presentation message, (i) convert communication data according to a second protocol received from the main control unit into communication data according to the first protocol and transmit the converted data to the electronic control device, or (ii) convert communication data according to the first protocol received from the electronic control device into communication data according to the second protocol and transmit the converted data to the main control unit, based on second setting information set according to an instruction from the main control unit; A communication transceiver comprising the above components.

2. The service control unit (121): receives a request for periodic subscription of event communication according to the first protocol from the electronic control device (20A, 20B) that has received the presentation message; and registers information of the requester that has requested the periodic subscription in the service interface unit (122) based on the received request. The service interface unit: receives communication data according to the second protocol from the main control unit (11A, 11B); converts the communication data received from the main control unit into an event message according to the first protocol based on the second setting information; and transmits the event message according to the first protocol to the electronic control device based on the registered information of the requester. The communication transceiver according to Claim 1.

3. The service interface unit (122): receives a request message according to the first protocol from the electronic control device (20A, 20B) that has received the presentation message; converts the request message according to the first protocol into a request message according to the second protocol based on the second setting information; Transmit a request message conforming to the second protocol together with an identifier indicating the request message to the main control units (11A, 11B). Receive a response message conforming to the second protocol together with an identifier indicating the response message from the main control unit. Based on the second setting information, convert the response message conforming to the second protocol received from the main control unit into a response message conforming to the first protocol and transmit it to the electronic control device. The communication transceiver according to claim 1.

4. The service control unit (121) Receive a request for periodic subscription of event communication conforming to the first protocol from the electronic control device (20A) that has received the prompt message. Based on the received request, register information of the requester who requested the periodic subscription in the service interface unit (122). The service interface unit Receive communication data conforming to the second protocol from the main control unit (11A). Based on the second setting information, convert the communication data received from the main control unit into communication data conforming to a third protocol different from the first protocol. Based on the registered information of the requester, transmit the communication data conforming to the third protocol to the electronic control device. The communication transceiver according to claim 1.

5. The first protocol is Scalable service - Oriented MiddlewarE over Internet Protocol (SOME / IP) or Data Distribution Service (DDS). The communication transceiver according to claim 1.

6. The second protocol corresponds to at least one of Serial Peripheral Interface (SPI), Mobile Industry Processor Interface - Camera Serial Interface (MIPI-CSI), Mobile Industry Processor Interface - Camera Serial Interface 2 (MIPI-CSI2), and Mobile Industry Processor Interface - Display Serial Interface (MIPI-DSI). The communication transceiver according to claim 1.

7. The third protocol is Institute of Electrical and Electronics Engineers (IEEE) 1722. The communication transceiver according to claim 4.

Citation Information

Patent Citations

  • Two-dimensional coordinate reading device and method

    JP2022018622A