In-vehicle device, information processing method and program

The in-vehicle device optimizes relay device operation by associating relay-related and vehicle status information to derive network settings from an external server, addressing the lack of updating mechanisms in existing relay devices and ensuring efficient network adjustments.

JP7585953B2Active Publication Date: 2024-11-19AUTONETWORKS TECH LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021076604
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-28
Publication Date
2024-11-19
Estimated Expiration
2041-04-28

AI Technical Summary

Technical Problem

Existing vehicle-mounted relay devices lack appropriate mechanisms for updating setting information, leading to potential operational difficulties.

Method used

An in-vehicle device communicably connected to a relay device via an in-vehicle network, which acquires relay-related and vehicle status information, associates them, and outputs this information to an external server to derive and apply network setting changes based on aggregated information from multiple vehicles, ensuring suitable operation of the relay device.

Benefits of technology

Enables efficient and appropriate operation of relay devices by deriving network settings optimized for individual vehicle statuses, reducing excessive communication, and ensuring seamless network adjustments based on vehicle state changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007585953000001
    Figure 0007585953000001
  • Figure 0007585953000002
    Figure 0007585953000002
  • Figure 0007585953000003
    Figure 0007585953000003
Patent Text Reader

Abstract

To provide an on-vehicle device and the like that suitably operate a relay device mounted on a vehicle.SOLUTION: An on-vehicle device includes a control unit that performs processing related to network setting information used by a relay device. The control unit acquires relay-related information about relay processing from the relay device, acquires vehicle state information about a vehicle state, associates the acquired relay-related information with the vehicle state information to output it to an outside-vehicle server provided outside the vehicle, acquires network setting information derived based on the relay-related information and the vehicle state information from the outside-vehicle server, and outputs a network setting change instruction generated based on the acquired network setting information to the relay device or an on-vehicle ECU. The network setting information acquired from the outside-vehicle server is information derived based on the relay-related information and the vehicle state information output from a plurality of vehicles communicably connected to the outside-vehicle server.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an in-vehicle device, an information processing method, and a program. [Background technology]

[0002] A vehicle is equipped with an in-vehicle ECU (Electronic Control Unit) for controlling in-vehicle devices such as a power train system such as engine control and a body system such as air conditioning control. The in-vehicle ECU includes a calculation processing unit such as an MPU, a rewritable non-volatile storage unit such as a RAM, and a communication unit for communicating with other in-vehicle ECUs, and controls the in-vehicle devices by reading and executing a control program stored in the storage unit. Furthermore, the vehicle is equipped with a relay device having a wireless communication function, and can communicate with a program providing device connected to a network outside the vehicle via the relay device, download (receive) a control program for the in-vehicle ECU from the program providing device, and update the control program for the in-vehicle ECU (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-97851 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the relay device of Patent Document 1, no consideration is given to the process of updating the setting information used when performing relay control, so there is a concern that it may be difficult to operate the relay device appropriately.

[0005] An object of the present disclosure is to provide an in-vehicle device or the like that can suitably operate a relay device mounted in a vehicle. [Means for solving the problem]

[0006] An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device that is mounted on a vehicle and communicatively connected to a relay device via an in-vehicle network, and is equipped with a control unit that performs processing related to network setting information used by the relay device, wherein the control unit acquires relay-related information related to the relay processing from the relay device, acquires vehicle state information related to the state of the vehicle, associates the acquired relay-related information with the vehicle state information, and outputs the associated relay-related information to an off-vehicle server provided outside the vehicle, acquires from the off-vehicle server network setting information derived based on the relay-related information and the vehicle state information, and outputs a network setting change instruction generated based on the acquired network setting information to the relay device, wherein the network setting information acquired from the off-vehicle server is information derived based on the relay-related information and vehicle state information output from a plurality of vehicles communicatively connected to the off-vehicle server. Effect of the Invention

[0007] According to one aspect of the present disclosure, it is possible to provide an in-vehicle device or the like that appropriately operates a relay device mounted in a vehicle. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic diagram illustrating a configuration of an in-vehicle system including an in-vehicle device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating a configuration of an in-vehicle device, etc.; [Diagram 3] FIG. 4 is an explanatory diagram illustrating an example of network setting information. [Figure 4] 10 is an explanatory diagram showing an example of relay-related information etc. aggregated in an external server; [Diagram 5] FIG. 2 is an explanatory diagram (sequence diagram) illustrating one mode of each process by an in-vehicle device or the like. [Figure 6] 4 is a flowchart illustrating a process of a control unit of an in-vehicle device. [Figure 7] 10 is a flowchart illustrating a process of a control unit of the relay device. [Figure 8] 5 is a flowchart illustrating a process of a control unit of an external server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] [Description of the embodiment of the present invention] First, embodiments of the present disclosure will be listed and described. In addition, at least some of the embodiments described below may be arbitrarily combined.

[0010] (1) An in-vehicle device according to one embodiment of the present disclosure is an in-vehicle device mounted on a vehicle and communicatively connected to a relay device via an in-vehicle network, and includes a control unit that performs processing related to network setting information used by the relay device, wherein the control unit acquires relay-related information related to the relay processing from the relay device, acquires vehicle state information related to the state of the vehicle, associates the acquired relay-related information with the vehicle state information, and outputs the associated relay-related information to an off-vehicle server provided outside the vehicle, acquires from the off-vehicle server network setting information derived based on the relay-related information and the vehicle state information, and outputs a network setting change instruction generated based on the acquired network setting information to the relay device, wherein the network setting information acquired from the off-vehicle server is information derived based on the relay-related information and vehicle state information output from a plurality of vehicles communicatively connected to the off-vehicle server.

[0011] In this aspect, the on-board device associates vehicle state information on the state of the vehicle on which the on-board device is mounted with relay-related information output from a relay device mounted on the vehicle, and outputs the associated information to an external server. The external server is configured to derive network setting information suitable for the relay device based on the relay-related information and vehicle state information output from the on-board device, and the on-board device outputs a network setting change instruction generated based on the network setting information acquired from the external server, or the network setting information to the relay device, the on-board ECU, or the relay device and the on-board ECU. The on-board device outputs and applies the network setting information derived by the external server to the relay device, so that the relay device can be operated in a suitable manner. The network setting information acquired from the external server is information (network setting information) derived based on the relay-related information and vehicle state information output from a plurality of vehicles communicably connected to the external server, so that the external server can aggregate information output from a large number of vehicles, and can efficiently derive suitable network setting information based on the aggregated information. The network setting information derived by the external vehicle server is output (transmitted) to each on-board device installed in each of the multiple vehicles, so that the network setting information can be efficiently applied to the relay devices installed in these multiple vehicles.

[0012] (2) In one embodiment of the in-vehicle device according to the present disclosure, when the state of the vehicle is switched, the control unit generates the network setting change instruction from the network setting information in accordance with vehicle state information after the switch, and outputs the generated network setting change instruction to the relay device.

[0013] In this embodiment, the network setting information acquired from the external server includes a plurality of pieces of network setting information corresponding to the respective vehicle states, and the control unit stores the plurality of pieces of network setting information in a predetermined accessible storage area. When the vehicle state is switched, the control unit identifies network setting information including vehicle state information corresponding to the state after the switch, and generates a network setting change instruction based on the identified network setting information and outputs it to the relay device. This allows the relay device to apply appropriate network setting information (network setting change instruction) corresponding to the vehicle state, and the on-board relay device to operate appropriately.

[0014] (3) In one embodiment of the in-vehicle device of the present disclosure, when the amount of communication in the in-vehicle network within a specified period of time exceeds a predetermined threshold, the relay device outputs the relay-related information, and the control unit outputs information associating the relay-related information with the vehicle state information to the off-vehicle server in response to the output of the relay-related information from the relay device.

[0015] In this aspect, the relay device is configured to output relay-related information to the in-vehicle device when the communication volume in the in-vehicle network within a predetermined period exceeds a predetermined threshold. Therefore, the control unit of the in-vehicle device can recognize that the communication volume in the in-vehicle network within a predetermined period exceeds a predetermined threshold based on the output of the relay-related information. Since the control unit outputs the relay-related information, etc. to the external server in response to the output of the relay-related information from the relay device, when the communication volume exceeds the threshold depending on the network setting information currently applied to the relay device, the control unit outputs the relay-related information, etc., and can suppress excessive output (transmission) to the external server. The relay-related information and vehicle state information output to the external server are information in an unfavorable situation, such as when the communication volume exceeds the threshold depending on the network setting information applied to the relay device. Therefore, the information of such a situation (relay-related information and vehicle state information) can be aggregated in the external server, and the external server can be caused to derive the network setting information based on the information.

[0016] (4) An in-vehicle device according to one embodiment of the present disclosure outputs the relay-related information when the amount of communication in the in-vehicle network within a specified period of time exceeds a predetermined threshold, and the control unit outputs information associating the relay-related information with the vehicle state information to the off-vehicle server in response to the output of the relay-related information from the relay device.

[0017] In this aspect, the control unit of the in-vehicle device is configured to output relay-related information when the communication volume in the in-vehicle network within a predetermined period exceeds a predetermined threshold. Therefore, the control unit of the in-vehicle device can recognize that the communication volume in the in-vehicle network within a predetermined period exceeds a predetermined threshold based on the output of the relay-related information. Since the control unit outputs the relay-related information, etc. to the external server in response to the output of the relay-related information, when the communication volume exceeds the threshold depending on the network setting information currently applied to the in-vehicle device functioning as a relay device, the control unit outputs the relay-related information, etc., and can suppress excessive output (transmission) to the external server. The relay-related information and vehicle state information output to the external server are information in an unfavorable situation, such as when the communication volume exceeds the threshold depending on the network setting information applied to the in-vehicle device functioning as a relay device. Therefore, the information of such a situation (relay-related information and vehicle state information) can be aggregated in the external server, and the external server can be caused to derive the network setting information based on the information.

[0018] (5) In an in-vehicle device according to one embodiment of the present disclosure, a number of relay devices are connected to the in-vehicle network, and a predetermined memory area accessible from the control unit stores network setting information corresponding to each of the relay devices, and the control unit outputs the network setting information corresponding to each of the relay devices to the relay devices.

[0019] In this aspect, the network setting information stored in the memory area includes network setting information corresponding to each of the multiple relay devices, and the control unit outputs the network setting information corresponding to the relay device or a network setting change instruction generated based on the network setting information to the relay device. In this way, even if there are multiple relay devices connected to the in-vehicle network, each of the relay devices can be operated appropriately for each of the relay devices.

[0020] (6) In an in-vehicle device according to one embodiment of the present disclosure, the relay-related information acquired from the relay device includes setting information stored in a device in the vehicle among the network setting information used by the relay device, and information regarding the communication state during the period when the relay device performed relay processing using the network setting information. The information on the communication state is information such as communication traffic volume (actual measurement value), buffer retention volume (actual measurement value), and quality information (actual measurement value). The device in the vehicle that stores the network setting information is, for example, a device such as an in-vehicle device or a relay device. However, if there is another device in the vehicle that stores the network setting information, that device may be used. The setting information stored in the device in the vehicle among the network setting information refers to information that can uniquely identify the network setting information set in each relay device of the vehicle by the external server. For example, if the network setting information set in the relay device by the external server can be identified by the version number in Fig. 3 described later, the version number may be used.

[0021] In this embodiment, the relay-related information obtained from the relay device and output to the off-vehicle server includes network setting information currently being used by the relay device and information regarding the communication state during the period when relay processing was performed using the network setting information, so that the off-vehicle server can be caused to derive network setting information based on this information.

[0022] (7) In an in-vehicle device according to one aspect of the present disclosure, the vehicle state information includes information regarding a usage pattern of the vehicle.

[0023] In this embodiment, the vehicle state information includes information on a plurality of states that the vehicle can be in, such as the usage mode (usage scene) of the vehicle, such as an automatic driving state, a car sharing state, etc., the running state of the vehicle, such as a general road running state, a highway running state, a rainy weather running state, etc., a repro state, a battery charging state, etc. Since the network setting information acquired from the external server includes information for each of these pieces of vehicle state information, by applying the network setting information to the relay device, the relay device can be operated appropriately according to each piece of vehicle state information.

[0024] (8) A program according to one embodiment of the present disclosure provides a computer that is mounted in a vehicle and communicatively connected to a relay device via an in-vehicle network, which acquires relay-related information regarding relay processing from the relay device, acquires vehicle state information regarding a state of the vehicle, associates the acquired relay-related information with the vehicle state information, and outputs the associated information to an off-vehicle server provided outside the vehicle, and acquires from the off-vehicle server network setting information derived based on the relay-related information and the vehicle state information, the network setting information acquired from the off-vehicle server being information derived based on the relay-related information and vehicle state information output from a plurality of vehicles communicatively connected to the off-vehicle server, and outputs a network setting change instruction generated based on the acquired network setting information to the relay device.

[0025] In this aspect, the computer can be used as an in-vehicle device that appropriately operates a relay device mounted in a vehicle.

[0026] (9) An information processing method according to one aspect of the present disclosure includes a computer mounted on a vehicle and communicatively connected to a relay device via an in-vehicle network, which computer acquires relay-related information regarding relay processing from the relay device, acquires vehicle state information regarding a state of the vehicle, associates the acquired relay-related information with the vehicle state information, and outputs the associated information to an off-vehicle server provided outside the vehicle, and acquires from the off-vehicle server network setting information derived based on the relay-related information and the vehicle state information, the network setting information acquired from the off-vehicle server being information derived based on the relay-related information and vehicle state information output from a plurality of vehicles communicatively connected to the off-vehicle server, and outputs a network setting change instruction generated based on the acquired network setting information to the relay device.

[0027] According to this aspect, it is possible to provide an information processing method for suitably operating a relay device mounted on a vehicle by a computer.

[0028] [Details of the embodiment of the present disclosure] Specific examples of the in-vehicle device 2 and the like according to the embodiments of the present disclosure will be described below with reference to the drawings. Note that the present disclosure is not limited to these examples, but is defined by the claims, and is intended to include all modifications within the meaning and scope equivalent to the claims.

[0029] (Embodiment 1) Hereinafter, an embodiment will be described with reference to the drawings. Fig. 1 is a schematic diagram illustrating a configuration of an in-vehicle system S including an in-vehicle device 2 according to the first embodiment. Fig. 2 is a block diagram illustrating a configuration of the in-vehicle device 2 and the like. The in-vehicle system S includes an exterior communication device 1, an in-vehicle device 2, a relay device 3, and an in-vehicle ECU 4 mounted on a vehicle C, and the in-vehicle device 2 is communicably connected to an exterior server 100 connected to an exterior network N via the exterior communication device 1.

[0030] The external server 100 is a computer such as a server connected to an external network N such as the Internet or a public line network, and includes a control unit 102 using a CPU or the like, a storage unit 101, and a communication unit 103. The storage unit 101 is configured with a RAM (Random Access Memory), a ROM (Read Only Memory), a hard disk, or the like. The storage unit 101 stores network setting information for controlling the relay device 3 and the like mounted on the vehicle C. The communication unit 103 is a communication I / F compatible with, for example, Ethernet (registered trademark).

[0031] The external server 100 is communicatively connected to a plurality of vehicles C via the external network N, and by acquiring relay-related information and vehicle status information from these vehicles C, aggregates the relay-related information and vehicle status information held by each of the plurality of vehicles C. The relay-related information and vehicle status information transmitted from each vehicle C are associated with each other and transmitted from the vehicle C to an external server. Therefore, the external server can reliably grasp in what state (usage scene) the acquired relay-related information is relay-related information for each vehicle C.

[0032] The external server 100 derives network setting information by, for example, machine learning or statistical analysis processing based on the information acquired and aggregated from the multiple vehicles C. Since the network setting information is derived based on the information (relay-related information and vehicle state information) aggregated from the multiple vehicles C, it becomes information (optimized network setting information) optimized according to each vehicle state (usage scene, etc.). The external server 100 transmits the derived network setting information to the multiple vehicles C, so that the network setting information is distributed to the multiple vehicles C. Details of communication processing with the external server and the vehicle C will be described later. The external server 100 may be an OTA (Over The Air) server that transmits (distributes) control programs of the on-vehicle device 2, the relay device 3, the on-vehicle ECU 4, etc. mounted on the vehicle C to the vehicle C and updates various control programs applied to the vehicle C.

[0033] The vehicle C is equipped with an external communication device 1, an in-vehicle device 2, a relay device 3, and a plurality of in-vehicle ECUs 4 for controlling various in-vehicle devices (sensors, actuators). The external communication device 1 and the in-vehicle device 2 are communicatively connected by a communication line 51 (Ethernet cable) corresponding to a communication protocol such as Ethernet. A cascade-shaped in-vehicle network 5 is configured by connecting a plurality of relay devices 3 to the in-vehicle device 2 by the communication line 51. A plurality of in-vehicle ECUs 4 are communicatively connected to the relay device 3 by the communication line 51. The communication connection form in the in-vehicle network 5 is not limited to Ethernet, and may be, for example, a CAN bus corresponding to a communication protocol such as CAN.

[0034] The outside-vehicle communication device 1 includes an outside-vehicle communication unit 11 and an inside-vehicle communication unit 12. The inside-vehicle communication unit 12 is an Ethernet PHY unit that supports TCP / IP packets transmitted over a communication line 51 such as an Ethernet cable of 100BASE-T1 or 1000BASE-T1. The outside-vehicle communication device 1 is communicatively connected to the in-vehicle device 2 via the inside-vehicle communication unit 12 and the communication line 51 such as an Ethernet cable.

[0035] The exterior-of-vehicle communication unit 11 is a communication device for wireless communication using a mobile communication protocol such as 4G, 5G, or WiFi, and transmits and receives data to and from the exterior-of-vehicle server 100 via an antenna 13 connected to the exterior-of-vehicle communication unit 11. The communication between the exterior-of-vehicle communication device 1 and the exterior-of-vehicle server 100 is performed via an exterior-of-vehicle network N, such as a public line network or the Internet.

[0036] In this embodiment, the outside-vehicle communication device 1 is a device separate from the in-vehicle device 2, and these devices are communicatively connected by the in-vehicle communication unit 12 or the like, but the present invention is not limited to this. The outside-vehicle communication device 1 may be built into the in-vehicle device 2 as one of the components of the in-vehicle device 2.

[0037] The in-vehicle device 2 includes a control unit 20, a storage unit 21, an input / output I / F 22, an in-vehicle communication unit 23, and the like. The in-vehicle device 2 may be an integrated ECU that is configured with a central control device (controller) such as a vehicle computer and controls the entire vehicle C. The in-vehicle device 2 may monitor the state (vehicle state) of the vehicle C depending on the usage scene or the like, or may control switching of the vehicle state. The in-vehicle device 2 outputs (transmits) a network setting change instruction to the relay device 3 in response to switching of the vehicle state, and performs control processing to change the network setting of the relay device 3. The in-vehicle device 2 may be the relay device 3. For example, when the in-vehicle network 5 has a cascade topology, the relay device 3 located at the top may function as the in-vehicle device 2 in this embodiment and perform control processing to change the network setting of other relay devices 3 connected at a lower level.

[0038] The control unit 20 is configured with a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), etc. The control unit 20 performs various control processes and arithmetic processes by reading and executing each program and data previously stored in the storage unit 21. Each program, etc. stored in the storage unit 21 may be a control program read from a recording medium 211 readable by the in-vehicle device 2. In addition, each program, etc. stored in the storage unit 21 may be a program downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 21.

[0039] The storage unit 21 is configured with a volatile memory element such as a RAM (Random Access Memory) or a non-volatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory. The storage unit 21 stores network setting information corresponding to each relay device 3. Furthermore, the storage unit 21 stores (accumulates) relay-related information acquired from each relay device 3.

[0040] The input / output I / F 22 is, for example, a communication interface for serial communication. The in-vehicle device 2 is communicatively connected via the input / output I / F 22 to a display device (not shown) such as a display and an IG switch (not shown) that starts and stops the vehicle C.

[0041] The in-vehicle communication unit 23 is an input / output interface (Ethernet PHY unit) using a communication protocol such as Ethernet, and the control unit 20 communicates with the relay device 3, the in-vehicle ECU 4, or the external communication device 1 connected to the in-vehicle network 5 via the in-vehicle communication unit 23. A plurality of in-vehicle communication units 23 are provided, and a communication line 51 constituting the in-vehicle network 5 is connected to each of the in-vehicle communication units 23.

[0042] The relay device 3 includes a control unit 30, a storage unit 31, and an in-vehicle communication unit 32, similar to the in-vehicle device 2, and the configuration of each functional unit is similar to that of the functional units included in the in-vehicle device 2. The relay device 3 is, for example, an Ethernet switch (Ether SW) that functions as a layer 2 switch or a layer 3 switch. The storage unit 31 of the relay device 3 stores network setting information for relay control (switching control). The network setting information stored in the storage unit 31 of the relay device 3 is information specified based on a network setting change instruction (network setting information) output (transmitted) from the in-vehicle device 2, and is information corresponding to each vehicle state such as a usage scene of the vehicle C. The network setting information will be described in detail later.

[0043] The in-vehicle ECU 4 includes a control unit (not shown), a storage unit (not shown), and an in-vehicle communication unit (not shown) similar to the in-vehicle device 2 or the relay device 3, and is connected to any of the relay devices 3. These in-vehicle ECUs 4 may perform inter-service communication with each other via the relay device 3, and may further communicate with the in-vehicle device 2. The in-vehicle ECU 4 may acquire (receive) information on switching of the vehicle state (usage scene, etc.) from the in-vehicle device 2, or a network setting change instruction (network setting information) similar to the relay device 3, and respond to the switching of the vehicle state (usage scene, etc.).

[0044] Fig. 3 is an explanatory diagram showing an example of network setting information. CTL in Fig. 3 is an abbreviation for controller. The network setting information is stored in the storage unit 21 of the in-vehicle device 2, for example, in a table format. The storage area in which the network setting information referred to by the control unit 20 of the in-vehicle device 2 is stored is not limited to the storage unit 21 of the in-vehicle device 2, and may be, for example, a storage area accessible from the in-vehicle device 2, such as another in-vehicle ECU 4 or an external storage device such as a cloud server.

[0045] The network setting information is stored as initial information in the storage unit 21 of the in-vehicle device 2, for example, during the manufacturing stage of the vehicle C. Thereafter, even after the vehicle C is shipped to the market, the network setting information is updated (upgraded) to the network setting information acquired (downloaded) from the external server 100 by communication between the in-vehicle device 2 and the external server 100. The network setting information output (transmitted) from the external server 100 is derived, for example, by machine learning or statistical analysis based on information (relay-related information and vehicle status information) acquired and aggregated by the external server 100 from a plurality of vehicles C, and is suitable network setting information according to the vehicle status information.

[0046] The network setting information is stored (saved), for example, in table format, and the management items (fields) of the table include version number, ARL, ACL, QoS, vehicle status (usage scenario), communication traffic volume (design value), buffer retention volume (design value), and quality information (design value).

[0047] The version number of the network setting information is stored in the management item (field) of the version number. The version number is a number that is assigned by the external server 100 that derives the network setting information.

[0048] In the management items (fields) of the ARL (Address Resolution Logic table), for example, a MAC address table showing the correspondence between the MAC address of the connected in-vehicle ECU 4 and the connected physical port number is stored. When the relay device 3 is an Ethernet switch that relays Ethernet packets, it functions as a Layer 2 switch by referring to the ARL. The ARL may also include a routing table showing the correspondence between MAC addresses and IP addresses. The Ethernet switch also functions as a Layer 3 switch by referring to the ARL.

[0049] The management item (field) of the ACL (Access Control List) stores, for example, information on access control settings used when performing service communication between the in-vehicle ECUs 4. The management item (field) of the QoS (Quality of Service) stores, for example, information on the priority order, bandwidth guarantee, etc. for each packet to be relayed when performing relay processing.

[0050] The vehicle status management item (field) stores information regarding multiple vehicle states that vehicle C can be in, such as the usage mode (usage scene) of vehicle C, such as an autonomous driving state, a car sharing state, etc., the driving state of vehicle C, such as a general road driving state, a highway driving state, a rainy weather driving state, etc., a repro state, and a battery charging state.

[0051] The management item (field) of the communication traffic volume stores, for example, a design value (a specification value determined by design) of the communication traffic volume in each in-vehicle communication unit 32 of the relay device 3. There are two types of communication traffic volume: the communication traffic volume when the in-vehicle device 2 or the relay device 3 transmits data to another in-vehicle ECU 4, and the traffic volume when the in-vehicle device 2 or the relay device 3 receives data from another in-vehicle ECU 4.

[0052] In the management item (field) of the buffer accumulation amount, for example, a design value (a specification value determined in design) of the buffer accumulation amount in each of the in-vehicle communication units 32 of the relay device 3 is stored.

[0053] In the quality information management items (fields), for example, design values ​​(specification values ​​determined by design) related to communication quality, such as whether or not packet discard is permitted in each in-vehicle communication unit 32 of the relay device 3, are stored.

[0054] The in-vehicle device 2 acquires new network setting information from the external server 100, and updates the version number of the network setting information to the new version by overwriting the old version of the network setting information, etc. In the illustrated example of the present embodiment, the version number is updated from 1.0 to 1.1, for example, and the QoS value is changed in the network setting information of version 1.1 based on an assumption of the maximum communication volume.

[0055] The storage unit 21 of the in-vehicle device 2 stores network setting information corresponding to each relay device 3 mounted on the vehicle C, i.e., each piece of network setting information used by each relay device 3. The individual pieces of network setting information corresponding to each relay device 3 may be stored (saved) as a single piece of table data (file), or may be stored (saved) individually as the same number of pieces of table data (files) as the number of relay devices 3.

[0056] When the vehicle state, such as the usage scene of the vehicle C, is switched based on the network setting information, the in-vehicle device 2 generates a network setting change instruction according to the vehicle state (usage scene) after the switch, and outputs (transmits) the generated network setting change instruction to each relay device 3. Each relay device 3 changes a control parameter for performing relay processing based on the network setting change instruction output from the in-vehicle device 2.

[0057] The in-vehicle device 2 may transmit (output) a data file that is the network setting information itself to each relay device 3, thereby transmitting (outputting) a network setting change instruction. Alternatively, the in-vehicle device 2 and the relay device 3 may share the network setting information transmitted from the external server 100. In this case, when the vehicle state (usage scene, etc.) is switched, the in-vehicle device 2 outputs a signal (vehicle state switching signal) indicating the vehicle state (usage scene, etc.) after the switch to the relay device 3 as a network setting change instruction. The relay device 3 may change a control parameter of the relay process of the own device by referring to the shared network setting information based on the acquired vehicle state switching signal.

[0058] 4 is an explanatory diagram showing an example of relay-related information etc. aggregated by the external server 100. When, for example, the communication volume of a vehicle C that is communicably connected to the external server 100 via the external network N exceeds a threshold during a predetermined period, relay-related information and vehicle status information are associated with each other and transmitted (output) to the external server 100. The external server 100 aggregates the information (relay-related information and vehicle status information) acquired (received) from the vehicles C as, for example, reception log information in a table format, and stores (preserves) the information in the storage unit 101 of the external server 100.

[0059] The reception log information (relay-related information and vehicle status information) is stored (saved), for example, in table format, and the management items (fields) of the table include the reception time (notification time), notified vehicle number (VIN), version number, vehicle status (usage scenario), communication traffic volume (actual measured value), buffer backlog volume (actual measured value), and quality information (actual measured value).

[0060] The management item (field) of reception time (notification time) stores the reception time indicating the date and time when information (relay-related information and vehicle status information) was received from vehicle C. The management item (field) of notified vehicle number (VIN) stores the vehicle number for uniquely identifying vehicle C that transmitted (communicated) the relay-related information and vehicle status information in association with each other. The vehicle number may be, for example, a vehicle identification number (VIN: Vehicle Identification Number).

[0061] The version number of the network setting information included in the relay-related information transmitted from vehicle C is stored in the management item (field) of the version number. The vehicle status (usage scene) management item (field) stores information related to the vehicle status (usage scene, etc.) included in the vehicle status information transmitted from vehicle C.

[0062] The management item (field) of communication traffic volume (actual value) stores the actual value of the communication traffic volume included in the relay-related information transmitted from vehicle C. The actual value of the communication traffic volume includes the actual value in each of the in-vehicle communication units 32 of each relay device 3. The management item (field) of buffer accumulation volume (actual value) stores the actual value of the buffer accumulation volume included in the relay-related information transmitted from vehicle C. The actual value of the buffer accumulation volume includes the actual value in each of the in-vehicle communication units 32 of each relay device 3. The management item (field) of quality information (actual value) stores the actual value of quality information included in the relay-related information transmitted from vehicle C. The actual value of the quality information includes the actual value in each of the in-vehicle communication units 32 of each relay device 3.

[0063] Based on the relay-related information and vehicle condition information aggregated from the multiple vehicles C, the external vehicle server 100 derives network setting information that is appropriate for the vehicle condition by using, for example, machine learning techniques using neural networks, SVMs, decision trees, etc., or statistical analysis techniques.

[0064] 5 is an explanatory diagram (sequence diagram) illustrating one mode of each process by the in-vehicle device 2 etc. The process of linking the relay device 3 and the in-vehicle device 2 in each of the multiple vehicles C included in the in-vehicle system S with the external server 100 will be described using the illustrated sequence diagram in this embodiment.

[0065] The in-vehicle device 2 of the vehicle C(1) detects a change in the state (vehicle state) of the vehicle C (S1), for example, due to a change in the usage scene of the vehicle C. The change in the usage scene is, for example, a change from a manual driving state (manual driving mode) to an automatic driving state (automatic driving mode).

[0066] The in-vehicle device 2 of the vehicle C(1) generates a network setting change instruction corresponding to the post-switched vehicle state (usage scenario) based on the detection of the switch in the vehicle state, and outputs (transmits) it to the relay device 3 and the in-vehicle ECU 4 (S2). The relay device 3 and the in-vehicle ECU 4 that acquire (receive) the network setting change instruction from the in-vehicle device 2 perform relay processing and inter-service communication corresponding to the post-switched vehicle state (usage scenario) based on the network setting information included in the network setting change instruction.

[0067] As with vehicle C(1), the in-vehicle device 2 of vehicle C(2) detects (S3) a change in the state (vehicle state) of vehicle C (e.g., from an autonomous driving state to a manual driving state), and based on the detection of the change, generates a network setting change instruction corresponding to the post-switched vehicle state (usage scene), and outputs (transmits) it to the relay device 3 and the in-vehicle ECU 4 (S4).

[0068] When the relay device 3 of vehicle C (1) detects a change in communication volume, such as the communication volume exceeding a threshold within a specified period of time (S5), it collects the relay log data stored in the memory unit 31 of the relay device 3, the network setting information currently applied, and the communication volume that exceeded the threshold, and outputs (transmits) the collected information to the in-vehicle device 2 as relay-related information (various SW-related information) (S6).

[0069] The in-vehicle device 2 of the vehicle C(1) associates the relay related information (various SW related information) acquired from the relay device 3 with the current vehicle state information (usage scene), and outputs (transmits) the associated information to the external server 100 (S7). In this manner, the in-vehicle device 2 can accumulate the relay related information acquired from the relay device 3.

[0070] In vehicle C (2), the relay device 3 does not detect a change in communication volume, so relay-related information (various SW-related information) is not output (transmitted) from the relay device 3 to the in-vehicle device 2, and therefore no output (notification) is made from the in-vehicle device 2 to the external server 100.

[0071] The external server 100 aggregates the relay-related information and vehicle state information by acquiring (receiving) the information output (transmitted) from the in-vehicle devices 2 of the multiple vehicles C. Based on the aggregated relay-related information and vehicle state information, the external server 100 performs machine learning using, for example, a neural network, SVM, a decision tree, or a statistical analysis (S8), and derives network setting information (NW setting information) that is suitable for the vehicle state (S9).

[0072] The external server 100 outputs (distributes) the derived network setting information to all vehicles C, such as vehicle C(1), vehicle C(2), etc., that are communicatively connected via the external network N (S10, S11).

[0073] The in-vehicle device 2 of vehicle C(1) acquires (receives) the network setting information output (distributed) from the external server 100, and updates the network setting information from the old version to the newly acquired network setting information (S12).

[0074] The in-vehicle device 2 of vehicle C(1) generates a network setting change instruction corresponding to the post-switching vehicle state (usage scene) based on the updated network setting information, and outputs (transmits) the generated network setting change instruction to the relay device 3 and the in-vehicle ECU 4 (S13).

[0075] The in-vehicle device 2 of vehicle C(2), like vehicle C(1), acquires (receives) the network setting information output (distributed) from the external server 100, and updates the network setting information from the old version to the newly acquired network setting information (S14).

[0076] In vehicle C(2), when the next usage scene is switched (for example, from a manual driving state to an automatic driving state), i.e., when the vehicle state is switched after the update process, the in-vehicle device 2 generates a network setting change instruction corresponding to the post-switched vehicle state (usage scene) and outputs (transmits) the generated network setting change instruction to the relay device 3 and the in-vehicle ECU 4.

[0077] FIG. 6 is a flowchart illustrating the processing of the control unit 20 of the in-vehicle device 2. FIG. 7 is a flowchart illustrating the processing of the control unit 30 of the relay device 3. FIG. 8 is a flowchart illustrating the processing of the control unit 102 of the external server 100. The control unit 20 of the in-vehicle device 2 steadily performs the following processing, for example, when the vehicle C is in a started state (IG switch is on) or stopped state (IG switch is off). When the control unit 20 of the in-vehicle device 2 performs the following processing, the relay device 3 and the external server 100 communicate with the in-vehicle device 2 and perform the following processing in association with the processing of the in-vehicle device 2.

[0078] The control unit 20 of the in-vehicle device 2 determines whether the state of the vehicle C has been changed (S101). The control unit 20 of the in-vehicle device 2 determines whether the state of the vehicle C, such as the usage mode (use scene) or driving state of the vehicle C, has been changed. The control unit 20 of the in-vehicle device 2 acquires information (vehicle state information) on the state of the vehicle C based on, for example, data transmitted from an in-vehicle device connected to the input / output I / F 22 or any of the in-vehicle ECUs 4, and determines whether the current vehicle state (e.g., a manual driving state) has been switched to another vehicle state (e.g., an automatic driving state) based on the vehicle state information.

[0079] If the state of the vehicle C has not been switched (S101: NO), it is determined whether or not relay related information has been received from the relay device 3 (S102). The output of relay related information from the relay device 3 to the vehicle-mounted device 2 (transmission and reception between the relay device 3 and the vehicle-mounted device 2: A) is performed by the process of T106 in the process flow of the relay device 3, which will be described later.

[0080] When relay related information is received (S102: YES), the control unit 20 of the in-vehicle device 2 associates the relay related information with the vehicle status information and outputs the associated information to the external server 100 (S103). The control unit 20 of the in-vehicle device 2 associates the relay related information acquired from the relay device 3 with the current vehicle status information, i.e., the vehicle status information at the time when the relay related information was collected by the relay device 3, and outputs the associated information to the external server 100 (transmission and reception between the in-vehicle device 2 and the external server 100: B).

[0081] If relay-related information has not been received (S102: NO) or after execution of S103, the control unit 20 of the in-vehicle device 2 determines whether network setting information has been received from the external server 100 (S104). Output of the network setting information from the external server 100 to the in-vehicle device 2 (transmission and reception between the external server 100 and the in-vehicle device 2: C) is performed by processing G105 in the external server 100, which will be described later.

[0082] When the network setting information is received (S104: YES), the control unit 20 of the in-vehicle device 2 updates the network setting information (S105). The control unit 20 of the in-vehicle device 2 updates the network setting information by storing the network setting information received (acquired) from the external server 100 in the storage unit 21 of the in-vehicle device 2.

[0083] When the state of vehicle C has been switched (S101: YES), or after execution of S105, the control unit 20 of the in-vehicle device 2 outputs a network setting change instruction to the relay device 3 (S106). The control unit 20 of the in-vehicle device 2 references the network setting information stored in the storage unit 21 of the in-vehicle device 2, generates a network setting change instruction according to the state of vehicle C after the switching, and outputs (transmits) the generated network setting change instruction to each relay device 3 (transmission and reception between the relay device 3 and the in-vehicle device 2: D).

[0084] If the network setting information has not been received (S104: NO), or after S106 has been executed, the control unit 20 of the in-car device 2 performs a loop process to execute the process of S101 again.

[0085] The control unit 30 of the relay device 3 determines whether or not a network setting change instruction has been received from the in-vehicle device 2 (T101). The output of the network setting change instruction from the in-vehicle device 2 to the relay device 3 (transmission / reception between the relay device 3 and the in-vehicle device 2: D) is performed by the process of S106 in the in-vehicle device 2.

[0086] When a network setting change instruction is received (T101: YES), the control unit 30 of the relay device 3 changes the network setting (T102). The control unit 30 of the relay device 3 changes the network setting information stored in the storage unit 31 of the relay device 3 based on the network setting change instruction received (acquired) from the in-vehicle device 2, for example, by overwriting and saving it.

[0087] When the network setting change instruction is not received (T101: NO) or after T102 is executed, the control unit 30 of the relay device 3 monitors the communication volume (T103). For example, the control unit 30 of the relay device 3 acquires the communication traffic volume of data flowing through the in-vehicle network 5 (communication line 51) connected to the in-vehicle communication unit 32 of the relay device 3, and monitors the communication volume by accumulating the communication volume for a predetermined period of time.

[0088] The control unit 30 of the relay device 3 determines whether the communication volume has exceeded a threshold during a predetermined period (T104). The control unit 30 of the relay device 3 refers to the threshold stored in the storage unit 31 of the relay device 3, and determines whether the communication volume of the in-vehicle network 5 to which the relay device 3 is connected has exceeded the threshold.

[0089] If the threshold is exceeded (T104: YES), the control unit 30 of the relay device 3 collects relay-related information (T105). The control unit 30 of the relay device 3 collects, for example, relay log data stored in the storage unit 31 of the relay device 3, network setting information currently applied, and the communication volume that exceeded the threshold. The relay log data may include, for example, error information such as packet loss and buffer overflow for each in-vehicle communication unit 32 of the relay device 3, communication quality information based on the queue buffer retention volume, communication traffic volume, number of retransmissions or congestion occurrences, etc. When collecting the communication volume, the control unit 30 of the relay device 3 may calculate statistical information based on the collected communication volume and include the statistical information in the communication volume.

[0090] The control unit 30 of the relay device 3 outputs the collected relay-related information to the vehicle-mounted device 2 (T106). The control unit 30 of the relay device 3 collects relay-related information when a change in communication volume is detected, such as when the communication volume exceeds a threshold, and outputs the information to the vehicle-mounted device 2 (transmission / reception between the relay device 3 and the vehicle-mounted device 2: A). If the threshold value is not exceeded (T104: NO), or after T106 has been executed, the control unit 30 of the relay device 3 performs group processing to execute the processing of T101 again.

[0091] The control unit 102 of the external server 100 judges whether or not the relay related information and the vehicle status information have been received from the in-vehicle device 2 (G101). The output of information (the relay related information and the vehicle status information) from the in-vehicle device 2 to the external server 100 (transmission and reception between the external server 100 and the in-vehicle device 2: B) is performed by the process of S103 in the process flow of the in-vehicle device 2.

[0092] When the relay related information and the vehicle status information are received (G101: YES), the control unit 102 of the external server 100 analyzes the received relay related information and the vehicle status information (G102). The control unit 102 of the external server 100 attempts to derive suitable network setting information for the vehicle status based on the analysis result (G103). A plurality of vehicles C are communicatively connected to the external server 100, and the control unit 102 of the external server 100 acquires (receives) the relay related information and the vehicle status information output (transmitted) from the in-vehicle devices 2 of the plurality of vehicles C, and stores this information in the memory unit 101 of the server itself. As a result, the relay related information and the vehicle status information output (transmitted) from the in-vehicle devices 2 of the plurality of vehicles C are aggregated in an associated state in the external server 100. Based on the aggregated relay-related information and vehicle condition information, the control unit 102 of the external server 100 attempts to derive network setting information that is optimal for the vehicle condition by using, for example, machine learning using neural networks, SVMs, decision trees, etc., or statistical analysis techniques.

[0093] The control unit 102 of the external server 100 determines whether suitable network setting information has been derived (G104). The control unit 102 of the external server 100 may calculate a suitability index of the derived network setting information by using a suitability confirmation program such as a simulator that simulates the suitability of the network setting information, and determine that suitable network setting information has been derived if the suitability index is equal to or greater than a predetermined value. Alternatively, the control unit 102 of the external server 100 may perform an iterative process using, for example, regression analysis when attempting to derive the network setting information, and determine that suitable network setting information has been derived if the process result converges.

[0094] If suitable network setting information can be derived (G104: YES), the control unit 102 of the external server 100 outputs the derived network setting information to the in-vehicle device 2 of the vehicle C (G105). The control unit 102 of the external server 100 outputs (transmits) the derived network setting information to each in-vehicle device 2 installed in each of the multiple vehicles C connected to the server via the external network N (transmission and reception between the external server 100 and the in-vehicle device 2: C). By outputting the network setting information from the external server 100 to the multiple vehicles C (in-vehicle devices 2) in this manner, the network setting information is distributed to each vehicle C.

[0095] If relay-related information and vehicle status information are not received (G101: NO), if suitable network setting information cannot be derived (G104: NO), or after execution of G105, the control unit 102 of the external server 100 performs loop processing to execute the processing of G101 again.

[0096] The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]

[0097] S In-vehicle system C Vehicle N External network 100 Outside the vehicle 101 Storage section 102 Control section 103 Communications Department 1. External communication device 11 External communication unit 12 In-vehicle communication unit 13 Antenna 2. On-board device (controller) 20 Control section 21 Memory section 211 Recording media 22 Input / Output Interface 23 In-vehicle communication unit 3. Relay device (Ethernet SW) 30 Control section 31 Storage section 32 In-vehicle communication unit 4 In-vehicle ECU 5. In-vehicle network 51 Communication Line

Claims

1. An in-vehicle device that is mounted in a vehicle and communicably connected to a relay device via an in-vehicle network, a control unit that processes network setting information used by the relay device, The control unit is Acquire relay-related information regarding relay processing from the relay device; acquiring vehicle status information relating to a status of the vehicle; outputting the acquired relay-related information and the acquired vehicle state information to an external server provided outside the vehicle; acquiring, from the external server, network setting information derived based on the relay-related information and the vehicle state information; outputting a network setting change instruction generated based on the acquired network setting information to the relay device; The network setting information acquired from the external server is information derived based on relay-related information and vehicle status information output from a plurality of vehicles communicably connected to the external server. In-vehicle device.

2. the control unit generates the network setting change instruction from the network setting information in accordance with vehicle state information after the state of the vehicle is switched, The generated network setting change instruction is output to the relay device. The in-vehicle device according to claim 1 .

3. the relay device outputs the relay-related information when a communication volume in the in-vehicle network within a predetermined period exceeds a predetermined threshold; The control unit outputs information associating the relay related information with the vehicle state information to the external server in response to the relay related information being output from the relay device. The in-vehicle device according to claim 1 or 2.

4. The in-vehicle device includes: outputting the relay-related information when a communication volume in the in-vehicle network within a predetermined period of time exceeds a predetermined threshold; The control unit outputs information associating the relay related information with the vehicle state information to the external server in response to the relay related information being output from the relay device. The in-vehicle device according to any one of claims 1 to 3.

5. the number of the relay devices connected to the in-vehicle network is plural, a predetermined storage area accessible from the control unit stores network setting information corresponding to each of the plurality of relay devices; The control unit outputs network setting information corresponding to each of the relay devices to the relay devices. The vehicle-mounted device according to any one of claims 1 to 4.

6. The relay-related information acquired from the relay device includes setting information stored in a device in the vehicle among network setting information used by the relay device, and information regarding a communication state during a period in which the relay device performed relay processing using the network setting information. The in-vehicle device according to any one of claims 1 to 5.

7. The vehicle state information includes information regarding a usage pattern of the vehicle. The in-vehicle device according to any one of claims 1 to 6.

8. A computer mounted in a vehicle and communicably connected to the relay device via an in-vehicle network, Acquire relay-related information regarding relay processing from the relay device; acquiring vehicle status information relating to a status of the vehicle; outputting the acquired relay-related information and the acquired vehicle state information to an external server provided outside the vehicle; acquiring, from the external server, network setting information derived based on the relay-related information and the vehicle state information; the network setting information acquired from the external server is information derived based on relay-related information and vehicle state information output from a plurality of vehicles communicably connected to the external server, A network setting change instruction generated based on the acquired network setting information is output to the relay device. A program that executes a process.

9. A computer mounted in a vehicle and communicably connected to the relay device via an in-vehicle network, Acquire relay-related information regarding relay processing from the relay device; acquiring vehicle status information relating to a status of the vehicle; outputting the acquired relay-related information and the acquired vehicle state information to an external server provided outside the vehicle; acquiring, from the external server, network setting information derived based on the relay-related information and the vehicle state information; the network setting information acquired from the external server is information derived based on relay-related information and vehicle state information output from a plurality of vehicles communicably connected to the external server, A network setting change instruction generated based on the acquired network setting information is output to the relay device. An information processing method for executing a process.

Citation Information

Patent Citations

  • Gateway device, firmware update method, and control program

    JP2017059210A

  • Relaying apparatus and method and program for relaying

    JP2017097851A

  • In-vehicle device, update determination method and update determination program

    WO2020059033A1

  • Relay device, vehicle communication system, vehicle, communication method, and communication program

    WO2021020025A1