Method and apparatus for multiple vehicle software module reflash

A system includes a processor configured to wirelessly receive update requests from a plurality of vehicles. The processor is also configured to, for each request, determine if any vehicle modules require updating. Also, the processor is configured to retrieve an updated version and sending the updated version to a vehicle for reflashing, for each module that requires updating. The processor is additionally configured to receive confirmation for each module that has been reflashed and update a vehicle configuration with a version identifier corresponding to the updated version for each reflashed module.

TECHNICAL FIELD

The illustrative embodiments generally relate to a method and apparatus for multiple vehicle software module reflash.

BACKGROUND

Many vehicles now include complex computing systems as part of their general builds. From infotainment systems to power-train control, computer software and hardware makes up an integral part of the vehicle infrastructure.

Like many other computer components (hardware or software), these systems can often benefit from updates. In many cases, this requires a flash of the memory, which is an overwrite of core software on non-volatile memory that typically cannot otherwise be changed. Since the software is often critical, it is important that these updates not be done in an ad hoc manner, and there are often relatively complicated (compared to simple software installation procedures) processes involved in re-flashing memory.

In many cases, the re-flash of certain components will require a trip to the dealership, to ensure the update is done properly. In other cases, the user may be provided with a series of instructions and steps to perform to properly perform the reflash. But, since software updates can be frequent, it can become somewhat of a hassle for a user to keep their system entirely up-to-date. Even more so when a fleet of vehicles is involved.

U.S. Application Publication 2005/0216902 generally relates to a system and method of managing a software configuration update of a vehicle. A first software module is identified and vehicle configuration data representative of a first vehicle software configuration is retrieved. A determination is made whether the first software module is compatible with the first vehicle software configuration at a call center. A second vehicle software configuration is sent from the call center to a telematics unit via a wireless network based on the determination. A computer usable medium with suitable computer program code is employed for managing the software configuration update of the vehicle.

U.S. Application Publication 2013/0031540, filed on Jul. 26, 2011, generally relates to a computer-implemented method that includes determining that a connection to an update server should be established. The method also includes establishing a wireless connection with the update server. The method further includes sending at least a VIN number to the update server and downloading one or more module updates corresponding to the sent VIN number. Also, the method includes verifying the one or more downloaded updates. The method further includes flashing one or more modules to which the one or more updates correspond. Additionally, the method includes verifying the functionality of each module which has been flashed.

U.S. application Ser. No. 13/206,615, filed Aug. 7, 2011, generally relates to a computer-implemented method including receiving a restore command to restore a vehicle computing system (VCS) system state. The method further includes restoring a base system state to a known, functional state and obtaining a list of applications previously installed on the VCS. The method also includes for each application previously installed on the VCS, finding a version of the application compatible with the restored base system state. Also, the method includes installing the version of each application compatible with the restored base system state.

SUMMARY

In a first illustrative embodiment, a system includes a processor configured to wirelessly receive update requests from a plurality of vehicles. The processor is also configured to, for each request, determine if any vehicle modules require updating. Also, the processor is configured to retrieve an updated version and sending the updated version to a vehicle for reflashing, for each module that requires updating. The processor is additionally configured to receive confirmation for each module that has been reflashed and update a vehicle configuration with a version identifier corresponding to the updated version for each reflashed module.

In another illustrative embodiment, a computer-implemented method includes wirelessly receiving update requests from a plurality of vehicles. The illustrative method also includes, for each request, determining if any vehicle modules require updating. The method additionally includes retrieving an updated version and sending the updated version to a vehicle for reflashing, for each module that requires updating. The method further includes receiving confirmation for each module that has been reflashed and updating a vehicle configuration with a version identifier corresponding to the updated version for each reflashed module.

In a third illustrative embodiment, a non-transitory computer readable storage medium stores instructions that, when executed by a processor, cause the processor to perform a method including wirelessly receiving update requests from a plurality of vehicles. The illustrative method also includes, for each request, determining if any vehicle modules require updating. The method additionally includes retrieving an updated version and sending the updated version to a vehicle for reflashing, for each module that requires updating. The method further includes receiving confirmation for each module that has been reflashed and updating a vehicle configuration with a version identifier corresponding to the updated version for each reflashed module.

DETAILED DESCRIPTION

In the illustrative embodiment 1 shown inFIG. 1, a processor3controls at least some portion of the operation of the vehicle-based computing system. Provided within the vehicle, the processor allows onboard processing of commands and routines. Further, the processor is connected to both non-persistent5and persistent storage7. In this illustrative embodiment, the non-persistent storage is random access memory (RAM) and the persistent storage is a hard disk drive (HDD) or flash memory.

In another embodiment, nomadic device53includes a modem for voice band or broadband data communication. In the data-over-voice embodiment, a technique known as frequency division multiplexing may be implemented when the owner of the nomadic device can talk over the device while data is being transferred. At other times, when the owner is not using the device, the data transfer can use the whole bandwidth (300 Hz to 3.4 kHz in one example). While frequency division multiplexing may be common for analog cellular communication between the vehicle and the internet, and is still used, it has been largely replaced by hybrids of with Code Domian Multiple Access (CDMA), Time Domain Multiple Access (TDMA), Space-Domian Multiple Access (SDMA) for digital cellular communication. These are all ITU IMT-2000 (3G) compliant standards and offer data rates up to 2 mbs for stationary or walking users and 385 kbs for users in a moving vehicle. 3G standards are now being replaced by IMT-Advanced (4G) which offers 100 mbs for users in a vehicle and 1 gbs for stationary users. If the user has a data-plan associated with the nomadic device, it is possible that the data-plan allows for broad-band transmission and the system could use a much wider bandwidth (speeding up data transfer). In still another embodiment, nomadic device53is replaced with a cellular communication device (not shown) that is installed to vehicle31. In yet another embodiment, the ND53may be a wireless local area network (LAN) device capable of communication over, for example (and without limitation), an 802.11g network (i.e., WiFi) or a WiMax network.

Also, or alternatively, the CPU could be connected to a vehicle based wireless router73, using for example a WiFi71transceiver. This could allow the CPU to connect to remote networks in range of the local router73.

In addition to having exemplary processes executed by a vehicle computing system located in a vehicle, in certain embodiments, the exemplary processes may be executed by a computing system in communication with a vehicle computing system. Such a system may include, but is not limited to, a wireless device (e.g., and without limitation, a mobile phone) or a remote computing system (e.g., and without limitation, a server) connected through the wireless device. Collectively, such systems may be referred to as vehicle associated computing systems (VACS). In certain embodiments particular components of the VACS may perform particular portions of a process depending on the particular implementation of the system. By way of example and not limitation, if a process has a step of sending or receiving information with a paired wireless device, then it is likely that the wireless device is not performing the process, since the wireless device would not “send and receive” information with itself. One of ordinary skill in the art will understand when it is inappropriate to apply a particular VACS to a given solution. In all solutions, it is contemplated that at least the vehicle computing system (VCS) located within the vehicle itself is capable of performing the exemplary processes.

U.S. Application Publication 2013/0031540, filed on Jul. 26, 2011, and U.S Application Publication 2013/0042231, filed Aug. 7, 2011, are commonly owned applications and the contents thereof are hereby incorporated by reference.

Vehicle modules such as PCM or TCMs often need to have their resident software upgraded or revised. Vehicle testing programs and retail field servicing actions incur large time and cost penalties if multiple vehicles or development platforms are manually re-flashed. Currently, in many cases each test vehicle/platform must be located, manually inventoried as to software level and hardware part number and manually re-flashed using a service or diagnostic tool.

The illustrative embodiments represent processes that may be executed simultaneously for a fleet of vehicles, which may individually differ in their module hardware and/or software configurations. Any individual reflash event may take place simultaneously with the rest of the fleet, depending on which vehicles connect to the server.

A secure OEM server stores software for production vehicle module flashing/reflashing, and may also be provided in a version hosting only development vehicle module software.

The illustrative embodiments described herein allow for reflashing of multiple fleet vehicles with multiple modules on each fleet vehicle. They provide for automatic documentation of entire flash events for a vehicle and immediate upload to the vehicle configuration database. Further, they allow for automatic detection of vehicle hardware configurations, communication of that configuration to a secure server, and assembly of package and secure transmission to a vehicle, aiding in ensuring that each vehicle is flashed according to its specific configuration. Since the vehicle initiates communication with the remote server to enact the embodiments, this provides additional security, as vehicles cannot be pinged to discover their individual IP addresses (making them vulnerable to hackers).

FIG. 2shows an illustrative process for updating multiple modules on a single vehicle. In a fleet example, a number of vehicles may simultaneously connect to a particular server and request simultaneous updates. In the illustrative embodiments, the vehicles contact the server for update purposes. Thus, whenever a vehicle is connected, the module information can be provided to the server and the server can compare this information to existing information (for consistency) and update any modules for the vehicle having the specific configuration relating to that particular vehicle.

In this illustrative example, the server receives a connection request from a vehicle201. Various validation processes may be implemented to ensure the request is a viable one, and once these are completed (if desired), then the server may acquire vehicle data203. Vehicle data can include, but is not limited to, module software versions, various component installations, etc. This can include identifiers for after-market components, as well as confirmation that various OEM installed components are still installed.

Although the remote server can keep a record of the configuration of a particular vehicle, it may still be useful to verify this configuration before proceeding with a module update. Once a software version has been received (and confirmed with stored data, if desired), the module version can be compared to a database containing the most recent module(s) for a vehicle of a particular configuration205.

If the module is current207, and no further modules remain209, the process can exit. If other modules remain for updating on a particular vehicle, the process can move to a next module213and repeat the check and update process for all remaining modules.

If a particular software module is not current, the process can send update data to the vehicle211and begin a remote reflash process. One example of this process is described in the incorporated 2013/0031540 reference. For each module that requires updating, this process can be repeated so as to fully (within constraints, such as time) update the vehicle upon connection.

Since a remote server can handle a number of these requests, fleet managers, as well as general consumers, can be assured that their software is reasonably up-to-date at any time a connection to the remote server can be established. This can help avoid the difficulties of tracking whether or not a new software version has been installed.

FIG. 3shows an illustrative process for simultaneously updating multiple modules. This illustrative example is similar to that ofFIG. 2, but it allows for faster updating because different modules on different busses can be updated simultaneously.

In this illustrative example (shown from the vehicle side), the process gathers data relating to installed components and software module versions301. Then, once sufficient data is present, and if a connection is present, the process connects to a remote server303so that the vehicle-related data can be sent305.

Once the remote server has received all of the appropriate vehicle data, a process such as that shown inFIG. 2can occur. In this instance, the process will aggregate and send the updates (as opposed to sending them and processing them one at a time), this will allow a vehicle with multiple modules on multiple busses to reflash those modules simultaneously.

The compiled update data will be received by the vehicle307and the vehicle will determine if multiple updates are needed, or if just a single module needs to be reflashed309. If only a single module needs flashing, the process will flash the single update311. The reflashed module will then receive a reset command337so that it leaves reprogramming state. Any unsuccessful flashes are also restored to their original state339, so as to not interfere with the operation of any vehicle systems. The process then updates the remote server on the successes and failures341.

If there are multiple updates, the process will check to see if there are modules on multiple busses, each of which needing updates317. If there are not, then the process will flash a single update to a module on a first bus321, and then, assuming that modules still remain343, the process will proceed to a next update345and repeat.

If there are multiple modules on multiple busses, the process will flash those modules at the same time335. Once completed, if there are remaining updates315, the process will continue with the next update(s)313. In this manner, a particular vehicle is reflashed in an efficient manner and most or all modules are updated to new versions. If any failed versions are reported, the process can attempt to update these versions again, or wait for a later time at which to try.