The present disclosure generally relates to vehicle log capturing. More specifically, the present disclosure relates to capturing vehicle logs from multiple nodes of a vehicle.
Vehicles have becoming more complex with the utilization of multiple controllers or electronic control units (ECUs) interconnected to provide various features such as navigation and communication. When a problem occurs, it may be difficult to pinpoint the route of the failure as one features may be enabled by various ECUs operating together and the root may be at any related ECU. Additionally, the vehicle may be remotely diagnosed via a server by uploading sending log data to the server. For instance, if a user cannot search points-of-interests (POIs) via a vehicle navigation system, the failure may be within any one or more of the software or hardware on the vehicle operating system, connectivity to the cloud, or within other components of the vehicle.
In one or more illustrative embodiments of the present disclosure, a vehicle, includes a first controller; and a second controller, wherein the first controller is programmed to responsive to detecting a failure, generate a failure event, identify the second controller as related to the failure event, identify logs of the first controller and second controller as related to the failure event, collect logs of the first controller, and transmit a failure message including a request for the logs of the second controller to the second controller, and the second controller is programmed to responsive to receiving the failure message from the first controller, collect logs of the second controller as requested, and send a request for a security token to a server, and responsive to receiving the security token from the server, upload the logs of the second controller, as collected using the security token, to the server, and send the security token to the first controller, and the first controller is further programmed to responsive to receiving the security token from the second controller, upload the logs of the first controller, as collected using the security token, to the server.
In one or more illustrative embodiments of the present disclosure, a log collecting system for a vehicle includes a first controller; a second controller; and a third controller, wherein the first controller is programmed to responsive to detecting a failure, generate a failure event based on an analytics library, identify the second controller and the third controller as related to the failure event, identify logs of the first controller, the second controller and the third controller as related to the failure event, collect logs of the first controller, and transmit a failure message including a request for the logs of the second controller and logs of the third controller to the second controller, the second controller is programmed to responsive to receiving the failure message from the first controller, collect logs of the second controller as requested, and send the request for logs of the third controller to the third controller, send a request for security token to a server, and responsive to receiving the security token from the server, upload the logs of the second controller as collected using the security token to the server, and send the security token to the first controller and the third controller, the third controller is programmed to responsive to receiving the request for logs, collect the logs as requested, and upload the logs of the third controller as collected using the security token to the server, and the first controller is further programmed to responsive to receiving the security token from the second controller, upload the logs of the first controller as collected using the security token to the server.
In one or more illustrative embodiments of the present disclosure, a vehicle system for collecting diagnostics data includes an infotainment controller; a gateway controller; and a telematics control unit (TCU), wherein the infotainment controller is programmed to: responsive to detecting a failure, generate a failure event based on an analytics library and assign a global event identification (GEID) to the failure event, identify the gateway controller and the TCU as related to the failure event, identify logs of the infotainment controller, the gateway controller and the TCU as related to the failure event, collect logs of the infotainment controller and associate the logs with the GEID, and transmit a failure message including the GEID, a request for the logs of the gateway controller and logs of the TCU to the gateway controller, the gateway controller is programmed to responsive to receiving the failure message from the infotainment controller, collect logs of the gateway controller as requested and associate the logs with the GEID, send the GEID and the request for logs of the TCU to the TCU, send a request for security token to a server, and responsive to receiving the security token from the server, upload the logs of the gateway controller as associated with the GEID to the server using the security token, and send the security token to the infotainment controller and the TCU, the TCU is programmed to responsive to receiving the request for logs, collect the logs as requested and associate the logs with the GEID, and upload the logs of the TCU as associated with the GEID to the server using the security token, and the infotainment controller is further programmed to responsive to receiving the security token from the gateway controller, upload the logs of the infotainment controller as associated with the GEID to the server using the security token.
For a better understanding of the invention and to show how it may be performed, embodiments thereof will now be described, by way of non-limiting example only, with reference to the accompanying drawings, in which:
As required, detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention that may be embodied in various and alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention.
The present disclosure generally provides for a plurality of circuits or other electrical devices. All references to the circuits and other electrical devices, and the functionality provided by each, are not intended to be limited to encompassing only what is illustrated and described herein. While particular labels may be assigned to the various circuits or other electrical devices, such circuits and other electrical devices may be combined with each other and/or separated in any manner based on the particular type of electrical implementation that is desired. It is recognized that any circuit or other electrical device disclosed herein may include any number of microprocessors, integrated circuits, memory devices (e.g., FLASH, random access memory (RAM), read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), or other suitable variants thereof) and software which co-act with one another to perform operation(s) disclosed herein. In addition, any one or more of the electric devices may be configured to execute a computer-program that is embodied in a non-transitory computer readable medium that is programmed to perform any number of the functions as disclosed.
The present disclosure, among other things, proposes a vehicle system for capturing logs from controllers. More specifically, the present disclosure proposes a vehicle system for collecting data logs from various controllers for diagnostic purposes.
Under current vehicle component diagnostic or trouble-shooting scheme, vehicle log may be collected from one or more relevant ECUs and sent to a remote server for diagnostic when an error is detected. Vehicle data logs may be uncoordinated and large in size under such scheme. Furthermore, it may be difficult for technicians to navigate through uncoordinated vehicle logs to find the root of a failure. The present disclosure proposes a flexible vehicle architecture that facilitates the capture and coordination across multiple vehicle ECUs for diagnostic purposes.
Each controller or ECU may act as a node under the present architecture. Each node may be configured to collect vehicle logs from any other node to root cause failures and improve quality and efficiency of the vehicle system. The framework of the present disclosure may include two key components—a diagnostic agent and a diagnostic master. The diagnostic agent may be a single instance residing on each node responsible for communicating with the master, collecting logs, and handling node specific information. The diagnostic master may be a single instance residing on a single node responsible for controlling what each agent should do one their respective nodes.
Referring to
As illustrated in
The computing platform 108 may also drive or otherwise communicate with one or more displays 112 and cameras 114 configured to provide visual output and input to/from vehicle occupants by way of a video controller 116. In some cases, the display 112 may be a touch screen further configured to receive user touch input via the video controller 116, while in other cases the display 112 may be a display only, without touch input capabilities. The computing platform 108 may also drive or otherwise communicate with one or more speakers 118 and microphones 120 configured to provide audio output and input to/from vehicle occupants by way of an audio controller 122.
The computing platform 108 may also be provided with navigation and route planning features via e.g. the HMI controls 110, and output planned routes and instructions via the speaker 118 and the display 112. Location data that is needed for navigation may be collected from a global navigation satellite system (GNSS) controller 124 configured to communicate with multiple satellites and calculate the location of the vehicle 102. The GNSS controller 124 may be configured to support various current and/or future global or regional location systems such as global positioning system (GPS), Galileo, Beidou, Global Navigation Satellite System (GLONASS) and the like.
The vehicle 102 may be configured to communicate with a remote server (a.k.a. cloud server or cloud) 126 via a wireless transceiver 128 through an access point 130 whenever available. The wireless transceiver 128 may be in communication with various wireless controllers (not shown) configured to support different communication protocols. For instance, the wireless transceiver 128 may be configured to support Wi-Fi, Bluetooth, radio-frequency identification (RFID), and/or near-field communication (NFC) compatible with the access point 130 to gain access to the remote server 126. Additionally or alternatively, the vehicle 102 may be further configured to communicate with the remote server 126 via a TCU 132 through a wireless network 134. The wireless network 134 may be in the form of various communication network e.g. a cellular network. It is noted that the terms access point and wireless network are used as general terms in the present disclosure and may include any computing network involving carriers, router, computers, controllers or the like configured to store data and perform data processing functions and facilitate communication between various entities. Furthermore, the term server 126 is also used as a general term in the present disclosure and may include any computing devices provided with processing, routing, storage capabilities configured to communicate with various entities and perform various operations.
The ECG 106 may be further configured to communicate with various ECUs configured to operate and control various features of the vehicle 102. For instance, The ECG 106 may be in communication with a body control module configured to control body operations such as doors and lights of the vehicle 102. The ECG 106 may be further configured to communicate with body control module 136 configured to control body features of the vehicle 102. The ECG 106 may be further configured to communicate with an autonomous driver controller 138 configured to control autonomous driving features of the vehicle 102. The ECG 106 may be further configured to communicate with a powertrain control module 140 configured to control powertrain operations such as motor and transmissions of the vehicle 102.
Referring to
The ECG 106, where the diagnostic master resides in the present example, may be further provided with an analytics agent 208 configured to receive and process analytics events generated by various ECUs and store the analytics data 210 in the storage 202a. The analytics agent 208 may be further configured to transmit events to the server 126 to further analysis. As discussed above, a diagnostic agent 212 may reside in each node of the vehicle 102 configured to perform ECU specific tasks such as collecting logs from the ECU at the time of or immediate before the failure and store the data as diagnostic data 214 in the storage 202 of each respective ECU. The diagnostic agent 212 may be further configured to collect and maintain a set of ECU specific metadata 204 used by both diagnostics and analytics to decorate events prior to delivering to the server 126. Each diagnostic agent 212 may be configured to upload its respective diagnostic events generated to the server 126 at the instruction of a diagnostic master 216. It is noted that depending on the specific configuration of each respective ECU, some ECUs may not be configured to communicate with the server 126 directly. Therefore, diagnostic agents 212 may be configured to individually or collectively upload to the server 126 via one ore more ECU having access to the server 126 such as the TCU 132 or the wireless transceiver 128. The diagnostic master 216 may reside only on a single ECU the same as the analytics agent at a given time. In the present example, the diagnostics mater 216 resides on the ECG 106. The diagnostic master 216 may be configured to arbitrate the upload of events by each ECU. The diagnostic master 216 may be further configured to maintain a master list of all diagnostic events that have been generated by each ECU and the current delivery status of each event. For connectivity security purposes, the diagnostic master 216 may be configured to collectively obtain an authentication token from the server 126 on behave of each diagnostic agent 212. The authentication token may used for authentications between each diagnostic agent 212 and the server 126.
The operations of the embodiment illustrated with reference to
Responsive to receiving the message from the diagnostic agent 212b of originating node 108, the diagnostic master 216 may determine which log requests should be directed to each ECU and transmit a log request message over the in-vehicle network 104 to inform each relevant node what to collect. In the present example, the diagnostic agent 212c of the TCU 132 will be notified to capture the requested logs and send the logs to the diagnostic master 216. The diagnostic agent 212c may further receive the parent GEID from the diagnostic master 216 to associate the logs collected to the GEID. Similarly, the diagnostic agent 212a of the ECG 106 may be instructed to collect the logs as requested and associate the logs with the same GEID. For the computing platform 108 where current event is originated from, the requested logs may be directly sent to the diagnostic master 216 without having to receive a request as the log requests originates from the same node. The logs from different nodes may be collectively uploaded to the server 126 for diagnosis via the diagnostic master 216. Additionally or alternatively, each diagnostic agent 212 may be configured to individually upload the logs as requested to the server responsive to the request for logs message. After the events is transmitted to the server 126, each event may contain the log data, as well as both the parent GEID and child GEID to allow the server 126 to associate the data.
Referring to
To send the logs to the server 126, each diagnostic agent 212 requires a security token for authentication purposes. The security token may be obtained collectively by the diagnostic master 216. At operation 316, the diagnostic master 216 send a request for security token to the server 126 and receives the security token at operation 318. At operation 320 and 322, the diagnostic master 216 sends the security token to the diagnostic agent 212 each respective node. responsive to receiving the security token, the diagnostic agents uploads the logs as collected to the server 126.
While exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms of the invention. Rather, the words used in the specification are words of description rather than limitation, and it is understood that various changes may be made without departing from the spirit and scope of the invention. Additionally, the features of various implementing embodiments may be combined to form further embodiments of the invention.
Number | Name | Date | Kind |
---|---|---|---|
8068951 | Chen et al. | Nov 2011 | B2 |
10395444 | Edren | Aug 2019 | B1 |
10600096 | McQuade | Mar 2020 | B2 |
20120053778 | Colvin | Mar 2012 | A1 |
20120136527 | McQuade | May 2012 | A1 |
20140324786 | Li | Oct 2014 | A1 |
20160350985 | McQuade et al. | Dec 2016 | A1 |
20170309094 | Farahat | Oct 2017 | A1 |
20180005199 | Abuelsaad | Jan 2018 | A1 |
20180050704 | Tascione | Feb 2018 | A1 |
20180131538 | Ando | May 2018 | A1 |
20180275667 | Liu | Sep 2018 | A1 |
20180276912 | Zhou | Sep 2018 | A1 |
20180365913 | Nix | Dec 2018 | A1 |
20190173902 | Takahashi | Jun 2019 | A1 |
20190236863 | Kwak | Aug 2019 | A1 |
20190268376 | Park | Aug 2019 | A1 |
20200057689 | Farahat | Feb 2020 | A1 |