In-vehicle apparatus, management method, and management program
The in-vehicle device with a USB connection port, detection, and mount processing unit allows automatic access to the storage area of external devices in the network, addressing the challenge of user-free access in existing technologies.
Patent Information
- Application Number
- JP2024009880
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2025-08-07
AI Technical Summary
Existing technologies do not enable simple access to the storage area of an external device connected via a USB interface in an in-vehicle network without requiring user operation.
An in-vehicle device equipped with a first connection port for USB interface, a detection unit to detect the connection, and a mount processing unit to automatically mount the file system of the external device in a directory accessible from other devices in the network.
Enables access to the storage area of an external device connected via a USB interface in an in-vehicle network without requiring user operation, facilitating easy access and management of the file system.
Smart Images

Figure 2025115429000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an in-vehicle device, a management method, and a management program. [Background technology]
[0002] In recent years, with the spread of car sharing and the demand for improved processing capabilities of in-vehicle devices installed in vehicles, there has been a demand for customizing in-vehicle networks by connecting external devices to the in-vehicle devices.
[0003] For example, Patent Document 1 (WO 2020 / 179123) discloses the following management device: That is, the management device includes a detection unit that detects the addition of a functional unit to a network that includes one or more in-vehicle functional units, an acquisition unit that acquires functional unit information including information on the new functional unit that is the functional unit whose addition is detected by the detection unit and on the network configuration of the in-vehicle functional unit at a layer lower than the application layer, and a generation unit that generates configuration information of the new network that is the network that further includes the new functional unit, based on the functional unit information acquired by the acquisition unit. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2020 / 179123 Summary of the Invention [Problem to be solved by the invention]
[0005] There is a demand for a technology that goes beyond the technology described in Patent Document 1 and enables access to the storage area of an external device connected via a USB (Universal Serial Bus) interface in an in-vehicle network through simple processing.
[0006] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to provide an in-vehicle device, a management method, and a management program that enable simple processing to access the storage area of an external device connected via a USB interface in an in-vehicle network. [Means for solving the problem]
[0007] The in-vehicle device of the present disclosure is an in-vehicle device in an in-vehicle network, and includes a first connection port to which an external device having a storage area can be connected via a USB interface, a detection unit that detects connection of the external device to the first connection port, and a mount processing unit that mounts the file system of the external device whose connection is detected by the detection unit in a directory accessible from other devices in the in-vehicle network.
[0008] 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. [Effects of the Invention]
[0009] According to the present disclosure, in an in-vehicle network, it is possible to access the storage area of an external device connected via a USB interface through simple processing. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of an in-vehicle network management system according to an embodiment of the present disclosure. [Figure 2] FIG. 2 is a diagram illustrating a configuration of an in-vehicle ECU according to an embodiment of the present disclosure. [Figure 3] FIG. 3 is a diagram illustrating a first example of connection of a USB memory to an in-vehicle ECU according to an embodiment of the present disclosure. [Figure 4]FIG. 4 is a diagram illustrating a directory structure under a shared directory after a mount process by a mount processor in an in-vehicle ECU according to an embodiment of the present disclosure. [Figure 5] FIG. 5 is a diagram illustrating a second example of connection of a USB memory to an in-vehicle ECU according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a diagram illustrating a directory structure under a shared directory after a mount process by a mount processor in an in-vehicle ECU according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart defining an example of an operation procedure when the in-vehicle ECU according to the embodiment of the present disclosure performs the mounting process. [Figure 8] FIG. 8 is a diagram illustrating an example of a communication sequence in the in-vehicle network management system according to the embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0011] 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 in an in-vehicle network, and includes a first connection port to which an external device having a storage area can be connected via a USB interface, a detection unit that detects connection of the external device to the first connection port, and a mount processing unit that mounts a file system of the external device whose connection is detected by the detection unit in a directory accessible from other devices in the in-vehicle network.
[0012] With this configuration, when an external device is connected to the first connection port, other devices in the in-vehicle network can access the storage area of the external device without requiring user operation. Therefore, the storage area of the external device connected via the USB interface can be accessed through simple processing.
[0013] (2) In the above (1), the in-vehicle device may be provided with a plurality of the first connection ports, and the mount processing unit may set the directory name of the file system of the external device to a directory name corresponding to the first connection port to which the external device is connected.
[0014] With this configuration, it is possible to set a directory name for the file system of the external device without requiring any user operation, and to manage the file system of the external device using the set directory name.
[0015] (3) In (1) or (2) above, the detection unit may detect the connection of the external device to the first connection port via a hub having multiple second connection ports conforming to USB, and the mount processing unit may set the directory name of the file system of the external device to a directory name corresponding to the first connection port to which the hub is connected and the second connection port in the hub to which the external device is connected.
[0016] With this configuration, it is possible to set a directory name for the file system of an external device connected to the first connection port via a hub without requiring user operation, and to manage the file system of the external device using the set directory name.
[0017] (4) A management method according to an embodiment of the present disclosure is a management method for an in-vehicle device in an in-vehicle network, the in-vehicle device having a first connection port to which an external device having a storage area can be connected via a USB interface, and the management method includes the steps of detecting connection of the external device to the first connection port and mounting a file system of the external device whose connection has been detected in a directory accessible from other devices in the in-vehicle network.
[0018] With this method, when an external device is connected to the first connection port, it is possible to enable other devices in the in-vehicle network to access the storage area of the external device without requiring user operation, thereby enabling easy access to the storage area of the external device connected via the USB interface.
[0019] (5) A management program according to an embodiment of the present disclosure is a management program used in an in-vehicle device in an in-vehicle network, the in-vehicle device having a first connection port to which an external device having a storage area can be connected via a USB interface, and the program causes a computer to function as a detection unit that detects connection of the external device to the first connection port and a mount processing unit that mounts the file system of the external device whose connection is detected by the detection unit in a directory accessible from other devices in the in-vehicle network.
[0020] With this configuration, when an external device is connected to the first connection port, other devices in the in-vehicle network can access the storage area of the external device without requiring user operation. Therefore, the storage area of the external device connected via the USB interface can be accessed through simple processing.
[0021] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, identical or corresponding parts are designated by the same reference numerals, and their description will not be repeated. Furthermore, at least some of the embodiments described below may be combined in any manner.
[0022] [Configuration and basic operation] FIG. 1 is a diagram illustrating an example of the configuration of an in-vehicle network management system according to an embodiment of the present disclosure. Referring to FIG. 1, the in-vehicle network management system 301 includes an in-vehicle ECU (Electronic Control Unit) 101 and two in-vehicle ECUs 111. The in-vehicle network management system 301 is mounted on a vehicle 1. The in-vehicle ECU 101 is an example of an in-vehicle device. The in-vehicle ECUs 101 and 111 configure an in-vehicle network 201. Note that the in-vehicle network management system 301 may be configured to include one or three or more in-vehicle ECUs 111.
[0023] The in-vehicle ECUs 101 and 111 are, for example, a relay device, a TCU (Telematics Communication Unit), an automatic driving ECU, an engine ECU, a sensor, a navigation device, a human-machine interface, a camera, and the like.
[0024] The in-vehicle ECU 101 includes two communication ports PA and USB (registered trademark) ports P1, P2, and P3. Hereinafter, each of the USB ports P1, P2, and P3 will also be referred to as a USB port P. The USB port P is an example of a first connection port.
[0025] The communication port PA is a connector to which, for example, an Ethernet (registered trademark) cable 2 can be connected. The USB port P can connect an external device having a storage area via a USB interface. In other words, the USB port P is a connector to which a USB connector can be connected. Hereinafter, the port numbers of the USB ports P1, P2, and P3 are assumed to be "01," "02," and "03," respectively. The in-vehicle ECU 101 may be configured to include two or four or more USB ports P. Furthermore, the in-vehicle ECU 101 is not limited to a configuration including multiple USB ports P, and may be configured to include one USB port P.
[0026] The in-vehicle ECU 111 is connected to the communication port PA of the in-vehicle ECU 101 via an Ethernet cable 2. The in-vehicle ECU 111 is not limited to being connected to the in-vehicle ECU 101 via the Ethernet cable 2, and may be connected via a communication line conforming to other standards such as CAN (Controller Area Network) (registered trademark).
[0027] [assignment] When an external device having a storage area is connected to the USB port P of the in-vehicle ECU 101, a technique is desired that enables the in-vehicle ECU 111 to access the storage area through simple processing.
[0028] For example, when an external device is connected to a USB port of a personal computer, the personal computer receives an operation from the user to specify the directory to which the external device is to be mounted, the destination of data on the external device, etc. Then, in accordance with the user's operation, the personal computer mounts the file system of the external device in a directory that can be accessed from other devices connected to the personal computer.
[0029] On the other hand, in the in-vehicle network 201, user access to the in-vehicle network management system 301 is restricted from the viewpoint of security, etc. Therefore, for example, when an external device is retrofitted to the USB port P of the in-vehicle ECU 101 after the vehicle 1 is shipped, a technique is desired that enables the in-vehicle ECU 111 to automatically access the storage area of the external device without requiring user operation.
[0030] Therefore, the in-vehicle network management system 301 according to the embodiment of the present disclosure solves the above problem by using the following configuration.
[0031] (In-vehicle ECU) 2 is a diagram illustrating a configuration of an in-vehicle ECU according to an embodiment of the present disclosure. Referring to FIG. 2, the in-vehicle ECU 101 includes a connection processing unit 11, a mounting processing unit 12, a communication unit 13, and a storage unit 14. The connection processing unit 11 is an example of a detection unit. Some or all of the connection processing unit 11, the mounting processing unit 12, and the communication unit 13 are realized by, for example, a processing circuit including one or more processors. The storage unit 14 is, for example, a non-volatile memory included in the processing circuit.
[0032] (Connection example 1) 3 is a diagram illustrating a first example of connection of a USB memory to an in-vehicle ECU according to an embodiment of the present disclosure. Fig. 3 illustrates a state in which USB memories 121A and 121B, which are USB memories 121, are connected to USB ports P1 and P2, respectively. The USB memory 121 has a storage area. The USB memory 121 is an example of an external device.
[0033] Referring to FIG. 3, the connection processing unit 11 detects the connection of the USB memories 121A and 121B to the USB ports P1 and P2.
[0034] More specifically, when the USB memory 121A is connected to the USB port P1, it transmits USB information including the ID of the USB memory 121A to the in-vehicle ECU 101. The connection processing unit 11 receives the USB information from the USB memory 121A via the USB port P1 and recognizes, based on the received USB information, that the USB memory 121A has been connected to the USB port P1. The connection processing unit 11 then mounts a file system FsA, which is a file system Fs of the USB memory 121A, in a predetermined restricted directory Rd, which is a directory to which access by the in-vehicle ECU 111 is restricted. The connection processing unit 11 also creates connection information C1 indicating the ID of the USB memory 121A and the port number of the USB port P1 to which the USB memory 121A is connected, and outputs the created connection information C1 to the mount processing unit 12.
[0035] Furthermore, when the USB memory 121B is connected to the USB port P2, it transmits USB information including the ID of the USB memory 121B to the in-vehicle ECU 101. The connection processing unit 11 receives the USB information from the USB memory 121B via the USB port P2 and recognizes, based on the received USB information, that the USB memory 121B has been connected to the USB port P2. The connection processing unit 11 then mounts the file system FsB, which is the file system Fs of the USB memory 121B, in the restricted directory Rd. The connection processing unit 11 also creates connection information C2 indicating the ID of the USB memory 121B and the port number of the USB port P2 to which the USB memory 121B is connected, and outputs the created connection information C2 to the mount processing unit 12.
[0036] The mount processing unit 12 performs a mount process of mounting the file systems FsA and FsB of the USB memories 121A and 121B, the connection of which is detected by the connection processing unit 11, in a directory accessible from the in-vehicle ECU 111 in the in-vehicle network 201. Hereinafter, the directory accessible from the in-vehicle ECU 111 is also referred to as a shared directory Sd.
[0037] More specifically, the mount processing unit 12 receives connection information C1 from the connection processing unit 11 and acquires an ID and a port number from the received connection information C1. Based on the ID and port number acquired from the connection information C1, the mount processing unit 12 identifies the file system FsA that has been mounted on the restricted directory Rd by the connection processing unit 11. The mount processing unit 12 unmounts the identified file system FsA and mounts the file system FsA on the shared directory Sd.
[0038] The mount processing unit 12 also receives connection information C2 from the connection processing unit 11 and acquires an ID and a port number from the received connection information C2. Based on the ID and port number acquired from the connection information C2, the mount processing unit 12 identifies the file system FsB mounted on the restricted directory Rd by the connection processing unit 11. The mount processing unit 12 unmounts the identified file system FsB and mounts the file system FsB on the shared directory Sd.
[0039] 4 is a diagram illustrating a directory structure under a shared directory after a mount process by a mount processing unit in an in-vehicle ECU according to an embodiment of the present disclosure. Fig. 4 illustrates the directory structure after a mount process in connection example 1. Hereinafter, the directory name of the shared directory Sd is assumed to be "usbshared."
[0040] Referring to FIG. 4, the mount processing unit 12 sets the directory names of the file systems FsA and FsB of the USB memories 121A and 121B to the directory names corresponding to the USB ports P1 and P2 to which the USB memories 121A and 121B are connected.
[0041] More specifically, the mount processing unit 12 sets the directory name of the file system FsA of the USB memory 121A to "usbshared / 01," which is the directory name of the shared directory Sd, "usbshared," and the port number "01" indicated by the connection information C1, combined with a slash.
[0042] The mount processing unit 12 also sets the directory name of the file system FsB of the USB memory 121B to "usbshared / 02," which is obtained by combining "usbshared" and "02," which is the port number indicated by the connection information C2, with a slash.
[0043] (Connection example 2) Fig. 5 is a diagram illustrating a second connection example of a USB memory to an in-vehicle ECU according to an embodiment of the present disclosure. Compared to connection example 1, Fig. 5 illustrates a state in which a USB-compliant hub 131 is further connected to the USB port P3, and a USB memory 121C that is the USB memory 121 is connected to the USB port H1.
[0044] The hub 131 includes USB ports H1, H2, and H3, which are USB ports H. The port numbers of the USB ports H1, H2, and H3 are assumed to be "01," "02," and "03," respectively. The USB port H can connect an external device having a storage area via a USB interface. That is, the USB port H is a connector to which a USB connector can be connected. The USB port H is an example of a second connection port. The hub 131 may be configured to include two or four or more USB ports H. Furthermore, the hub 131 is not limited to being configured to include multiple USB ports H, and may be configured to include only one USB port H.
[0045] Referring to FIG. 5, the connection processing unit 11 detects the connection of the USB memory 121C to the USB port P3 via the hub 131.
[0046] More specifically, when the USB memory 121C is connected to the USB port P3 via the hub 131, the USB memory 121C transmits USB information including the ID of the USB memory 121C to the in-vehicle ECU 101 via the hub 131. In addition, the hub 131 transmits hub information indicating the hub port number of the USB port H1 to which the USB memory 121C is connected to the in-vehicle ECU 101.
[0047] The connection processing unit 11 receives hub information and USB information from the hub 131 and the USB memory 121C, respectively, and recognizes, based on the received hub information and USB information, that the hub 131 is connected to the USB port P3 and the USB memory 121C is connected to the USB port H1 of the hub 131. The connection processing unit 11 then mounts the file system FsC, which is the file system Fs of the USB memory 121C, in the restricted directory Rd. The connection processing unit 11 also creates connection information C3 that indicates the ID of the USB memory 121C, the hub port number of the USB port H1 to which the USB memory 121C is connected, and the port number of the USB port P3 to which the hub 131 is connected, and outputs the created connection information C3 to the mount processing unit 12.
[0048] The mount processing unit 12 performs a mount process of mounting the file system FsC of the USB memory 121C, the connection of which is detected by the connection processing unit 11, onto the shared directory Sd.
[0049] More specifically, the mount processing unit 12 receives connection information C3 from the connection processing unit 11 and acquires an ID, a hub port number, and a port number from the received connection information C3. Based on the ID, hub port number, and port number acquired from the connection information C3, the mount processing unit 12 identifies the file system FsC mounted on the restricted directory Rd by the connection processing unit 11. The mount processing unit 12 unmounts the identified file system FsC and mounts the file system FsC on the shared directory Sd.
[0050] 6 is a diagram illustrating a directory structure under a shared directory after a mount process by a mount processor in an in-vehicle ECU according to an embodiment of the present disclosure. FIG. 6 illustrates the directory structure after a mount process in connection example 2.
[0051] Referring to FIG. 6, the mount processing unit 12 sets the directory name of the file system FsC of the USB memory 121C to the directory name corresponding to the USB port P3 to which the hub 131 is connected and the USB port H1 in the hub 131 to which the USB memory 121C is connected.
[0052] More specifically, the mount processing unit 12 sets the directory name of the file system FsC of the USB memory 121C to "usbshared / 03.01" by combining "usbshared" with "03", which is the port number indicated by the connection information C3, using a slash, and by combining "03" with "01", which is the hub port number indicated by the connection information C3, using a period.
[0053] (Public directory) 3 and 5 again, for example, the in-vehicle ECU 101 serves as an NFS (Network File System) server and makes available to the in-vehicle network 201 the directory of the file system Fs mounted on the shared directory Sd.
[0054] More specifically, the mount processing unit 12 stores in the storage unit 14 mount information indicating the directory name of the file system Fs.
[0055] When the mount processing unit 12 stores the mount information in the memory unit 14, the communication unit 13 provides the in-vehicle ECU 111 with a service using the file system Fs indicated by the mount information using an OfferService message conforming to SOME / IP (Scalable service-Oriented Middleware over IP).
[0056] More specifically, the communication unit 13 generates an OfferService message M1 including the directory name of the file system Fs indicated by the mount information and the service ID of the service that can be provided using the file system Fs, and transmits the generated OfferService message M1 to the vehicle ECU 111 via the communication port PA.
[0057] The in-vehicle ECU 111 receives the OfferService message M1 from the in-vehicle ECU 101 and acquires the directory name and the service ID from the received OfferService message M1. When the in-vehicle ECU 111 receives the service indicated by the acquired service ID, the in-vehicle ECU 111 transmits a FindService message M2 including the service ID to the in-vehicle ECU 101.
[0058] The in-vehicle ECU 111 also transmits to the in-vehicle ECU 101 an RpcMountRequest message M3 for requesting access to the directory having the acquired directory name.
[0059] The communication unit 13 in the in-vehicle ECU 101 receives the RpcMountRequest message M3 from the in-vehicle ECU 111 via the communication port PA, and transmits an RpcMountReply message M4 to the in-vehicle ECU 111 via the communication port PA as a response to the received RpcMountRequest message M3.
[0060] When the in-vehicle ECU 111 receives the RpcMountReply message M4 from the in-vehicle ECU 101, it accesses the file system Fs of the USB memory 121 via the in-vehicle ECU 101 to write data to the USB memory 121 and read data from the USB memory 121.
[0061] For example, the in-vehicle ECU 111 transmits to the in-vehicle ECU 101 an RpcRequest message M5 including data Dw to be written to the USB memory 121 and a directory name of the file system Fs of the USB memory 121.
[0062] When the communication unit 13 in the in-vehicle ECU 101 receives an RpcRequest message M5 via the communication port PA, it acquires the data Dw and the directory name from the received RpcRequest message M5 and outputs the acquired data Dw and directory name to the connection processing unit 11.
[0063] The connection processing unit 11 receives the data Dw and the directory name from the communication unit 13, and performs a save process to save the data Dw in the USB memory 121 corresponding to the directory name. When the save process is completed, the connection processing unit 11 outputs a completion notification to the communication unit 13.
[0064] Upon receiving the completion notification from the connection processing unit 11, the communication unit 13 transmits an RpcReply message M6 indicating that writing of the data Dw has been completed to the in-vehicle ECU 111 via the communication port PA as a response to the RpcRequest message M5.
[0065] Furthermore, for example, the in-vehicle ECU 111 transmits to the in-vehicle ECU 101 an RpcRequest message M7 including the file name of the data Dr to be read from the USB memory 121 and the directory name of the file system Fs of the USB memory 121.
[0066] When the communication unit 13 in the in-vehicle ECU 101 receives an RpcRequest message M7 via the communication port PA, it obtains the file name and directory name of the data Dr from the received RpcRequest message M7 and outputs the obtained file name and directory name to the connection processing unit 11.
[0067] The connection processing unit 11 receives the file name and the directory name from the communication unit 13, and performs an acquisition process to acquire the data Dr having the file name from the USB memory 121 corresponding to the directory name. The connection processing unit 11 outputs the acquired data Dr to the communication unit 13.
[0068] The communication unit 13 receives the data Dr from the connection processing unit 11 and transmits an RpcReply message M8 including the data Dr to the in-vehicle ECU 111 via the communication port PA as a response to the RpcRequest message M7.
[0069] The in-vehicle ECU 111 may be configured not to write data to the USB memory 121 or not to read data from the USB memory 121.
[0070] [Operation flow] FIG. 7 is a flowchart defining an example of an operation procedure when the in-vehicle ECU according to the embodiment of the present disclosure performs the mounting process.
[0071] Referring to FIG. 7, first, the in-vehicle ECU 101 waits for the arrival of USB information (NO in step S11), and when it receives the USB information from the USB memory 121 (YES in step S11), it recognizes that the USB memory 121 has been connected to the USB port P, and mounts the file system Fs of the USB memory 121 in the restricted directory Rd (step S12).
[0072] Next, the in-vehicle ECU 101 unmounts the file system Fs mounted on the restricted directory Rd, and mounts the file system Fs on the shared directory Sd. Here, the in-vehicle ECU 101 sets the directory name of the file system Fs according to the procedure described above (step S13).
[0073] Next, the in-vehicle ECU 101 stores mount information indicating the directory name of the file system Fs in the storage unit 14 (step S14).
[0074] Next, the in-vehicle ECU 101 waits for new USB information to arrive (NO in step S11).
[0075] FIG. 8 is a diagram illustrating an example of a communication sequence in the in-vehicle network management system according to the embodiment of the present disclosure.
[0076] Referring to FIG. 8, first, when the USB memory 121 is connected to the USB port P in the in-vehicle ECU 101, the USB memory 121 transmits USB information to the in-vehicle ECU 101 (step S21).
[0077] Next, the in-vehicle ECU 101 receives the USB information from the USB memory 121, recognizes that the USB memory 121 has been connected to the USB port P, and mounts the file system Fs of the USB memory 121 in the restricted directory Rd (step S22).
[0078] Next, the in-vehicle ECU 101 unmounts the file system Fs mounted on the restricted directory Rd, and mounts the file system Fs on the shared directory Sd (step S23).
[0079] Next, the in-vehicle ECU 101 stores mount information indicating the directory name of the file system Fs in the storage unit 14 (step S24).
[0080] Next, the in-vehicle ECU 101 transmits the OfferService message M1 to the in-vehicle ECU 111 (step S25).
[0081] Next, the in-vehicle ECU 111 transmits a FindService message M2 to the in-vehicle ECU 101 (step S26).
[0082] Next, the in-vehicle ECU 111 transmits an RpcMountRequest message M3 to the in-vehicle ECU 101 (step S27).
[0083] Next, the in-vehicle ECU 101 transmits an RpcMountReply message M4 to the in-vehicle ECU 111 via the communication port PA (step S28).
[0084] Next, the in-vehicle ECU 111 transmits an RpcRequest message M5 including the data Dw and the directory name of the file system Fs to the in-vehicle ECU 101 (step S29).
[0085] Next, the in-vehicle ECU 101 acquires the data Dw and the directory name from the received RpcRequest message M5, and stores the data Dw in the USB memory 121 corresponding to the directory name (step S30).
[0086] Next, the in-vehicle ECU 101 transmits an RpcReply message M6 to the in-vehicle ECU 111 via the communication port PA (step S31).
[0087] Next, the in-vehicle ECU 111 transmits an RpcRequest message M7 including the file name of the data Dr and the directory name of the file system Fs to the in-vehicle ECU 101 (step S32).
[0088] Next, the in-vehicle ECU 101 acquires the file name and directory name from the received RpcRequest message M7, and acquires the data Dr with the file name from the USB memory 121 that corresponds to the directory name (step S33).
[0089] Next, the in-vehicle ECU 101 transmits an RpcReply message M8 including the data Dr to the in-vehicle ECU 111 via the communication port PA (step S34).
[0090] The order of steps S29, S30, S31 and steps S32, S33, S34 is not limited to the above, and may be reversed. Also, in the in-vehicle network management system 301, it is not necessary to perform either one of steps S29, S30, S31 and steps S32, S33, S34.
[0091] Furthermore, in the in-vehicle ECU 101 according to the embodiment of the present disclosure, the mounting processing unit 12 is configured to set the directory names of the file systems FsA and FsB in the USB memories 121A and 121B to directory names corresponding to the USB ports P1 and P2 to which the USB memories 121A and 121B are connected, but this is not limiting. The mounting processing unit 12 may also be configured to set the directory names of the file systems FsA and FsB in the USB memories 121A and 121B to predetermined directory names regardless of the USB ports P1 and P2.
[0092] Furthermore, in-vehicle ECU 101 according to the embodiment of the present disclosure, the directory name of file system FsC in USB memory 121C is set to a directory name corresponding to USB port P3 to which hub 131 is connected and USB port H1 to which USB memory 121C is connected in hub 131, but this is not limited to this. Mount processing unit 12 may be configured to set the directory name of file system FsC in USB memory 121C to a predetermined directory name regardless of USB port P3 or H1.
[0093] Furthermore, although the in-vehicle ECU 101 according to the embodiment of the present disclosure has been described as having a USB port P, the present disclosure is not limited to this. The in-vehicle ECU 101 may be configured to have a connection port to which an external device can be connected via an interface conforming to a standard other than USB, instead of the USB port P. In this case, the connection processing unit 11 detects connection of the external device to the connection port. Then, the mounting processing unit 12 mounts the file system of the external device, the connection of which is detected by the connection processing unit 11, in the shared directory Sd.
[0094] The above-described embodiments should be considered to be illustrative in all respects and not restrictive. 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.
[0095] Each process (each function) in the above-described embodiments is realized by a processing circuit including one or more processors. The processing circuit may be configured as an integrated circuit or the like that combines one or more memories, various analog circuits, and various digital circuits in addition to the one or more processors. The one or more memories store programs (instructions) that cause the one or more processors to execute each of the processes. The one or more processors may execute each of the processes according to the program read from the one or more memories, or according to a logic circuit pre-designed to execute each of the processes. The processor may be various processors suitable for computer control, such as a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a field programmable gate array (FPGA), and an application-specific integrated circuit (ASIC). Note that the physically separate processors may cooperate with each other to execute each of the processes. For example, the processors mounted on a plurality of physically separated computers may cooperate with each other to execute the above processes via a network such as a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, etc. The program may be installed into the memory from an external server device or the like via the network, or may be distributed in a state stored on 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 into the memory from the recording medium.
[0096] The above description includes the following additional features. [Appendix 1] An in-vehicle device in an in-vehicle network, a first connection port to which an external device having a storage area can be connected via a USB interface; a detection unit that detects the connection of the external device to the first connection port; a mount processing unit that mounts a file system of the external device, the connection of which is detected by the detection unit, in a directory accessible from other devices in the in-vehicle network; a communication unit that provides a service using the file system mounted by the mounting processing unit to the other device.
[0097] [Appendix 2] An in-vehicle device in an in-vehicle network, a processing circuit and a first connection port to which an external device having a storage area can be connected via a USB interface; The processing circuitry Detecting the connection of the external device to the first connection port; The in-vehicle device mounts the file system of the detected external device in a directory accessible from other devices in the in-vehicle network. [Explanation of symbols]
[0098] 1 vehicle 2 Ethernet cables 11 Connection processing unit 12 Mount processing section 13 Communications Department 14 Storage section 101 Automotive ECU 111 Automotive ECU 121, 121A, 121B, 121C USB memory 131 Hub 201 In-vehicle network 301 In-Vehicle Network Management System PA communication port P, P1, P2, P3 USB ports H, H1, H2, H3 USB port Sd shared directory Fs, FsA, FsB, FsC file system
Claims
1. An in-vehicle device in an in-vehicle network, a first connection port to which an external device having a storage area can be connected via a USB interface; a detection unit that detects the connection of the external device to the first connection port; a mount processing unit that mounts a file system of the external device, the connection of which is detected by the detection unit, in a directory accessible from other devices in the in-vehicle network.
2. the in-vehicle device includes a plurality of the first connection ports, The in-vehicle device according to claim 1 , wherein the mount processing unit sets a directory name of a file system of the external device to a directory name corresponding to the first connection port to which the external device is connected.
3. the detection unit detects the connection of the external device to the first connection port via a hub having a plurality of second connection ports conforming to USB; 3. The in-vehicle device according to claim 1, wherein the mount processing unit sets a directory name of the file system of the external device to a directory name corresponding to the first connection port to which the hub is connected and the second connection port to which the external device is connected in the hub.
4. A management method for an in-vehicle device in an in-vehicle network, comprising: the in-vehicle device includes a first connection port to which an external device having a storage area can be connected via a USB interface; The management method includes: detecting a connection of the external device to the first connection port; and mounting a file system of the external device whose connection has been detected in a directory accessible from other devices in the in-vehicle network.
5. A management program used in an in-vehicle device in an in-vehicle network, the in-vehicle device includes a first connection port to which an external device having a storage area can be connected via a USB interface; Computer, a detection unit that detects the connection of the external device to the first connection port; a mount processing unit that mounts a file system of the external device, the connection of which is detected by the detection unit, in a directory accessible from other devices in the in-vehicle network; A management program to function as a
Citation Information
Patent Citations
Management device, vehicle communication system, vehicle, vehicle communication management device, vehicle communication management program
WO2020179123A1