Method and system for vehicle data file playback - Patents.com

By using playback tools to simulate sensor data and bypass abstraction layers, the method addresses the challenge of developing synthetic sensors in distributed systems, improving development efficiency and safety in vehicles.

JP2024534378AActive Publication Date: 2024-09-20BLACKBERRY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024516431
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-21
Filing Date
2022-09-14
Publication Date
2024-09-20
Estimated Expiration
2042-09-14

AI Technical Summary

Technical Problem

In distributed systems, particularly in vehicles with multiple sensors of different manufacturers and operating systems, developing and testing synthetic sensors is hindered by the need to create abstraction layers, which can cause errors and unsafe conditions in real-world environments.

Method used

A method and system that bypasses hardware and vehicle abstraction layers using playback tools to simulate sensor data, allowing for rapid prototyping and demonstration of synthetic sensors without the overhead of creating abstraction layers.

Benefits of technology

Enables rapid prototyping and demonstration of synthetic sensors, enhancing development efficiency and safety by simulating sensor data on computing devices, reducing the burden of generating abstraction layers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534378000001
    Figure 2024534378000001
Patent Text Reader

Abstract

1. A method in a computing device, the method including: receiving sensor data from a data source at the computing device; converting the sensor data into transformed data at a playback tool on the computing device, thereby bypassing an abstraction layer at the computing device; and providing the transformed data to at least one synthetic sensor on the computing device, each of the at least one synthetic sensor providing insight into operation of the computing device.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims the benefit of U.S. Application Serial No. 17 / 480,801, filed September 21, 2021. The disclosure of the prior application is deemed to be part of (and is incorporated by reference into) the disclosure of this application.

[0002] FIELD OF THE DISCLOSURE The present disclosure relates to distributed systems, and more particularly, to data file playback in distributed systems. [Background technology]

[0003] Modern vehicles have many sensors. However, such sensors may be distributed among various computing nodes on the vehicle, and each computing node may have access to zero, one, or more sensor drivers. Such sensor nodes may even have different manufacturers and operate using different operating systems. Similarly, other distributed systems may have multiple nodes where the nodes need to communicate with each other.

[0004] A sensor or a group of sensors can be used to generate information that can be useful for one or more applications. Such information is referred to herein as insight.

[0005] However, for prototyping and safety reasons, development may need to occur separate from the actual vehicle. Summary of the Invention [Means for solving the problem]

[0006] The present disclosure may be better understood with reference to the drawings. [Brief description of the drawings]

[0007] [Figure 1]FIG. 1 is a block diagram illustrating an example computing node in a computer system.

[0008] [Diagram 2] FIG. 2 is a block diagram illustrating a first simplified playback architecture.

[0009] [Diagram 3] FIG. 3 is a block diagram illustrating a second simplified playback architecture.

[0010] [Figure 4] FIG. 4 is a block diagram illustrating a third simplified playback architecture.

[0011] [Diagram 5] FIG. 5 is a process diagram illustrating the use of a playback tool in a computing device.

[0012] [Figure 6] FIG. 6 is a block diagram of a simplified computing device that may be used with embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] The present disclosure provides a method in a computing device, the method including receiving, at the computing device, sensor data from a data source; converting, at a playback tool on the computing device, the sensor data into transformed data, thereby bypassing an abstraction layer on the computing device; and providing the transformed data to at least one synthetic sensor on the computing device, each of the at least one synthetic sensor providing insight into operation of the computing device.

[0014] The present disclosure further provides a computing device comprising a processor and a communication subsystem, the computing device configured to receive sensor data from a data source, convert the sensor data into transformed data in a playback tool on the computing device, thereby bypassing an abstraction layer in the computing device, and provide the transformed data to at least one synthetic sensor on the computing device, each of the at least one synthetic sensor providing insight into operation of the computing device.

[0015] The disclosure further provides a computer-readable medium for storing instruction code that, when executed by a processor of a computing device, causes the computing device to receive sensor data from a data source, convert the sensor data into transformed data in a playback tool on the computing device, thereby bypassing an abstraction layer in the computing device, and provide the transformed data to at least one synthetic sensor on the computing device, each of the at least one synthetic sensor providing insight into operation of the computing device.

[0016] In modern vehicles, information from one or more physical sensors may be processed to generate "insights" that may be useful in the system. Such one or more physical sensors and their associated processing may be logically referred to as a microservice or synthetic sensor (SS). The terms microservice and synthetic sensor are used interchangeably herein.

[0017] Synthetic sensors may exist in other types of applications, including, but not limited to, medical applications, manufacturing applications, Internet of Things applications, among others, and the present disclosure is not limited to vehicle applications, a vehicle application being provided below for illustrative purposes.

[0018] Insight is a term used herein to describe any computer-generated interpretation of basic sensor data. Insights can be as simple as data aggregation or correlation, or as complex as artificial intelligence and machine learning. For example, a temperature sensor providing high and low baseline values ​​for notifications can be considered an "insight." For location services, geofencing is an insight. For cameras, occupant recognition can be an insight. The use of a combination of sensors such as a temperature sensor and a camera can be used with an artificial intelligence model to determine if a car seat is occupied in a hot vehicle, which can be an insight. Many other examples of insights are possible.

[0019] In one embodiment, vehicle applications can be implemented in a system that provides consistent access to vehicle data and intelligent insights in a manner that is familiar and accessible to the developer community. Such an environment can enable cloud developers to extend their reach to the edge within the vehicle through the development of synthetic sensors that derive intelligent insights on vehicle data using common cloud development techniques and paradigms. Such an environment can provide consistent access to vehicle data, whereby synthetic sensors can be written and deployed to a broad vehicle base without bespoke customization.

[0020] Insights may be generated based on processors executing on a first facility or domain, but they often need to be shared with authorized software modules executing in external domains. The first domain controls the installation and communication of modules within it and is therefore able to determine their identity and authorization. However, the first domain has no such control in other domains.

[0021] For example, one external domain may be an in-vehicle infotainment (IVI) system in an automobile that may run applications that access insights and provide information to the driver.

[0022] However, prior to deploying such a system in the real world, it may be desirable to play back data files within the system, for example, as a simulation. This may be for a variety of factors including safety reasons, rapid prototyping, or demonstration of the system to potential customers, developers, partners, or others.

[0023] For example, deploying a new synthetic sensor into a real-world environment may require the development of an abstraction layer to integrate the sensor into the system, and may require data to be obtained from the system to ensure that the system is operating correctly, potentially causing errors or unsafe conditions in the vehicle.

[0024] Furthermore, to demonstrate the functionality of the composite sensor or multiple composite sensors to a user audience, this becomes difficult in a real vehicle.

[0025] (Exemplary Vehicle System)

[0026] The present disclosure will be described with respect to an automotive system with nodes, however, that is provided merely for illustrative purposes and the methods and systems described herein may be equally used with any other system.

[0027] For example, reference is now made to Figure 1, which illustrates node 110. As used herein, a node may be one or a group of electronic control units, central processing units, or kernel controls, among other options, and may be considered a single computing unit.

[0028] 1, node 110 includes a service manager 120 that can interact with drivers for sensors to which the node is connected. For example, node 110 may have access to a location sensor, such as a Global Positioning System (GPS) chipset, as shown in block 122.

[0029] To enable node 110 to interact with modules on other nodes and to functionally comprise a computing system, a Hardware Abstraction Layer (HAL) may be provided on node 110, which includes HAL services 130. Each HAL service 130 is responsible for integrating sensors and provides various functions including integrating into lower layer sensors, normalizing sensor data; and / or may provide a barrier between secure certified and non-certified software, if required. Other functions for HAL services are also possible.

[0030] In the example of FIG. 1, the HAL is provided for camera information, as shown in block 132 .

[0031] 1 shows node 110 with a single service and a single HAL, that is provided for illustrative purposes only. Node 110 may have a single service with no HAL, a single HAL with no service, multiple services with no HAL, multiple HALs with no services, multiple HALs with no services, and / or a combination of services and HALs.

[0032] One example of a system that may use node 110 would be an application development environment for vehicles. Such an application development environment may develop applications for user experience including comfort, navigation, infotainment; applications for safety, fleet management; applications for performance monitoring, among others; or other such applications for the vehicular environment. In particular, vehicles provide multiple sensors, and different makes, models, or brands may use different sensors with different data formats or values, and generate fragmented sensor measurements in response to such sensors. This fragmentation impedes the promotion of an application ecosystem that utilizes vehicle data. In addition, low-level sensor data is often too fine-grained to be easily useful for applications.

[0033] In this regard, a hardware abstraction layer can be used to provide a hardware independent sensor interface / abstraction that can encapsulate interactions with underlying sensor drivers. The use of hardware abstraction in various computing nodes can create a platform that is scalable, provide barriers between modules, and enforce that, for example, a security authentication system is separate from other systems, among other options.

[0034] Applications do not directly interact with the sensor hardware to access sensor data, but instead, they leverage the Hardware Abstraction Layer. This separation provides a clear distinction between the concerns of the HAL (sensor integration and normalization of sensor data) and other abstractions, such as the Vehicle Abstraction Layer (VAL), which is used to manage access to vehicle data and provide value-added insights.

[0035] Specifically, insights may leverage sensor data from multiple HALs to provide vehicle abstractions and value-added insights. Vehicle insight services in VAL may control access to vehicle data in a normalized form and provide value-added inference. Examples of insight services may include, among others, a location service that may provide coordinate location data in a consistent format and insights such as geofencing; a seat service that may provide a myriad of seat information such as belt status, weight, location, child lock status, etc.; a camera service that may provide video streams for in-car cameras and possibly functions such as conversion and / or cropping; a battery service that may provide insights and access to batteries such as charge state / consumption / projected time remaining / projected range, etc.; and a door service that may provide abstractions regarding vehicle doors and door status.

[0036] Insight services may leverage sensor data from multiple HALs to provide vehicle abstraction and value-added insights. Higher level insights on data enable application developers to create future automotive experiences. Insight is a term used to describe any value-added interpretation of basic sensor data. Insights can be as simple as data aggregation or correlation or as complex as artificial intelligence and machine learning. For example, for a temperature sensor, providing high and low water marks for notifications may be considered an "insight." For a location service, geofencing is an insight, and for a camera, occupant recognition may be considered an insight.

[0037] A node with services and a HAL manager as illustrated in Figure 1 is therefore required for such an application development environment. Node 110, in many systems, is required to communicate with other nodes, such as other ECUs, CPUs, or computing systems, which may use a different operating system than that of node 110.

[0038] However, when developing, testing, or demonstrating a synthetic sensor, the overhead of creating an abstraction layer between the real-world sensor data and the synthetic sensor can be burdensome and stall development. In this regard, a playback mechanism can be used to bypass the hardware and vehicle abstraction layers, such as a playback mechanism can be used for prototyping or demonstrating the synthetic sensor.

[0039] (Demonstration and prototyping tools)

[0040] According to embodiments of the present disclosure, playback of data related to vehicle operation, and in particular, playback of data related to synthetic sensors within a vehicle, can be accomplished utilizing data sources that provide information to various abstraction layer playback tools within edge nodes, as described, for example, with respect to Figures 2, 3, and 4.

[0041] Reference is now made to Figure 2, which shows a simplified architecture diagram for a first playback architecture. In the example of Figure 2, the data source 210 may be any computer system or database in some embodiments. For example, the data source may include sample video clips stored in a database, data regarding specific sensors such as sample temperature measurements for a simulation of the interior of a vehicle, correlations between sample routes driven and battery levels in an electric vehicle, among other such data.

[0042] In other embodiments, data sources 210 may be real sensors that provide feedback, for example through a communications subsystem, to a computer node running a synthetic sensor. For example, data sources 210 may include cameras that are otherwise connected to a real vehicle providing feedback to a playback system, and sensors such as temperature sensors may be connected, for example, through a USB or short-range communications port, to a computer running an edge node. Other options for data sources 210 are possible.

[0043] 2, data source 210 includes vehicle energy dataset (VED) data 212, which is the name given to data collected in 2016 / 2017 from 383 private vehicles in Ann Arbor, Michigan. VED data 212 is provided to edge node 220, which performs a synthetic sensor simulation. In particular, edge node 220 includes a service software development kit (SDK) 230 that includes various hardware abstraction layers and a vehicle abstraction layer.

[0044] In the example of Figure 2, a Global Positioning System (GPS) HAL service 232 may be provided within the services SDK 230. As provided above, the HAL service may be responsible for integrating sensors and provide various functions including integrating into underlying data, normalizing sensor data; and / or providing a barrier between secure certified and non-certified software, if required. Other functions for the HAL service are also possible. This disclosure is not limited to the use of any particular HAL service and GPS HAL service, and is provided for illustrative purposes only.

[0045] 2, the GPS HAL service 232 may convert the VED data into a data type, format, rate, etc. suitable for the particular synthetic sensor. Such data is then provided to the location VAL service 234, which manages access to the vehicle data and is used to provide value-added insights.

[0046] Specifically, as provided above, insights may leverage sensor data from multiple HALs to provide vehicle abstraction and value-added insights. A vehicle insights service within the VAL may control access to vehicle data in a normalized form and provide value-added inference.

[0047] However, in other embodiments, the hardware abstraction layer may not be written for a particular sensor or sensor type, which, as noted above, can lead to significant development delays to write the abstraction layer in a particular format, based on coding rules and requirements for distributed systems.

[0048] In this regard, if an abstraction layer does not exist, the playback tool 236 may be used to bypass the abstraction layer. The playback tool as used herein may be a lightweight and extensible module that can be programmed for the particular data sources (sensors) and synthetic sensors for which it utilizes data. In this manner, the playback tool provides a mechanism for easily plugging in new sensors and synthetic sensors and prototyping or demonstrating the environment.

[0049] In the example of FIG. 2, the playback tool 236 includes a sensor module 238 that is illustrated as utilizing the OpenXC format. However, the OpenXC format is provided for illustrative purposes only, and any formatting of the data source may be utilized for playback. The sensor module 238 is designed to take input from a particular data source and provide output in a particular format designed for the synthetic sensor. For example, this may include sampling rate, data format type, normalization of the sensor data, among other factors. Because the data type, formatting, mileage, and other information from the data file or known sensor is known to the developer for the playback module 238, and because the data formatting, rate, normalization, and other information required by the synthetic sensor is known to the developer, the module 238 may be easily generated.

[0050] Additionally, the module 238 may have variables, transformation algorithms, filters, sampling rates, or other parameters that may be set at run-time. This may be done for performance optimization of the synthetic sensor 240 for rapid testing of the synthetic sensor. As will be appreciated by those skilled in the art, such parameters may then ultimately be used to generate a hardware abstraction layer and a vehicle abstraction layer for the system for a particular sensor type, and by having such a capability for playback, this may improve and accelerate the task of generating the abstraction layers.

[0051] 2, synthetic sensor 240 is a driver behavior synthetic sensor. This is provided merely for illustrative purposes and other types of synthetic sensors may also be used with embodiments of the present disclosure.

[0052] A location service client 242 resides in the synthetic sensor harness 241. The location service client 242 may query and obtain location data, if present, from the location VAL service 234. This location data may then be provided to a driver behavior module 244.

[0053] Alternatively, if the playback module 238 is used, the data may be inserted directly into modules within the synthetic sensor 240 that require such data, thereby bypassing the hardware abstraction requirement.

[0054] The driver behavior module 244 can use the machine learning module 246 to derive insights regarding driver behavior and provide such insights back to the driver behavior module 244. Based on the driver behavior module 244 compiling such data, a driver behavior proxy 248 can receive the data.

[0055] The driver behavior proxy 248 may provide such data to an insight consumer 250. For example, the insight consumer 250 may be a dashboard driver behavior display 252 that may provide a visual display regarding the driver behavior. In other cases, the insight consumer 250 may be an insurance company that has a contract with the driver to obtain driver behavior information. Other options for the insight user 250 are also possible.

[0056] In the case of a simulation, the insight consumer 250 may be another program connected to the edge node 220 to provide feedback to a user or target audience, for example, through a visual display, a data stream, among other options.

[0057] In some embodiments, control over starting and stopping of various synthetic sensors may be desirable. In this case, trigger and lifecycle services may be provided within the computing device. Reference is now made to FIG.

[0058] In the embodiment of FIG. 3, the data source 310 may be a database or computer file that includes information about one or more sensors that may be provided to the computing device 320. For example, in the embodiment of FIG. 3, the data script file 312 may include a localization data OpenXC file 314. As will be appreciated by those skilled in the art, an OpenXC file is an automotive application program interface (API) that is a proposed open standard for communication between various hardware elements. Thus, the simplified example of FIG. 3 provides a localization-based behavior service, with the localization data being provided through the openXC file 314.

[0059] Data 314 from the OpenXC file may be provided to a services SDK 324 on the computing device 320, and more specifically, to a GPS HAL service 325. The services SDK 324 resides within a first operating system 322 that is simulated on the computing device 320. For example, in some embodiments, the first operating system may be a BlackBerry® QNX operating system; however, other operating systems may equally be used.

[0060] A Global Positioning System (GPS) HAL service 325 may be provided within the services SDK 324. As provided above, the HAL service is responsible for sensor integration and provides various functions including integration into underlying sensors, normalization of sensor data; and / or may provide a barrier between secure certified and non-certified software, if required. Other functions for the HAL service are also possible. This disclosure is not limited to the use of any particular HAL service and GPS HAL service, and is provided for illustrative purposes only.

[0061] 3 embodiment, the GPS HAL service 325 converts the location data OpenXC information into a suitable data type, format, rate, etc. for the particular synthetic sensor. Such data is then provided to the location VAL service 326, which uses such data to manage access to the vehicle data and provide value-added insights.

[0062] In cases where an abstraction layer does not exist, a playback tool 328 may be used to bypass the abstraction layer. The playback tool 328, similar to the playback tool 238 in the embodiment of Figure 2, may be a lightweight, extensible module that can be programmed for the particular data sources (sensors) and synthetic sensors for which it utilizes data. In this manner, the playback tool provides a mechanism for easily plugging in new sensors and synthetic sensors and prototyping or demonstrating the environment.

[0063] In the example of FIG. 3, the playback tool 328 includes a sensor module 329 that is illustrated to utilize the OpenXC format. However, the OpenXC format is provided for illustrative purposes only, and any formatting of the data source may be utilized for playback. The sensor module 329 is designed to take input from a particular data source and provide output in a particular format designed for the synthetic sensor. For example, this may include sampling rate, data format type, normalization of the sensor data, among other factors. Because the data type, formatting, mileage, and other information from the data file or known sensor is known to the developer for the playback tool 328, and because the data formatting, rate, normalization, and other information required by the synthetic sensor is known to the developer, the playback tool 328 may be easily generated.

[0064] Additionally, the playback tool 328 may have variables, transformation algorithms, filters, sampling rates, or other parameters that may be set at run-time. This may be done for performance optimization of the synthetic sensor 340 for rapid testing of the synthetic sensor. As will be appreciated by those skilled in the art, such parameters may then ultimately be used to generate a hardware abstraction layer and a vehicle abstraction layer for the system for a particular sensor type, and by having such a capability for playback, this may improve and accelerate the task of generating the abstraction layers.

[0065] When the location VAL service 326 is provided with new information from the abstraction layer in the SDK services 324, it may trigger a trigger service 332 in the synthetic sensor and insight library 330. Such a trigger service may then cause the lifecycle services 334 to start a runtime on the behavior characteristic synthetic sensor 340. In particular, the synthetic sensor 340 may have a runtime library 344 that includes the library 342 and may be started by the lifecycle services 334.

[0066] The runtime 344 may include location information received from the service SDK and provide such location information to a location in the task processing or block 346. The location task block 346 may communicate with a machine learning block 348, which may also obtain data from a static data store 350 to determine behavioral characteristics.

[0067] The machine learning module 348 may further communicate with a machine learning service client 352 for controlling the machine learning module 348 .

[0068] If there is no hardware abstraction layer for a particular sensor, the playback tool 328 may be used. In this case, the output from the sensor module 329 may be inserted directly into the synthetic sensor 340. This is shown, for example, as data being input directly into the location task 346. This provides a trigger when new data is available, starting the lifecycle and avoiding the architecture of running the synthetic sensor. In practice, the synthetic sensor 340 may be set to run constantly for demonstration or prototyping, thereby negating the need for trigger and lifecycle services for sensors that do not yet have an abstraction layer written for them.

[0069] The localization task 346 may further feed the insights to an insight broker 360. The insights are fed into the simulator as a closed loop to have reconciliation of the data from the test perspective. In particular, the insight broker 360 may provide a loop back to the trigger service 332 to control the triggering of the synthetic sensor 340. The insight broker 360 may further communicate with insight consumers, as described below.

[0070] The machine learning manager 362 may be part of the synthetic sensor and insight library 330 and control the machine learning service client 352.

[0071] 3, a second operating system 370 may reside on the computing device 320. For example, the computing device 320 may simulate an Android® operating system to replicate an Android® in-vehicle infotainment (IVI) system. However, other operating systems and applications may equally be simulated.

[0072] The operating system 370 includes an application development library 372 that includes a bridge 374 that can be used to communicate between the first operating system and the second operating system. In particular, the insight broker 360 can communicate with the bridge 374.

[0073] Once the data is received through the bridge 374 on the operating system 370, the data may be provided to an application 376. As indicated above, one example of an application may be an IVI application on a vehicle, which includes a user interface 378 that may be used to display information based on insights obtained from synthetic sensors within the first operating system.

[0074] Thus, the embodiment of Figure 3 provides a simple, open, adaptable, and extensible simulator that uses modules typically found on a vehicle to control the simulation of data and can utilize trigger services, lifecycle services, and insight broker services to simulate the operation of those modules. The data can be in any format, including an open API such as the OpenXC format, which can then be transformed through one or more abstraction layers into data suitable for synthetic sensors.

[0075] A more detailed architecture is shown with respect to Figure 4. The architecture of Figure 4 is provided with an example of an electric vehicle (EV) simulation that provides mileage expert output to a user interface. However, that is just an example and other options for the architecture are possible.

[0076] 4, the data source 410 may include multiple data script files 412. These may include an initial data file 414, which may include various criteria such as destination location, USB or Wi-Fi status, screen status, and HVAC status, among other options. In one embodiment, the initial data 414 may utilize the OpenXC protocol.

[0077] Other data that may be present in the data script file 412 may include electric vehicle data 416. For example, it may include the battery status as the vehicle travels along the simulated route.

[0078] The additional data may include video data 418. Such video data may be used for tasks such as driver identity verification, as described below.

[0079] Further data in the data source 410 may include location data 420, which in some embodiments may be in the OpenXC file format, although other file formats are possible.

[0080] 4, the data source may be part of or separate from the computing device 430. The computing device 430 may have a first operating system 432, which may simulate such a first operating system. For example, the first operating system may be the BlackBerry® QNX operating system in some embodiments. However, other options for the first operating system 432 are possible.

[0081] Within the first operating system 432, a playback tool 433 may be present. The playback tool 433 may be used to convert data from sensors that do not have an abstraction layer written for such sensors. As will be appreciated by those skilled in the art, writing abstraction layers including HAL and VAL is time consuming, and therefore the playback tool 433 may be used to bypass such abstraction layer generation for prototyping purposes. In particular, the playback tool 433 provides a lightweight and adaptable tool to allow different sensors (whether real or virtual) to be plugged into the computing device 430 without the need to write such abstraction layers, thus increasing the speed to prototype and test synthetic sensors or provide demonstrations to intended users utilizing such synthetic sensors.

[0082] In the embodiment of FIG. 4, the playback tool 433 includes an EV OpenXC module 434 to receive EV data from the EV data source 416 .

[0083] The simulator 433 may further include a converter 436, for example, to convert the video data 418. The converter 436 may thus convert one file format to a second file format, such as, for example, from MP4 to JPEG, among other options. In some embodiments, rather than converting to a particular data format, the converter 436 may convert the file into a mathematical matrix, for example, for direct input to a machine learning or artificial intelligence module in the synthetic sensor.

[0084] Output from the converter may be provided to a camera OpenCV module 438, which may use the OpenCV protocol to provide the output.

[0085] Additionally, in some embodiments, a services SDK 440 with various abstraction layers may also be present in computing device 430. In the embodiment of FIG. 4, services SDK 440 includes GPS hardware abstraction layer services 442 and location vehicle abstraction layer services 444.

[0086] The embodiment of FIG. 4 further includes a synthetic sensor and insight library 450, which may include a trigger service 452 and a lifecycle service 454. The trigger service 452 may be used to trigger the starting or stopping of a synthetic sensor. It may further be used as a trigger for the start of a vehicle, among other options, or it may trigger based on input from an insight broker. The lifecycle service 454 may be used to start and stop sensors throughout the lifecycle of a playback.

[0087] In the embodiment of Figure 4, three composite sensors are provided. In particular, a behavior change composite sensor 460 is provided that can be used to provide a behavior change recommendation, for example, when the electric vehicle is within a threshold proximity of a mileage required to complete a trip.

[0088] Additionally, a driver identification composite sensor 470 is provided, which can be used to identify the driver and therefore configure the vehicle based on the driver profile.

[0089] The feature change synthesis sensor 480 may be used to recommend various feature changes to the driver, which may extend battery life, for example, when a mileage prediction compared to route requirements falls below a threshold.

[0090] The behavior modification synthetic sensor 460 may have its own sensor and an insight library 462, which may include a synthetic sensor runtime module 464 and a machine learning service client 465.

[0091] Further, the behavior change synthetic sensor 460 may have multiple blocks or processes that may be used to generate insights. For example, the behavior change synthetic sensor 460 may have an EV task block 466 that may monitor an EV task. The synthetic sensor may also have a location task 467 that may monitor the location of the vehicle compared to the destination. The behavior change recommendation engine machine learning module 468 may compare the EV task from the EV task block 466 with the location task from the location task block 467 and provide behavior recommendations for driving the vehicle depending on the expected driving distance and the distance of the destination.

[0092] The driver identification synthetic sensor 470 includes a behavior and insights library 472, which may include a synthetic sensor runtime 474 and a machine learning service client 475.

[0093] In this case, the synthetic sensor may include a camera task 476 to process the camera input. Additionally, a driver identification machine learning module 477 may use input from the camera task to identify the driver based on input from a driver profile database 478. The driver profile database 478 may include driver profile preferences for multiple drivers, in some cases.

[0094] A feature modification synthesis sensor 480 may be used to recommend feature modifications. In this case, the feature modification synthesis sensor 480 includes a sensor and an insight library 482 having a synthesis sensor runtime module 484. Additionally, the library may include a machine learning service client 485.

[0095] The composite sensor may include a location task module 486 to monitor the location of the vehicle. Additionally, the sensor may include an EV task module 487 to monitor the vehicle's battery.

[0096] Additionally, the task module 489 may be used to provide a list of tasks being used by the vehicle.

[0097] The feature change recommendation engine machine learning module 488 may receive input from various task modules and provide feature change recommendations.

[0098] The machine learning manager 490 may manage various machine learning service clients 465 , 475 , and 485 .

[0099] The insight broker 492 can provide a closed loop to have the reconciliation of data and can be used for test perspectives.

[0100] In the embodiment of FIG. 4, a second operating system may be utilized. For example, the second operating system may be an Android operating system and an in-vehicle infotainment system. However, other options for both the operating system and applications are also possible. In particular, operating system 494 includes application development libraries 495 with a bridge 496 to provide interaction between the first operating system and the second operating system.

[0101] An electric vehicle mileage application 497 is shown as an exemplary application and may include a user interface component 498 for providing output, whether visual, tactile, or audio, to the vehicle user.

[0102] In operation, initial data 414 may be provided directly to the synthetic sensor to set states within the synthetic sensor. Thus, location data, destination data, HVAC status, screen status, Wi-Fi status may be provided to the feature change recommendation engine machine learning module 488 and the behavior change recommendation engine 468.

[0103] Playback may then begin and EV data may be provided from EV data source 416 to EV OpenXC simulator module 434. EV task 466 and EV task 487 may then query EV OpenXC module 434 to find the EV state. As will be appreciated, this bypasses trigger services 452 and lifecycle services 454, thus allowing for rapid development, prototyping, and demonstration.

[0104] The video data 418 may be provided to the camera OpenCV module 438 through the converter 434. The camera task module 476 may then interact with the simulator module to obtain the camera data. Again, this bypasses the trigger service 452 and the lifecycle services 454.

[0105] Similarly, location data from location data source 420 can be provided through GPS HAL service 442 and location VAL service 444, and output from the location VAL service can be provided to trigger service 452. This can trigger that the vehicle is moving, causing trigger service 452 to start lifecycle services 454.

[0106] The lifecycle services 454 may provide input to the runtime modules 464, 474, and 484 to indicate to the synthetic sensor that it should begin operating.

[0107] As described above, within each synthetic sensor, various task modules may be used by the machine learning module to provide insights. Thus, in a driving scenario, the behavior change synthetic sensor 460 may provide insights from the recommendation engine machine learning module 468 to indicate that if the electric vehicle does not have the range to reach the destination, the driver behavior should be changed or that the vehicle should be recharged prior to reaching the destination. Similarly, the driver identifier machine learning module 477 may capture an image of the driver of the vehicle and then process the image and utilize the camera data to identify the driver and therefore the driver profile and preferences. For example, the driver profile and preferences may indicate how the driver normally drives, which may affect the vehicle's range.

[0108] The feature change composite sensor may use features that are active in the vehicle to probe whether the HVAC system is on, whether the seat warmers are on, whether the vehicle windows are open or closed, among other options, and may provide recommendations to enable or disable features to increase or improve the vehicle's mileage.

[0109] Insights from each of the synthetic sensors may be provided to an insight broker 492, which may then use a bridge 496 to interact with a mileage application 497, and in particular, a user interface 498. Thus, for example, if the mileage is within a predefined threshold, the UI may not display any recommendations. However, if the mileage compared to the destination is within a certain mileage, various options may be provided to the user, such as recommended driving behaviors, enabling or disabling features, or optional stops to charge the vehicle, among other options.

[0110] The insight broker 492 may further provide input back to the trigger service 452, thereby creating a loop for playback. For example, if a changing driver is detected, this may trigger the lifecycle service to enable the feature change synthetic sensors and behavior change synthetic sensors to re-evaluate the insights from such synthetic sensors.

[0111] While the embodiment of Figure 4 shows an odometer application on a user interface and multiple synthetic sensors used to provide recommendations on such odometer application, this is provided for illustrative purposes only. In other embodiments, other tasks, whether real-world or simulated, may use different synthetic sensors and different data inputs using different sensors.

[0112] (Prototyping)

[0113] As shown above, the embodiments of Figures 2, 3, or 4 can be used for rapid prototyping of synthetic sensors. Thus, a developer of a synthetic sensor can easily plug such a synthetic sensor into a computing device such as computing device 430. Data sources can be generated from real-world sensors or from simulated sensors. Playback tools 433 can be generated to enable the use of sensor data for synthetic sensors in a lightweight and adaptive manner.

[0114] Specifically, a developer may utilize an abstraction layer in some embodiments, either by creating an abstraction layer or by using an existing abstraction layer. In other cases, however, a playback tool, such as playback tool 433, may be used to convert data from a particular sensor to a format expected by the synthetic sensor. In this case, the developer simply needs to create a module, such as EV OpenXC module 434, that is used for a particular type of data and thus can be a lightweight add-on to simulator 434 to quickly provide data to the synthetic sensor.

[0115] The initial conditions for testing the synthetic sensor may be set using the initial data 414. The initial conditions may include the vehicle settings, but in some embodiments may also include the vehicle environment. For example, if the vehicle has been running on a race track vs. city roads vs. highways, that will affect performance and may be set in the initial data 414.

[0116] In one embodiment, the playback tool may be initialized or triggered by a developer to start the data flow, and lifecycle services may be used to orchestrate the lifecycle of the simulation. In some embodiments, a pause state may exist within the playback tool to allow the playback to be paused. This may be used, for example, for debugging in some situations. In some cases, the stop state may cause the playback to completely terminate in the playback tool before all the data has been executed.

[0117] In still further cases, the start state may enable playback to begin at a certain point within the data stream.

[0118] In some embodiments, the come-over parameters within the playback tool may be easily adjusted at come-on, for example, by using easily accessible variables, a user interface, or other means of changing such parameters, thereby optimizing the performance of the various synthetic sensors for which prototyping is occurring.

[0119] In other embodiments, prototyping may be for an on-vehicle application or user interface rather than or in addition to synthetic sensors. In this case, the use of various sensors may be quickly adapted to provide data to the various synthetic sensors, again utilizing the playback tools 433. In this case, the output or user interface 498 may be monitored and the simulation may be started or stopped utilizing the pause feature in the playback tools.

[0120] (Proof)

[0121] In further cases, the embodiments of Figures 2-4 may be utilized to provide audience presentations. Specifically, to demonstrate the features of a vehicle system to a client, stakeholder, developer, or other, a demonstration may need to be provided regarding the use of such a system. For example, a playback may be provided for a road trip, in which a particular driver getting into the vehicle may be identified, and taking into account the features enabled in the vehicle, a mileage value based on the driver behavior and past driving history may be generated, and an output of the mileage application user interface 498 may be shown to the audience. This may show the driver's identity and how it affects the mileage being output.

[0122] Disturbances such as traffic volume, low temperatures, or other factors that may affect the vehicle's mileage can be introduced into the data script file, which can then lead to changes and recommendations regarding behavior, or recommendations to enable or disable features, which can be shown on the UI for presentation to the intended user.

[0123] The pause or stop feature may allow the presenter to pause or stop, for example, by stopping the data flow, for emphasis, to answer a question, among other options, through the use of a script within the playback tool.

[0124] The embodiment of Figures 2-4 thus provides for playback of sensor data within a computing system for development and testing of synthetic sensors. For safety reasons, playback occurs on the computing device, not on the vehicle itself. Playback can be started and stopped. Playback can also handle real-world data through data sources.

[0125] Multiple formats for playback, such as OpenXC simulator, OpenCV simulator, direct data, among other options, may be provided in the embodiments of FIGS. 2-4.

[0126] In some embodiments, the playback tool resides on the real-world vehicle and can be used as a data transformer when an abstraction layer for a particular sensor has not yet been written.

[0127] The playback tool can be extended in some embodiments to take into account the environment in which the vehicle is located, such as a race track versus a road, among other options.

[0128] One exemplary method for a computing device is illustrated with respect to Figure 5. In particular, the process of Figure 5 begins at block 510 and proceeds to block 520, where the computing device may optionally initialize the synthetic sensor with various initialization parameters. The initialization parameters may, for example, define initial settings for various features on the computing device.

[0129] From block 520, the process proceeds to block 530, where the computing device may receive sensor data. In particular, the reception of sensor data may be from a different computer through a communications subsystem on the computing device, from a database within the computing device itself, from a sensor that is wired or wirelessly connected to the computing device, among other options.

[0130] From block 530, the process proceeds to block 540, where the playback tool may transform the sensor data. For example, the transformation may be to adjust the sampling rate of the data to a sampling rate expected for the synthetic sensor. In other embodiments, the transformation may include changing the data format of the sensor data to a data format expected by the synthetic sensor. In other embodiments, the transformation may include changing the data type. For example, an image file may be converted to a mathematical matrix. In other embodiments, the transformation of the sensor data may include normalizing the sensor data to a level expected by the synthetic sensor. In other embodiments, the transformation may include one or more of the above.

[0131] Once the sensor data has been converted to a converted data format from block 540, the converted data is then provided to at least one synthetic sensor on the computing device in block 550.

[0132] The process may then proceed from block 550 back to block 530 to continue receiving sensor data until playback is terminated.

[0133] Optionally, there may be a pause function 560 where the transformed data is not provided to the synthetic sensor until the user resumes the data flow. Additionally, there may be other functions such as a start function to resume playback from a midpoint of the route or to begin playback. In some cases, a stop function can be used to stop playback before all the data has been played back. Other options regarding the functionality of using the playback tool are also possible.

[0134] In an optional embodiment, once this synthetic sensor is provided with the transformed data, it may provide an output that is then used to provide output to a display of a computing device.

[0135] The above computing devices, platforms, electronic control units, nodes, or other computing systems may be implemented using any computing device. A simplified schematic diagram of one of the computing devices is shown with respect to Figure 6. The computing device of Figure 6 may be any fixed or mobile computing device.

[0136] 6, the device 610 includes a processor 620 and a communication subsystem 630, which cooperate to perform the method of the embodiments described above. The communication subsystem 630 enables the device 610 to communicate with other devices or network elements and may vary based on the type of communication performed. Furthermore, the communication subsystem 630 may comprise multiple communication technologies, including any wired or wireless communication technology.

[0137] The processor 620 is configured to execute programmable logic, which may be stored along with data on the device 610 and illustrated in the example of FIG. 6 as memory 632. The memory 632 may be any tangible, non-transitory computer readable storage medium that stores instruction codes that, when executed by the processor 620, cause the device 610 to perform the methods of the present disclosure. The computer readable storage medium may be a tangible or transitory / non-transitory medium, such as optical (e.g., CD, DVD, etc.), magnetic (e.g., tape), flash drive, hard drive, or other memory known in the art.

[0138] Alternatively, or in addition to the memory 632, the device 610 may access data or programmable logic from an external storage medium, for example through the communications subsystem 630.

[0139] 6, one or more sensors 640 may be associated with the computing device 610. However, this is optional and in some cases the computing device 610 will not be associated with any sensors.

[0140] Communication between the various elements of device 610 may, in one embodiment, be through an internal bus 660. However, other forms of communication are possible.

[0141] The embodiments described herein are examples of structures, systems, or methods having elements that correspond to elements of the techniques of the present application. The written description may enable one skilled in the art to make and use embodiments having alternative elements that similarly correspond to elements of the techniques of the present application. The intended scope of the techniques of the present application therefore includes other structures, systems, or methods that do not differ from the techniques of the present application as described herein, and further includes other structures, systems, or methods with insubstantial differences from the techniques of the present application as described herein.

[0142] Although operations are depicted in the figures in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown, or in a sequential order, or that all of the illustrated operations be performed, to achieve desirable results. In some situations, multitasking and parallel processing may be employed. Furthermore, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the program components and systems described may generally be integrated together in a single software product or packaged within multiple software products.

[0143] Techniques, systems, subsystems, and methods described and illustrated in various implementations as separate or distinct may be combined or integrated with other systems, modules, techniques, or methods. Other items shown or discussed as being coupled or directly coupled or in communication with each other may be indirectly coupled or in communication through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of modifications, substitutions, and alterations will be ascertainable and may be made by those skilled in the art.

[0144] While the above detailed description illustrates, describes, and points out the basic novel features of the present disclosure as applied to various implementations, it will be understood that various omissions, substitutions, and changes in the form and details of the illustrated systems may be made by those skilled in the art. In addition, the order of method steps is not implied by the order in which they appear in the claims.

[0145] When messages are sent to / from an electronic device, such actions may not be in close proximity to or directly from a server. They may be delivered synchronously or asynchronously from a server or other computing system infrastructure supporting the devices / methods / systems described herein. The steps described above may include synchronous / asynchronous communication to / from the device / infrastructure, in whole or in part. Also, the communication from the electronic device may be to one or more endpoints on the network. These endpoints may be provided by a server, a distributed computing system, a stream processor, etc. A content delivery network (CDN) may also provide communication to the electronic device. For example, rather than a typical server response, the server may also provision or indicate data for the content delivery network (CDN) to await later download by the electronic device, such as subsequent activity of the electronic device. Thus, data may be sent directly from a server, or other infrastructure, such as a distributed infrastructure, or a CDN, as part of the system or separately therefrom.

[0146] Typically, the storage medium may include any or some combination of the following: semiconductor memory devices such as dynamic or static random access memory (DRAM or SRAM), erasable and programmable read-only memory (EPROM), electrically erasable and programmable read-only memory (EEPROM), and flash memory; magnetic disks such as fixed, floppy, and removable disks; other magnetic media including tape; optical media such as compact disks (CDs) or digital video disks (DVDs); or other types of storage devices. It should be noted that the instructions discussed above may be provided on one computer-readable or machine-readable storage medium, or alternatively, on multiple computer-readable or machine-readable storage media, possibly distributed in a larger system having multiple nodes. Such computer-readable or machine-readable storage medium or media are considered to be part of an article (or article of manufacture). An article or article of manufacture may refer to any manufactured single component or multiple components. The storage medium or media may be located either within the machine that executes the machine-readable instructions, or at a remote location from which the machine-readable instructions can be downloaded over a network for execution.

[0147] In the preceding description, numerous details are set forth to provide an understanding of the subject matter disclosed herein. However, implementations may be practiced without some of these details. Other implementations may include modifications and variations from the details discussed above. The appended claims are intended to cover such modifications and variations.

Claims

1. 1. A method in a computing device, the method comprising: receiving sensor data from a data source at the computing device; converting the sensor data into transformed data in a playback tool on the computing device, thereby bypassing an abstraction layer in the computing device; providing the transformed data to at least one synthetic sensor on the computing device; Including, The method, wherein each of the at least one synthetic sensor provides insight into operation of the computing device.

2. The method of claim 1 , wherein providing the transformed data comprises bypassing, at the computing device, a trigger module and a lifecycle module for the at least one synthetic sensor.

3. The method of claim 1 , wherein the converting utilizes a module configured for the received sensor data and further configured for the at least one synthetic sensor data.

4. The method of claim 3 , wherein the module includes variables for dynamically adjusting the converting.

5. 4. The method of claim 3, wherein the module performs at least one of: setting a data sampling rate, converting a data format of the sensor data, converting a data type of the sensor data, and normalizing the sensor data.

6. 2. The method of claim 1, further comprising pausing, stopping, or starting providing the transformed data by invoking at least one of a pause routine, a stop routine, and a start routine in the playback tool.

7. receiving, at the computing device, initialization data prior to receiving the sensor data; initializing the at least one synthetic sensor based on the initialization data; and The method of claim 1 further comprising:

8. The method of claim 1 , further comprising utilizing the insight to update a display associated with the computing device.

9. The method of claim 1 , wherein the sensor data represents data from one or more vehicle sensors, and the computing device virtualizes at least one operating system from a vehicle computing system.

10. 1. A computing device, comprising: A processor; Communication Subsystem and Equipped with The computing device comprises: receiving sensor data from a data source; converting the sensor data into transformed data in a playback tool on the computing device, thereby bypassing an abstraction layer in the computing device; providing the transformed data to at least one synthetic sensor on the computing device; [0023] A computing device, wherein each of the at least one synthetic sensor provides insight into operation of the computing device.

11. 11. The computing device of claim 10, wherein the computing device is configured to provide the transformed data by bypassing a trigger module and a lifecycle module for the at least one synthetic sensor at the computing device.

12. 11. The computing device of claim 10, wherein the computing device is configured to convert using a module configured for the received sensor data and further configured for the at least one synthetic sensor data.

13. The computing device of claim 12 , wherein the module includes variables that dynamically adjust the converting.

14. 13. The computing device of claim 12, wherein the module performs at least one of: setting a data sampling rate, converting a data format of the sensor data, converting a data type of the sensor data, and normalizing the sensor data.

15. 11. The computing device of claim 10, wherein the computing device is further configured to pause, stop, or start providing the transformed data by invoking at least one of a pause routine, a stop routine, and a start routine in the playback tool.

16. The computing device comprises: receiving, at the computing device, initialization data prior to receiving the sensor data; initializing the at least one synthetic sensor based on the initialization data; and The computing device of claim 10 , further configured to:

17. The computing device of claim 10 , wherein the computing device is further configured to utilize the insight to update a display associated with the computing device.

18. The computing device of claim 10 , wherein the sensor data represents data from one or more vehicle sensors, and the computing device virtualizes at least one operating system from a vehicle computing system.

19. A computer-readable medium for storing instruction codes, the instruction codes, when executed by a processor of a computing device, receiving sensor data from a data source; converting the sensor data into transformed data in a playback tool on the computing device, thereby bypassing an abstraction layer in the computing device; providing the transformed data to at least one synthetic sensor on the computing device; causing said computing device to A computer-readable medium, wherein each of the at least one synthetic sensor provides insight into operation of the computing device.

20. 20. The computer-readable medium of claim 19, wherein the instruction code is further configured to cause the computing device to provide the transformed data by bypassing, at the computing device, a trigger module and a lifecycle module for the at least one synthetic sensor.