In-vehicle device, setting processing method, and setting processing program
Patent Information
- Application Number
- JP2023059955
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2025-08-04
- Estimated Expiration
- 2043-04-03
AI Technical Summary
Existing in-vehicle devices require complex settings when retrofitted to vehicles, as communication interfaces and vehicle information vary widely, complicating the acquisition of necessary vehicle information.
An in-vehicle device that acquires vehicle information from the in-vehicle network using a communication line, performs setting processes based on this information, and optionally transmits it to an external management device, allowing automatic setting without prior user intervention.
Facilitates easy and automatic acquisition of vehicle information, reducing the need for prior settings and optimizing communication resources.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an in-vehicle device, a setting processing method, and a setting processing program. [Background technology]
[0002] Conventionally, a system including a management device that collects vehicle information from a vehicle has been developed. For example, Patent Document 1 (JP Patent Publication No. 2017-123060) discloses the following technology. That is, a vehicle information writing device includes a terminal device capable of transmitting and receiving data to and from a vehicle, and an information center, and is capable of communicating with the terminal device and the information center. The terminal device includes a position detection unit that detects a current position, and a vehicle model information acquisition unit that acquires vehicle model information that identifies a type of vehicle to be set. The vehicle model setting information request including regional information reflecting the current position and the vehicle model information is transmitted to the information center, and the vehicle model setting information request is received from the information center. The vehicle model setting information request includes setting parameters that are suitable for the regional information and are applied to an in-vehicle device mounted on the vehicle. The vehicle model setting information generation unit generates vehicle setting information that reflects the received vehicle model setting information, and a vehicle setting information output unit outputs the vehicle setting information to the vehicle. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-123060 A Summary of the Invention [Problem to be solved by the invention]
[0004] There are cases where vehicle information is collected using an on-board device that is retrofitted after the shipment of a vehicle. There are many different types of vehicles to which on-board devices are retrofitted, and for example, the communication interface and the contents of the vehicle information often differ depending on the vehicle model. In this case, the on-board device needs to be configured to acquire vehicle information before or after it is installed in the vehicle, which makes the work complicated.
[0005] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to provide an in-vehicle device, a setting processing method, and a setting processing program that can easily obtain vehicle information of the vehicle in which it is installed. [Means for solving the problem]
[0006] The in-vehicle device of the present disclosure is an in-vehicle device used in an in-vehicle network, and includes an acquisition unit that acquires vehicle information regarding the vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network, and a setting processing unit that performs setting processing using setting information based on the vehicle information acquired by the acquisition unit to enable the in-vehicle device to communicate with other devices via the communication line.
[0007] One aspect of the present disclosure can be realized not only as an in-vehicle device equipped with such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the in-vehicle device, or as a system that includes the in-vehicle device. Effect of the Invention
[0008] According to the present disclosure, vehicle information of the vehicle in which the device is installed can be easily obtained. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a communication system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram illustrating an example of a configuration of an in-vehicle device according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating an example of a configuration of a server according to the first embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram illustrating an example of a correspondence table stored by the server according to the first embodiment of the present disclosure. [Diagram 5] FIG. 5 is a diagram illustrating an example of bit assignment information stored by the server according to the first embodiment of the present disclosure. [Figure 6] FIG. 6 is a diagram illustrating another example of bit assignment information stored by the server according to the first embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart defining an operation procedure when the in-car device according to the first embodiment of the present disclosure performs the setting process. [Figure 8] FIG. 8 is a flowchart defining an operation procedure when the server according to the first embodiment of the present disclosure transmits a setting instruction. [Figure 9] FIG. 9 is a diagram illustrating an example of a processing sequence of the in-vehicle device, the server, and the in-vehicle equipment in the communication system according to the first embodiment of the present disclosure. [Figure 10] FIG. 10 is a diagram illustrating an example of a configuration of an in-vehicle device according to the second embodiment of the present disclosure. [Figure 11] FIG. 11 is a flowchart defining an operation procedure when the in-car device according to the second embodiment of the disclosure performs a setting process. [Figure 12] FIG. 12 is a diagram illustrating an example of a configuration of an in-vehicle device according to the third embodiment of the present disclosure. As shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] First, the contents of the embodiments of the present disclosure will be listed and described. (1) An in-vehicle device according to an embodiment of the present disclosure is an in-vehicle device used in an in-vehicle network, and includes an acquisition unit that acquires vehicle information related to a vehicle in which the in-vehicle device is mounted from a communication line in the in-vehicle network, and a setting processing unit that performs setting processing for the in-vehicle device to communicate with other devices via the communication line using setting information based on the vehicle information acquired by the acquisition unit.
[0011] With this configuration, even if the in-vehicle device is installed after the shipment of the vehicle, the in-vehicle device can perform the setting process and automatically acquire the vehicle information from other devices, so that the user of the vehicle does not need to set the in-vehicle device in advance. Therefore, the vehicle information of the vehicle in which the device is installed can be easily acquired.
[0012] (2) In the above (1), the communication line may be a communication bus, and the acquisition unit may acquire the vehicle information output to the communication bus from an in-vehicle device connected to the communication bus.
[0013] With this configuration, vehicle information required for performing the setting process can be easily obtained from other devices via the communication bus.
[0014] (3) In the above (1) or (2), the in-vehicle device may further transmit the vehicle information acquired by the acquisition unit to a management device outside the vehicle, and may be provided with a communication unit that receives the setting information from the management device, and the setting processing unit may perform the setting processing based on the setting information received by the communication unit.
[0015] With this configuration, for example, it is not necessary to register in advance in the in-vehicle device setting information used in the setting process, so that it is possible to save on the storage capacity required to store various setting information in the in-vehicle device.
[0016] (4) In any of (1) to (3) above, the setting processing unit may attempt to communicate with the other device via the communication line prior to the setting process, and may change settings of the communication operation in the in-vehicle device based on a result of the attempt until the result of the attempt satisfies a predetermined condition, and the acquisition unit may acquire the vehicle information from the other device by communicating with the other device according to the settings corresponding to the state in which the result of the attempt satisfies the predetermined condition.
[0017] With this configuration, for example, even if an in-vehicle device is unable to obtain vehicle information required to perform setting processing through initial settings, it can reliably obtain vehicle information from other devices by attempting to communicate with the other devices until information from the other devices can be received successfully.
[0018] (5) In the above (1) or (2), the in-vehicle device may further include a creation unit that creates the setting information corresponding to the vehicle based on the vehicle information acquired by the acquisition unit.
[0019] In this way, by configuring the in-vehicle device to create setting information, for example, there is no need to communicate with a device outside the vehicle when performing the setting process, which makes it possible to prevent a shortage of communication resources used by the vehicle in which the in-vehicle device is installed.
[0020] (6) In any of (1) to (5) above, the acquisition unit may further acquire transmission information transmitted on the communication line in accordance with the setting process, and the in-vehicle device may further include a communication unit that transmits the transmission information acquired by the acquisition unit to an external device outside the vehicle.
[0021] With this configuration, when an on-board device for transmitting transmission information to a device outside the vehicle is retrofitted after the vehicle is shipped, the transmission information can be provided to the device outside the vehicle and used for analysis, etc.
[0022] (7) A setting processing method according to an embodiment of the present disclosure is a setting processing method in an in-vehicle device used in an in-vehicle network, and includes the steps of acquiring vehicle information regarding a vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network, and performing setting processing using setting information based on the acquired vehicle information so that the in-vehicle device can communicate with other devices via the communication line.
[0023] With this configuration, even if the in-vehicle device is installed after the shipment of the vehicle, the in-vehicle device can perform the setting process and automatically acquire the vehicle information from other devices, so that the user of the vehicle does not need to set the in-vehicle device in advance. Therefore, the vehicle information of the vehicle in which the device is installed can be easily acquired.
[0024] (8) A setting processing program according to an embodiment of the present disclosure is a setting processing program used in an in-vehicle device used in an in-vehicle network, and is a program for causing a computer to function as an acquisition unit that acquires vehicle information related to the vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network, and a setting processing unit that performs setting processing using setting information based on the vehicle information acquired by the acquisition unit to enable the in-vehicle device to communicate with other devices via the communication line.
[0025] With this configuration, even if the in-vehicle device is installed after the shipment of the vehicle, the in-vehicle device can perform the setting process and automatically acquire the vehicle information from other devices, so that the user of the vehicle does not need to set the in-vehicle device in advance. Therefore, the vehicle information of the vehicle in which the device is installed can be easily acquired.
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated. In addition, at least some of the embodiments described below may be arbitrarily combined.
[0027] <First embodiment> [Communication Systems] Fig. 1 is a diagram showing an example of a configuration of a communication system according to a first embodiment of the present disclosure. With reference to Fig. 1, a communication system 501 includes one or more in-vehicle devices 101 and a server 151. Each in-vehicle device 101 and the server 151 can transmit and receive information via an external network 161 such as the Internet. The in-vehicle device 101 is mounted on a vehicle 1. The server 151 is an example of a management device outside the vehicle 1.
[0028] The server 151 is used, for example, by a business entity that manages the operation of the vehicle 1, or by an individual.
[0029] [In-vehicle device] Fig. 2 is a diagram showing an example of the configuration of an in-vehicle device according to the first embodiment of the present disclosure. With reference to Fig. 2, the in-vehicle device 101 is connected to a plurality of in-vehicle devices 202 via, for example, a communication bus 51 and a connector 52. The in-vehicle device 101 and the plurality of in-vehicle devices 202 configure an in-vehicle network 401. The communication bus 51 is, for example, a CAN bus conforming to the CAN (Controller Area Network) standard. The connector 52 is, for example, a connector conforming to the OBD (On-Board Diagnostics) 2 standard. The communication bus 51 is an example of a communication line.
[0030] The in-vehicle device 202 is, for example, an in-vehicle ECU such as a TCU (Telematics Communication Unit), an automatic driving ECU (Electronic Control Unit), a face authentication ECU, a door lock ECU, etc. Note that the in-vehicle device 202 is not limited to an in-vehicle ECU, and may be a sensor, a navigation device, a human machine interface, a camera, etc.
[0031] 2, the in-vehicle device 101 is connected to in-vehicle devices 202A and 202B via a communication bus 51A that is the communication bus 51 and a connector 52A that is the connector 52. The in-vehicle device 101 is also connected to in-vehicle devices 202C and 202D that are in-vehicle devices 202 via a communication bus 51B that is the communication bus 51 and a connector 52B that is the connector 52.
[0032] The in-vehicle device 202 creates a frame including various information such as information for assisting the automatic driving performed by the vehicle 1 and information used for entertainment, and an ID (identifier) (hereinafter also referred to as a "data ID") indicating the type of data, etc. Then, the in-vehicle device 202 transmits the created frame to other in-vehicle devices 202 directly or via a relay device (not shown) in the vehicle 1.
[0033] 1 and 2, the in-vehicle device 101 transmits, for example, transmission information transmitted in the communication bus 51 to the server 151 via the external network 161.
[0034] The transmission information includes, for example, device information related to the in-vehicle device 202. The device information is log information in which data included in a frame received from the in-vehicle device 202 is associated with the reception time of the frame, an image captured by a camera in the vehicle 1, information acquired by an external device such as a communication terminal, and the like.
[0035] The server 151, for example, collects device information of the corresponding vehicle 1 from one or more in-vehicle devices 101. Then, the server 151 detects an abnormality related to the vehicle 1, such as a malfunction of the vehicle 1, based on the collected device information.
[0036] In addition, the in-vehicle device 101 and the in-vehicle equipment 202 may be configured to communicate in accordance with a communication protocol such as CAN FD (CAN with Flexible Data Rate), Ethernet (registered trademark), FlexRay (registered trademark), MOST (Media Oriented System Transport) (registered trademark), LIN (Local Interconnect Network), and CXPI (Clock Extension Peripheral Interface) (registered trademark), instead of or in addition to communication in accordance with the CAN standard.
[0037] The in-vehicle device 101 includes an in-vehicle communication unit 11, a setting processing unit 12, an external communication unit 13, and a storage unit 14. A part or all of the in-vehicle communication unit 11, the setting processing unit 12, and the external communication unit 13 are realized, for example, by a processing circuit including one or more processors. The storage unit 14 is, for example, a non-volatile memory included in the processing circuit. The in-vehicle communication unit 11 is an example of an acquisition unit.
[0038] The in-vehicle communication unit 11 acquires vehicle information related to the vehicle 1 from the communication bus 51 in the in-vehicle network 401. The vehicle information is vehicle identification information (hereinafter also referred to as "vehicle ID") for identifying the vehicle 1, or product number information indicating the product number of software or the like of the in-vehicle device 202, etc. In this case, the in-vehicle communication unit 11 acquires the vehicle ID as the vehicle information. The vehicle ID is an ID unique to each vehicle 1.
[0039] More specifically, for example, the in-vehicle communication unit 11 acquires a vehicle ID output to the communication bus 51 from the in-vehicle device 202 connected to the communication bus 51 .
[0040] Specifically, for example, the storage unit 14 stores an ID (hereinafter also referred to as a "request ID") indicating that the sender is the in-vehicle device 101 itself and that a vehicle ID is being requested, in accordance with the OBD2 standard.
[0041] When the ignition power of the vehicle 1 is switched from an off state to an on state and the in-vehicle communication unit 11 starts up, the in-vehicle communication unit 11 creates a frame (hereinafter also referred to as an "ID request frame") including the request ID stored in the memory unit 14 and outputs it to the communication bus 51.
[0042] A storage unit (not shown) provided in the in-vehicle device 202 stores a reception list indicating IDs included in frames that the in-vehicle device 202 is to receive. When the in-vehicle device 202 receives an ID request frame from the in-vehicle apparatus 101 via the communication bus 51 to which the in-vehicle device 202 is connected, the in-vehicle device 202 checks whether the requested ID included in the received ID request frame is registered in the reception list.
[0043] When the in-vehicle device 202 confirms that the request ID is registered in the reception list, it acquires the vehicle ID from its own storage unit. The storage unit further stores an ID (hereinafter also referred to as a "response ID") indicating that the vehicle ID has been acquired in accordance with the OBD2 standard.
[0044] When the in-vehicle device 202 acquires the vehicle ID, it creates a frame (hereinafter also referred to as a "response frame") including the acquired vehicle ID and the response ID stored in the memory unit as a response to the ID request frame, and outputs the frame to the communication bus 51.
[0045] In the in-vehicle device 101 , when the in-vehicle communication unit 11 receives a response frame from the in-vehicle device 202 via the communication bus 51 and the connector 52 , it outputs the vehicle ID included in the received response frame to the outside-vehicle communication unit 13 .
[0046] The exterior communication unit 13 transmits the vehicle ID acquired by the interior communication unit 11 to the server 151.
[0047] More specifically, the vehicle exterior communication unit 13 communicates with the server 151 via the external network 161 by performing wireless communication with a device such as a wireless base station (not shown) according to a communication method such as WiFi (registered trademark), LTE (Long Term Evolution) (registered trademark), or 5G. Note that the vehicle exterior communication unit 13 is not limited to a configuration in which it communicates with the server 151 via a wireless base station and the external network 161, and may be a configuration in which it communicates with the server 151 via a wired line. Furthermore, the vehicle exterior communication unit 13 may be a configuration in which it communicates with the server 151 further via another in-vehicle device.
[0048] When the exterior communication unit 13 receives the vehicle ID from the interior communication unit 11 , it transmits the vehicle ID to the server 151 via the wireless base station and the external network 161 .
[0049] Specifically, for example, the exterior communication unit 13 creates an IP packet including the vehicle ID and including, as a source address and a destination IP address, the IP address of the vehicle-mounted device 101 and the IP address of the server 151, respectively. Then, the exterior communication unit 13 transmits the created IP packet to the server 151 via the wireless base station and the external network 161.
[0050] [server] Fig. 3 is a diagram showing an example of a configuration of a server according to the first embodiment of the present disclosure. Referring to Fig. 3, server 151 includes communication unit 21, setting information determination unit 22, analysis unit 23, and storage unit 24. A part or all of communication unit 21, setting information determination unit 22, and analysis unit 23 are realized, for example, by a processing circuit including one or more processors. Storage unit 24 is, for example, a non-volatile memory included in the processing circuit.
[0051] The communication unit 21 receives the vehicle ID from the in-vehicle device 101. More specifically, when the communication unit 21 receives an IP packet including the vehicle ID from the in-vehicle device 101 via the wireless base station and the external network 161, the communication unit 21 outputs the vehicle ID included in the received IP packet to the setting information determination unit 22.
[0052] The setting information determination unit 22 determines setting information based on the vehicle ID received by the communication unit 21, and indicates settings for the in-vehicle device 101 to communicate with the in-vehicle device 202.
[0053] FIG. 4 is a diagram illustrating an example of a correspondence table stored by the server according to the first embodiment of the present disclosure.
[0054] 3 and 4, for example, storage unit 24 stores a correspondence table Tb1 indicating the correspondence between vehicle IDs and setting information.
[0055] Specifically, in the correspondence table Tb1, the setting information indicates a communication protocol, the number of communication buses, and a number of bit assignment information.
[0056] In the correspondence table Tb1, vehicle 1 with vehicle ID "V1" uses the communication protocols "CAN" and "CAN FD", there are two CAN buses that are communication buses that comply with the "CAN" standard, and the bit assignment information numbers for the CAN buses are "B11, B12". Also, vehicle 1 has one CAN-FD bus that is a communication bus that complies with the "CAN FD" standard, and the bit assignment information number for the CAN-FD bus is "B21".
[0057] Vehicle 1 with vehicle ID "V2" uses the "CAN" communication protocol, there are two CAN buses that conform to the "CAN" standard, and the bit assignment information numbers for those CAN buses are "B12, B13." Vehicle 1 with vehicle ID "V2" does not use the "CAN FD" communication protocol.
[0058] Vehicle 1 with vehicle ID "V3" uses the communication protocols "CAN" and "CAN FD," and there are three CAN buses that conform to the "CAN" standard, with the bit assignment information numbers for those CAN buses being "B12, B13, B14." Additionally, vehicle 1 also has two CAN-FD buses that are communication buses that conform to the "CAN FD" standard, and the bit assignment information numbers for those CAN-FD buses are "B22, B23."
[0059] The setting information is not limited to the communication protocol, the number of communication buses, and the number of bit assignment information, but may also indicate the frame bit rate, data sampling points, and the like.
[0060] Fig. 5 is a diagram showing an example of bit assignment information stored by the server according to the first embodiment of the present disclosure. Fig. 6 is a diagram showing another example of bit assignment information stored by the server according to the first embodiment of the present disclosure. Figs. 5 and 6 respectively show bit assignment information B11 and bit assignment information B12 in the correspondence table Tb1 shown in Fig. 4.
[0061] 3, 5 and 6, the storage unit 24 further stores bit assignment information, which indicates the correspondence between a data ID and the position of data in the data field of a frame.
[0062] In bit assignment information B11, in the data field of a frame including data ID "001", data D11, data D12, and data D13 are respectively contained in the 0th to 3rd bits of the 0th byte, the 4th to 7th bits of the 0th byte, and the 6th to 7th bytes. In the data field of a frame including data ID "002", data D21 is contained in the 0th to 4th bits of the 0th byte. In the data field of a frame including data ID "003", data D31 is contained in the 0th to 2nd bits of the 0th byte.
[0063] In bit assignment information B12, in the data field of a frame including data ID "004", data D14, data D15, and data D16 are respectively contained in the 0th to 3rd bits of the 0th byte, the 4th to 7th bits of the 1st byte, and the 6th to 7th bytes. In the data field of a frame including data ID "005", data D22 is contained in the 0th to 2nd bits of the 0th byte. In the data field of a frame including data ID "006", data D32 is contained in the 0th to 5th bits of the 0th byte.
[0064] 1 and 4 again, when the setting information determination unit 22 receives the vehicle ID from the communication unit 21, the setting information determination unit 22 reads out the correspondence table Tb1 in the storage unit 24. Then, the setting information determination unit 22 checks the setting information corresponding to the vehicle ID by referring to the correspondence table Tb1.
[0065] When the setting information determination unit 22 checks the setting information, it acquires bit assignment information of the number indicated by the setting information from the storage unit 24. Then, the setting information determination unit 22 transmits a setting instruction including the setting information and the acquired bit assignment information to the in-vehicle device 101 via the communication unit 21.
[0066] Specifically, the setting information determination unit 22 outputs a setting instruction to the communication unit 21. Upon receiving the setting instruction from the setting information determination unit 22, the communication unit 21 creates an IP packet including the setting instruction and including, as a source address and a destination IP address, the IP address of its own server 151 and the IP address of the in-vehicle device 101, respectively. Then, the communication unit 21 transmits the created IP packet to the in-vehicle device 101 via the external network 161 and a wireless base station.
[0067] [Settings process] Referring again to FIG. 3, in the in-vehicle device 101, the setting processing unit 12 performs setting processing using setting information based on vehicle information acquired by the in-vehicle communication unit 11 so that the in-vehicle device 101 can communicate with the in-vehicle equipment 202 via the communication bus 51.
[0068] More specifically, for example, when the exterior communication unit 13 receives an IP packet including a setting instruction from the server 151 via the external network 161 and a wireless base station, the exterior communication unit 13 stores the setting instruction included in the received IP packet in the memory unit 14 and outputs a receipt notification indicating that the setting instruction has been received to the setting processing unit 12.
[0069] When the setting processing unit 12 receives a reception notification from the outside-vehicle communication unit 13, it refers to the setting instructions stored in the memory unit 14 and performs register settings, etc. in accordance with the setting instructions, thereby configuring the operation of the inside-vehicle communication unit 11.
[0070] For example, the in-vehicle communication unit 11 acquires transmission information transmitted through the communication bus 51 in accordance with the above-described setting process by the setting processing unit 12. Then, for example, the out-vehicle communication unit 13 transmits a part or all of the transmission information acquired by the in-vehicle communication unit 11 to the server 151.
[0071] (Example 1) The in-vehicle communication unit 11, for which the above-mentioned operational settings have been performed, receives a frame transmitted from the in-vehicle device 202 through the communication bus 51, and reads out bit assignment information corresponding to the communication bus 51 from the storage unit 14. Then, the in-vehicle communication unit 11 checks the bit assignment information to check the data included in the frame.
[0072] The in-vehicle communication unit 11 creates log information that corresponds the confirmed data with the reception time of the frame containing the data, stores the created log information in the memory unit 14, and outputs a creation completion notification to the outside-vehicle communication unit 13 indicating that the log information has been created.
[0073] When the exterior communication unit 13 receives a creation completion notification from the interior communication unit 11, it acquires the log information from the storage unit 14 and creates an IP packet that includes the log information and also includes the IP address of its own in-vehicle device 101 and the IP address of the server 151 as the source address and destination IP address, respectively. Then, the exterior communication unit 13 transmits the created IP packet to the server 151 via the wireless base station and the external network 161.
[0074] (Example 2) The in-vehicle communication unit 11, for which the above-mentioned operation setting has been performed, receives a frame transmitted from the in-vehicle device 202 through the communication bus 51, and checks whether or not the frame contains predetermined transmission target data to be transmitted to the server 151. For example, the transmission target data is registered in advance when the in-vehicle device 101 is shipped.
[0075] When the received frame contains data to be transmitted, the in-vehicle communication unit 11 acquires the data to be transmitted from the frame and outputs the data to the outside-vehicle communication unit 13 .
[0076] When the external communication unit 13 receives the data to be transmitted from the internal communication unit 11, the external communication unit 13 creates an IP packet including the data to be transmitted and including, as a source address and a destination IP address, the IP address of the in-vehicle device 101 and the IP address of the server 151, respectively. Then, the external communication unit 13 transmits the created IP packet to the server 151 via the wireless base station and the external network 161.
[0077] Note that the in-vehicle communication unit 11 may determine that the vehicle 1 in which the in-vehicle device 101 is mounted has been changed, for example, when no new transmission information arrives from the in-vehicle device 202 even after a certain time has elapsed since the in-vehicle communication unit 11 acquired the transmission information. In this case, the in-vehicle communication unit 11 creates the ID request frame and acquires a new vehicle ID.
[0078] [Analysis process] Referring back to FIG. 3, the server 151 performs an analysis process for analyzing the transmission information received from the in-vehicle device 101 .
[0079] More specifically, in the server 151, when the communication unit 21 receives the transmission information from the in-vehicle device 101, the communication unit 21 outputs the received transmission information to the analysis unit .
[0080] When the analysis unit 23 receives the transmitted information from the communication unit 21, the analysis unit 23 performs various analyses, such as detecting an abnormality related to the vehicle 1, based on the transmitted information.
[0081] [Operation flow] FIG. 7 is a flowchart defining an operation procedure when the in-car device according to the first embodiment of the present disclosure performs the setting process.
[0082] 7, first, when the ignition power of the vehicle 1 is switched from an off state to an on state, the in-vehicle device 101 is started up (step S101).
[0083] Next, the in-vehicle device 101 transmits an ID request frame including a request ID indicating a request for a vehicle ID to the in-vehicle device 202 (step S102).
[0084] Next, when the in-vehicle device 101 receives the vehicle ID from the in-vehicle device 202 (YES in step S103), the in-vehicle device 101 transmits the received vehicle ID to the server 151 (step S104).
[0085] Next, when the in-vehicle device 101 receives the setting instruction from the server 151 (YES in step S105), the in-vehicle device 101 performs a setting process for communicating with the in-vehicle device 202 based on the setting information included in the setting instruction (step S106).
[0086] Next, the in-vehicle device 101 transmits the transmission information transmitted through the communication bus 51 to the server 151 in accordance with the setting process (step S107).
[0087] FIG. 8 is a flowchart defining an operation procedure when the server according to the first embodiment of the present disclosure transmits a setting instruction.
[0088] 8, first, the server 151 waits for reception of a vehicle ID from the in-vehicle device 101 (NO in step S201).
[0089] Next, when the server 151 receives the vehicle ID from the in-vehicle device 101 (YES in step S201), the server 151 checks the setting information corresponding to the vehicle ID. For example, as described above, the server 151 checks the setting information corresponding to the vehicle ID received from the in-vehicle device 101 by referring to the correspondence table Tb1 in the storage unit 24 (step S202).
[0090] Next, the server 151 transmits a setting instruction including the confirmed setting information and bit assignment information of the number indicated by the setting information to the in-vehicle device 101. For example, as described above, when the server 151 confirms the setting information corresponding to the received vehicle ID, it acquires the bit assignment information of the number indicated by the setting information from the storage unit 24, transmits the setting information and a setting instruction including the bit assignment information to the in-vehicle device 101 (step S203), and waits for the reception of a new vehicle ID (step S201).
[0091] FIG. 9 is a diagram illustrating an example of a processing sequence of the in-vehicle device, the server, and the in-vehicle equipment in the communication system according to the first embodiment of the present disclosure.
[0092] 9, first, when the ignition power of the vehicle 1 is switched from an off state to an on state, the in-vehicle device 101 is started up (step S301).
[0093] Next, the in-vehicle device 101 transmits an ID request frame including a request ID indicating a request for a vehicle ID to the in-vehicle device 202 (step S302).
[0094] Next, the in-vehicle device 202 transmits the vehicle ID to the in-vehicle device 101. For example, as described above, the in-vehicle device 202 transmits a response frame including the vehicle ID and a response ID indicating that the vehicle ID has been acquired to the in-vehicle device 101 (step S303).
[0095] Next, the in-vehicle device 101 transmits the vehicle ID received from the in-vehicle device 202 to the server 151 (step S304).
[0096] Next, the server 151 checks the setting information corresponding to the vehicle ID received from the in-vehicle device 101. For example, as described above, the server 151 checks the setting information corresponding to the vehicle ID received from the in-vehicle device 101 by referring to the correspondence table Tb1 in the storage unit 24 (step S305).
[0097] Next, the server 151 transmits a setting instruction including the confirmed setting information and bit assignment information of the number indicated by the setting information to the in-vehicle device 101. For example, as described above, when the server 151 confirms the setting information corresponding to the received vehicle ID, it acquires the bit assignment information of the number indicated by the setting information from the storage unit 24, and transmits a setting instruction including the setting information and the bit assignment information to the in-vehicle device 101 (step S306).
[0098] Next, the in-car device 101 performs a setting process based on the setting information included in the setting instruction received from the server 151 (step S307).
[0099] Next, the in-vehicle device 101 obtains transmission information transmitted through the communication bus 51 according to the setting process (step S308).
[0100] Next, the in-vehicle device 101 transmits a part or all of the acquired transmission information to the server 151 (step S309).
[0101] Next, the server 151 performs an analysis process to analyze the transmission information received from the in-vehicle device 101. For example, as described above, the server 151 performs various analyses, such as detecting an abnormality related to the vehicle 1, based on the transmission information (step S310).
[0102] <Second embodiment> In the above-described first embodiment of the present disclosure, the server 151 determines the setting information corresponding to the vehicle ID. In contrast, in the second embodiment of the present disclosure, the in-vehicle device 101A determines the setting information corresponding to the vehicle ID. Contents other than those described below are the same as those of the in-vehicle device 101 according to the first embodiment.
[0103] Fig. 10 is a diagram showing an example of the configuration of an in-vehicle device according to the second embodiment of the present disclosure. With reference to Fig. 10, an in-vehicle device 101A according to the second embodiment of the present disclosure further includes a creation unit 15, in comparison with the in-vehicle device 101 shown in Fig. 2.
[0104] For example, the creation unit 15 creates setting information corresponding to the vehicle 1 based on the vehicle ID acquired by the in-vehicle communication unit 11.
[0105] More specifically, for example, when the in-vehicle communication unit 11 receives a response frame from the in-vehicle device 202 via the communication bus 51 and the connector 52, the in-vehicle communication unit 11 outputs the vehicle ID included in the received response frame to the creation unit 15.
[0106] The storage unit 14 stores, for example, a correspondence table Tb1 shown in Fig. 4. When the creation unit 15 receives a vehicle ID from the in-vehicle communication unit 11, the creation unit 15 reads out the correspondence table Tb1 in the storage unit 14. Then, the creation unit 15 checks the setting information corresponding to the vehicle ID by referring to the correspondence table Tb1.
[0107] The storage unit 14 further stores bit assignment information in a correspondence table Tb1 shown in Fig. 4. The correspondence table Tb1 and the bit assignment information are registered in the storage unit 14 by the manufacturer of the vehicle 1 when the vehicle 1 is shipped, for example.
[0108] When the creation unit 15 checks the setting information, it acquires bit assignment information of the number indicated by the setting information from the storage unit 14. Then, the creation unit 15 outputs a setting instruction including the setting information and the acquired bit assignment information to the setting processing unit 12.
[0109] When the setting processing unit 12 receives a setting instruction from the creation unit 15, the setting processing unit 12 performs register setting and the like in accordance with the setting instruction, thereby performing operation settings of the in-vehicle communication unit 11.
[0110] FIG. 11 is a flowchart defining an operation procedure when the in-car device according to the second embodiment of the present disclosure performs a setting process.
[0111] 11, the processes in steps S401 and S402 are similar to the processes in steps S101 and S102 shown in FIG.
[0112] Next, when the in-vehicle device 101A receives the vehicle ID from the in-vehicle device 202 (YES in step S403), the in-vehicle device 101A checks the setting information corresponding to the received vehicle ID. For example, as described above, the in-vehicle device 101A checks the setting information corresponding to the vehicle ID received from the in-vehicle device 202 by referring to the correspondence table Tb1 in the storage unit 14 (step S404).
[0113] Next, the in-vehicle device 101A performs a setting process for communicating with the in-vehicle device 202 in accordance with the confirmed setting information and bit assignment information of the number indicated by the setting information (step S405).
[0114] The process in step S406 is similar to the process in step S107 shown in FIG.
[0115] <Third embodiment> In the above-described first and second embodiments of the present disclosure, the in-vehicle device 101 is connected to the in-vehicle device 202 via the communication bus 51. The in-vehicle device 101 acquires a vehicle ID from the in-vehicle device 202 by communicating with the in-vehicle device 202 according to the OBD2 standard. In contrast, in the third embodiment of the present disclosure, the in-vehicle device 101 is connected to the in-vehicle device 202 via an Ethernet cable 53. The in-vehicle device 101 acquires a vehicle ID from the in-vehicle device 202 by attempting to communicate with the in-vehicle device 202. The contents other than those described below are the same as those of the in-vehicle device 101 according to the first and second embodiments.
[0116] Fig. 12 is a diagram showing an example of the configuration of an in-vehicle device according to the third embodiment of the present disclosure. With reference to Fig. 12, an in-vehicle device 101B and a plurality of in-vehicle devices 202 configure an in-vehicle network 401. The in-vehicle device 101B is connected to the in-vehicle devices 202 via an Ethernet cable 53. The Ethernet cable 53 is an example of a communication line.
[0117] In the example shown in FIG. 12, the in-vehicle device 101B is connected to the in-vehicle device 202A and the in-vehicle device 202B via the Ethernet cable 53, that is, an Ethernet cable 53A and an Ethernet cable 53B, respectively.
[0118] Between the in-vehicle device 101B and the in-vehicle equipment 202, information is exchanged using Ethernet frames.
[0119] The in-vehicle device 101B includes an in-vehicle communication unit 11B and a setting processing unit 12B instead of the in-vehicle communication unit 11 and the setting processing unit 12 shown in FIG.
[0120] For example, prior to the setting process, the setting processing unit 12B performs a trial process to attempt communication with the in-vehicle device 202 via the Ethernet cable 53, and changes the settings of the communication operation in its own in-vehicle device 101 based on the trial result until the trial result satisfies a predetermined condition.
[0121] More specifically, for example, when the setting processing unit 12B's own in-vehicle device 101B is retrofitted after the vehicle 1 is shipped, the setting processing unit 12B attempts to communicate with each in-vehicle device 202 in the in-vehicle system 301 because it is unknown which in-vehicle device 202 stores the vehicle ID.
[0122] Specifically, for example, the storage unit 14 stores trial communication information indicating setting contents for communicating with the in-vehicle device 202 via the Ethernet cable 53. The trial communication information indicates, for example, the correspondence between the bit rate of the Ethernet frame and the priority order.
[0123] When the in-vehicle device 101 starts up, the setting processing unit 12B performs operation settings of the in-vehicle communication unit 11B by performing register settings and the like in accordance with the trial communication information in the storage unit 14. For example, the setting processing unit 12B sets the highest priority bit rate indicated by the trial communication information in the register settings, and performs trial processing.
[0124] When the in-vehicle communication unit 11B receives an Ethernet frame from the in-vehicle device 202, it outputs the received Ethernet frame to the setting processing unit 12B.
[0125] When the setting processing unit 12B receives an Ethernet frame from the in-vehicle communication unit 11B, the setting processing unit 12B performs a CRC (Cyclic Redundancy Check) check on the Ethernet frame.
[0126] Specifically, the setting processing unit 12B calculates a CRC value of data included in the Ethernet frame received from the in-vehicle communication unit 11B. Then, the setting processing unit 12B checks whether the calculated CRC value matches an FCS value included in a Frame Check Sequence (FCS) field in the Ethernet frame.
[0127] If the CRC value and the FCS value match, the setting processing unit 12B determines that the data is normal and that communication with the in-vehicle device 202 has been successful, and outputs a communication success notification to the in-vehicle communication unit 11B.
[0128] For example, the in-vehicle communication unit 11B acquires the vehicle ID from the in-vehicle device 202 by communicating with the in-vehicle device 202 according to the settings of the communication operation corresponding to the state in which the trial result satisfies a predetermined condition.
[0129] More specifically, for example, when the in-vehicle communication unit 11B receives a communication success notification from the setting processing unit 12B, the in-vehicle communication unit 11B creates ID request information indicating a request for a vehicle ID. Then, the in-vehicle communication unit 11B transmits an Ethernet frame including the created ID request information to each in-vehicle device 202.
[0130] When the in-vehicle device 202 receives the Ethernet frame including the ID request information from the in-vehicle apparatus 101, it checks whether the vehicle ID is stored in its own memory.
[0131] If the vehicle ID is stored in its own storage unit, the in-vehicle device 202 creates an Ethernet frame including the vehicle ID and transmits it to the in-vehicle device 101. On the other hand, if the vehicle ID is not stored in its own storage unit, the in-vehicle device 202 discards the Ethernet frame received from the in-vehicle device 101 and including ID request information.
[0132] In the in-vehicle device 101, when the in-vehicle communication unit 11B receives an Ethernet frame including the vehicle ID from the in-vehicle device 202, the in-vehicle communication unit 11B outputs the vehicle ID to the outside-vehicle communication unit 13.
[0133] On the other hand, if the CRC value and the FCS value do not match, the setting processing unit 12B determines that the data is abnormal and that communication with the in-vehicle device 202 has failed. Then, the setting processing unit 12B discards the Ethernet frame received from the in-vehicle communication unit 11B.
[0134] Furthermore, the setting processor 12B sets the bit rate with the next highest priority in the register setting by referring to the trial communication information in the storage unit 14, and continues the trial process. The setting processor 12B then performs a CRC check on the newly received Ethernet frame. The setting processor 12B repeats the trial process until the CRC value and the FCS value match.
[0135] In the in-vehicle device 101 according to the third embodiment of the present disclosure, the setting processing unit 12B is configured to perform trial processing when the in-vehicle device 101 is connected to the in-vehicle device 202 via the Ethernet cable 53, but this is not limited to the above. The setting processing unit 12B may be configured to perform trial processing when the in-vehicle device 101 is connected to the in-vehicle device 202 via the communication bus 51, as in the first and second embodiments of the present disclosure. In this case, the trial communication information in the storage unit 14 indicates, for example, a correspondence relationship between the bit rate of the CAN frame, the sampling point of the data, and the priority order. The setting processing unit 12B changes the bit rate and the sampling point until it is determined that the data is normal in the CRC check.
[0136] The above-described embodiments should be considered as illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims.
[0137] Each process (each function) of the above-mentioned embodiment is realized by a processing circuit including one or more processors. The above-mentioned processing circuit may be composed of an integrated circuit or the like in which one or more memories, various analog circuits, and various digital circuits are combined in addition to the above-mentioned one or more processors. The above-mentioned one or more memories store programs (instructions) that cause the above-mentioned one or more processors to execute each of the above-mentioned processes. The above-mentioned one or more processors may execute each of the above-mentioned processes according to the programs read from the above-mentioned one or more memories, or may execute each of the above-mentioned processes according to a logic circuit designed in advance to execute each of the above-mentioned processes. The above-mentioned processors may be various processors suitable for computer control, such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), and an ASIC (Application Specific Integrated Circuit). The above-mentioned physically separated processors may execute each of the above-mentioned processes in cooperation with each other. For example, the processors mounted on each of a plurality of physically separated computers may cooperate with each other via a network such as a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, etc. The program may be installed in the memory from an external server device or the like via the network, or may be distributed in a state stored in a recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or a semiconductor memory, and installed in the memory from the recording medium.
[0138] The above description includes the following additional features. [Appendix 1] A management device for use in a communication system including an in-vehicle device, a receiving unit that receives vehicle information related to a vehicle in which the in-vehicle device is installed from the in-vehicle device; A management device comprising: a setting information determination unit that transmits to the in-vehicle device setting information based on the vehicle information received by the receiving unit, the setting information indicating setting contents for the in-vehicle device to communicate with other devices.
[0139] [Appendix 2] an in-vehicle device used in an in-vehicle network; A management device, the in-vehicle device transmits vehicle information relating to the vehicle in which the in-vehicle device is installed, the vehicle information being acquired from a communication line in the in-vehicle network, to the management device; A communication system in which the management device receives the vehicle information from the in-vehicle device and transmits to the in-vehicle device the setting information based on the vehicle information, the setting information indicating the setting contents for the in-vehicle device to communicate with other devices.
[0140] [Appendix 3] A management method in a management device used in a communication system including an in-vehicle device, comprising: receiving vehicle information relating to a vehicle in which the in-vehicle device is installed from the in-vehicle device; transmitting, to the in-vehicle device, setting information based on the received vehicle information, the setting information indicating setting contents for the in-vehicle device to communicate with other devices.
[0141] [Appendix 4] A management program for use in a management device used in a communication system including an in-vehicle device, Computer, a receiving unit that receives vehicle information related to a vehicle in which the in-vehicle device is installed from the in-vehicle device; a setting information determination unit that transmits, to the in-vehicle device, setting information based on the vehicle information received by the receiving unit, the setting information indicating setting contents for the in-vehicle device to communicate with other devices; A management program to function as a
[0142] [Appendix 5] A setting processing method in a communication system including an in-vehicle device used in an in-vehicle network and a management device, comprising: a step of transmitting, by the in-vehicle device, vehicle information relating to the vehicle in which the in-vehicle device is installed, the vehicle information being acquired from a communication line in the in-vehicle network, to the management device; A setting processing method including a step in which the management device receives the vehicle information from the in-vehicle device and transmits to the in-vehicle device the setting information based on the vehicle information, the setting information indicating setting contents for the in-vehicle device to communicate with other devices.
[0143] [Appendix 6] An in-vehicle device for use in an in-vehicle network, A processing circuit is provided, The processing circuitry includes: acquiring vehicle information relating to a vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network; The in-vehicle device performs a setting process for communicating with other devices via the communication line using setting information based on the acquired vehicle information. [Explanation of symbols]
[0144] 1 vehicle 11, 11B In-vehicle communication unit 12,12B Setting processing section 13 External communication unit 14,23 Storage part 15 Creation Department 21 Communications Department 22 Setting information determination unit 23 Analysis Department 51, 51A, 51B communication bus 52,52A,52B Connectors 53, 53A, 53B Ethernet Cable 101,101A,101B On-vehicle equipment 151 Server 161 External Network 202,202A,202B,202C,202D Vehicle equipment 401 In-vehicle network 501 Communication Systems
Claims
1. An in-vehicle device for use in an in-vehicle network, an acquisition unit that acquires vehicle information related to a vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network; a setting processing unit that performs setting processing for the in-vehicle device to communicate with other devices via the communication line using setting information based on the vehicle information acquired by the acquisition unit.
2. the communication line is a communication bus, The in-vehicle device according to claim 1 , wherein the acquisition unit acquires the vehicle information output to the communication bus from an in-vehicle device connected to the communication bus.
3. The in-vehicle device further comprises: a communication unit that transmits the vehicle information acquired by the acquisition unit to a management device outside the vehicle and receives the setting information from the management device; The in-vehicle device according to claim 1 , wherein the setting processing unit performs the setting process based on the setting information received by the communication unit.
4. the setting processing unit attempts communication with the other device via the communication line prior to the setting process, and changes a setting of a communication operation in the in-vehicle device based on a result of the attempt until a predetermined condition is satisfied by a result of the attempt; The in-vehicle device according to claim 1 , wherein the acquisition unit acquires the vehicle information from the other device by communicating with the other device according to the setting corresponding to a state in which the trial result satisfies the predetermined condition.
5. The in-vehicle device further comprises: The in-vehicle device according to claim 1 , further comprising a creating unit that creates the setting information corresponding to the vehicle based on the vehicle information acquired by the acquiring unit.
6. The acquisition unit further acquires transmission information transmitted through the communication line in accordance with the setting process; The in-vehicle device further comprises: The in-vehicle device according to claim 1 , further comprising a communication unit configured to transmit the transmission information acquired by the acquisition unit to an external device outside the vehicle.
7. A setting processing method for an in-vehicle device used in an in-vehicle network, comprising: acquiring vehicle information relating to a vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network; performing a setting process for enabling the in-vehicle device to communicate with other devices via the communication line, using setting information based on the acquired vehicle information.
8. A setting processing program for use in an in-vehicle device used in an in-vehicle network, comprising: Computer, an acquisition unit that acquires vehicle information related to a vehicle in which the in-vehicle device is installed from a communication line in the in-vehicle network; a setting processing unit that performs a setting process for the in-vehicle device to communicate with other devices via the communication line, using setting information based on the vehicle information acquired by the acquisition unit; A setting processing program to function as a