WO2024048328A1 - In-vehicle device, program, and, information processing method - Google Patents

In-vehicle device, program, and, information processing method Download PDF

Info

Publication number
WO2024048328A1
WO2024048328A1 PCT/JP2023/029890 JP2023029890W WO2024048328A1 WO 2024048328 A1 WO2024048328 A1 WO 2024048328A1 JP 2023029890 W JP2023029890 W JP 2023029890W WO 2024048328 A1 WO2024048328 A1 WO 2024048328A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
application
storage unit
operator
vehicle device
Prior art date
Application number
PCT/JP2023/029890
Other languages
French (fr)
Japanese (ja)
Inventor
絢 早川
駿 岡広
Original Assignee
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社 filed Critical 株式会社オートネットワーク技術研究所
Publication of WO2024048328A1 publication Critical patent/WO2024048328A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Definitions

  • the present disclosure relates to an in-vehicle device, a program, and an information processing method.
  • This application claims priority based on Japanese Application No. 2022-139371 filed on September 1, 2022, and incorporates all the contents described in the said Japanese application.
  • Vehicles are equipped with an on-board ECU (Electronic Control Unit) for controlling on-board equipment such as the power train system such as engine control, and the body system such as air conditioner control.
  • the in-vehicle ECU includes an arithmetic processing unit such as an MPU, a rewritable non-volatile storage unit such as a RAM, and a communication unit for communicating with other in-vehicle ECUs, and reads and executes a control program stored in the storage unit. This enables control of in-vehicle equipment.
  • the vehicle is equipped with a relay device equipped with a wireless communication function, which communicates with a program providing device connected to a network outside the vehicle through the relay device, and controls the in-vehicle ECU from the program providing device. It is possible to download (receive) a program and update the control program of the in-vehicle ECU (for example, see Patent Document 1).
  • An in-vehicle device is an in-vehicle device that is installed in a vehicle and is communicably connected to an in-vehicle ECU via an in-vehicle network, and includes a storage unit that stores a plurality of applications, and a storage unit that stores a plurality of applications. and a control unit that performs processing, and the control unit expands the functions executable by the vehicle by adding the application stored in the storage unit, and adds the execution result of the application to the function. Output to the corresponding in-vehicle ECU.
  • FIG. 1 is a schematic diagram illustrating the configuration of an in-vehicle system including an in-vehicle device according to a first embodiment.
  • FIG. 2 is a block diagram illustrating the configuration of an in-vehicle device and the like.
  • FIG. 2 is an explanatory diagram illustrating an example of a software hierarchy installed in an in-vehicle device. It is an explanatory diagram showing an example of an application table.
  • FIG. 2 is an explanatory diagram showing an example of application switching.
  • 3 is a flowchart illustrating processing of a control unit of an in-vehicle device.
  • 12 is a flowchart illustrating processing of a control unit of an in-vehicle device according to a second embodiment.
  • Patent Document 1 does not take into account the possibility of expanding executable functions by adding applications stored in the storage unit.
  • An object of the present disclosure is to provide an in-vehicle device or the like that can expand executable functions by adding applications stored in a storage unit.
  • An in-vehicle device is an in-vehicle device that is installed in a vehicle, is communicably connected to an in-vehicle ECU via an in-vehicle network, and stores a plurality of applications.
  • the control unit includes a storage unit and a control unit that performs processing related to the application, and the control unit expands the functions executable by the vehicle by adding the application stored in the storage unit, and expands the functions that the vehicle can execute.
  • the execution result is output to the in-vehicle ECU corresponding to the function.
  • the in-vehicle device communicates with an external server such as an OTA server, obtains software programs such as applications compatible with various services used in operating the vehicle, and stores the obtained application in a storage unit. Perform the installation by doing so.
  • the in-vehicle device is an ECU that can expand the executable functions and increase the types of services that can be supported by installing (applying) and adding new applications in this way.
  • Function In order to provide the requested function (service), the control unit of the in-vehicle device executes an application corresponding to the function (service), and sends the result data, request signal, or control signal generated as the execution result to the function (service).
  • the in-vehicle ECU is, for example, a body ECU (BCU) that is responsible for drive control of body-related actuators, and is connected to the in-vehicle ECU (BCU) in response to a request signal acquired (received) from an in-vehicle device (function expansion ECU).
  • drive actuators vehicle-mounted devices such as lighting devices, wipers, and door mirrors.
  • the storage unit stores an input/output program that performs input/output processing when the application is executed, and the input/output program and a plurality of The respective applications are linked through a common interface.
  • the storage unit of the in-vehicle device stores an input/output program for transmitting and receiving data with the in-vehicle ECU when executing an application corresponding to a requested function (service).
  • the input/output program and each of the multiple applications are coded using, for example, a common communication socket library, and are linked through a common communication interface and connected through inter-process communication, etc. . Therefore, even if the data input/output specifications differ for each application, by intervening the input/output program in the communication between each of the multiple applications and the program executed on the in-vehicle ECU side, these applications can can ensure versatility.
  • an operating system is stored in the storage unit, and each of the plurality of applications is executed on the operating system.
  • the storage unit of the vehicle-mounted device stores an operating system for accessing the hardware resources of the vehicle-mounted device, and each of the plurality of applications is executed on the operating system. Therefore, even if new applications are added to the in-vehicle device, the operating system will manage the processes and control access to hardware resources for these applications to avoid conflicts in access to hardware resources. be able to.
  • control unit acquires operator information regarding an operator of the vehicle, and selects the application to be executed according to the acquired operator information.
  • control unit of the vehicle-mounted device acquires operator information regarding the operator of the vehicle transmitted from a mobile terminal or smart key owned by the operator of the vehicle, for example.
  • the control unit of the in-vehicle device selects an application to be executed based on the acquired operator information and executes the selected application, so it is possible to appropriately apply functions (services) according to the operator of the vehicle. .
  • control unit acquires vehicle status information regarding the status of the vehicle, and selects the application to be executed according to the acquired vehicle status information.
  • control unit of the in-vehicle device obtains vehicle state information regarding the state of the vehicle by, for example, obtaining on/off signals from the IG switch, messages from the body ECU (BCU), and the like.
  • the control unit of the in-vehicle device selects an application to be executed based on the acquired vehicle status information and executes the selected application, so that functions (services) depending on the status of the vehicle can be appropriately applied.
  • the plurality of applications stored in the storage unit are positioned at A grade, B grade, or QM in ASIL (Automotive Safety Integrity Level) of ISO26262.
  • multiple applications stored in the storage unit of the in-vehicle device that is, applications executed by the in-vehicle device to provide various functions (services), are grade A and B in ASIL (Automotive Safety Integrity Level) of ISO26262.
  • ASIL Automotive Safety Integrity Level
  • QM Quality of Service
  • a program according to an aspect of the present disclosure is installed in a computer that is installed in a vehicle, is communicatively connected to an in-vehicle ECU via an in-vehicle network, and includes a storage unit in which a plurality of applications are stored.
  • the functions executable by the vehicle are expanded, and the execution results of the application are output to the in-vehicle ECU corresponding to the function.
  • An information processing method includes a computer that is installed in a vehicle, is communicably connected to an in-vehicle ECU via an in-vehicle network, and includes a storage section in which a plurality of applications are stored. By adding the application stored in the section, the functions executable by the vehicle are expanded, and the execution results of the application are output to the in-vehicle ECU corresponding to the function.
  • FIG. 1 is a schematic diagram illustrating the configuration of an in-vehicle system S including an in-vehicle device 2 according to a first embodiment.
  • FIG. 2 is a block diagram illustrating the configuration of the in-vehicle device 2 and the like.
  • the in-vehicle system is configured with an in-vehicle device 2 as a main device, and the in-vehicle device 2 is communicably connected to various in-vehicle ECUs 4 including a body ECU 41 and the like via an in-vehicle network 5.
  • a relay device 3 having a function such as an Ethernet SW or a CAN gateway is connected to the in-vehicle network 5, and the relay device 3 relays communication data transmitted and received via a plurality of communication lines 51 that constitute the in-vehicle network 5. It may be something that does.
  • the in-vehicle device 2 is communicably connected to an external server 100 connected to an external network N via an external communication device 1 .
  • the external server 100 is a computer such as a server connected to an external network N such as the Internet or a public line network.
  • the external server 100 is communicably connected to a plurality of vehicles C via an external network N, and connects various application APs to the in-vehicle devices 2 of these vehicles C using, for example, OTA (Over The Air). It may also function as an OTA server that transmits (distributes).
  • OTA Over The Air
  • the external communication device 1 includes an external communication section 11 and an in-vehicle communication section 12.
  • the in-vehicle communication unit 12 is, for example, an Ethernet PHY unit that supports TCP/IP packets transmitted over a communication line 51 using an Ethernet cable such as 100BASE-T1 or 1000BASE-T1.
  • the external communication device 1 is communicably connected to the in-vehicle device 2 via an in-vehicle communication section 12 and a communication line 51 such as an Ethernet cable.
  • the external communication unit 11 is a communication device for wireless communication using mobile communication protocols such as 4G, 5G, WiFi (registered trademark), and Bluetooth (registered trademark), and is connected to the external communication unit 11. Data is transmitted and received via the antenna 13 to an external server 100 or a mobile terminal 101 such as a smart phone. Communication between the outside-vehicle communication device 1 and the outside-vehicle server 100 or the mobile terminal 101 is performed via an outside-vehicle network N such as a short-range communication network, a public line network, or the Internet.
  • an outside-vehicle network N such as a short-range communication network, a public line network, or the Internet.
  • the external communication device 1 is a separate device from the in-vehicle device 2, and these devices are communicably connected by the in-vehicle communication section 12, but the present invention is not limited to this.
  • the external communication device 1 may be built into the vehicle-mounted device 2 as a component of the vehicle-mounted device 2 .
  • the actuator 411 includes, for example, a wiper, a door mirror, a door lock, a lighting device, a seat drive device, a car air conditioner, a display device (HMI device), and the like.
  • the vehicle-mounted ECU 4 may be, for example, a body ECU 41 that drives and controls body-related actuators 411 such as wipers, door locks, door mirrors, and lighting devices.
  • the in-vehicle ECU 4 may be an integrated ECU (vehicle computer) that performs overall control of the vehicle C, or an individual ECU that operates under the integrated ECU.
  • An IG switch 6 that starts and stops the vehicle C may be connected to the body ECU 41.
  • the operation of the engine (on or off) is acquired by the signal indicating on or off of the IG switch 6, and the application AP corresponding to when the engine is on (when the engine starts operating) or when the engine is off (when the engine is stopped) is activated. It can be a trigger.
  • the activation trigger is not limited to these, and may be triggered by an event such as putting on and taking off a seatbelt or opening/closing a door.
  • the in-vehicle device 2 and the body ECU 41 are connected to a power supply device 7 such as a lead battery, a secondary battery, or an alternator via a power line 71.
  • a power supply device 7 such as a lead battery, a secondary battery, or an alternator
  • Other in-vehicle ECUs 4 are similarly connected to the power supply device 7, and are supplied with power from the power supply device 7.
  • the body ECU 41 is constantly supplied with power from the power supply device 7 and is in a wake-up state, and when an operator with a mobile terminal 101 such as a smartphone or a smart key approaches the vehicle C, the mobile terminal 101 is activated.
  • the operator information may also be acquired by performing short-range communication with, etc.
  • the body ECU 41 When the body ECU 41 acquires the operator information, it transmits a wake-up signal to the in-vehicle device 2 in the sleep state, transitions the in-vehicle device 2 to a wake-up state, and then transfers the operator information to the in-vehicle device 2. It may also be something that is sent to.
  • the in-vehicle device 2 includes a control section 20, a storage section 21, an input/output I/F 22, an in-vehicle communication section 23, and the like.
  • the in-vehicle device 2 regularly communicates with an external server, acquires various application APs using OTA (Over The Air), etc., and installs (applies) the acquired application APs to perform executable functions. It functions as a function expansion ECU that expands the Although details will be described later, the in-vehicle device 2 (function expansion ECU) selects an application AP based on the state of the vehicle C and the combination of operators, and executes the selected application AP.
  • OTA Over The Air
  • the in-vehicle device 2 transmits execution result data, which is the execution result of the application AP, to the in-vehicle ECU 4 corresponding to the function performed by executing the application AP.
  • the in-vehicle ECU 4 is connected to an actuator 411 that is drive-controlled according to the function performed by the application AP by the in-vehicle device 2 .
  • the control unit 20 is composed of a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like.
  • the control unit 20 performs various control processes, calculation processes, etc. by reading out and executing the control program P (program product) and data stored in advance in the storage unit 21 .
  • the control program P (program product) stored in the storage unit 21 may be one in which a control program P (program product) read from a recording medium M readable by the in-vehicle device 2 is stored. Further, the control program P (program product) stored in the storage unit 21 may be a program downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 21. .
  • the storage unit 21 is composed of a volatile memory element such as a RAM (Random Access Memory), or a non-volatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory.
  • the storage unit 21 stores a control program P including a plurality of applications AP, an input/output program IP, an operating system OP, and the like. Furthermore, the storage unit 21 stores an application table, which will be described later.
  • the input/output I/F 22 is, for example, a communication interface for serial communication. Via the input/output I/F 22, the in-vehicle device 2 is communicably connected to a camera 221, sensors 222 such as LiDAR, RADAR, ultrasonic sensor, temperature/humidity sensor, and infrared sensor, and a display device (HMI device) such as a display. be done. Various necessary sensors 222 may be additionally connected (retrofitted) to the input/output I/F 22 according to the various added applications AP. That is, the input/output I/F 22 may be compatible with standards such as GMSL, FPD-LINK, etc., which are IFs for the camera 221 system, for example.
  • the control unit 20 performs image processing, point cloud processing, object detection, living body detection, etc. on the image captured by the camera 221 via the input/output I/F 22 by executing various applications AP. Various types of processing can be performed.
  • the in-vehicle communication unit 23 is an input/output interface (Ethernet PHY unit, CAN transceiver, etc.) using a communication protocol such as Ethernet (registered trademark) or CAN (Controller Area Network).
  • the control unit 20 communicates with the relay device 3 , the in-vehicle ECU 4 , or the external communication device 1 connected to the in-vehicle network 5 via the in-vehicle communication unit 23 .
  • FIG. 3 is an explanatory diagram showing an example of a software hierarchy installed in the on-vehicle device 2.
  • the control program P stored in the storage unit 21 of the in-vehicle device 2 may include a plurality of applications AP, an input/output program IP, and an operating system OP.
  • the software hierarchy layer structure
  • the input/output program IP is the highest layer
  • the lower layers are the application AP and the operating system OP in that order.
  • the plurality of applications AP are selectively executed depending on the combination of the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information), and are switched for each operator. It is something that is carried out.
  • the in-vehicle device 2 (function expansion ECU) acquires these application APs from the external server 100 using OTA (Over The Air) or the like, and installs them by storing them in the storage unit 21. By acquiring the application AP from the external server 100 in this manner, the functions (executable functions) that the in-vehicle device 2 can perform can be expanded according to the acquired application AP.
  • the input/output program IP performs processing (input/output processing) related to input/output with the in-vehicle ECU 4, which is the destination of the request signal generated as a result of executing the application AP, when executing the application AP according to the type of expanded function. I do.
  • processing input/output processing
  • the input/output program IP performs input/output processing with the in-vehicle ECU 4, that is, front-end processing for the in-vehicle ECU 4, the input/output program IP and each of the plurality of application APs are linked by a common interface, and for example, the process
  • the device is configured to be connected by intercommunication or shared memory method.
  • the input/output program IP and each of the plurality of application APs are coded using, for example, a common communication socket library, and each application AP and input/output program IP are coded using a process defined by the library. It may also be one that performs inter-communication. In this way, the input/output program IP performs transparent communication processing with each application AP by transmitting and receiving data assumed in advance in each application AP, and also performs transparent communication processing with each application AP. Performs data transmission/reception processing corresponding to the ECU 4.
  • the storage unit 21 of the in-vehicle device 2 stores an application AP and the in-vehicle ECU 4 to which the execution result (request signal) of the application AP is transmitted in association with each other, for example, in a list format (app list). It may be.
  • the application list the name of the application AP (executable file name) and the ECU number (MAC address, IP address, ECUID, etc.) that uniquely identifies the in-vehicle ECU 4 corresponding to the function performed by the application AP are associated. It is defined as
  • the control unit 20 When executing the input/output program IP, the control unit 20 identifies the in-vehicle ECU 4 to which the execution result (request signal) of the executed application AP is to be transmitted by reading the application list as a data file, and transmits the execution result. (request signal) is transmitted to the specified in-vehicle ECU 4.
  • the in-vehicle ECU 4 serving as the transmission destination is an in-vehicle ECU 4 that corresponds to the function exhibited by the application AP, and is the in-vehicle ECU 4 to which an actuator 411 driven by the function is connected.
  • the input/output program IP determines the priority among these application APs and performs processing (application control processing) to resolve resource conflicts, etc. between these application APs. There may be.
  • the input/output program IP configured in this way functions as communication middleware when performing communication processing with the in-vehicle ECU 4, and is used to connect various application APs acquired from the external server 100 and various types installed in the vehicle C. It is possible to improve the compatibility and transparency with the in-vehicle ECU 4 and ensure the versatility of the application AP.
  • the operating system OP is, for example, basic software such as Linux (registered trademark) or AUTOSAR (registered trademark)-OS. All the application APs installed (applied) to the in-vehicle device 2 operate on the operating system OP, thereby controlling the processes or threads generated for the execution of the application APs and the access to hardware resources by the application APs. Access is controlled.
  • the operating system OP includes, for example, a security module, device drivers such as a camera 221 and a sensor 222 connected to the input/output I/F 22, and an OTA module used when acquiring or updating an application AP from the external server 100. It may be.
  • the operating system OP is responsible for controlling access to hardware resources such as the control unit 20, the storage unit 21, the input/output I/F 22, and the in-vehicle communication unit 23, as well as time slice processing.
  • FIG. 4 is an explanatory diagram showing an example of an application table.
  • the storage unit 21 stores an application table in which an application AP specified by a combination of the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information) is defined.
  • the application table is configured, for example, in a matrix format, and includes an operator field and a vehicle status field as management items, and defines an application AP to be executed based on a combination of these operator and vehicle status. There may be.
  • the automatic door release application AP is executed.
  • the application AP to be executed is defined as automatic door release.
  • User-A is defined as an application AP that executes a camera DMS (Driver Monitor)
  • User-B is defined as an application AP that executes a biosensor DMS.
  • the control unit 20 of the in-vehicle device 2 can switch the application AP to be executed depending on the operator (operator information). Can be done.
  • automatic door release, camera DMS, biosensor DMS, etc. are examples of applications AP that are selectively executed, and are not limited to these.
  • Applications AP that are executed when the state of vehicle C (vehicle state information) is that the vehicle is in a vehicle include, for example, door unlocking using biometric authentication, user authentication for a shared car, user authentication and payment for a taxi or bus, etc., and child boarding. It may also include changing the door settings at the time of confirmation.
  • the application APs executed when the state of the vehicle C (vehicle state information) is that the engine is operating are, for example, various DMS (Driver Monitor), EDR (data recording), sign recognition, signal recognition, emergency vehicle C.
  • the application AP that is executed when the state of vehicle C (vehicle state information) is exiting the vehicle is, for example, collision warning when opening/closing a door, user authentication and payment for taxis or buses, child abandonment detection, smart home, etc. It may include cooperation, garage opening, etc.
  • These application APs stored in the storage unit 21 and defined in the application table may be positioned in A grade, B grade, or QM in ASIL (Automotive Safety Integrity Level) of ISO26262.
  • the in-vehicle device 2 that functions as a function-enhanced ECU acquires and updates various application APs from the external server 100 periodically or regularly using OTA or the like, so it acquires and updates all the application APs applicable to the in-vehicle device 2. can be maintained in an executable state.
  • the information that becomes the original data of the application table may be information related to subscription users that is centrally managed by the external server 100.
  • the subscription user is a user who can be the operator of the vehicle C, and the external server 100 centrally manages application AP information (user master information) desired by each user for all subscription users.
  • the control unit 20 of the in-vehicle device 2 may periodically communicate with the out-of-vehicle server 100 and update the application table.
  • FIG. 5 is an explanatory diagram showing an example of application AP switching.
  • the in-vehicle device 2 (function expansion ECU) switches the application AP to be executed depending on the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information) (use case ).
  • the state of vehicle C (vehicle state information) is when the vehicle is in the vehicle
  • the operator (A) and operator (B) of vehicle C are both set as an application AP that executes automatic door release (defined in the application table).
  • the door automatic release application AP is executed.
  • the operator (A) sets it as an application AP that executes camera DMS
  • the operator (B) sets it as an application AP that executes biosensor DMS. are doing. Therefore, when the operator (A) is in the vehicle, camera DMS is executed while the engine is operating. When the operator (B) is in the vehicle, the biosensor DMS is executed while the engine is operating.
  • the operator (A) and operator (B) of vehicle C are both set as an application AP that executes a door opening/closing warning (in the application table). (definition), a warning is executed when the door is opened or closed.
  • the application AP can be switched and executed depending on the state of the vehicle C (vehicle state information).
  • the application AP executed by the operator (A) and the operator (B) will be different, depending on the operator.
  • Application APs can be switched and executed.
  • FIG. 6 is a flowchart illustrating the processing of the control unit 20 of the in-vehicle device 2.
  • the control unit 20 of the in-vehicle device 2 regularly performs the following processing, for example, when the vehicle C is in a starting state (IG switch 6 is on) or in a stopped state (IG switch 6 is off).
  • the control unit 20 of the in-vehicle device 2 periodically or regularly communicates with the external server 100 such as an OTA server to check whether there is a newly added application AP. If there is an application AP to be added, the control unit 20 of the in-vehicle device 2 acquires (downloads) the application AP to be added from the external server 100 (OTA server), stores it in the storage unit 21, and installs (applies) it. do.
  • the external server 100 such as an OTA server
  • the control unit 20 of the in-vehicle device 2 may acquire all application APs (full package) that can be applied to the in-vehicle device 2.
  • the in-vehicle device 2 selects the application AP to be executed depending on the operator of the vehicle C, but it is assumed that the vehicle C is operated by a plurality of different operators, such as driving. Even in such a case, since all application APs (full packages) are installed (applied) to the in-vehicle device 2 in advance, no matter which operator operates the vehicle C, the relevant operation It is possible to eliminate the need to obtain an application AP each time according to the user.
  • the control unit 20 of the in-vehicle device 2 may acquire user information regarding the subscription user (operator of the vehicle C) registered in the external server 100 in conjunction with the additional acquisition of the application AP.
  • the control unit 20 of the in-vehicle device 2 grasps the application AP (provided service) requested by each subscription user (operator of vehicle C) based on the acquired user information, and updates the application table. There may be.
  • the control unit 20 of the vehicle-mounted device 2 acquires operator information regarding the operator of the vehicle C (S101).
  • the control unit 20 of the vehicle-mounted device 2 acquires operator information transmitted from the mobile terminal 101 or smart key held by the operator of the vehicle C, for example, via the body ECU 41.
  • the body ECU 41 is constantly supplied with power to the power supply device 7 and is in a wake-up state, and when an operator having a mobile terminal 101 or the like approaches the vehicle C, the body ECU 41 performs short-range communication with the mobile terminal 101. By doing so, the operator information is acquired.
  • the body ECU 41 transmits, for example, a wake-up signal to the in-vehicle device 2 in a sleep state, transitions the in-vehicle device 2 to an activated (wake-up) state, and further transmits operator information to the in-vehicle device 2.
  • the control unit 20 of the in-vehicle device 2 stores the operator information acquired from the body ECU 41 and the acquisition time in the storage unit 21 in association with each other.
  • the control unit 20 of the in-vehicle device 2 may perform authentication processing for the operator based on the acquired operator information, and may perform the following processing only when the result of the authentication processing is positive. .
  • the control unit 20 of the in-vehicle device 2 may transmit the acquired operator information to the external server 100 and request the external server 100 to perform the authentication process.
  • a biometric authentication device that performs fingerprint authentication or the like is connected to the in-vehicle device 2, and the control unit 20 of the in-vehicle device 2 authenticates the operator of the vehicle C using the biometric authentication device. It's okay.
  • the control unit 20 of the in-vehicle device 2 acquires vehicle status information regarding the status of the vehicle C (S102).
  • the control unit 20 of the in-vehicle device 2 receives a message transmitted from each in-vehicle ECU 4 such as the body ECU 41, acquires vehicle status information included in the received message, and associates the vehicle status information with the acquisition time. It is stored in the storage unit 21.
  • the control unit 20 of the in-vehicle device 2 may acquire vehicle status information based on a signal transmitted from the IG switch 6 when the IG switch 6 is turned on or off.
  • the message is, for example, a CAN message or an IP packet
  • the control unit 20 of the in-vehicle device 2 controls the vehicle based on the message ID of the CAN message, the TCP port number of the IP packet, or the data stored in the payload of these messages.
  • Status information can be obtained.
  • the vehicle status information indicates, for example, various statuses such as when the operator is in the vehicle, when the operator is getting off the vehicle, when the engine is running, when the engine is stopped, the vehicle speed, the operation status of various actuators 411, and whether the vehicle is in automatic operation or manual operation. Contains information.
  • the control unit 20 of the in-vehicle device 2 selects an application AP based on the operator information and vehicle status information (S103).
  • the control unit 20 of the in-vehicle device 2 selects an application AP corresponding to the acquired operator information and vehicle status information, for example, by referring to an application table stored in the storage unit 21.
  • the application table is stored in the storage unit 21 in a matrix format, for example, and the control unit 20 of the in-vehicle device 2 efficiently selects the application AP based on the combination of operator information and vehicle status information. be able to.
  • the control unit 20 of the in-vehicle device 2 executes the selected application AP (S104).
  • the control unit 20 of the in-vehicle device 2 executes the selected application AP, and transmits a message including result data, a control signal, a request signal, etc. generated as an execution result to the in-vehicle ECU 4 corresponding to the application AP.
  • the application AP is intended to perform the functions (services) requested by the operator, and the functions (services) include, for example, automatic door unlocking, lighting of lights, collision tendency when opening and closing doors, etc. including. In performing these functions (services), the actuator 411 that is actually driven is connected to the in-vehicle ECU 4 to which request signals and the like are transmitted.
  • the in-vehicle ECU 4 to which the actuator 411 that is driven to perform the function (service) is connected drives and controls the actuator 411 for door locks, lighting, etc. connected to itself in accordance with the received request signal (message). do.
  • the processing load on the in-vehicle ECU 4 is reduced, and the application AP requested by the operator of the vehicle C is executed according to the state of the vehicle C, and the functions (services) requested by the operator are provided. Can be done.
  • the control unit 20 of the vehicle-mounted device 2 acquires vehicle status information regarding the status of the vehicle C (S105).
  • the control unit 20 of the in-vehicle device 2 acquires vehicle state information regarding the state of the vehicle C, and stores the vehicle state information and the acquisition time in the storage unit 21 in association with each other.
  • the control unit 20 of the in-vehicle device 2 determines whether the vehicle status information has changed (S106). The control unit 20 of the in-vehicle device 2 determines whether a change has occurred between the currently acquired vehicle status information and the previously acquired vehicle status information.
  • the control unit 20 of the on-vehicle device 2 performs a loop process to execute the process of S103 again.
  • the control unit 20 of the in-vehicle device 2 selects an application AP based on the combination of the current state of the vehicle C and the operator by performing loop processing to execute the process of S103 again. and can be executed. Thereby, it is possible to select and execute an appropriate application AP in accordance with changes in the state of the vehicle C.
  • the control unit 20 of the in-vehicle device 2 determines whether the operator has left the vicinity of the vehicle C (S107). If the vehicle status information has not changed, the control unit 20 of the on-vehicle device 2 determines whether the operator has left the vicinity of the vehicle C, for example, by communicating with the body ECU 41.
  • the mobile terminal 101 or smart key held by the operator and the body ECU 41 perform short-range communication using, for example, RF (Radio Frequency) or LF (Low Frequency). It is periodically determined whether the vehicle C is inside or outside the vehicle C and within a predetermined distance.
  • the control unit 20 of the vehicle-mounted device 2 determines whether the operator has left the vicinity of the vehicle C, for example, by acquiring information regarding the operator's position from the body ECU 41.
  • the control unit 20 of the in-vehicle device 2 performs a loop process to execute the process from S105 again. If the operator is not far from the vicinity of the vehicle C, the control unit 20 of the in-vehicle device 2 continues to acquire vehicle status information regularly or periodically by executing the process from S105 again. Can be done. Thereby, while the operator is not far from the vicinity of the vehicle C, it is possible to continuously select and execute an appropriate application AP according to the regularly acquired vehicle status information. If the operator leaves the vicinity of the vehicle C (S107: YES), the control unit 20 of the in-vehicle device 2 ends the processing in this flowchart.
  • FIG. 7 is a flowchart illustrating the processing of the control unit 20 of the in-vehicle device 2 according to the second embodiment.
  • the in-vehicle device 2 according to the second embodiment performs the process of S201 similarly to the process S101 of the first embodiment.
  • the control unit 20 of the in-vehicle device 2 determines whether the acquired operator information is registered in the application table (S202). The control unit 20 of the in-vehicle device 2 determines whether the acquired operator information (user ID) is registered in the operator field of the application table stored in the storage unit 21.
  • the control unit 20 of the in-vehicle device 2 acquires user information corresponding to the operator information from the external server 100 (S2021). If the operator information is not registered in the application table, the control unit 20 of the in-vehicle device 2 transmits the acquired operator information to the outside server 100, and sends the acquired operator information to the outside server 100, and sends the user information corresponding to the operator information to the outside server 100. request.
  • the operator information includes, for example, a user ID that uniquely indicates the operator.
  • the external server 100 centrally manages (master registration) data regarding the operator of the vehicle C who is a subscription user, and lists the services requested by each user (user ID), that is, the application APs to be executed.
  • the control unit 20 of the in-vehicle device 2 transmits operator information including a user ID etc. to the out-of-vehicle server 100, so that an application to be executed corresponding to the operator is sent from the out-of-vehicle server 100 that centrally manages information of all users.
  • the control unit 20 of the in-vehicle device 2 updates the application table based on the acquired user information (S2022). Based on the acquired user information, the control unit 20 of the in-vehicle device 2 determines the operator (user ID) of the currently acquired operator information and the request that the operator (user ID) executes in each vehicle state C. Information regarding the application AP (service provided) is additionally registered in the application table.
  • the control unit 20 of the in-vehicle device 2 may acquire the application AP requested by the new operator (user ID) from the external server 100 in conjunction with the registration of a new operator (user ID).
  • the control unit 20 of the in-vehicle device 2 acquires vehicle status information regarding the status of the vehicle C (S203).
  • the control unit 20 of the in-vehicle device 2 performs S203 in the same manner as the process S102 of the first embodiment.
  • the control unit 20 of the in-vehicle device 2 performs the processes from S204 to S208, similar to the processes from S103 to S107 of the first embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Abstract

This in-vehicle device is installed in a vehicle and is connected with an in-vehicle ECU via an in-vehicle network so as to be capable of communicating with the in-vehicle ECU, said in-vehicle device comprising: a storage unit in which a plurality of applications are stored; and a control unit which performs processing related to the applications, wherein the control unit adds an application stored in the storage unit to thereby expand a function that can be executed by the vehicle, and outputs, to the in-vehicle ECU corresponding to the function, the result of executing the application.

Description

車載装置、プログラム及び情報処理方法In-vehicle device, program and information processing method
 本開示は、車載装置、プログラム及び情報処理方法に関する。
 本出願は、2022年9月1日出願の日本出願第2022-139371号に基づく優先権を主張し、前記日本出願に記載された全ての記載内容を援用するものである。
The present disclosure relates to an in-vehicle device, a program, and an information processing method.
This application claims priority based on Japanese Application No. 2022-139371 filed on September 1, 2022, and incorporates all the contents described in the said Japanese application.
 車両には、エンジン制御等のパワー・トレーン系、エアコン制御等のボディ系等の車載機器を制御するための車載ECU(Electronic Control Unit)が搭載されている。車載ECUは、MPU等の演算処理部、RAM等の書き換え可能な不揮発性の記憶部、及び他の車載ECUと通信するための通信部を含み、記憶部に記憶した制御プログラムを読み込んで実行することにより、車載機器の制御を行う。更に車両には、無線通信の機能を備えた中継装置が実装されており、中継装置を介して、車外のネットワークに接続されているプログラム提供装置と通信し、当該プログラム提供装置から車載ECUの制御プログラムをダウンロード(受信)し、当該車載ECUの制御プログラムを更新することができる(例えば特許文献1参照)。 Vehicles are equipped with an on-board ECU (Electronic Control Unit) for controlling on-board equipment such as the power train system such as engine control, and the body system such as air conditioner control. The in-vehicle ECU includes an arithmetic processing unit such as an MPU, a rewritable non-volatile storage unit such as a RAM, and a communication unit for communicating with other in-vehicle ECUs, and reads and executes a control program stored in the storage unit. This enables control of in-vehicle equipment. Furthermore, the vehicle is equipped with a relay device equipped with a wireless communication function, which communicates with a program providing device connected to a network outside the vehicle through the relay device, and controls the in-vehicle ECU from the program providing device. It is possible to download (receive) a program and update the control program of the in-vehicle ECU (for example, see Patent Document 1).
特開2017-97851号公報Japanese Patent Application Publication No. 2017-97851
 本開示の一態様に係る車載装置は、車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続される車載装置であって、複数のアプリケーションが記憶される記憶部と、前記アプリケーションに関する処理を行う制御部とを備え、前記制御部は、前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する。 An in-vehicle device according to one aspect of the present disclosure is an in-vehicle device that is installed in a vehicle and is communicably connected to an in-vehicle ECU via an in-vehicle network, and includes a storage unit that stores a plurality of applications, and a storage unit that stores a plurality of applications. and a control unit that performs processing, and the control unit expands the functions executable by the vehicle by adding the application stored in the storage unit, and adds the execution result of the application to the function. Output to the corresponding in-vehicle ECU.
実施形態1に係る車載装置を含む車載システムの構成を例示する模式図である。1 is a schematic diagram illustrating the configuration of an in-vehicle system including an in-vehicle device according to a first embodiment. 車載装置等の構成を例示するブロック図である。FIG. 2 is a block diagram illustrating the configuration of an in-vehicle device and the like. 車載装置に実装されるソフトウェア階層の一例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a software hierarchy installed in an in-vehicle device. アプリケーションテーブルの一例を示す説明図である。It is an explanatory diagram showing an example of an application table. アプリケーションの切り替えの一例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of application switching. 車載装置の制御部の処理を例示するフローチャートである。3 is a flowchart illustrating processing of a control unit of an in-vehicle device. 実施形態2に係る車載装置の制御部の処理を例示するフローチャートである。12 is a flowchart illustrating processing of a control unit of an in-vehicle device according to a second embodiment.
[本開示が解決しようとする課題]
 特許文献1の中継装置においては、記憶部に記憶されるアプリケーションを追加することにより、実行可能な機能を拡張させる点については、考慮されていない。
[Problems that this disclosure seeks to solve]
The relay device of Patent Document 1 does not take into account the possibility of expanding executable functions by adding applications stored in the storage unit.
 本開示の目的は、記憶部に記憶されるアプリケーションを追加することにより、実行可能な機能を拡張させることができる車載装置等を提供することである。 An object of the present disclosure is to provide an in-vehicle device or the like that can expand executable functions by adding applications stored in a storage unit.
[本開示の効果]
 本開示の一態様によれば、記憶部に記憶されるアプリケーションを追加することにより、実行可能な機能を拡張させる車載装置等を提供することができる。
[Effects of this disclosure]
According to one aspect of the present disclosure, it is possible to provide an in-vehicle device or the like that expands executable functions by adding an application stored in a storage unit.
[本開示の実施形態の説明]
 最初に本開示の実施態様を列挙して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
[Description of embodiments of the present disclosure]
First, embodiments of the present disclosure will be listed and described. Furthermore, at least some of the embodiments described below may be combined arbitrarily.
(1)本開示の一態様に係る車載装置は、車載装置は、車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続される車載装置であって、複数のアプリケーションが記憶される記憶部と、前記アプリケーションに関する処理を行う制御部とを備え、前記制御部は、前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する。 (1) An in-vehicle device according to one aspect of the present disclosure is an in-vehicle device that is installed in a vehicle, is communicably connected to an in-vehicle ECU via an in-vehicle network, and stores a plurality of applications. The control unit includes a storage unit and a control unit that performs processing related to the application, and the control unit expands the functions executable by the vehicle by adding the application stored in the storage unit, and expands the functions that the vehicle can execute. The execution result is output to the in-vehicle ECU corresponding to the function.
 本態様にあたっては、車載装置は、例えば、OTAサーバ等の車外サーバと通信し、車両の操作において用いられる各種サービスに対応したアプリケーション等のソフトウェアプログラムを取得し、取得したアプリケーションを記憶部に記憶することにより、インストールを行う。車載装置は、このように新規のアプリケーションをインストール(適用)して追加することにより、実行可能な機能を拡張させ、対応可能なサービスの種類を増加させることができるECUであり、機能拡張ECUとして機能する。車載装置の制御部は、要求される機能(サービス)を提供すべく、当該機能(サービス)に対応するアプリケーションを実行し、実行結果として生成した結果データ、要求信号又は制御信号を、当該機能(サービス)に関する実質的な駆動を担う車載ECUに出力(送信)する。当該車載ECUには、要求される機能(サービス)を発揮するために駆動するアクチュエータが、ワイヤーハーネス等により直接、接続されている。車載ECUは、例えば、ボディ系アクチュエータの駆動制御を担うボディECU(BCU)であり、車載装置(機能拡張ECU)から取得(受信)した要求信号に応じて、当該車載ECU(BCU)に接続されている照明装置、ワイパー又はドアミラー等のアクチュエータ(車載装置)を駆動する。このように車両に対し、新たに機能(サービス)を追加するにあたり、当該機能(サービス)を実行するための情報処理を行うアプリケーションを車載装置(機能拡張ECU)に集約化してインストール(適用)することにより、車載ネットワークに接続されている既存の車載ECUにおけるプログラム実装環境に影響を与えることを防止することができる。これにより、車両として新規の機能(サービス)を追加する場合であっても、車載ECUに既に適用されているプログラムの再検証を不要とすることができる。又、当該機能(サービス)を提供するにあたり、車載ECUと車載装置(機能拡張ECU)とによる分散処理を行うことができ、当該車載ECUの処理負荷を低減することができる。 In this aspect, the in-vehicle device communicates with an external server such as an OTA server, obtains software programs such as applications compatible with various services used in operating the vehicle, and stores the obtained application in a storage unit. Perform the installation by doing so. The in-vehicle device is an ECU that can expand the executable functions and increase the types of services that can be supported by installing (applying) and adding new applications in this way. Function. In order to provide the requested function (service), the control unit of the in-vehicle device executes an application corresponding to the function (service), and sends the result data, request signal, or control signal generated as the execution result to the function (service). It is output (transmitted) to the in-vehicle ECU, which is responsible for the actual drive related to the service. An actuator that is driven to perform required functions (services) is directly connected to the in-vehicle ECU via a wire harness or the like. The in-vehicle ECU is, for example, a body ECU (BCU) that is responsible for drive control of body-related actuators, and is connected to the in-vehicle ECU (BCU) in response to a request signal acquired (received) from an in-vehicle device (function expansion ECU). drive actuators (vehicle-mounted devices) such as lighting devices, wipers, and door mirrors. In this way, when adding a new function (service) to a vehicle, applications that perform information processing to execute the function (service) are integrated and installed (applied) on the in-vehicle device (function expansion ECU). By doing so, it is possible to prevent the program implementation environment in the existing in-vehicle ECU connected to the in-vehicle network from being affected. As a result, even when adding new functions (services) to the vehicle, it is not necessary to re-verify programs already applied to the in-vehicle ECU. Further, in providing the function (service), distributed processing can be performed by the in-vehicle ECU and the in-vehicle device (function expansion ECU), and the processing load on the in-vehicle ECU can be reduced.
(2)本開示の一態様に係る車載装置は、前記記憶部には、前記アプリケーションを実行した際の入出力に関する処理を担う入出力プログラムが記憶されており、前記入出力プログラムと、複数の前記アプリケーションそれぞれとは、共通化されたインターフェイスにより連携される。 (2) In the in-vehicle device according to one aspect of the present disclosure, the storage unit stores an input/output program that performs input/output processing when the application is executed, and the input/output program and a plurality of The respective applications are linked through a common interface.
 本態様にあたっては、車載装置の記憶部には、要求される機能(サービス)に対応するアプリケーションを実行する際、車載ECUとのデータの送受信を行うための入出力プログラムが記憶されている。入出力プログラムと、複数のアプリケーションそれぞれとは、例えば、共通の通信ソケットライブラリ等を用いたコーディングがされており、共通化された通信インターフェイスにより連携され、プロセス間通信等により接続されるものとなる。従って、各アプリケーション毎にデータの入出力仕様が異なるものであっても、複数のアプリケーションそれぞれと、車載ECU側にて実行されるプログラムとの通信において、入出力プログラムを介在させることにより、これらアプリケーションの汎用性を担保することができる。 In this aspect, the storage unit of the in-vehicle device stores an input/output program for transmitting and receiving data with the in-vehicle ECU when executing an application corresponding to a requested function (service). The input/output program and each of the multiple applications are coded using, for example, a common communication socket library, and are linked through a common communication interface and connected through inter-process communication, etc. . Therefore, even if the data input/output specifications differ for each application, by intervening the input/output program in the communication between each of the multiple applications and the program executed on the in-vehicle ECU side, these applications can can ensure versatility.
(3)本開示の一態様に係る車載装置は、前記記憶部には、オペレーティングシステムが記憶されており、複数の前記アプリケーションそれぞれは、前記オペレーティングシステム上で実行される。 (3) In the vehicle-mounted device according to one aspect of the present disclosure, an operating system is stored in the storage unit, and each of the plurality of applications is executed on the operating system.
 本態様にあたっては、車載装置の記憶部には、当該車載装置のハードウェアリソースにアクセスするためのオペレーティングシステムが記憶されており、複数のアプリケーションそれぞれは、当該オペレーティングシステム上で実行される。従って、車載装置に新規のアプリケーションを追加した場合であっても、これらアプリケーションは、オペレーティングシステムによってプロセス管理及びハードウェアリソースへのアクセス制御等が実行され、ハードウェアリソースへのアクセス競合等を回避することができる。 In this aspect, the storage unit of the vehicle-mounted device stores an operating system for accessing the hardware resources of the vehicle-mounted device, and each of the plurality of applications is executed on the operating system. Therefore, even if new applications are added to the in-vehicle device, the operating system will manage the processes and control access to hardware resources for these applications to avoid conflicts in access to hardware resources. be able to.
(4)本開示の一態様に係る車載装置は、前記制御部は、前記車両の操作者に関する操作者情報を取得し、取得した前記操作者情報に応じて、実行する前記アプリケーションを選択する。 (4) In the in-vehicle device according to one aspect of the present disclosure, the control unit acquires operator information regarding an operator of the vehicle, and selects the application to be executed according to the acquired operator information.
 本態様にあたっては、車載装置の制御部は、例えば、車両の操作者が所持する携帯端末又はスマートキーから送信される当該操作者に関する操作者情報を取得する。車載装置の制御部は、取得した操作者情報に基づき、実行するアプリケーションを選択し、当該選択したアプリケーションを実行するため、車両の操作者に応じた機能(サービス)を適切に適用することができる。 In this aspect, the control unit of the vehicle-mounted device acquires operator information regarding the operator of the vehicle transmitted from a mobile terminal or smart key owned by the operator of the vehicle, for example. The control unit of the in-vehicle device selects an application to be executed based on the acquired operator information and executes the selected application, so it is possible to appropriately apply functions (services) according to the operator of the vehicle. .
(5)本開示の一態様に係る車載装置は、前記制御部は、前記車両の状態に関する車両状態情報を取得し、取得した前記車両状態情報に応じて、実行する前記アプリケーションを選択する。 (5) In the in-vehicle device according to one aspect of the present disclosure, the control unit acquires vehicle status information regarding the status of the vehicle, and selects the application to be executed according to the acquired vehicle status information.
 本態様にあたっては、車載装置の制御部は、例えば、IGスイッチからのオン・オフ信号、ボディECU(BCU)からのメッセージ等を取得することにより、車両の状態に関する車両状態情報を取得する。車載装置の制御部は、取得した車両状態情報に基づき、実行するアプリケーションを選択し、当該選択したアプリケーションを実行するため、車両の状態に応じた機能(サービス)を適切に適用することができる。 In this aspect, the control unit of the in-vehicle device obtains vehicle state information regarding the state of the vehicle by, for example, obtaining on/off signals from the IG switch, messages from the body ECU (BCU), and the like. The control unit of the in-vehicle device selects an application to be executed based on the acquired vehicle status information and executes the selected application, so that functions (services) depending on the status of the vehicle can be appropriately applied.
(6)本開示の一態様に係る車載装置は、前記記憶部に記憶される複数の前記アプリケーションは、ISO26262のASIL(Automotive Safety Integrity Level)におけるAグレード、Bグレード又はQMに位置づけられる。 (6) In the in-vehicle device according to one aspect of the present disclosure, the plurality of applications stored in the storage unit are positioned at A grade, B grade, or QM in ASIL (Automotive Safety Integrity Level) of ISO26262.
 本態様にあたっては、車載装置の記憶部に記憶される複数のアプリケーション、すなわち車載装置が各種機能(サービス)を提供するにあたり実行するアプリケーションは、ISO26262のASIL(Automotive Safety Integrity Level)におけるAグレード、Bグレード又はQMに位置づけられるアプリケーションである。車載装置(機能拡張ECU)には、当該車載装置に対し適用することができる全てのアプリケーションがインストール(フルパッケージインストール)されることが想定される。このように多種のアプリケーションが混在する場合であっても、車載装置にインストールされるアプリケーションのASILレベルをAグレード、Bグレード又はQMとすることにより、比較的に車両安全性に対する影響が少ないアプリケーションを、車載装置に担わせることができる。 In this aspect, multiple applications stored in the storage unit of the in-vehicle device, that is, applications executed by the in-vehicle device to provide various functions (services), are grade A and B in ASIL (Automotive Safety Integrity Level) of ISO26262. This is an application that is classified as grade or QM. It is assumed that all applications that can be applied to the vehicle-mounted device (Function Expansion ECU) are installed (full package installation). Even when a variety of applications coexist in this way, by setting the ASIL level of the applications installed on the in-vehicle device to A grade, B grade, or QM, it is possible to select applications that have relatively little impact on vehicle safety. , it can be carried by an on-vehicle device.
(7)本開示の一態様に係るプログラムは、車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続され、複数のアプリケーションが記憶される記憶部を含むコンピュータに、前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する。 (7) A program according to an aspect of the present disclosure is installed in a computer that is installed in a vehicle, is communicatively connected to an in-vehicle ECU via an in-vehicle network, and includes a storage unit in which a plurality of applications are stored. By adding the stored application, the functions executable by the vehicle are expanded, and the execution results of the application are output to the in-vehicle ECU corresponding to the function.
 本態様にあたっては、コンピュータを、記憶部に記憶されるアプリケーションを追加することにより、実行可能な機能を拡張させる車載装置として動作させるプログラムを提供することができる。 In this aspect, it is possible to provide a program that causes a computer to operate as an in-vehicle device that expands executable functions by adding applications stored in the storage unit.
(8)本開示の一態様に係る情報処理方法は、車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続され、複数のアプリケーションが記憶される記憶部を含むコンピュータに、前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する。 (8) An information processing method according to an aspect of the present disclosure includes a computer that is installed in a vehicle, is communicably connected to an in-vehicle ECU via an in-vehicle network, and includes a storage section in which a plurality of applications are stored. By adding the application stored in the section, the functions executable by the vehicle are expanded, and the execution results of the application are output to the in-vehicle ECU corresponding to the function.
 本態様にあたっては、コンピュータを、記憶部に記憶されるアプリケーションを追加することにより、実行可能な機能を拡張させる車載装置として動作させる情報処理方法を提供することができる。 In this aspect, it is possible to provide an information processing method that causes a computer to operate as an in-vehicle device that expands executable functions by adding applications stored in the storage unit.
[本開示の実施形態の詳細]
 本開示の実施形態に係る車載装置2等の具体例を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。
[Details of embodiments of the present disclosure]
Specific examples of the in-vehicle device 2 and the like according to the embodiment of the present disclosure will be described below with reference to the drawings. Note that the present disclosure is not limited to these examples, but is indicated by the scope of the claims, and is intended to include all changes within the meaning and scope equivalent to the scope of the claims.
(実施形態1)
 以下、実施の形態について図面に基づいて説明する。図1は、実施形態1に係る車載装置2を含む車載システムSの構成を例示する模式図である。図2は、車載装置2等の構成を例示するブロック図である。車載システムは、車載装置2を主たる装置として構成され、車載装置2は、車載ネットワーク5を介して、ボディECU41等を含む各種の車載ECU4と通信可能に接続されている。車載ネットワーク5には、例えばイーサSW又はCANゲートウェイ等の機能を有する中継装置3が接続され、中継装置3は、車載ネットワーク5を構成する複数の通信線51を介して送受信される通信データを中継するものであってもよい。車載装置2は車外通信装置1を介して、車外ネットワークNに接続されている車外サーバ100と通信可能に接続されている。
(Embodiment 1)
Hereinafter, embodiments will be described based on the drawings. FIG. 1 is a schematic diagram illustrating the configuration of an in-vehicle system S including an in-vehicle device 2 according to a first embodiment. FIG. 2 is a block diagram illustrating the configuration of the in-vehicle device 2 and the like. The in-vehicle system is configured with an in-vehicle device 2 as a main device, and the in-vehicle device 2 is communicably connected to various in-vehicle ECUs 4 including a body ECU 41 and the like via an in-vehicle network 5. A relay device 3 having a function such as an Ethernet SW or a CAN gateway is connected to the in-vehicle network 5, and the relay device 3 relays communication data transmitted and received via a plurality of communication lines 51 that constitute the in-vehicle network 5. It may be something that does. The in-vehicle device 2 is communicably connected to an external server 100 connected to an external network N via an external communication device 1 .
 車外サーバ100は、例えばインターネット又は公衆回線網等の車外ネットワークNに接続されているサーバ等のコンピュータである。車外サーバ100は、車外ネットワークNを介して、複数の車両Cと通信可能に接続されており、これら車両Cの車載装置2へ、例えば、OTA(Over The Air)等を用いて各種のアプリケーションAPを送信(配布)するOTAサーバとして機能するものであってもよい。 The external server 100 is a computer such as a server connected to an external network N such as the Internet or a public line network. The external server 100 is communicably connected to a plurality of vehicles C via an external network N, and connects various application APs to the in-vehicle devices 2 of these vehicles C using, for example, OTA (Over The Air). It may also function as an OTA server that transmits (distributes).
 車外通信装置1は、車外通信部11及び車内通信部12を含む。車内通信部12は、例えば、100BASE-T1又は1000BASE-T1等のイーサネットケーブルによる通信線51にて伝送されるTCP/IPのパケットに対応するイーサネットPHY部である。車外通信装置1は、車内通信部12及び、イーサネットケーブル等の通信線51を介して、車載装置2と通信可能に接続されている。 The external communication device 1 includes an external communication section 11 and an in-vehicle communication section 12. The in-vehicle communication unit 12 is, for example, an Ethernet PHY unit that supports TCP/IP packets transmitted over a communication line 51 using an Ethernet cable such as 100BASE-T1 or 1000BASE-T1. The external communication device 1 is communicably connected to the in-vehicle device 2 via an in-vehicle communication section 12 and a communication line 51 such as an Ethernet cable.
 車外通信部11は、4G、5G、WiFi(登録商標)、Bluetooth(登録商標)等の移動体通信のプロトコルを用いて無線通信をするための通信装置であり、車外通信部11に接続されたアンテナ13を介して車外サーバ100又は、スマートホン等の携帯端末101とデータの送受信を行う。車外通信装置1と、車外サーバ100又は携帯端末101との通信は、例えば、狭域通信網、公衆回線網又はインターネット等の車外ネットワークNを介して行われる。 The external communication unit 11 is a communication device for wireless communication using mobile communication protocols such as 4G, 5G, WiFi (registered trademark), and Bluetooth (registered trademark), and is connected to the external communication unit 11. Data is transmitted and received via the antenna 13 to an external server 100 or a mobile terminal 101 such as a smart phone. Communication between the outside-vehicle communication device 1 and the outside-vehicle server 100 or the mobile terminal 101 is performed via an outside-vehicle network N such as a short-range communication network, a public line network, or the Internet.
 本実施形態では、車外通信装置1は、車載装置2と別装置とし、車内通信部12等によってこれら装置を通信可能に接続しているが、これに限定されない。車外通信装置1は、車載装置2の一構成部位として、車載装置2に内蔵されるものであってもよい。 In this embodiment, the external communication device 1 is a separate device from the in-vehicle device 2, and these devices are communicably connected by the in-vehicle communication section 12, but the present invention is not limited to this. The external communication device 1 may be built into the vehicle-mounted device 2 as a component of the vehicle-mounted device 2 .
 車両Cに搭載される複数の車載ECU4には、当該車載ECU4によって駆動制御される各種のアクチュエータ411が接続される。アクチュエータ411は、例えば、ワイパー、ドアミラー、ドアロック、照明装置、シート駆動装置、カーエアコン及びディスプレイ装置(HMI装置)等を含む。当該車載ECU4は、一例として、ワイパー、ドアロック、ドアミラー、照明装置等のボディ系のアクチュエータ411を駆動制御するボディECU41であってもよい。又は、車載ECU4は、車両Cの全体的な制御を行う統合ECU(ビークルコンピュータ)、又は当該統合ECUの配下にて動作する個別ECUであってもよい。 Various actuators 411 that are drive-controlled by the plurality of in-vehicle ECUs 4 mounted on the vehicle C are connected. The actuator 411 includes, for example, a wiper, a door mirror, a door lock, a lighting device, a seat drive device, a car air conditioner, a display device (HMI device), and the like. The vehicle-mounted ECU 4 may be, for example, a body ECU 41 that drives and controls body-related actuators 411 such as wipers, door locks, door mirrors, and lighting devices. Alternatively, the in-vehicle ECU 4 may be an integrated ECU (vehicle computer) that performs overall control of the vehicle C, or an individual ECU that operates under the integrated ECU.
 ボディECU41には、車両Cの起動及び停止を行うIGスイッチ6が接続されるものであってもよい。IGスイッチ6のオン又はオフを示す信号により、エンジンの動作(オン又はオフ)を取得し、エンジンオン時(エンジン動作開始時)、又はエンジンオフ時(エンジン停止時)に対応するアプリケーションAPの起動トリガーとすることができる。当該起動トリガーはこれらに限定されず、シートベルトの脱着、ドアの開閉等のイベントを起動トリガーとするものであってもよい。 An IG switch 6 that starts and stops the vehicle C may be connected to the body ECU 41. The operation of the engine (on or off) is acquired by the signal indicating on or off of the IG switch 6, and the application AP corresponding to when the engine is on (when the engine starts operating) or when the engine is off (when the engine is stopped) is activated. It can be a trigger. The activation trigger is not limited to these, and may be triggered by an event such as putting on and taking off a seatbelt or opening/closing a door.
 車載装置2及びボディECU41は、電力線71を介して、鉛バッテリ、二次電池又はオルタネータ等の電源装置7と接続される。他の車載ECU4も同様に電源装置7と接続され、電源装置7から電力が供給される。ボディECU41は、電源装置7から常時給電されて起動(ウェイクアップ)状態となっており、スマートホン等の携帯端末101又はスマートキー等を有する操作者が車両Cに近接した場合、当該携帯端末101等と近距離通信を行うことにより操作者情報を取得するものであってもよい。ボディECU41は、操作者情報を取得した場合、スリープ状態にある車載装置2にウェイクアップ信号を送信し、車載装置2を起動(ウェイクアップ)状態に遷移させた後、操作者情報を車載装置2に送信するものであってもよい。 The in-vehicle device 2 and the body ECU 41 are connected to a power supply device 7 such as a lead battery, a secondary battery, or an alternator via a power line 71. Other in-vehicle ECUs 4 are similarly connected to the power supply device 7, and are supplied with power from the power supply device 7. The body ECU 41 is constantly supplied with power from the power supply device 7 and is in a wake-up state, and when an operator with a mobile terminal 101 such as a smartphone or a smart key approaches the vehicle C, the mobile terminal 101 is activated. The operator information may also be acquired by performing short-range communication with, etc. When the body ECU 41 acquires the operator information, it transmits a wake-up signal to the in-vehicle device 2 in the sleep state, transitions the in-vehicle device 2 to a wake-up state, and then transfers the operator information to the in-vehicle device 2. It may also be something that is sent to.
 車載装置2は、制御部20、記憶部21、入出力I/F22、車内通信部23などを含む。車載装置2は、車外サーバと定期的に通信し、OTA(Over The Air)等を用いて、各種のアプリケーションAPを取得し、取得したアプリケーションAPをインストール(適用)することにより、実行可能な機能を拡張する機能拡張ECUとして機能する。詳細は後述するが、車載装置2(機能拡張ECU)は、車両Cの状態及び操作者の組み合わせに基づきアプリケーションAPを選択し、選択したアプリケーションAPを実行する。車載装置2は、アプリケーションAPの実行結果である実行結果データを、当該アプリケーションAPを実行することにより発揮される機能に対応する車載ECU4に送信する。当該車載ECU4は、車載装置2によるアプリケーションAPにより発揮される機能に応じて、駆動制御されるアクチュエータ411が接続されている車載ECU4である。 The in-vehicle device 2 includes a control section 20, a storage section 21, an input/output I/F 22, an in-vehicle communication section 23, and the like. The in-vehicle device 2 regularly communicates with an external server, acquires various application APs using OTA (Over The Air), etc., and installs (applies) the acquired application APs to perform executable functions. It functions as a function expansion ECU that expands the Although details will be described later, the in-vehicle device 2 (function expansion ECU) selects an application AP based on the state of the vehicle C and the combination of operators, and executes the selected application AP. The in-vehicle device 2 transmits execution result data, which is the execution result of the application AP, to the in-vehicle ECU 4 corresponding to the function performed by executing the application AP. The in-vehicle ECU 4 is connected to an actuator 411 that is drive-controlled according to the function performed by the application AP by the in-vehicle device 2 .
 車両Cの機能の拡張を行うにあたり、当該機能を発揮するためのアプリケーションAPを新規に追加することが必要となるが、当該追加するアプリケーションAPを車載装置2(機能拡張ECU)に集約することにより、既存の車載ECU4に適用されているソフトウェア構成に影響を与えることを防止することができる。従って、新規アプリケーションAPを追加し機能を拡張した場合であっても、既存の車載ECU4に実装されているソフトウェア構成に対する検証を不要とすることができる。拡張した機能を発揮するにあたり車載装置2はアプリケーションAPを実行するため、車載装置2と当該機能に対応する車載ECU4とによる分散処理が行われる。これにより、車載ECU4の処理負荷を低減し、車載ECU4に実装されるメモリ又はCPU等のハードウェアリソースに要求されるスペックが増加することを抑制することができる。 When expanding the functions of vehicle C, it is necessary to add new application APs to perform the functions. , it is possible to prevent the software configuration applied to the existing in-vehicle ECU 4 from being affected. Therefore, even if a new application AP is added to expand the functionality, it is not necessary to verify the software configuration installed in the existing in-vehicle ECU 4. Since the in-vehicle device 2 executes the application AP to perform the expanded function, distributed processing is performed by the in-vehicle device 2 and the in-vehicle ECU 4 corresponding to the function. Thereby, the processing load on the vehicle-mounted ECU 4 can be reduced, and an increase in the specifications required for hardware resources such as memory or CPU mounted on the vehicle-mounted ECU 4 can be suppressed.
 制御部20は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等により構成されている。制御部20は、記憶部21に予め記憶された制御プログラムP(プログラム製品)及びデータを読み出して実行することにより、種々の制御処理及び演算処理等を行う。記憶部21に記憶された制御プログラムP(プログラム製品)は、車載装置2が読み取り可能な記録媒体Mから読み出された制御プログラムP(プログラム製品)を記憶したものであってもよい。また、記憶部21に記憶された制御プログラムP(プログラム製品)は、図示しない通信網に接続されている図示しない外部コンピュータからプログラムをダウンロードし、記憶部21に記憶させたものであってもよい。 The control unit 20 is composed of a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like. The control unit 20 performs various control processes, calculation processes, etc. by reading out and executing the control program P (program product) and data stored in advance in the storage unit 21 . The control program P (program product) stored in the storage unit 21 may be one in which a control program P (program product) read from a recording medium M readable by the in-vehicle device 2 is stored. Further, the control program P (program product) stored in the storage unit 21 may be a program downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 21. .
 記憶部21は、RAM(Random Access Memory)等の揮発性のメモリ素子又は、ROM(Read Only Memory)、EEPROM(Electrically Erasable Programmable ROM)若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してある。記憶部21には、複数のアプリケーションAP、入出力プログラムIP、及びオペレーティングシステムOP等を含む制御プログラムPが記憶されている。更に、記憶部21には、後述するアプリケーションテーブルが記憶されている。 The storage unit 21 is composed of a volatile memory element such as a RAM (Random Access Memory), or a non-volatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory. The storage unit 21 stores a control program P including a plurality of applications AP, an input/output program IP, an operating system OP, and the like. Furthermore, the storage unit 21 stores an application table, which will be described later.
 入出力I/F22は、例えばシリアル通信するための通信インターフェイスである。入出力I/F22を介して、車載装置2は、カメラ221、LiDAR、RADAR、超音波センサ、温湿度センサ、赤外線センサ等のセンサ222、ディスプレイ等の表示装置(HMI装置)と通信可能に接続される。入出力I/F22には、追加された各種のアプリケーションAPに応じて、必要となる各種センサ222が追加接続(後付け)されるものであってもよい。すなわち、入出力I/F22は、例えば、カメラ221系のIFであるGMSL、FPD-LINK等の規格に対応するものであってよい。このように入出力I/F22を介してカメラ221が撮像した画像に対し、制御部20は、各種のアプリケーションAPを実行することにより、画像処理、点群処理、物体検知、又は生体検知等の各種処理を行うことができる。 The input/output I/F 22 is, for example, a communication interface for serial communication. Via the input/output I/F 22, the in-vehicle device 2 is communicably connected to a camera 221, sensors 222 such as LiDAR, RADAR, ultrasonic sensor, temperature/humidity sensor, and infrared sensor, and a display device (HMI device) such as a display. be done. Various necessary sensors 222 may be additionally connected (retrofitted) to the input/output I/F 22 according to the various added applications AP. That is, the input/output I/F 22 may be compatible with standards such as GMSL, FPD-LINK, etc., which are IFs for the camera 221 system, for example. The control unit 20 performs image processing, point cloud processing, object detection, living body detection, etc. on the image captured by the camera 221 via the input/output I/F 22 by executing various applications AP. Various types of processing can be performed.
 車内通信部23は、例えばイーサネット(登録商標)、CAN(Controller Area Network)等の通信プロトコルを用いた入出力インターフェイス(イーサネットPHY部、CANトランシーバ等)である。制御部20は、車内通信部23を介して車載ネットワーク5に接続される中継装置3、車載ECU4又は車外通信装置1と相互に通信する。 The in-vehicle communication unit 23 is an input/output interface (Ethernet PHY unit, CAN transceiver, etc.) using a communication protocol such as Ethernet (registered trademark) or CAN (Controller Area Network). The control unit 20 communicates with the relay device 3 , the in-vehicle ECU 4 , or the external communication device 1 connected to the in-vehicle network 5 via the in-vehicle communication unit 23 .
 図3は、車載装置2に実装されるソフトウェア階層の一例を示す説明図である。車載装置2の記憶部21に記憶される制御プログラムPは、複数のアプリケーションAP、入出力プログラムIP、及びオペレーティングシステムOPを含むものであってもよい。ソフトウェア階層(レイヤー構造)としては、入出力プログラムIPが最上位階層となり、アプリケーションAP、及びオペレーティングシステムOPの順番にて下位構成となる。 FIG. 3 is an explanatory diagram showing an example of a software hierarchy installed in the on-vehicle device 2. The control program P stored in the storage unit 21 of the in-vehicle device 2 may include a plurality of applications AP, an input/output program IP, and an operating system OP. As for the software hierarchy (layer structure), the input/output program IP is the highest layer, and the lower layers are the application AP and the operating system OP in that order.
 複数のアプリケーションAPは、車両Cの操作者(操作者情報)、及び車両Cの状態(車両状態情報)の組み合わせにより、選択的に実行されるものであり、当該操作者毎に、切り替えられて実行されるものである。車載装置2(機能拡張ECU)は、これらアプリケーションAPを車外サーバ100から、OTA(Over The Air)等を用いて取得し、記憶部21に記憶することによりインストールする。このようにアプリケーションAPを車外サーバ100から取得することにより、取得したアプリケーションAPに応じて、車載装置2が発揮することができる機能(実行可能な機能)を拡張させることができる。 The plurality of applications AP are selectively executed depending on the combination of the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information), and are switched for each operator. It is something that is carried out. The in-vehicle device 2 (function expansion ECU) acquires these application APs from the external server 100 using OTA (Over The Air) or the like, and installs them by storing them in the storage unit 21. By acquiring the application AP from the external server 100 in this manner, the functions (executable functions) that the in-vehicle device 2 can perform can be expanded according to the acquired application AP.
 入出力プログラムIPは、拡張した機能の種類に応じてアプリケーションAPを実行する際、アプリケーションAPの実行結果として生成される要求信号の送信先となる車載ECU4との入出力に関する処理(入出力処理)を行う。入出力プログラムIPが、車載ECU4との入出力処理、すなわち車載ECU4に対するフロントエンド処理を行うにあたり、入出力プログラムIPと、複数のアプリケーションAPそれぞれとは、共通化されたインターフェイスにより連携され、例えばプロセス間通信又は共有メモリ方式等にて接続されるように構成されている。入出力プログラムIPと、複数のアプリケーションAPそれぞれとは、例えば、共通の通信ソケットライブラリ等を用いたコーディングがされており、各アプリケーションAPと入出力プログラムIPとは、当該ライブラリーによって規定されたプロセス間通信を行うものであってもよい。このように入出力プログラムIPは、各アプリケーションAPそれぞれにおいて、予め想定されるデータの授受処理を行うことにより、いずれのアプリケーションAPとも透過的な通信処理を行う共に、要求信号の出力先となる車載ECU4に対応したデータの送受信処理を行う。 The input/output program IP performs processing (input/output processing) related to input/output with the in-vehicle ECU 4, which is the destination of the request signal generated as a result of executing the application AP, when executing the application AP according to the type of expanded function. I do. When the input/output program IP performs input/output processing with the in-vehicle ECU 4, that is, front-end processing for the in-vehicle ECU 4, the input/output program IP and each of the plurality of application APs are linked by a common interface, and for example, the process The device is configured to be connected by intercommunication or shared memory method. The input/output program IP and each of the plurality of application APs are coded using, for example, a common communication socket library, and each application AP and input/output program IP are coded using a process defined by the library. It may also be one that performs inter-communication. In this way, the input/output program IP performs transparent communication processing with each application AP by transmitting and receiving data assumed in advance in each application AP, and also performs transparent communication processing with each application AP. Performs data transmission/reception processing corresponding to the ECU 4.
 車載装置2の記憶部21には、アプリケーションAPと、当該アプリケーションAPの実行結果(要求信号)の送信先となる車載ECU4とが関連付けて、例えばリスト形式(アプリリスト)にて記憶されているものであってもよい。アプリリストには、アプリケーションAPの名称(実行ファイル名)と、当該アプリケーションAPによって発揮される機能に対応した車載ECU4を一意に識別するECU番号(MACアドレス、IPアドレス、ECUID等)とが、関連付けられて定義されている。 The storage unit 21 of the in-vehicle device 2 stores an application AP and the in-vehicle ECU 4 to which the execution result (request signal) of the application AP is transmitted in association with each other, for example, in a list format (app list). It may be. In the application list, the name of the application AP (executable file name) and the ECU number (MAC address, IP address, ECUID, etc.) that uniquely identifies the in-vehicle ECU 4 corresponding to the function performed by the application AP are associated. It is defined as
 制御部20は、入出力プログラムIPを実行する際、当該アプリリストをデータファイルとして読み込むことにより、実行したアプリケーションAPの実行結果(要求信号)の送信先となる車載ECU4を特定し、当該実行結果(要求信号)を特定した車載ECU4に送信する。送信先となる車載ECU4は、アプリケーションAPによって発揮される機能に対応した車載ECU4であり、当該機能によって駆動されるアクチュエータ411が接続されている車載ECU4である。 When executing the input/output program IP, the control unit 20 identifies the in-vehicle ECU 4 to which the execution result (request signal) of the executed application AP is to be transmitted by reading the application list as a data file, and transmits the execution result. (request signal) is transmitted to the specified in-vehicle ECU 4. The in-vehicle ECU 4 serving as the transmission destination is an in-vehicle ECU 4 that corresponds to the function exhibited by the application AP, and is the in-vehicle ECU 4 to which an actuator 411 driven by the function is connected.
 入出力プログラムIPは、複数のアプリケーションAPが同時に実行されている場合、これらアプリケーションAP間における優先順位を決定し、これらアプリケーションAP間におけるリソース競合等を解消する処理(アプリ制御処理)を行うものであってもよい。このように構成された入出力プログラムIPは、車載ECU4との通信処理を行うにあたり通信系ミドルウェアとして機能するものであり、車外サーバ100から取得した各種のアプリケーションAPと、車両Cに搭載される各種の車載ECU4との親和性及び透過性を高め、アプリケーションAPの汎用性を担保することができる。 When multiple application APs are being executed simultaneously, the input/output program IP determines the priority among these application APs and performs processing (application control processing) to resolve resource conflicts, etc. between these application APs. There may be. The input/output program IP configured in this way functions as communication middleware when performing communication processing with the in-vehicle ECU 4, and is used to connect various application APs acquired from the external server 100 and various types installed in the vehicle C. It is possible to improve the compatibility and transparency with the in-vehicle ECU 4 and ensure the versatility of the application AP.
 オペレーティングシステムOPは、例えば、Linux(登録商標)又はAUTOSAR(登録商標)-OS等の基本ソフトウェアである。車載装置2にインストール(適用)された全てのアプリケーションAPは、オペレーティングシステムOP上で動作することにより、当該アプリケーションAPの実行のために生成されたプロセス又はスレッド、及びアプリケーションAPによるハードウェアリソースへのアクセスが制御される。オペレーティングシステムOPは、例えば、セキュリティモジュール、入出力I/F22に接続されるカメラ221及びセンサ222等のデバイスドライバ、及び車外サーバ100からアプリケーションAPを取得又は更新する際に用いられるOTAモジュールを含むものであってもよい。オペレーティングシステムOPは、制御部20、記憶部21、入出力I/F22、及び車内通信部23等のハードウェアリソースへのアクセス制御、及びタイムスライス処理等を担う。 The operating system OP is, for example, basic software such as Linux (registered trademark) or AUTOSAR (registered trademark)-OS. All the application APs installed (applied) to the in-vehicle device 2 operate on the operating system OP, thereby controlling the processes or threads generated for the execution of the application APs and the access to hardware resources by the application APs. Access is controlled. The operating system OP includes, for example, a security module, device drivers such as a camera 221 and a sensor 222 connected to the input/output I/F 22, and an OTA module used when acquiring or updating an application AP from the external server 100. It may be. The operating system OP is responsible for controlling access to hardware resources such as the control unit 20, the storage unit 21, the input/output I/F 22, and the in-vehicle communication unit 23, as well as time slice processing.
 図4は、アプリケーションテーブルの一例を示す説明図である。記憶部21には、車両Cの操作者(操作者情報)と、車両Cの状態(車両状態情報)との組み合わせにより特定されるアプリケーションAPが定義されたアプリケーションテーブルが記憶されている。アプリケーションテーブルは、例えばマトリックス形式のテーブルで構成され、管理項目として、操作者のフィールド、及び車両状態のフィールドを含み、これら操作者及び車両状態の組み合わせにより実行されるアプリケーションAPが定義されるものであってもよい。 FIG. 4 is an explanatory diagram showing an example of an application table. The storage unit 21 stores an application table in which an application AP specified by a combination of the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information) is defined. The application table is configured, for example, in a matrix format, and includes an operator field and a vehicle status field as management items, and defines an application AP to be executed based on a combination of these operator and vehicle status. There may be.
 本実施形態において、例えば、操作者がUser-Aであり、車両Cの状態が乗車時である場合、ドア自動解除のアプリケーションAPが実行される。又、操作者がUser-Bであり、車両Cの状態の乗車時である場合も、実行されるアプリケーションAPは、ドア自動解除であるとして定義されている。車両Cの状態がエンジン動作中である場合、User-AではカメラDMS(Driver Monitor)が実行されるアプリケーションAPとして定義され、User-Bでは生体センサDMSが実行されるアプリケーションAPとして定義される。このように車両Cの状態(車両状態情報)が同じ場合であっても、車載装置2(機能拡張ECU)の制御部20は、操作者(操作者情報)によって、実行するアプリケーションAPを切り替えることができる。 In the present embodiment, for example, when the operator is User-A and the vehicle C is in the riding state, the automatic door release application AP is executed. Further, even when the operator is User-B and the user is getting into the vehicle C, the application AP to be executed is defined as automatic door release. When the engine of the vehicle C is in operation, User-A is defined as an application AP that executes a camera DMS (Driver Monitor), and User-B is defined as an application AP that executes a biosensor DMS. In this way, even if the state of the vehicle C (vehicle state information) is the same, the control unit 20 of the in-vehicle device 2 (function expansion ECU) can switch the application AP to be executed depending on the operator (operator information). Can be done.
 ドア自動解除、カメラDMS、生体センサDMS等は、選択的に実行されるアプリケーションAPの一例であり、これに限定されるものではないことは、言うまでもない。車両Cの状態(車両状態情報)が乗車中である場合に実行されるアプリケーションAPは、例えば、生体認証によるドア開錠、シェアカーのユーザ認証、タクシー又はバス等のユーザ認証及び決済、子供乗車確認時のドア設定変更等を含むものであってもよい。又、車両Cの状態(車両状態情報)がエンジン動作中である場合に実行されるアプリケーションAPは、例えば、各種DMS(Driver Monitor)、EDR(データ記録)、標識認識、信号認識、緊急車両C検知(音)、ドラレコ機能(データ保存)等を含むものであってもよい。又、車両Cの状態(車両状態情報)が降車中である場合に実行されるアプリケーションAPは、例えば、ドア開閉時の衝突警告、タクシー又はバス等のユーザ認証及び決済、子供置き去り検知、スマートホーム連携、ガレージオープン等を含むものであってもよい。 It goes without saying that automatic door release, camera DMS, biosensor DMS, etc. are examples of applications AP that are selectively executed, and are not limited to these. Applications AP that are executed when the state of vehicle C (vehicle state information) is that the vehicle is in a vehicle include, for example, door unlocking using biometric authentication, user authentication for a shared car, user authentication and payment for a taxi or bus, etc., and child boarding. It may also include changing the door settings at the time of confirmation. Further, the application APs executed when the state of the vehicle C (vehicle state information) is that the engine is operating are, for example, various DMS (Driver Monitor), EDR (data recording), sign recognition, signal recognition, emergency vehicle C. It may include detection (sound), drive record function (data storage), etc. In addition, the application AP that is executed when the state of vehicle C (vehicle state information) is exiting the vehicle is, for example, collision warning when opening/closing a door, user authentication and payment for taxis or buses, child abandonment detection, smart home, etc. It may include cooperation, garage opening, etc.
 記憶部21に記憶され、アプリケーションテーブルにて定義されるこれらのアプリケーションAPは、ISO26262のASIL(Automotive Safety Integrity Level)におけるAグレード、Bグレード又はQMに位置づけられるものであってもよい。機能拡張ECUとして機能する車載装置2は、車外サーバ100から各種のアプリケーションAPを、OTA等を用いて周期的又は定期的に取得及び更新するため、当該車載装置2に適用可能な全てのアプリケーションAPが実行可能な状態を、維持することができる。 These application APs stored in the storage unit 21 and defined in the application table may be positioned in A grade, B grade, or QM in ASIL (Automotive Safety Integrity Level) of ISO26262. The in-vehicle device 2 that functions as a function-enhanced ECU acquires and updates various application APs from the external server 100 periodically or regularly using OTA or the like, so it acquires and updates all the application APs applicable to the in-vehicle device 2. can be maintained in an executable state.
 アプリケーションテーブルの元データとなる情報は、車外サーバ100にて一元管理されているサブスクリプションユーザに関する情報であってもよい。当該サブスクリプションユーザは、車両Cの操作者となり得るユーザであり、車外サーバ100には、全サブスクリプションユーザに関し、各ユーザが要望するアプリケーションAPの情報(ユーザマスタ情報)が一元管理されている。車載装置2の制御部20は、定期的に車外サーバ100と通信し、当該アプリケーションテーブルを更新するものであってもよい。 The information that becomes the original data of the application table may be information related to subscription users that is centrally managed by the external server 100. The subscription user is a user who can be the operator of the vehicle C, and the external server 100 centrally manages application AP information (user master information) desired by each user for all subscription users. The control unit 20 of the in-vehicle device 2 may periodically communicate with the out-of-vehicle server 100 and update the application table.
 図5は、アプリケーションAPの切り替えの一例を示す説明図である。本実施形態における図示にて、車載装置2(機能拡張ECU)が、車両Cの操作者(操作者情報)及び車両Cの状態(車両状態情報)によって、実行するアプリケーションAPを切り替える態様(ユースケース)を説明する。車両Cの状態(車両状態情報)が乗車時である場合、車両Cの操作者(A)及び操作者(B)は、共に、ドア自動解除を実行するアプリケーションAPとして設定(アプリケーションテーブルにて定義)しているため、ドア自動解除のアプリケーションAPが実行される。 FIG. 5 is an explanatory diagram showing an example of application AP switching. In the illustrations in this embodiment, the in-vehicle device 2 (function expansion ECU) switches the application AP to be executed depending on the operator of the vehicle C (operator information) and the state of the vehicle C (vehicle state information) (use case ). When the state of vehicle C (vehicle state information) is when the vehicle is in the vehicle, the operator (A) and operator (B) of vehicle C are both set as an application AP that executes automatic door release (defined in the application table). ), the door automatic release application AP is executed.
 車両Cの状態(車両状態情報)がエンジン動作中である場合、操作者(A)はカメラDMSを実行するアプリケーションAPとして設定し、操作者(B)は生体センサDMSを実行するアプリケーションAPとして設定している。従って、操作者(A)が乗車している場合は、エンジン動作中において、カメラDMSが実行される。操作者(B)が乗車している場合は、エンジン動作中において、生体センサDMSが実行される。 When the state of vehicle C (vehicle state information) is that the engine is operating, the operator (A) sets it as an application AP that executes camera DMS, and the operator (B) sets it as an application AP that executes biosensor DMS. are doing. Therefore, when the operator (A) is in the vehicle, camera DMS is executed while the engine is operating. When the operator (B) is in the vehicle, the biosensor DMS is executed while the engine is operating.
 車両Cの状態(車両状態情報)が降車時である場合、車両Cの操作者(A)及び操作者(B)は、共に、ドア開閉時警告を実行するアプリケーションAPとして設定(アプリケーションテーブルにて定義)しているため、ドア開閉時警告が実行される。このように車両Cの状態(車両状態情報)に応じて、アプリケーションAPを切り替えて実行することができる。更に、車両Cの状態(車両状態情報)が同じエンジン動作中であっても、操作者(A)と操作者(B)とで実行されるアプリケーションAPは異なるものとなり、操作者に応じて、アプリケーションAPを切り替えて実行することができる。 When the state of vehicle C (vehicle state information) is when exiting the vehicle, the operator (A) and operator (B) of vehicle C are both set as an application AP that executes a door opening/closing warning (in the application table). (definition), a warning is executed when the door is opened or closed. In this way, the application AP can be switched and executed depending on the state of the vehicle C (vehicle state information). Furthermore, even if the state of vehicle C (vehicle state information) is the same and the engine is operating, the application AP executed by the operator (A) and the operator (B) will be different, depending on the operator. Application APs can be switched and executed.
 図6は、車載装置2の制御部20の処理を例示するフローチャートである。車載装置2の制御部20は、例えば車両Cが起動状態(IGスイッチ6がオン)又は停止状態(IGスイッチ6がオフ)において、定常的に以下の処理を行う。 FIG. 6 is a flowchart illustrating the processing of the control unit 20 of the in-vehicle device 2. The control unit 20 of the in-vehicle device 2 regularly performs the following processing, for example, when the vehicle C is in a starting state (IG switch 6 is on) or in a stopped state (IG switch 6 is off).
 車載装置2の制御部20は、以下の処理を行うにあたり、OTAサーバ等の車外サーバ100と周期的又は定期的に通信し、新たに追加するアプリケーションAPの有無を確認する。追加するアプリケーションAPが有る場合、車載装置2の制御部20は、車外サーバ100(OTAサーバ)から追加対象のアプリケーションAPを取得(ダウンロード)し、記憶部21に記憶することにより、インストール(適用)する。 In performing the following processing, the control unit 20 of the in-vehicle device 2 periodically or regularly communicates with the external server 100 such as an OTA server to check whether there is a newly added application AP. If there is an application AP to be added, the control unit 20 of the in-vehicle device 2 acquires (downloads) the application AP to be added from the external server 100 (OTA server), stores it in the storage unit 21, and installs (applies) it. do.
 車載装置2の制御部20は、車外サーバ100からアプリケーションAPを取得するにあたり、当該車載装置2に適用することができる全てのアプリケーションAP(フルパッケージ)を取得するものであってもよい。車載装置2は、車両Cの操作者に応じて、実行するアプリケーションAPを選択するが、当該車両Cは、複数の異なる操作者によって運転等の操作が行われることが、想定される。このような場合であっても、車載装置2には予め全てのアプリケーションAP(フルパッケージ)がインストール(適用)されているため、いずれの操作者が車両Cを操作する場合であっても、当該操作者に合わせてアプリケーションAPを都度、取得することを不要とすることができる。 When acquiring application APs from the external server 100, the control unit 20 of the in-vehicle device 2 may acquire all application APs (full package) that can be applied to the in-vehicle device 2. The in-vehicle device 2 selects the application AP to be executed depending on the operator of the vehicle C, but it is assumed that the vehicle C is operated by a plurality of different operators, such as driving. Even in such a case, since all application APs (full packages) are installed (applied) to the in-vehicle device 2 in advance, no matter which operator operates the vehicle C, the relevant operation It is possible to eliminate the need to obtain an application AP each time according to the user.
 車載装置2の制御部20は、アプリケーションAPの追加取得に併せて、車外サーバ100に登録されているサブスクリプションユーザ(車両Cの操作者)に関するユーザ情報を取得するものであってもよい。車載装置2の制御部20は、当該取得したユーザ情報に基づき、各サブスクリプションユーザ(車両Cの操作者)が要望するアプリケーションAP(提供されるサービス)を把握し、アプリケーションテーブルを更新するものであってもよい。 The control unit 20 of the in-vehicle device 2 may acquire user information regarding the subscription user (operator of the vehicle C) registered in the external server 100 in conjunction with the additional acquisition of the application AP. The control unit 20 of the in-vehicle device 2 grasps the application AP (provided service) requested by each subscription user (operator of vehicle C) based on the acquired user information, and updates the application table. There may be.
 車載装置2の制御部20は、車両Cの操作者に関する操作者情報を取得する(S101)。車載装置2の制御部20は、車両Cの操作者が保持する携帯端末101又はスマートキーから送信される操作者情報を、例えば、ボディECU41を介して取得する。ボディECU41は、電源装置7が常時給電され、起動(ウェイクアップ)状態となっており、携帯端末101等を有する操作者が、車両Cに近接した場合、当該携帯端末101と近距離通信を行うことにより、操作者情報を取得する。この場合、ボディECU41は、例えば、スリープ状態にある車載装置2にウェイクアップ信号を送信し、車載装置2を起動(ウェイクアップ)状態に遷移させ、更に操作者情報を車載装置2に送信する。車載装置2の制御部20は、ボディECU41から取得した操作者情報と取得時刻とを関連付けて記憶部21に記憶する。 The control unit 20 of the vehicle-mounted device 2 acquires operator information regarding the operator of the vehicle C (S101). The control unit 20 of the vehicle-mounted device 2 acquires operator information transmitted from the mobile terminal 101 or smart key held by the operator of the vehicle C, for example, via the body ECU 41. The body ECU 41 is constantly supplied with power to the power supply device 7 and is in a wake-up state, and when an operator having a mobile terminal 101 or the like approaches the vehicle C, the body ECU 41 performs short-range communication with the mobile terminal 101. By doing so, the operator information is acquired. In this case, the body ECU 41 transmits, for example, a wake-up signal to the in-vehicle device 2 in a sleep state, transitions the in-vehicle device 2 to an activated (wake-up) state, and further transmits operator information to the in-vehicle device 2. The control unit 20 of the in-vehicle device 2 stores the operator information acquired from the body ECU 41 and the acquisition time in the storage unit 21 in association with each other.
 車載装置2の制御部20は、取得した操作者情報に基づき、当該操作者に対する認証処理を行い、認証処理の結果が肯定的結果である場合のみ、以下の処理を行うものであってもよい。車載装置2の制御部20は、当該認証処理を行うにあたり、取得した操作者情報を車外サーバ100へ送信し、車外サーバ100に対し認証処理を要求するものであってもよい。又は、車載装置2には指紋認証等を行う生体認証装置が接続されており、車載装置2の制御部20は、当該生体認証装置を用いて、車両Cの操作者の認証を行うものであってもよい。 The control unit 20 of the in-vehicle device 2 may perform authentication processing for the operator based on the acquired operator information, and may perform the following processing only when the result of the authentication processing is positive. . When performing the authentication process, the control unit 20 of the in-vehicle device 2 may transmit the acquired operator information to the external server 100 and request the external server 100 to perform the authentication process. Alternatively, a biometric authentication device that performs fingerprint authentication or the like is connected to the in-vehicle device 2, and the control unit 20 of the in-vehicle device 2 authenticates the operator of the vehicle C using the biometric authentication device. It's okay.
 車載装置2の制御部20は、車両Cの状態に関する車両状態情報を取得する(S102)。車載装置2の制御部20は、例えば、ボディECU41等、各車載ECU4から送信されるメッセージを受信し、受信したメッセージに含まれる車両状態情報を取得し、車両状態情報と取得時刻とを関連付けて記憶部21に記憶する。又は、車載装置2の制御部20は、IGスイッチ6がオン又はオフされた際、IGスイッチ6から送信される信号に基づき、車両状態情報を取得するものであってもよい。当該メッセージは例えばCANメッセージ又はIPパケットであり、車載装置2の制御部20は、CANメッセージのメッセージID、IPパケットのTCPポート番号、又は、これらメッセージのペイロードに格納されているデータに基づき、車両状態情報を取得することができる。当該車両状態情報は、例えば、操作者が乗車中、操作者が降車中、エンジン動作中、エンジン停止中、車速、各種アクチュエータ411の動作状態、自動運転中、又は手動運転中等の各種状態を示す情報を含む。 The control unit 20 of the in-vehicle device 2 acquires vehicle status information regarding the status of the vehicle C (S102). The control unit 20 of the in-vehicle device 2 receives a message transmitted from each in-vehicle ECU 4 such as the body ECU 41, acquires vehicle status information included in the received message, and associates the vehicle status information with the acquisition time. It is stored in the storage unit 21. Alternatively, the control unit 20 of the in-vehicle device 2 may acquire vehicle status information based on a signal transmitted from the IG switch 6 when the IG switch 6 is turned on or off. The message is, for example, a CAN message or an IP packet, and the control unit 20 of the in-vehicle device 2 controls the vehicle based on the message ID of the CAN message, the TCP port number of the IP packet, or the data stored in the payload of these messages. Status information can be obtained. The vehicle status information indicates, for example, various statuses such as when the operator is in the vehicle, when the operator is getting off the vehicle, when the engine is running, when the engine is stopped, the vehicle speed, the operation status of various actuators 411, and whether the vehicle is in automatic operation or manual operation. Contains information.
 車載装置2の制御部20は、操作者情報及び車両状態情報に基づき、アプリケーションAPを選択する(S103)。車載装置2の制御部20は、例えば、記憶部21に記憶されているアプリケーションテーブルを参照することにより、取得した操作者情報及び車両状態情報に対応するアプリケーションAPを選択する。アプリケーションテーブルは、例えば、マトリックス形式にて記憶部21に記憶されており、車載装置2の制御部20は、操作者情報と車両状態情報との組み合わせに基づき、アプリケーションAPの選択を効率的に行うことができる。 The control unit 20 of the in-vehicle device 2 selects an application AP based on the operator information and vehicle status information (S103). The control unit 20 of the in-vehicle device 2 selects an application AP corresponding to the acquired operator information and vehicle status information, for example, by referring to an application table stored in the storage unit 21. The application table is stored in the storage unit 21 in a matrix format, for example, and the control unit 20 of the in-vehicle device 2 efficiently selects the application AP based on the combination of operator information and vehicle status information. be able to.
 車載装置2の制御部20は、選択したアプリケーションAPを実行する(S104)。車載装置2の制御部20は、選択したアプリケーションAPを実行し、実行結果として生成した結果データ、制御信号、又は要求信号等を含むメッセージを、当該アプリケーションAPに対応する車載ECU4に送信する。当該アプリケーションAPは、操作者によって要望される機能(サービス)を発揮するためのものであり、当該機能(サービス)は、例えば、ドアの自動開錠、ライトの点灯、ドア開閉時の衝突傾向等を含む。これら機能(サービス)を発揮するにあたり、実際に駆動されるアクチュエータ411は、要求信号等の送信先となる車載ECU4に接続されている。機能(サービス)を発揮するにあたり駆動されるアクチュエータ411が接続されている車載ECU4は、受信した要求信号(メッセージ)に応じて、自身に接続されているドアロック、照明等のアクチュエータ411を駆動制御する。これにより、当該車載ECU4による処理負荷を低減しつつ、車両Cの状態に応じて、車両Cの操作者が要望するアプリケーションAPを実行し、当該操作者が要望する機能(サービス)を提供することができる。 The control unit 20 of the in-vehicle device 2 executes the selected application AP (S104). The control unit 20 of the in-vehicle device 2 executes the selected application AP, and transmits a message including result data, a control signal, a request signal, etc. generated as an execution result to the in-vehicle ECU 4 corresponding to the application AP. The application AP is intended to perform the functions (services) requested by the operator, and the functions (services) include, for example, automatic door unlocking, lighting of lights, collision tendency when opening and closing doors, etc. including. In performing these functions (services), the actuator 411 that is actually driven is connected to the in-vehicle ECU 4 to which request signals and the like are transmitted. The in-vehicle ECU 4 to which the actuator 411 that is driven to perform the function (service) is connected drives and controls the actuator 411 for door locks, lighting, etc. connected to itself in accordance with the received request signal (message). do. As a result, the processing load on the in-vehicle ECU 4 is reduced, and the application AP requested by the operator of the vehicle C is executed according to the state of the vehicle C, and the functions (services) requested by the operator are provided. Can be done.
 車載装置2の制御部20は、車両Cの状態に関する車両状態情報を取得する(S105)。車載装置2の制御部20は、処理S102と同様に、車両Cの状態に関する車両状態情報を取得し、車両状態情報と取得時刻とを関連付けて記憶部21に記憶する。 The control unit 20 of the vehicle-mounted device 2 acquires vehicle status information regarding the status of the vehicle C (S105). The control unit 20 of the in-vehicle device 2 acquires vehicle state information regarding the state of the vehicle C, and stores the vehicle state information and the acquisition time in the storage unit 21 in association with each other.
 車載装置2の制御部20は、車両状態情報が変化したか否かを判定する(S106)。車載装置2の制御部20は、今回取得した車両状態情報と、前回取得した車両状態情報とにおいて、変化が生じたか否かを判定する。 The control unit 20 of the in-vehicle device 2 determines whether the vehicle status information has changed (S106). The control unit 20 of the in-vehicle device 2 determines whether a change has occurred between the currently acquired vehicle status information and the previously acquired vehicle status information.
 車両状態情報が変化した場合(S106:YES)、車載装置2の制御部20は、再度S103の処理を実行すべくループ処理を行う。車両状態情報が変化した場合、車載装置2の制御部20は、再度S103の処理を実行すべくループ処理を行うことにより、現時点における車両Cの状態と操作者との組み合わせに基づくアプリケーションAPを選択し、実行することができる。これにより、車両Cの状態変化に応じて、適切なアプリケーションAPの選択及び実行を図ることができる。 If the vehicle state information changes (S106: YES), the control unit 20 of the on-vehicle device 2 performs a loop process to execute the process of S103 again. When the vehicle state information changes, the control unit 20 of the in-vehicle device 2 selects an application AP based on the combination of the current state of the vehicle C and the operator by performing loop processing to execute the process of S103 again. and can be executed. Thereby, it is possible to select and execute an appropriate application AP in accordance with changes in the state of the vehicle C.
 車両状態情報が変化していない場合(S106:NO)、車載装置2の制御部20は、操作者が車両C周辺から離れたか否かを判定する(S107)。車両状態情報が変化していない場合、車載装置2の制御部20は、例えば、ボディECU41と通信することにより、操作者が車両C周辺から離れたか否かを判定する。操作者が保持する携帯端末101又はスマートキーとボディECU41とは、例えば、RF(Radio Frequency)又はLF(Low Frequency)を用いた近距離通信を行うことにより、ボディECU41は、操作者が車両C内に居するか又は車両C外にて所定の距離内に居するかについて周期的に判定している。車載装置2の制御部20は、例えば、ボディECU41から操作者の位置に関する情報を取得することにより、操作者が車両C周辺から離れたか否かを判定する。 If the vehicle status information has not changed (S106: NO), the control unit 20 of the in-vehicle device 2 determines whether the operator has left the vicinity of the vehicle C (S107). If the vehicle status information has not changed, the control unit 20 of the on-vehicle device 2 determines whether the operator has left the vicinity of the vehicle C, for example, by communicating with the body ECU 41. The mobile terminal 101 or smart key held by the operator and the body ECU 41 perform short-range communication using, for example, RF (Radio Frequency) or LF (Low Frequency). It is periodically determined whether the vehicle C is inside or outside the vehicle C and within a predetermined distance. The control unit 20 of the vehicle-mounted device 2 determines whether the operator has left the vicinity of the vehicle C, for example, by acquiring information regarding the operator's position from the body ECU 41.
 操作者が車両C周辺から離れていない場合(S107:NO)、車載装置2の制御部20は、再度S105からの処理を実行すべくループ処理を行う。操作者が車両C周辺から離れていない場合、車載装置2の制御部20は、再度S105からの処理を実行することにより、車両状態情報の取得を定期的又は周期的に行うことを継続することができる。これにより、操作者が車両C周辺から離れていない状態において、定期的に取得した車両状態情報に応じて、適切なアプリケーションAPの選択及び実行することを、継続して行うことができる。操作者が車両C周辺から離れた場合(S107:YES)、車載装置2の制御部20は、本フローチャートにおける処理を終了する。 If the operator is not far from the vicinity of the vehicle C (S107: NO), the control unit 20 of the in-vehicle device 2 performs a loop process to execute the process from S105 again. If the operator is not far from the vicinity of the vehicle C, the control unit 20 of the in-vehicle device 2 continues to acquire vehicle status information regularly or periodically by executing the process from S105 again. Can be done. Thereby, while the operator is not far from the vicinity of the vehicle C, it is possible to continuously select and execute an appropriate application AP according to the regularly acquired vehicle status information. If the operator leaves the vicinity of the vehicle C (S107: YES), the control unit 20 of the in-vehicle device 2 ends the processing in this flowchart.
(実施形態2)
 図7は、実施形態2に係る車載装置2の制御部20の処理を例示するフローチャートである。実施形態2に係る車載装置2は、実施形態1の処理S101と同様に、S201の処理を行う。
(Embodiment 2)
FIG. 7 is a flowchart illustrating the processing of the control unit 20 of the in-vehicle device 2 according to the second embodiment. The in-vehicle device 2 according to the second embodiment performs the process of S201 similarly to the process S101 of the first embodiment.
 車載装置2の制御部20は、アプリケーションテーブルに、取得した操作者情報が登録されているか否かを判定する(S202)。車載装置2の制御部20は、取得した操作者情報(ユーザID)が、記憶部21に記憶されているアプリケーションテーブルの操作者のフィールドに登録されているか否かを判定する。 The control unit 20 of the in-vehicle device 2 determines whether the acquired operator information is registered in the application table (S202). The control unit 20 of the in-vehicle device 2 determines whether the acquired operator information (user ID) is registered in the operator field of the application table stored in the storage unit 21.
 操作者情報がアプリケーションテーブルに登録されていない場合(S202:NO)、車載装置2の制御部20は、車外サーバ100から操作者情報に対応するユーザ情報を取得する(S2021)。操作者情報がアプリケーションテーブルに登録されていない場合、車載装置2の制御部20は、取得した操作者情報を車外サーバ100に送信し、車外サーバ100に対し、当該操作者情報に対応するユーザ情報を要求する。操作者情報は、例えば、操作者を一意に示すユーザIDを含む。車外サーバ100には、サブスクリプションユーザである車両Cの操作者に関するデータが一元管理(マスター登録)されており、各ユーザ(ユーザID)が要望するサービス、すなわち実行するアプリケーションAPがリスト化されて保存されている。車載装置2の制御部20は、ユーザID等を含む操作者情報を車外サーバ100に送信することにより、全ユーザの情報を一元管理する車外サーバ100から、当該操作者に対応して実行するアプリケーションAPを含むユーザ情報を取得する。 If the operator information is not registered in the application table (S202: NO), the control unit 20 of the in-vehicle device 2 acquires user information corresponding to the operator information from the external server 100 (S2021). If the operator information is not registered in the application table, the control unit 20 of the in-vehicle device 2 transmits the acquired operator information to the outside server 100, and sends the acquired operator information to the outside server 100, and sends the user information corresponding to the operator information to the outside server 100. request. The operator information includes, for example, a user ID that uniquely indicates the operator. The external server 100 centrally manages (master registration) data regarding the operator of the vehicle C who is a subscription user, and lists the services requested by each user (user ID), that is, the application APs to be executed. It is preserved. The control unit 20 of the in-vehicle device 2 transmits operator information including a user ID etc. to the out-of-vehicle server 100, so that an application to be executed corresponding to the operator is sent from the out-of-vehicle server 100 that centrally manages information of all users. Obtain user information including AP.
 車載装置2の制御部20は、取得したユーザ情報に基づき、アプリケーションテーブルを更新する(S2022)。車載装置2の制御部20は、取得したユーザ情報に基づき、今回取得した操作者情報の操作者(ユーザID)及び、当該操作者(ユーザID)が各車両C状態にて実行することを要望するアプリケーションAP(提供するサービス)に関する情報を、アプリケーションテーブルに追加登録する。 The control unit 20 of the in-vehicle device 2 updates the application table based on the acquired user information (S2022). Based on the acquired user information, the control unit 20 of the in-vehicle device 2 determines the operator (user ID) of the currently acquired operator information and the request that the operator (user ID) executes in each vehicle state C. Information regarding the application AP (service provided) is additionally registered in the application table.
 車外サーバ100に登録されるサブスクリプションユーザのユーザ数が増加し膨大となった場合、全ユーザに関する情報を、個々の車両Cそれぞれにおけるアプリケーションテーブルに登録(ミラーリング)することは、記憶部21における記憶領域の逼迫を招くことが懸念される。そこで、車両Cそれぞれにおけるアプリケーションテーブルには、必要に応じて、新規の操作者(ユーザID)に関する情報を追加登録することにより、記憶部21の記憶領域が逼迫することを抑制することができる。 When the number of subscription users registered in the external server 100 increases and becomes enormous, registering (mirroring) information regarding all users in the application table of each vehicle C requires storage in the storage unit 21. There are concerns that this will lead to a tightening of the territory. Therefore, by additionally registering information regarding a new operator (user ID) in the application table of each vehicle C as necessary, it is possible to prevent the storage area of the storage unit 21 from becoming full.
 車載装置2は、車外サーバ100によるOTA処理を定期的に実行しているため、車載装置2の記憶部21には、当該車載装置2に適用される全てのアプリケーションAPが記憶(フルパッケージインストール)されている。従って、アプリケーションテーブルにて定義される各アプリケーションAPは、既にインストールされているため、新規の操作者(ユーザID)を登録する場合であっても、当該ユーザ登録に併せてアプリケーションAPをインストールすることを不要とすることができる。又は、車載装置2の制御部20は、新規の操作者(ユーザID)の登録に併せて、当該操作者が要望するアプリケーションAPを車外サーバ100から取得するものであってもよい。 Since the in-vehicle device 2 regularly executes OTA processing by the external server 100, all application APs applied to the in-vehicle device 2 are stored in the storage unit 21 of the in-vehicle device 2 (full package installed). ing. Therefore, since each application AP defined in the application table has already been installed, even when registering a new operator (user ID), the application AP must be installed in conjunction with the user registration. can be made unnecessary. Alternatively, the control unit 20 of the in-vehicle device 2 may acquire the application AP requested by the new operator (user ID) from the external server 100 in conjunction with the registration of a new operator (user ID).
 操作者情報がアプリケーションテーブルに登録されている場合(S202:YES)、車載装置2の制御部20は、車両Cの状態に関する車両状態情報を取得する(S203)。車載装置2の制御部20は、実施形態1の処理S102と同様にS203を行う。車載装置2の制御部20は、S203の実行後、実施形態1の処理S103からS107と同様に、S204からS208までの処理を行う。 If the operator information is registered in the application table (S202: YES), the control unit 20 of the in-vehicle device 2 acquires vehicle status information regarding the status of the vehicle C (S203). The control unit 20 of the in-vehicle device 2 performs S203 in the same manner as the process S102 of the first embodiment. After executing S203, the control unit 20 of the in-vehicle device 2 performs the processes from S204 to S208, similar to the processes from S103 to S107 of the first embodiment.
 今回開示された実施形態は全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should not be considered restrictive. The scope of the present invention is indicated by the scope of the claims, not the meaning described above, and is intended to include meanings equivalent to the scope of the claims and all changes within the scope.
 請求の範囲に記載されている複数の請求項に関して、引用形式に関わらず、相互に組み合わせることが可能である。請求の範囲では、複数の請求項に従属する多項従属請求項が記載されている。請求の範囲では、多項従属請求項に従属する多項従属請求項は記載されていないが、多項従属請求項に従属する多項従属請求項を記載してもよい。 Multiple claims described in the scope of claims may be combined with each other regardless of the citation format. The claims contain multiple dependent claims that are dependent on several claims. In the claims, multiple dependent claims that are dependent on multiple dependent claims are not recited, but multiple dependent claims that are dependent on multiple dependent claims may be recited.
 S 車載システム
 C 車両
 N 車外ネットワーク
 100 車外サーバ(OTAサーバ)
 101 携帯端末
 1 車外通信装置
 11 車外通信部
 12 車内通信部
 13 アンテナ
 2 車載装置(機能拡張ECU)
 20 制御部
 21 記憶部
 M 記録媒体
 P 制御プログラム(プログラム製品)
 AP アプリケーション
 IP 入出力プログラム
 OP オペレーティングシステム
 22 入出力I/F
 221 カメラ
 222 センサ
 23 車内通信部
 3 中継装置
 4 車載ECU
 41 ボディECU
 411 アクチュエータ
 5 車載ネットワーク
 51 通信線
 6 IGスイッチ
 7 電源装置
 71 電力線
S In-vehicle system C Vehicle N Ex-vehicle network 100 Ex-vehicle server (OTA server)
101 Mobile terminal 1 External communication device 11 External communication section 12 In-vehicle communication section 13 Antenna 2 On-vehicle device (function expansion ECU)
20 Control unit 21 Storage unit M Recording medium P Control program (program product)
AP Application IP Input/output program OP Operating system 22 Input/output I/F
221 Camera 222 Sensor 23 In-vehicle communication section 3 Relay device 4 In-vehicle ECU
41 Body ECU
411 Actuator 5 In-vehicle network 51 Communication line 6 IG switch 7 Power supply device 71 Power line

Claims (8)

  1.  車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続される車載装置であって、
     複数のアプリケーションが記憶される記憶部と、
     前記アプリケーションに関する処理を行う制御部とを備え、
     前記制御部は、
     前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、
     前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する
     車載装置。
    An in-vehicle device installed in a vehicle and communicably connected to an in-vehicle ECU via an in-vehicle network,
    a storage unit in which multiple applications are stored;
    and a control unit that performs processing related to the application,
    The control unit includes:
    Expanding the functions executable by the vehicle by adding the application stored in the storage unit,
    An in-vehicle device that outputs an execution result of the application to an in-vehicle ECU corresponding to the function.
  2.  前記記憶部には、前記アプリケーションを実行した際の入出力に関する処理を担う入出力プログラムが記憶されており、
     前記入出力プログラムと、複数の前記アプリケーションそれぞれとは、共通化されたインターフェイスにより連携される
     請求項1に記載の車載装置。
    The storage unit stores an input/output program that handles input/output processing when the application is executed,
    The in-vehicle device according to claim 1, wherein the input/output program and each of the plurality of applications are linked through a common interface.
  3.  前記記憶部には、オペレーティングシステムが記憶されており、
     複数の前記アプリケーションそれぞれは、前記オペレーティングシステム上で実行される
     請求項2に記載の車載装置。
    The storage unit stores an operating system,
    The in-vehicle device according to claim 2, wherein each of the plurality of applications is executed on the operating system.
  4.  前記制御部は、
     前記車両の操作者に関する操作者情報を取得し、
     取得した前記操作者情報に応じて、実行する前記アプリケーションを選択する
     請求項1から請求項3のいずれか1項に記載の車載装置。
    The control unit includes:
    Obtaining operator information regarding the operator of the vehicle;
    The in-vehicle device according to any one of claims 1 to 3, wherein the application to be executed is selected according to the acquired operator information.
  5.  前記制御部は、
     前記車両の状態に関する車両状態情報を取得し、
     取得した前記車両状態情報に応じて、実行する前記アプリケーションを選択する
     請求項4に記載の車載装置。
    The control unit includes:
    obtaining vehicle status information regarding the status of the vehicle;
    The in-vehicle device according to claim 4, wherein the application to be executed is selected according to the acquired vehicle state information.
  6.  前記記憶部に記憶される複数の前記アプリケーションは、ISO26262のASIL
    (Automotive Safety Integrity Level)におけるAグレード、Bグレード又はQMに位置づけられる
     請求項5に記載の車載装置。
    The plurality of applications stored in the storage unit comply with ASIL of ISO26262.
    The in-vehicle device according to claim 5, which is positioned as A grade, B grade, or QM in (Automotive Safety Integrity Level).
  7.  車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続され、複数のアプリケーションが記憶される記憶部を含むコンピュータに、
     前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、
     前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する
     処理を実行させるプログラム。
    A computer installed in a vehicle, communicably connected to an in-vehicle ECU via an in-vehicle network, and including a storage unit in which multiple applications are stored;
    Expanding the functions executable by the vehicle by adding the application stored in the storage unit,
    A program that executes a process of outputting an execution result of the application to an in-vehicle ECU corresponding to the function.
  8.  車両に搭載され、車載ネットワークを介して車載ECUと通信可能に接続され、複数のアプリケーションが記憶される記憶部を含むコンピュータに、
     前記記憶部に記憶される前記アプリケーションを追加することにより、前記車両が実行可能な機能を拡張させ、
     前記アプリケーションの実行結果を、前記機能に対応する車載ECUへ出力する
     処理を実行させる情報処理方法。
    A computer installed in a vehicle, communicably connected to an in-vehicle ECU via an in-vehicle network, and including a storage unit in which a plurality of applications are stored;
    Expanding the functions executable by the vehicle by adding the application stored in the storage unit,
    An information processing method that outputs an execution result of the application to an in-vehicle ECU corresponding to the function.
PCT/JP2023/029890 2022-09-01 2023-08-18 In-vehicle device, program, and, information processing method WO2024048328A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-139371 2022-09-01
JP2022139371A JP2024034849A (en) 2022-09-01 2022-09-01 In-vehicle device, program, and information processing method

Publications (1)

Publication Number Publication Date
WO2024048328A1 true WO2024048328A1 (en) 2024-03-07

Family

ID=90099442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/029890 WO2024048328A1 (en) 2022-09-01 2023-08-18 In-vehicle device, program, and, information processing method

Country Status (2)

Country Link
JP (1) JP2024034849A (en)
WO (1) WO2024048328A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080566A (en) * 2007-09-25 2009-04-16 Hitachi Ltd Vehicle control program and program generation method, program generator, and automobile controller
JP2010221961A (en) * 2009-03-25 2010-10-07 Denso Corp Application execution control device, and application execution control program
WO2021260929A1 (en) * 2020-06-26 2021-12-30 三菱電機株式会社 Software activation device, information processing device, and software activation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080566A (en) * 2007-09-25 2009-04-16 Hitachi Ltd Vehicle control program and program generation method, program generator, and automobile controller
JP2010221961A (en) * 2009-03-25 2010-10-07 Denso Corp Application execution control device, and application execution control program
WO2021260929A1 (en) * 2020-06-26 2021-12-30 三菱電機株式会社 Software activation device, information processing device, and software activation method

Also Published As

Publication number Publication date
JP2024034849A (en) 2024-03-13

Similar Documents

Publication Publication Date Title
US10564954B2 (en) Hybrid electric vehicle with automated software update system
US9981616B2 (en) Remote function control system for a vehicle having a data communications bus and related methods
WO2014083775A1 (en) Vehicle-mounted program update device
CN111038418A (en) Central integrated automobile body domain controller system and automobile
CN111464974B (en) Internet of vehicles data communication method, device, equipment and medium
JP7192415B2 (en) Program update system and update processing program
CN112470118A (en) Vehicle electronic control system, program update consent determination method, and program update consent determination program
US9527478B2 (en) Remote function control system for a vehicle having a data communications bus and related methods
US9656631B1 (en) Remote function control system with wireless databus device and associated wireless security sensor for a vehicle having a data communications bus and related methods
US20200283004A1 (en) Method and system for overriding vehicle systems based on special conditions
JP2011070287A (en) Program updating device, center and program updating system
CA2951679C (en) Remote function control system with remote function device and associated wireless security sensor for a vehicle having a data communications bus and related methods
CA2951747A1 (en) Remote function device and associated wireless security sensor for a vehicle having a data communications bus and related methods
JP5011686B2 (en) Remote control system
WO2024048328A1 (en) In-vehicle device, program, and, information processing method
WO2021205825A1 (en) Vehicle-mounted device, information processing method, and computer program
CN117616364A (en) Over-the-air (OTA) upgrading method and device
CN114115931A (en) Software updating device, software updating method, non-temporary storage medium, and vehicle
WO2024090224A1 (en) Update management device, in-vehicle system, control method, and computer program
JP7484736B2 (en) In-vehicle device and update method
CA2925135C (en) Remote function control system for a vehicle having a data communications bus and related methods
US20220274460A1 (en) Information processing apparatus, information processing method and storage medium
EP3937006B1 (en) Software update device, software update method, and center
WO2024009706A1 (en) Vehicle-mounted system, electronic control device, access authorization policy update method, and program
US20230045256A1 (en) Computing device updating

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23860091

Country of ref document: EP

Kind code of ref document: A1

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)