The present invention relates to a software distribution system, a software distribution server, and a software distribution method and is suitable to be applied to a software distribution system, a software distribution server, and a software distribution method that enable software to be remotely updated for a device attached to a vehicle such as a car.
In recent years, with the development of driving support functions and automatic driving techniques, the sizes of software installed in in-vehicle devices (electric control unit (ECU)) have been increased. The number of cases where the ECU software needs to be updated for test version upgrades at design and development stages, the handling of a recall due to a software failure, collective version upgrades before and after mass productions, and the like is increasing. There are increasing expectations for a software distribution technique for remotely updating ECU software for cars or so-called Over-the-Air (OTA) distribution by applying a wireless remote software update technique, which has been used for traditional mobile phones and televisions, to cars in order to efficiently handle the increase in the number of cases where the software needs to be updated.
For example, Japanese Patent No. 5829839 discloses a program provision system that prevents a user from operating an in-vehicle device during an update of a program of a control device installed in a vehicle. The program provision system disclosed in Japanese Patent No. 5829839 can effectively complete the update of the program (software) by giving an instruction to update the program when the user of the vehicle is sufficiently far away from the vehicle so as not to operate the in-vehicle device during the update of the program.
However, in the program provision system disclosed in Japanese Patent No. 5829839, an effect of reliably updating distributed software is obtained, but it is not possible to prevent software to be distributed from being erroneously selected due to a human-caused error.
Regarding OTA distribution for ECUs of cars, the number of types of ECUs to which software is distributed tends to increase, and file names and version names of the software to be distributed to the ECUs are similar in many cases. Thus, in the determination of software to be distributed, software may be erroneously selected due to a human-caused error. Especially, in a process of designing and developing a car, a test is repeatedly conducted using software of multiple versions. Thus, a software version may be mistakenly confirmed or mistakenly read in many cases. When inappropriate software is distributed, a valuable time period for the test may be reduced due to rework. Thus, a software distribution technique effective to handle such problems is required.
The present invention has been devised under the aforementioned circumstances. The present invention provides a software distribution system, a software distribution server, and a software distribution method that can prevent software from being erroneously distributed due to a human-caused error in an update of software for an in-vehicle device.
To solve the problems, the present invention provides the following software distribution system that controls an update of a function for an in-vehicle device of a vehicle. The software distribution system includes a software distribution server that uses a campaign to manage the update of the function and remotely distributes software based on the campaign to a target vehicle for the campaign, a terminal that receives an operation by an operator and executes input and output from and to the software distribution server, and a software update device that is attached to the vehicle and configured to download the software distributed by the software distribution server and install the downloaded software in the target in-vehicle device. The software distribution server includes a storage section that stores various types of information including the software, a campaign managing section that receives information necessary for the campaign from the terminal and creates the campaign by registering campaign information constituted by the received information in the storage section, and a software distributing section that remotely distributes the software based on the campaign to the target vehicle for the campaign in accordance with the campaign information registered in the campaign managing section. In the software distribution system, when the creation of the campaign is requested by an operation of the terminal, the campaign managing section compares statistical information of updated amounts of the software updated based on the most recent multiple campaigns in the in-vehicle device of the target vehicle for the requested campaign with an updated amount of the software updated based on the requested campaign. When a predetermined requirement is satisfied, the campaign managing section does not create the requested campaign, prepares a predetermined alert, transmits the predetermined alert to the terminal, and the terminal displays the predetermined alert on a predetermined display screen.
In addition, in order to solve the problems, the present invention provides the following software distribution server that uses a campaign to manage an update of a function for an in-vehicle device of a vehicle and remotely distributes software based on the campaign to the target vehicle for the campaign. The software distribution server includes a storage section that stores various types of information including the software, a campaign managing section that receives information necessary for the campaign from a terminal and creates the campaign by registering campaign information constituted by the received information in the storage section, and a software distributing section that remotely distributes the software based on the campaign to the target vehicle for the campaign in accordance with the campaign information registered in the campaign managing section. When the campaign managing section receives a request to create the campaign from the terminal, the campaign managing section compares statistical information of updated amounts of the software updated based on the most recent multiple campaigns in the in-vehicle device of the target vehicle for the requested campaign with an updated amount of the software updated based on the requested campaign. When a predetermined requirement is satisfied, the campaign managing section does not create the campaign, prepares a predetermined alert, and transmits the predetermined alert to the terminal.
In addition, in order to solve the problems, the present invention provides the following software distribution method to be executed by a software distribution system that controls an update of a function for an in-vehicle device of a vehicle. The software distribution system includes a software distribution server that uses a campaign to manage the update of the function and remotely distributes software based on the campaign to the target vehicle for the campaign, a terminal that receives an operation by an operator and executes input and output from and to the software distribution server, and a software update device that is attached to the vehicle and configured to download the software distributed by the software distribution server and install the downloaded software in the target in-vehicle device. The software distribution server includes a storage section that stores various types of information including the software, a campaign managing section that receives information necessary for the campaign from the terminal and creates the campaign by registering campaign information constituted by the received information in the storage section, and a software distributing section that remotely distributes the software based on the campaign to the target vehicle for the campaign in accordance with the campaign information registered in the campaign managing section. In the software distribution system having the aforementioned configuration, the software distribution method includes, when the creation of the campaign is requested by an operation of the terminal, causing the campaign managing section to compare statistical information of updated amounts of the software updated based on the most recent multiple campaigns in the in-vehicle device of the target vehicle for the requested campaign with an updated amount of the software updated based on the requested campaign; inhibiting, when a predetermined requirement is satisfied in the comparison, the campaign managing section from creating the requested campaign, and causing the campaign managing section to prepare a predetermined alert and transmit the predetermined alert to the terminal; and causing the terminal to receive the predetermined alert and display the predetermined alert received from the campaign managing section on a predetermined display screen.
According to the present invention, in a software update for an in-vehicle device, it is possible to prevent software from being erroneously distributed due to a human-caused error. Especially, the present invention provides an efficient effect in a test conducted in a development process.
Hereinafter, embodiments of the present invention are described in detail with reference to the accompanying drawings.
In the present specification, a “campaign” means a unit of information, which is used to manage update software and in which information of one or more vehicles that are distribution destinations is associated with the update software to be distributed to update the same function of one or more in-vehicle devices (ECUs) attached to the one or more vehicles.
The campaign is used for various purposes. The campaign is used for entire distribution of update software for many vehicles or is used for limited distribution of the update software for a specific vehicle (test vehicle) limited for test (inspection) use. As the entire distribution of the update software, the update software may be distributed for the purpose of improving functions of multiple vehicles in a mass production process or after the distribution of the vehicles, or for the purpose of handling a recall of multiple vehicles in a mass production process or after the distribution of the vehicles. For example, update software for solving the cause of a recall is distributed and installed in a target ECU to update a function. As the limited distribution of the update software, update software for a test may be distributed for the purpose of confirming a function of a specific vehicle (test vehicle) at a design and development stage, or for the purpose of measuring performance of the specific vehicle at the design and development stage, or the like. For example, the update software for the test is distributed to a test vehicle and installed in a target ECU so as to configure software settings for a traveling test to be conducted on a test course or the like.
In software distribution based on a campaign, the campaign is created by registering campaign information specifying update software, the update software is distributed to a target vehicle 20 based on the registered campaign information and installed in an ECU. In the creation of the campaign, an operator (engineer, administrator, or the like) needs to specify the update software, but may erroneously select inappropriate software due to a human-caused error such as misreading of version information or an erroneous operation. A software distribution system according to each of the embodiments executes an “inappropriateness probability determination process” (described later) to prevent a campaign from being created based on such selection of inappropriate software as described above.
(1-1) Configuration of Software Distribution System 1
As depicted in
(1-1-1) Telematics Center 10
The telematics center 10 is a software distribution server (for example, a cloud server) and receives an instruction to distribute software from the terminal 30 via the network 40 and distributes the software to the vehicle 20. The telematics center 10 includes an arithmetic processing device 110, a storage device 120, and the communication section 130.
The arithmetic processing device 110 is constituted by a central processing unit (CPU), a random access memory (RAM), and the like, for example. The arithmetic processing device 110 executes a predetermined program, thereby enabling functions of the telematics center 10. The arithmetic processing device 110 includes a vehicle managing section 111, a campaign managing section 112, an update software distributing section 113, and a test plan managing section 114 as functional configurations of the arithmetic processing device 110. The test plan managing section 114 is a configuration according to a second embodiment and is not necessarily required in the first embodiment.
The vehicle managing section 111 manages information stored in a vehicle DB 121 included in the storage device 120 and a vehicle configuration DB 122 included in the storage device 120 and may register, change, and delete information stored in the vehicle DB 121 and the vehicle configuration DB 122 as needed.
The campaign managing section 112 manages campaign information stored in a campaign DB 123 included in the storage device 120 and may register, change, and delete campaign information stored in the campaign DB 123 in a process executed in the software distribution system 1.
The update software distributing section 113 extracts, from a software DB 124 included in the software device 120, update software appropriate for the vehicle 20 in accordance with a request from the vehicle 20 (or an update software requesting section 213) and distributes the extracted update software to the vehicle 20 via the communication section 130 and the network 40.
The test plan managing section 114 manages test plan information stored in a test plan DB 125 included in the storage section 120 and may register, change, and delete test plan information stored in the test plan DB 125 in a process executed in the software distribution system 1. The test plan information is described in detail in the second embodiment.
The storage device 120 is constituted by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, a read only memory (ROM), or the like, for example. In the storage device 120, in addition to a program to be executed by the arithmetic processing device 110, a data group necessary to execute the program, and the like are stored.
As depicted in
The vehicle DB 121 accumulates “vehicle information” constituted by information indicating a vehicle type, a usage status, a constraint upon software distribution, and the like for each of one or more vehicles 20. A specific example of the vehicle information is depicted in
The vehicle configuration DB 122 accumulates “vehicle configuration information” constituted by information to be used to manage types of ECUs installed in the vehicles 20 and versions of installed software, and the like. A specific example of the vehicle configuration information is depicted in
The campaign DB 123 accumulates “campaign information” constituted by information necessary for campaigns to be executed for the vehicles 20. The campaign information is constituted by information to be used to manage types of ECUs with software to be updated based on the campaigns, constraints upon the distribution of update software, the numbers of target vehicles for updates, and the like. A specific example of the campaign information is depicted in
The software DB 124 accumulates update software to be distributed to the vehicles 20 based on the campaigns and management information (update software information) of the update software. In the present specification, the “update software information” is merely referred to as “software information” in some cases.
The test plan DB 125 accumulates “test plan information” constituted by information necessary for a test plan to be conducted for a vehicle 20 (test vehicle) specific for a test.
The communication section 130 is constituted by a network card or the like that conforms to a communication standard used for the network 40 and is configured to transmit and receive data between the vehicle 20 and the terminal 30 via the network 40 based on various protocols. The network card conforms to a communication standard for wired communication via a wired LAN or the like, a communication standard for wireless communication via a wireless LAN or the like, or a communication standard for both wired and wireless communication.
(1-1-2) Vehicle 20
The vehicle 20 includes the software update device 210, the communication section 220, the navigation terminal 230, and various ECUs (including an engine ECU 241, an automated driving ECU 242, . . . ). The software update device 210, the communication section 220, the navigation terminal 230, and the ECUs of the vehicle 20 are connected to each other via an in-vehicle network such as a controller area network (CAN) or an Ethernet (registered trademark) network.
The software update device 210 includes an arithmetic processing device 211, a storage device 215, and a positioning device 216.
The arithmetic processing device 211 is constituted by a CPU, a RAM, and the like, for example. The arithmetic processing device 211 executes a predetermined program, thereby enabling functions of the software update device 210. The arithmetic processing device 211 includes a campaign confirming section 212, the update software requesting section 213, and an ECU software updating section 214 as functional configurations of the arithmetic processing device 211.
The campaign confirming section 212 makes an inquiry to the telematics center 10 with the start of an engine of the vehicle 20 as a trigger and confirms whether a campaign to update software for an ECU of the vehicle 20 exists.
When the campaign to update the software for the ECU of the vehicle 20 exists as a result of the confirmation by the campaign confirming section 212, the update software requesting section 213 requests the telematics center 10 update software based on the campaign and downloads the update software from the telematics center 10.
The ECU software updating section 214 uses the update software downloaded by the update software requesting section 213 to update the software installed in the target ECU for the update.
The storage device 215 is constituted by an HDD, an SSD, a flash memory, a ROM, or the like, for example. In the storage device 215, a program to be executed by the arithmetic processing device 211, a data group necessary to execute the program, and the like are stored.
The positioning device 216 is constituted by a global positioning system (GPS) sensor or the like, for example. The positioning device 216 acquires positional information (latitude information and longitude information) identifying a current position of the vehicle 20.
The communication section 220 is constituted by a network card or the like that conforms to the communication standard used for the network 40. The communication section 220 is configured to transmit and receive data to and from the telematics center 10 and the terminal 30 via the network 40 based on the various protocols. The network card conforms to the communication standard for wireless communication via a wireless LAN or the like, for example.
The navigation terminal 230 is constituted by a general car navigation device having a navigation function of guiding a current position of the vehicle 20 and guiding a route to a destination, during traveling of the vehicle 20, and a tablet terminal having the navigation function, or the like. The navigation terminal 230 includes an arithmetic processing device 231, a storage device 233, and an input and output device 234.
The arithmetic processing device 231 is constituted by a CPU, a RAM, and the like, for example. The arithmetic processing device 231 executes a predetermined operation program, thereby enabling the navigation function of the navigation terminal 230. The arithmetic processing device 231 includes an update information display section 232 as a functional configuration of the arithmetic processing device 231. The update information display section 232 causes the input and output device 234 to display a display screen based on the navigation function, a display screen based on information of the update software transmitted by the telematics center 10, and the like.
The storage device 233 is constituted by an HDD, an SSD, a flash memory, a ROM, or the like, for example. In the storage device 233, a program to be executed by the arithmetic processing device 231, a data group necessary to execute the program, and the like are stored.
The input and output device 234 is constituted by a touch panel, a keyboard, a mouse, or a combination thereof and functions as an input section and an output section (display section) for the navigation terminal 230 and the software update device 210.
In the vehicle 20 according to the embodiment, the software update device 210 and the navigation terminal 230 may be enabled by the same apparatus. The navigation terminal 230 may not be installed in the vehicle 20. For example, instead of the navigation terminal 230, a mobile terminal that has the same function as the navigation terminal 230 and is a smartphone, a tablet, or the like may be used. In this case, it is considered that the communication section 220 is installed near the mobile terminal, and the software update device 210 uses a connector such as on-board diagnostics (OBD) so that the software update device 210 communicates with the mobile terminal.
The engine ECU 241 manages an operation of the engine of the vehicle 20. The automated driving ECU 242 manages operational control of automated driving of the vehicle 20. As depicted in
(1-1-3) Terminal 30
The terminal 30 is a general-purpose computer, a mobile terminal such as a tablet or a smartphone, or the like and includes an arithmetic processing device 310, a storage device 320, an input and output device 330, and the communication section 340.
The arithmetic processing device 310 is constituted by a CPU, a ROM, and the like, for example. The arithmetic processing device 310 executes a predetermined operation program, thereby enabling functions of the terminal 30. The arithmetic processing device 310 includes a campaign information input and output section 311 as a functional configuration of the arithmetic processing device 310.
The campaign information input and output section 311 transmits information corresponding to the campaign information or the like to the telematics center 10 in response to an operation of the input and output device 330 by a user. The campaign information input and output section 311 causes the input and output device 330 to display information received from the telematics center 10.
The storage device 320 is constituted by an HDD, an SSD, a flash memory, a ROM, or the like, for example. In the storage device 320, a program to be executed by the arithmetic processing device 211, a data group necessary to execute the program, and the like are stored.
The input and output device 330 is constituted by a touch panel, a keyboard, a mouse, or a combination thereof and functions as an input section and an output section (display section) for the terminal 30 and the telematics center 10.
The communication section 340 is constituted by a network card or the like that conforms to the communication standard used for the network 40. The communication section 340 is configured to transmit and receive data to and from the telematics center 10 via the network 40 based on the various protocols. The network card conforms to the communication standard for wireless communication via a wireless LAN or the like, for example.
As described above, the terminal 30 may be enabled by the same apparatus as the telematics center 10. For example, in the case where the telematics center 10 includes the functions of the terminal 30, the telematics center 10 may include an input and output device corresponding to the input and output device 330 of the terminal 30, and the arithmetic processing device 110 may include the campaign information input and output section 311.
(1-2) Structures of Various Types of Data
Structures of various types of data stored in the DBs included in the storage device 120 of the telematics center 10 depicted in
The VINs 1211 are identifiers uniquely identifying the vehicles 20 and are vehicle identification numbers. The vehicle IDs 1212 are identifiers uniquely identifying types of the vehicles 20 (target vehicles 20 indicated in records of the vehicle information 1210) identified by the VINs 1211. The positions 1213 are positional information when engines of the target vehicles 20 are turned off last. Latitudes and longitudes of the positions 1213 are indicated in this order. The update dates and time 1214 are information indicating dates and time when the records of the vehicle information 1210 are updated.
The VINs 1221 are data common to the VINs 1211 of the vehicle information 1210 and are identifiers uniquely identifying the target vehicles 20.
The ECU-IDs 1222 are identifiers uniquely identifying the types of the ECUs installed in the target vehicles 20. The serial IDs 1223 are identifiers uniquely identifying the ECUs installed in the target vehicles 20. For example, as is apparent from the comparison of first and third rows of the data depicted in
The software versions 1224 are identifiers uniquely identifying software installed in the ECUs (specific ECUs installed in the target vehicles 20) identified in records of the vehicle configuration information 1220. The update dates and time 1225 are information indicating dates and time when the records of the vehicle configuration information 1220 are updated.
The campaign IDs 1231 are identifiers uniquely identifying campaign information.
The VINs 1232 are data common to the VINs 1211 of the vehicle information 1210 and the VINs 1221 of the vehicle configuration information 1220 and are information identifying vehicles 20 to which software is distributed upon campaigns in records.
The ECU-IDs 1233 are data common to the ECU-IDs 1222 of the vehicle configuration information 1220 and are information indicating types (ECU-IDs) of ECUs having software to be updated based on the campaigns in the records of the campaign information 1230.
The software IDs 1234 are identifiers identifying update software to be distributed based on the campaigns indicated in the records of the campaign information 1230. The software IDs 1234 correspond to software IDs 1241 of update software information 1240 exemplified in
The statuses 1235 are information indicating processing statuses (progress statuses) of the vehicles 20 identified by the VINs 1232. The update dates and time 1236 are information indicating dates and time when the records of the campaign information 1230 are updated.
For example, as indicated in a status 1235 included in a first row of the data depicted in
For example, as indicated in a status 1235 included in a second row of the data depicted in
In addition, for example, as indicated in a status 1235 included in a third row of the data depicted in
The software IDs 1241 are identifiers uniquely identifying the update software and are data common to the software IDs 1234 of the campaign information 1230 exemplified in
The file names 1242 are file names of the update software managed in records of the update software information 1240. The update types 1243 are update types of the update software. For example, when an update type 1243 indicates “differential”, the update type 1243 means that update software indicated by the update type 1243 is a differential file from a previous version of the update software. When the update type 1243 indicates “full”, the update type 1243 means that the update software is not the differential file but is a complete file (full file).
The previous versions 1244 are names of previous versions of the update software managed in the records of the update software information 1240. The subsequent versions 1245 are names of subsequent versions of the update software managed in the records of the update software information 1240. When a previous version 1244 or a subsequent version 1245 indicates “null”, the previous version 1244 or the subsequent version 1245 indicates that a previous version or a subsequent version does not exist. The file sizes 1246 are file sizes of the update software managed in the records. For example, in
The structures of the data stored in the DBs included in the storage device 120 of the telematics center 10 depicted in
(1-3) Processes Related to Campaigns
Next, processes related to the creation and execution of campaigns by the software distribution system 1 according to the first embodiment are described.
(1-3-1) Registration of Update Software
First, an engineer, an administrator, or the like operates the input and output device 330 of the terminal 30 and performs an operation of requesting the registration of update software. In this case, the update software to be registered and management information (corresponding to the software information 1240) on the update software are entered. The entered information may be stored in the storage device 320, for example.
Then, in step S101, the campaign information input and output section 311 of the terminal 30 requests the telematics center 10 to register the update software specified by the aforementioned operation. In this case, the update software and the management information are also transmitted from the terminal 30 to the telematics center 10.
The telematics center 10 receives the request provided in step S101, and the campaign managing section 112 (or the vehicle managing section 111) causes the received management information to be stored as software information 1240 of the update software in the software ID 124 (in step S111). In this case, the received update software is also stored in the software DB 124. In step S111, when the campaign managing section 112 determines that the registration of the update software is not accepted for a certain reason, the update software and the software information are not registered, and information indicating that the update software and the software information are not registered is treated as a result of registration. In step S112, the campaign managing section 112 (or the vehicle managing section 111) transmits the result of registering the update software information 1240 in step S111 to the terminal 30.
When the terminal 30 receives the registration result transmitted in step S112, the campaign information input and output section 311 of the terminal 30 causes the input and output device 330 to display the registration result (in step S102). Thus, the engineer, the administrator, or the like can confirm the result of registering the update software.
(1-3-2) Creation of Campaign
In the example depicted in
In
The telematics center 10 receives the inquiry made in step S201, and the vehicle managing section 111 and the campaign managing section 112 search for and extract information based on the inquiry (in step S211). For example, the vehicle managing section 111 searches for and extracts information on the vehicle 20 that has made the inquiry, and the campaign managing section 112 searches for and extracts the software information 1240, the campaign information 1230, and the like from the software DB 124 and the campaign DB 123. Then, in step S212, the vehicle managing section 111 and the campaign managing section 112 transmit the search results extracted in step S211 to the navigation terminal 230.
When the navigation terminal 230 receives the search results transmitted in step S212, the update information display section 232 causes the input and output device 234 to display the search results (in step S202). Past campaign histories and the like can be recognized by confirming the displayed search results.
Next, the engineer or the like enters (specifies) predetermined information necessary to create the new campaign on a predetermined screen (campaign creation screen) displayed on the update information display section 232. A specific example of the campaign creation screen is depicted in
When the telematics center 10 receives the request, provided in step S203, to create the new campaign (in step S213), the campaign managing section 112 executes the “inappropriateness probability determination process” of determining whether there is a probability that inappropriate update software, which is different from update software to be distributed based on the new campaign, has been selected (in step S214).
Details of the inappropriateness probability determination process are described with reference to FIG. 8. In the inappropriateness probability determination process, when the campaign managing section 112 determines that there is a probability that inappropriate software has been selected, the campaign managing section 112 does not create the new campaign and prepares an alert message. On the other hand, when the campaign managing section 112 determines that there is no probability that inappropriate software has been selected, the campaign managing section 112 creates the new campaign (by creating and registering campaign information 1230). In step S215, the campaign managing section 112 transmits a result of creating the new campaign based on the determination result of the inappropriateness probability determination process of step S214 to the navigation terminal 230 (in step S215).
When the navigation terminal 230 receives the creation result transmitted in step S215, the update information display section 232 causes the input and output device 234 to display the creation result (on the campaign creation screen) (in step S204). Specifically, when the campaign managing section 112 determines that there is a probability that inappropriate software has been selected in the inappropriateness probability determination process (in a route including step S227), the alert message indicating that there is a probability that inappropriate software has been selected is displayed and whether the new campaign is to be created is reconfirmed. On the other hand, when the campaign managing section 112 determines that there is no probability that inappropriate software has been selected (in a route including step S228), information indicating that the creation of the new campaign requested in step S203 has been completed is displayed. After the creation of the new campaign is completed, the telematics center 10 completes preparation for the distribution of the update software based on the campaign.
In
Next, the campaign managing section 112 sorts the records extracted in step S221 in order from the earliest update date and time and extracts campaign histories of the most recent N (N is an arbitrary integer of 2 or more) records (in step S222).
Then, the campaign managing section 112 calculates updated amounts of the software updated based on campaigns included in the campaign histories extracted in step S222 (in step S223). Specifically, the campaign managing section 112 extracts software information 1240 associated with software IDs 1234 of the campaign information 1230 from the software DB 124 and calculates the updated amounts of the software by referencing file sizes 1246 (differential sizes) of the extracted software information 1240. Then, the campaign managing section 112 calculates an average value A of the updated amounts, calculated in step S223, of the software updated based on the campaigns included in the campaign histories of the most recent N records (in step S224).
Then, the campaign managing section 112 calculates an updated amount D of the software when software distributed based on the last campaign (or the most recent campaign history) is updated to the update software to be distributed based on the new campaign specified last (in step S225).
Then, the campaign managing section 112 uses the average value A calculated in step S224 and the updated amount D calculated in step S225 to determine whether a relationship of “2A<D” is established (in step S226). When “2A<D” (YES in step S226), the process proceeds to step S227. When “2A D” (NO in step S226), the process proceeds to step S228. A requirement for determining whether “2A<D” in step S226 is an example of an index for determining whether an updated amount of software specified in a new campaign to be created is significantly different (or deviates) from an average updated amount of previous software (updated based on the most recent N campaigns). Another index based on this intent may be used.
In step S227, since the updated amount of the software specified in the new campaign is significantly different from the updated amount of the previous software, the campaign managing section 112 determines that there is a probability that inappropriate software has been selected. Thus, the campaign managing section 112 does not create campaign information 1230 on the requested new campaign and prepares the predetermined alert message indicating that there is a probability that inappropriate software has been selected.
On the other hand, in step S228, since the updated amount of the software specified in the campaign to be created is not significantly different from the updated amount of the previous software, the campaign managing section 112 determines that there is no probability that inappropriate software has been selected. Then, the campaign managing section 112 creates the campaign information 1230 on the requested new campaign and registers the created campaign information 1230 in the campaign DB 123.
After the process of step S227 or the process of step S228, the inappropriateness probability determination process is terminated. After that, the processes of step S215 and later of
In the inappropriate probability determination process depicted in
In any of the aforementioned cases, in the inappropriateness probability determination process according to the first embodiment, statistical information of updated amounts of software updated a number N of times in the past is compared with an updated amount of the software updated last, and when the predetermined requirement is satisfied, the campaign managing section 112 determines that there is a probability that inappropriate software has been selected due to an erroneous operation or the like. In this case, the registration (or the creation of a campaign) of the software updated last is suspended or rejected and the alert message is prepared. In addition, the “predetermined requirement” that is used for the aforementioned determination is not limited to the specific requirement or the like as far as the “predetermined requirement” is a requirement or threshold that enables the determination of whether an updated amount of software updated a number N of times in the past is significantly different from an updated amount of the software updated last.
On the campaign creation screen 1000 exemplified in
On the campaign creation screen 1000, a button 1002 that is selectable by an operator (engineer, administrator, or the like) is displayed under the display region 1001. As is apparent from the button 1002 on which “Create Campaign” is displayed, the button 1002 is selected when the creation of the campaign identified from the information displayed on the display region 1001 is requested.
When information necessary for the new campaign (current campaign) is entered in the display region 1001 and the creation of the campaign is requested by selecting the button 1002 on the campaign creation screen 1000, the inappropriateness probability determination process (of step S214 depicted in
In the display region 1003, results of comparing an updated amount of the software specified in the new campaign (current campaign) requested to be created with updated amounts of the software updated based on past campaigns are visually displayed.
As described using the route in which the answer to step S226 depicted in
In addition, on the campaign creation screen 1000, buttons 1004 and 1005 that are selectable by the operator (engineer, administrator, or the like) are arranged under the display region 1003. When the alert message is displayed on the display region 1003, any of the buttons 1004 and 1005 is operated by the operator to determine a response to the displayed alert.
Specifically, when the operator determines that inappropriate software has not been selected (or the specified update software is to be distributed based on the campaign) for the alert message displayed on the display region 1003 and indicating that there is a probability that inappropriate software has been selected, the operator selects the button 1004 on which “Yes” is displayed, and finally determines that the campaign is to be created based on currently input details. A process to be executed in this case is not depicted in
When the operator determines that inappropriate software has been selected (or the inappropriate software is not the update software to be distributed based on the campaign) for the alert message displayed on the display region 1003 and indicating that there is a probability that inappropriate software has been selected, the operator may select the button 1005 on which “No” is displayed, and finally determines that the campaign is not to be created based on current input details. A process to be executed in this case is not depicted in
As described with reference to
(1-3-3) Distribution of Update Software
First, the process of downloading the update software based on the created campaign is described with reference to
In
The telematics center 10 receives the inquiry made in step S302, and the campaign managing section 112 searches for campaign information 1230 stored in the campaign DB 123, confirms whether a record in which a VIN 1232 matches the VIN of the source vehicle 20 exists, thereby detecting whether the campaign exists (in step S311). Then, the campaign managing section 112 transmits a result (search result) of the confirmation executed in step S311 to the vehicle 20 (in step S312). Specifically, when the record in which the VIN 1232 matches the VIN of the source vehicle 20 exists in step S311, the campaign managing section 112 transmits, as the search result, campaign information 1230 included in the record. When the record in which the VIN 1232 matches the VIN of the source vehicle 20 does not exist in step S311, the campaign managing section 112 transmits the search result indicating that the campaign does not exist.
The vehicle 20 receives the search result from the telematics center 10 (in step S303), and the campaign confirming section 212 confirms whether the campaign exists based on the search result (in step S304). For example, the campaign confirming section 212 confirms whether campaign information 1230 is included in the search result. When the campaign information 1230 is not included in the search result, the campaign confirming section 212 determines that the campaign does not exist (NO in step S304). In this case, update software to be downloaded also does not exist, and the process is terminated. On the other hand, when the campaign information 1230 is included in the search result, the campaign confirming section 212 determines that the campaign exists (YES in step S304), and the update software requesting section 213 requests the telematics center 10 to provide update software identified from a software ID 1234 included in the campaign information 1230 (in step S305). The campaign found from the search result is hereinafter referred to as “execution campaign”.
When the telematics center 10 receives the request provided in step S305 (in step S313), the update software distributing section 113 extracts the requested update software (or update software based on the execution campaign) from the software DB 124 based on the specified software ID 1234 and transmits the extracted update software to the vehicle 20 (in step S314).
The update software transmitted in step S314 is received by the vehicle 20 and starts to be downloaded (in step S306), and data of the downloaded update software is accumulated in the storage device 215 (in step S307). When the download of the update software is completed, the campaign confirming section 212 notifies the completion of the download to the telematics center 10 (in step S308).
When the telematics center 10 receives (accepts) the notification of the completion of the download of step S308, the campaign managing section 112 updates a status 1235 of the campaign information 1230 of the execution campaign to “download completed” and rewrites the updated status 1235 to the campaign DB 123 (in step S315). After that, the campaign managing section 112 transmits, to the vehicle 20, a command to start the installation of the update software transmitted in step S314 (in step S316).
Then, when the vehicle 20 receives (accepts) the command, transmitted in step S316, to start the installation (in step S309), the campaign confirming section 212 of the vehicle 20 transitions to a standby state to wait for the start of the installation of the update software until the engine is stopped (OFF state). The campaign confirming section 212 can use information obtained from the engine ECU 241 to detect the stop of the engine. A process to be executed after the stop of the engine is depicted in
Next, the process of installing the update software based on the campaign is described with reference to
In
When the campaign confirming section 212 confirms that the execution campaign does not exist (NO in step S402), update software to be installed does not exist and the process is terminated. On the other hand, when the campaign confirming section 212 confirms that the execution campaign exists (YES in step S402), the campaign confirming section 212 notifies the telematics center 10 of the start of the installation of the update software (downloaded in the process depicted in
The telematics center 10 receives the installation start notification provided in step S403, the campaign managing section 112 updates the status 1235 of the campaign information 1230 of the execution campaign to “installing” and rewrites the updated status 1235 to the campaign DB 123 (in step S411).
In addition, the ECU software updating section 214 of the vehicle 20 that has transmitted the installation start notification executes the installation of the software in the target ECU and rewrites the storage device of the ECU (in step S404). After that, the ECU software updating section 214 receives the result (information indicating whether the update has been successful) of the installation from the target ECU and notifies the telematics center 10 of the information indicating whether the update has been successful (in step S405).
When the telematics center 10 receives the notification provided in step S405, the campaign managing section 112 updates the status 1235 of the campaign information 1230 of the execution campaign to “update completed” and rewrites the updated status 1235 to the campaign DB 123 (in step S412).
As described above, in the software distribution system according to the first embodiment, the distribution (download and installation) of update software based on a campaign is completed by normally advancing the processes depicted in
As described above, one of purposes of using a campaign is limited distribution of update software for a test vehicle in tests. A test at a trial phase of a design and development stage is among the tests and is not completed by updating software once in many cases. A series of tests are conducted at the trial phase while the software is updated multiple times in many cases. For example, a test vehicle travels on a test course in a test, while software of different versions is sequentially updated for the same ECU of the test vehicle. Then, a change in traveling performance of the vehicle is checked.
When the series of tests are treated as a single test plan, the distribution of update software of different types is executed multiple times. Thus, multiple campaigns need to be created and sequentially executed based on the progress of the test plan. In addition, since the order (consecutive test numbers) in which the tests are conducted and start positions in the tests are defined in some cases, information to be used to manage the test plan needs to include more detailed information than the campaign information described in the first embodiment.
Under the aforementioned circumstances, in the second embodiment, it is possible to prevent inappropriate update software from being registered due to an operational error for campaigns, like the first embodiment, and to manage the test plan using test plan information derived from the campaign information.
The second embodiment is described using the software distribution system 1 exemplified in
(2-1) Configuration of Test Plan Information
Test plan information 1250 exemplified in
The test plan ID 1251 is an identifier uniquely identifying a test plan and is derived from a campaign ID. In this example, a character string “Trial” is included in the test plan ID 1251 to distinguish the test plan ID 1251 from the campaign ID 1231 of the campaign information 1230. For example, in a first row of the data depicted in
The consecutive test numbers 1252 are information indicating the order in which individual tests included in the test plan (with the same test plan ID) are conducted.
The statuses 1253 are information indicating process statuses (progress statuses) of the tests indicated in records of the test plan information 1250. Each of the statuses 1253 indicates “completed” or “not distributed”.
The test start dates and time 1254 are information indicating dates and time when the tests indicated in the records of the test plan information 1250 are started. The test end dates and time 1255 are information indicating dates and time when the tests indicated in the records of the test plan information 1250 are ended. Planned information may be described in the test start dates and time 1254 and the test end dates and time 1255. Alternatively, the planned information may be described in the test start dates and time 1254 and the test end dates and time 1255 before the tests, and dates and time when the tests are actually conducted may be described in the test start dates and time 1254 and the test end dates and time 1255 when the tests are actually conducted.
The test vehicle VIN 1256 is information identifying the vehicle 20 to which update software is distributed in the tests indicated in the records and is data common to the VIN included in the various types of information described above. In this example, for the sake of simplicity, the single test vehicle (with the test vehicle VIN “9GJH”) is used. VINs of multiple test vehicles may be described.
The ECU-ID 1257 is information identifying the type of an ECU in which software is to be updated in the tests indicated in the records and is data common to the ECU-ID included in the various types of information described above.
The software IDs 1258 are information identifying the update software to be distributed in the tests indicated in the records and is data common to the software IDs 1241 of the software information 1240 depicted in
The test start positions 1259 are information indicating positions of the target vehicle at the start of the tests indicated in the records. For example, coordinates of a pit of the test course and the like are described in the test start positions 1259. The test start positions 1259 also indicate positions at which the installation of the update software to be distributed in the tests is permitted.
The update dates and time 1260 are information indicating dates and time when the records of the test plan information 1250 are updated (last).
(2-2) Process of Test Plan
Next, a process related to the creation and execution of the test plan in the software distribution system 1 according to the second embodiment is described.
The update software to be distributed in the test plan is registered in the software DB 124 by executing the process, described with reference to
(2-2-1) Creation of Test Plan
In
In
In step S501, the campaign information input and output section 311 of the terminal 30 requests the telematics center 10 to create a new test plan in response to the aforementioned entry operation. In this case, the detailed information, entered by the entry operation, of the test plan is transmitted to the telematics center 10.
The telematics center 10 receives the request provided in step S501, and the campaign managing section 112 (or the vehicle managing section 111) registers the requested test plan information by causing the received detailed information of the test plan to be stored as test plan information 1250 in the test plan DB 125 (in step S511). Then, in step S512, the campaign managing section 112 (or the vehicle managing section 111) transmits, to the terminal 30, a result (or a result of creating the test plan) of registering the test plan information 1250 in step S511.
In the aforementioned step S511, it is preferable to confirm that the test plan information requested to be registered does not include a defect and to register the test plan information 1250. For example, whether information corresponding to a specified test vehicle VIN, a specified ECU-ID, and a specified software ID is stored in the DBs of the storage device 120 is confirmed. Then, when the information is not stored as a result of the confirmation, the test plan information 1250 is not registered in step S511 and a creation result indicating that the test plan is not created in step S512 is transmitted.
When the test plan information is requested to be registered, the campaign managing section 112 executes the inappropriate probability determination process (refer to
Upon receiving the test plan creation result transmitted in step S512, the campaign information input and output section 311 of the terminal 30 causes the input and output device 330 to display the received test plan creation result (in step S502). By executing this, the operator such as the engineer can confirm the creation result of the requested test plan.
(2-2-2) Distribution of Update Software
First, the process of downloading the update software based on a created test plan is described with reference to
In
When the test plan has not yet to be received (YES in step S602), the campaign confirming section 212 makes an inquiry to the telematics center 10 about whether a test plan for the concerned vehicle 20 exists (in step S603). On the other hand, when the test plan has been received (NO in step S602), processes of steps S603 and S604 are skipped and the process proceeds to step S605.
The telematics center 10 receives the inquiry provided in step S603, and the test plan managing section 114 searches for test plan information 1250 stored in the test plan DB 125, confirms whether a record in which a test vehicle VIN 1256 matches the VIN of the source vehicle 20 exists, and detects whether the test plan exists (in step S611). Then, the test plan managing section 114 transmits a result (detection result) of the confirmation executed in step S611 to the vehicle 20 (in step S612). Specifically, when the record in which the test vehicle VIN 1256 matches the VIN of the source vehicle 20 exists in step S611, the test plan managing section 114 transmits test plan information 1250 of the record as the detection result. When the record in which the test vehicle VIN 1256 matches the VIN of the source vehicle 20 does not exist in step 611, the test plan managing section 114 transmits information indicating that the test plan does not exist as the detection result.
The vehicle 20 receives the detection result from the telematics center 10 (in step S604), and the campaign confirming section 212 confirms whether a next test number exists based on the detection result (in step S605). Specifically, the campaign confirming section 212 references consecutive test numbers 1252 and statuses 1253 of the received test plan information 1250 (including the detection result received in step S604). When a test number associated with a status indicating “not distributed” exists, the campaign confirming section 212 determines that the next test number exists (YES in step S605) and the process proceeds to step S606. In the determination of the next test number, whether current time is close to a date and time that are described in a test start date and time 1254 may be determined. When the test number associated with the status indicating “not distributed” does not exist or when the received test plan information 1250 does not exist, the campaign confirming section 212 determines that the next test number does not exist (NO in step S605). In this case, the update software is not distributed in accordance with the test plan and the process is terminated.
The update software requesting section 213 requests the telematics center 10 to provide update software associated with the next test number and identified by a software ID 1258 included in the record of the test plan information 1250 (in step S606). In the following description, the aforementioned received test plan is referred to as “execution test plan”.
When the telematics center 10 receives the request provided in step S606 (in step S613), the update software distributing section 113 extracts the requested update software (update software based on the execution test plan) from the software DB 124 based on the specified software ID 1258 and transmits the extracted update software to the vehicle 20 (in step S614).
The update software transmitted in step S614 is received by the vehicle 20 and starts to be downloaded (in step S607), and data of the downloaded update software is accumulated in the storage device 215 (in step S608). When the download of the update software is completed, the campaign confirming section 212 notifies the completion of the download to the telematics center 10 (in step S609).
When the telematics center 10 receives (accepts) the download completion notification provided in step S609, the test plan managing section 114 updates a status 1253 of the test plan information 1250 of the execution test plan to “download completed” and rewrites the updated status 1253 to the test plan DB 125 (in step S615). After that, the test plan managing section 114 transmits, to the vehicle 20, a command to start the installation of the update software transmitted in step S614 (in step S616).
When the vehicle 20 receives (accepts) the command, transmitted in step S616, to start to the installation of the update software (in step S610), the campaign confirming section 212 of the vehicle 20 transitions to a standby state to wait for the start of the installation of the update software until the engine of the vehicle 20 is stopped (OFF state). The campaign confirming section 212 may use information obtained from the engine ECU 241 to detect the stop of the engine. A process to be executed after the stop of the engine is depicted in
Update software is distributed before each of tests indicated by consecutive test numbers as described above. As another example of the process, however, update software may be distributed (downloaded) in units of test plans.
In this case, in the process depicted in
As described above, when all update software of multiple versions is collectively downloaded in units of test plans, the software can be quickly installed at appropriate time after the download, and an effect of reducing a time period for preparing a test can be expected. For example, it is possible to suppress a time period for waiting for the completion of download by downloading software during test traveling and to quickly start the installation of next software upon the stop of a test vehicle (or upon the stop of an engine of the test vehicle).
Next, a process of installing update software based on a test plan is described with reference to
In
Upon detecting the stop of the engine in step S701, the campaign confirming section 212 confirms whether a next test number exists (in step S702). For example, the campaign confirming section 212 references test plan information 1250 of a current test plan and confirms whether a next test number 1252 exists. When the next test number does not exist (NO in step S702), update software to be installed does not exist and the process is terminated.
On the other hand, when the next test number exists (YES in step S702), the campaign confirming section 212 causes the input and output device 234 to display information on a next test (in step S703).
A display screen of the input and output device 234 is described below. In step S703, the input and output device 234 displays a “test plan confirmation screen” exemplified in
In
The display regions 1101 to 1103 are provided to display information on a next test in a test plan and the like. Information described in the test plan information 1250 is mainly displayed on the display regions 1101 to 1103.
Specifically, details displayed on the display region 1101 can be acquired from a test vehicle VIN 1256 and an ECU-ID 1257. Details displayed on the display region 1103 correspond to a test plan ID 1251, a test number 1252, test start date and time 1254 and test end date and time 1255 (or a test time period), a software ID 1258, and the like. An “update type” and a “subsequent version” that are associated with the software ID and displayed on the display region 1103 can be acquired by referencing the software information 1240 (stored in the software DB 124) based on a software ID “APA_ver13_2”.
A position (test start position) at which a next test is started on the test course and a current position (vehicle position) of the test vehicle are indicated in the display region 1102. The test start position can be acquired from a test start position 1259 of the test plan information 1250. The vehicle position can be acquired from a position 1213 of the vehicle information 1210 stored in the vehicle DB 121. The operator such as the driver can simply recognize a current state by visualizing not only numerical data but also such information as indicated in the display region 1102 depicted in
A message that requests the operator (for example, the driver) to give a permission for the installation of update software is displayed on the display region 1104. As an answer to the message, the driver selects the button 1105 indicating “YES” or the button 1106 indicating “NO”, thereby giving a permission or non-permission for the installation of the update software. A message able to be displayed on the display region 1104 is not limited to the exemplary message depicted in
Return to the description of
In step S706, the campaign confirming section 212 confirms whether the current position of the concerned vehicle 20 (test vehicle) is located in a distance X from the test start position. The “distance X” defines a predetermined acceptable range from a start position strictly specified by a test start position 1259 of test plan information 1250. An appropriate distance is set as the distance X in advance. When the current position of the concerned vehicle 20 is located exceeding the distance X from the test start position (NO in step S706), the vehicle 20 is not at a position where the installation of the update software can be started, and the process is terminated. On the other hand, when the current position of the concerned vehicle 20 is located within the distance X from the test start position (YES in step S706), the process proceeds to step S707.
In step S707, the campaign confirming section 212 notifies the start of the installation of the update software in a target ECU to the telematics center 10. The telematics center 10 receives the installation start notification provided in step S707, and the test plan managing section 114 updates a status 1253 of the test plan information 1250 of the execution test plan to “installing” and rewrites the updated status 1253 to the test plan DB 125 (in step S711).
In the vehicle 20 that has transmitted the installation start notification, the ECU software updating section 214 executes the installation of the software in the target ECU and rewrites the storage device of the ECU (in step S708). After that, the ECU software updating section 214 receives the installation result (information indicating whether the update has been successful) from the target ECU and notifies the telematics center 10 of the received information indicating whether the update has been successful (in step S709).
When the telematics center 10 receives the notification provided in step S709, the test plan managing section 114 updates the status 1253 of the test plan information 1250 of the execution test plan to “completed” and rewrites the updated status 1253 to the test plan DB 125 (in step S712).
By normally executing the processes depicted in
As described above, the software distribution system 1 according to the second embodiment can use more detailed information (test plan information) than a normal campaign to manage the distribution of update software to an in-vehicle device for a test plan in which the distribution of the update software is to be executed multiple times.
For a test course on which such a test plan described above is conducted or the like, a test time period has been limited and test staff (or a driver or the like) with no expertise in software has needed to install update software in a test vehicle based on the progress of the test plan. For the problems, the software distribution system 1 according to the second embodiment gives the following effects.
First, in the second embodiment, a test plan is created before the start of a test, and software to be updated in accordance with the test plan can be collectively specified and registered (refer to
Next, in the second embodiment, after the test plan is generated, update software of multiple versions can be distributed (downloaded and installed) by the simple operations on the test course on which the test is actually conducted (refer to
For example, as depicted in
For example, as depicted in
As described above, in the second embodiment, software of multiple types or versions can be distributed by a simple operation on the test course or the like while a human-caused error is suppressed. Thus, it can be expected to prevent settings from being reconfigured due to an operational error and provide an effect of reducing a time period required for preparation for a next test.
In the second embodiment, a campaign other than a campaign based on a test plan is treated in the same manner as the first embodiment. Thus, only when it is determined that there is no probability that inappropriate update software has been selected in accordance with a request to create a new campaign, campaign information 1230 is created and registered and the new campaign is created, like the first embodiment. When it is determined that there is a probability that inappropriate update software has been selected, whether specified software is appropriate can be confirmed and examined by displaying the alert message (in the display region 1003) on the campaign creation screen 1000. The software distribution system 1 according to the second embodiment can prevent inappropriate update software from being distributed due to a human-caused error on a campaign.
The invention that is described in the first and second embodiments is applicable to not only a design and development process or a phase before sales but also Field Over The Air (OTA) after a vehicle is sold. For example, when a user of the vehicle selects and purchases software for the purpose of adding a function or turning the vehicle, update software may be distributed based on a campaign. By applying the invention to the campaign, an effect of suppressing selection of inappropriate software or selection of software that is not originally intended by an operator upon the creation of the campaign is obtained.
In addition, the invention is not limited to the aforementioned embodiments and includes various modified examples. For example, the embodiments are described in detail to clearly explain the invention and may not include all the aforementioned configurations. Furthermore, one or more of the configurations described in the embodiments may be added to, removed from, or replaced with one or more of the configurations described in the embodiments. For example, the telematics center 10 that is the software distribution server may include an input and output device having a display function, and the input and output device of the telematics center 10 may display the same screens (campaign creation screen and test plan confirmation screen) as those of the input and output device 330 of the terminal 30 and the input and output device 234 of the vehicle 20 (or the navigation terminal 230).
Some or all of the aforementioned configurations, functions, processing sections, processing units, and the like may be enabled by hardware by designing an integrated circuit. In addition, the aforementioned configurations, functions, and the like may be enabled by software by causing a processor to interpret and execute a program for enabling the functions. Information of the program for enabling the functions, the tables, files, and the like may be stored in a storage device such as a memory, a hard disk, or a solid state drive (SSD), or a storage medium such as an IC card, an SD card, or a DVD. In addition, control lines and information lines considered to be necessary for the description are depicted. Not all control lines and information lines in a product are necessarily depicted. Almost all the configurations may be considered to be connected to each other in practice.
Number | Date | Country | Kind |
---|---|---|---|
JP2018-146333 | Aug 2018 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
9201804 | Egyed | Dec 2015 | B1 |
20120174087 | Bentzien | Jul 2012 | A1 |
20120323402 | Murakami | Dec 2012 | A1 |
20140075197 | Alrabady et al. | Mar 2014 | A1 |
20160364232 | Moeller | Dec 2016 | A1 |
20170212746 | Quin | Jul 2017 | A1 |
20180260500 | Hati | Sep 2018 | A1 |
20200034140 | Arai | Jan 2020 | A1 |
20200042703 | Herman Saffar | Feb 2020 | A1 |
Number | Date | Country |
---|---|---|
5829839 | Dec 2015 | JP |
Entry |
---|
Extended European Search Report dated Jan. 3, 2020 for European Patent Application No. 19188099.6. |
Number | Date | Country | |
---|---|---|---|
20200042306 A1 | Feb 2020 | US |