Method and system for dynamic and automatic development configuration for vehicle
A virtual environment using a configuration catalog allows developers to test integrated sensors across diverse vehicle configurations, addressing the challenge of software compatibility and safety in modern vehicles.
Patent Information
- Application Number
- JP2024043150
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-22
- Filing Date
- 2024-03-19
- Publication Date
- 2024-10-07
AI Technical Summary
Modern vehicles have diverse processors, control units, and sensors with different manufacturers and operating systems, making it challenging to develop software that can be tested across various configurations without real-world access, which is crucial for safety and prototyping.
A method and system that utilizes a configuration catalog to set up a virtual environment on a computing device, allowing developers to test integrated sensors on simulated vehicle configurations, using real-world signals to ensure compatibility and functionality across different vehicle makes and models.
Enables developers to test integrated sensors seamlessly across various vehicle configurations without real-world access, ensuring compatibility and functionality, facilitating efficient development and validation of vehicle software.
Smart Images

Figure 2024137845000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE The present disclosure relates to distributed systems, and in particular to development environments for distributed systems. [Background technology]
[0002] (background) Modern vehicles have different processors, control units, sensors, and other computing nodes. 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 further have different manufacturers and may operate using different operating systems. Different vehicle manufacturers may use different hardware and software configurations.
[0003] A sensor, or a group of sensors, may be used to generate information that may be useful for one or more applications. Such information is referred to herein as insight.
[0004] Software can be developed to exploit such insights, however, for prototyping and safety reasons, development and testing may need to be done outside of the actual vehicle. Summary of the Invention [Means for solving the problem]
[0005] The present disclosure provides a method in a computing device, the method including receiving an indication of a desired test environment, accessing a configuration catalog to obtain configuration information for the desired test environment, configuring a test node based on the configuration information, obtaining test signals related to the desired test environment, and performing tests on the configured test node using the test signals.
[0006] The present disclosure further provides a computing device comprising a processor and a communication subsystem, the computing device configured to receive an indication of a desired test environment, access a configuration catalog to obtain configuration information for the desired test environment, configure a test node based on the configuration information, obtain test signals for the desired test environment, and perform testing on the configured test node using the test signals.
[0007] The present disclosure further provides a computer-readable medium for storing instruction codes that, when executed by a processor of a computing device, cause the computing device to receive an indication of a desired test environment, access a configuration catalog to obtain configuration information for the desired test environment, configure test nodes based on the configuration information, obtain test signals for the desired test environment, and perform tests on the configured test nodes using the test signals. In some embodiments, the computer-readable medium may be non-transitory. The present invention provides, for example, the following items. (Item 1) 1. A method in a computing device, the method comprising: Receiving an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; A method comprising: (Item 2) The method according to the preceding item, wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration. (Item 3) 13. The method of claim 12, wherein the desired test environment is a vehicle configuration. (Item 4) 11. The method of claim 1, wherein configuring the test node includes selecting an operating system on the test node to match an operating system for the desired test environment. (Item 5) 13. The method of claim 12, wherein configuring the test node includes selecting hardware on the test node to match hardware for the desired test environment. (Item 6) 2. The method of claim 1, wherein receiving the instructions is based on a selection of a make and model of the vehicle at a development node. (Item 7) 13. The method of claim 12, wherein the test signal is a real-world signal relevant to the vehicle performing the task. (Item 8) To carry out the test, installing an integrated sensor at the test node, the integrated sensor providing insight into the operation of the test node; and applying the test signal; Providing logs and metrics to developer nodes The method according to any of the above items, comprising: (Item 9) 13. The method of claim 12, wherein the test node is an emulator that interacts with hardware, and the configuring includes setting a signal configuration for interacting with the hardware. (Item 10) 1. A computing device, comprising: A processor; Communication Subsystem and the computing device comprising: Receiving an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; 16. A computing device configured to: (Item 11) The computing device of any of the preceding items, wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration. (Item 12) 2. The computing device of claim 1, wherein the desired test environment is a vehicle configuration. (Item 13) 2. The computing device of claim 1, wherein the computing device is configured to configure the test node by selecting an operating system on the test node to match an operating system for the desired test environment. (Item 14) 2. The computing device of claim 1, wherein the computing device is configured to configure the test node by selecting hardware on the test node to match hardware for the desired test environment. (Item 15) 2. The computing device of claim 1, wherein the computing device is configured to receive the instructions based on a selection of a make and model of a vehicle at a development node. (Item 16) 2. The computing device of claim 1, wherein the test signal is a real-world signal associated with a vehicle performing a task. (Item 17) The computing device comprises: installing an integrated sensor at a test node, the integrated sensor providing insight into the operation of the test node; applying the test signal; Providing logs and metrics to developer nodes Item 11. The computing device of any preceding item, configured to perform testing by performing the steps of: (Item 18) 2. The computing device of claim 1, wherein the test node is an emulator that interacts with hardware, and the computing device is configured to configure by setting a signal configuration for interacting with the hardware. (Item 19) 1. A computer-readable medium for storing instruction codes, the instruction codes, when executed by a processor of a computing device, Receiving an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; A computer-readable medium that causes the computing device to (Item 20) The computer-readable medium of any of the preceding items, wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration. (Summary) A method in a computing device, the method including receiving an indication of a desired test environment, accessing a configuration catalog to obtain configuration information for the desired test environment, configuring a test node based on the configuration information, obtaining test signals for the desired test environment, and performing a test on the configured test node using the test signals. [Brief description of the drawings]
[0008] The present disclosure may be better understood with reference to the drawings.
[0009] [Figure 1] FIG. 1 is a block diagram illustrating an example computing node in a computer system.
[0010] [Diagram 2] FIG. 2 is a block diagram illustrating a system for use in an embodiment of the present disclosure.
[0011] [Diagram 3] FIG. 3 is a block diagram illustrating an example system for providing insights using integrated sensors.
[0012] [Figure 4] FIG. 4 is a block diagram illustrating developer and emulation nodes that can be configured for a particular vehicle.
[0013] [Diagram 5] FIG. 5 is a block diagram illustrating an exemplary vehicle configuration.
[0014] [Figure 6] FIG. 6 is a block diagram of the hardware from the developer node and the vehicle.
[0015] [Figure 7]FIG. 7 is a process diagram illustrating the process for configuring a node and testing an integrated sensor.
[0016] [Figure 8] FIG. 8 is a block diagram of a simplified computing device that can be used with embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Detailed Description of the Drawings In modern vehicles, information from one or more physical sensors can be processed to produce "insights" that can be valuable in the system. Such one or more physical sensors and associated processing can be logically referred to as a microservice or a unified sensor (SS). The terms microservice and unified sensor are used interchangeably herein.
[0018] Integrated sensors may be present 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 vehicular applications, for which examples below are provided.
[0019] Insight is a term used herein to describe any computer-generated interpretation of underlying 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 watermarks for notifications can be considered an "insight." For location-based 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.
[0020] In one embodiment, vehicle applications may 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 may enable cloud developers to extend their reach to the edge within the vehicle through the development of integrated sensors that derive intelligent insights into vehicle data using common cloud development technologies and paradigms. Such an environment may provide consistent access to vehicle data such that integrated sensors can be written and deployed to a broad vehicle base without bespoke customization.
[0021] In particular, the hardware and software for each vehicle may differ from that of other vehicles, but the use of abstractions allows similar data to be provided to the integrated sensors. Some vehicles may be configured with specific sensors, hardware, electronic control units (ECUs), or operating systems (OS) that may not be present in other vehicles.
[0022] In this regard, although integrated sensors are intended to be OS, hardware, ECU, and vehicle configuration independent, they may not run the same for each hardware component. Therefore, it is beneficial to test such software on multiple platforms before deploying the software. In particular, it is useful for developers to be able to test against various vehicle configurations using a particular set of signals (e.g., test signals) and to be able to test with a realistic data set of those signals. Without such a capability, developers may not be able to confirm whether the integrated sensors can work with the desired vehicle configuration.
[0023] Thus, according to embodiments of the present disclosure, developers are assisted in testing on desired vehicle configurations and test data in a seamless manner, potentially without access to actual vehicle hardware and live data.
[0024] In particular, according to embodiments of the present disclosure, a pre-configured virtual environment is provided to developers to develop and validate integrated sensors without the need to set up a local development environment. In particular, in some embodiments, such a virtual environment may reside on a cloud or network server. When there are updates to the vehicle's configuration and test data, the virtual environment on the cloud or server allows developers to access the latest information in a timely manner.
[0025] Additionally, in some embodiments, a set of configurations for various vehicles and a set of test data and / or signals for each of those vehicle configurations may be provided.
[0026] Once the above items are pre-populated into the virtual environment, the developer can specify which vehicle they would like to test on.
[0027] When the developer's integrated sensor is ready to be deployed, the simulation environment can be configured to mimic the selected vehicle configuration and capture test data in a seamless manner. In this way, the integrated sensor can be validated using the required configuration and test data / signals without the developer having access to an actual vehicle or live data.
[0028] Additionally, embodiments of the present disclosure enable the ability for third party developers to submit integrated sensors to vehicle manufacturers, who can then automatically validate the submission using the vehicle manufacturer's vehicle configuration. In this manner, vehicle manufacturers can approve the submission with confidence that the integrated sensor will work for their vehicles.
[0029] (Exemplary Vehicle System)
[0030] The present disclosure is described with respect to an automotive system with nodes, however, this is provided merely for illustrative purposes and the methods and systems described herein may be used in any other system as well.
[0031] 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 an electronic control unit, a central processing unit, or a kernel control, among other options, and may be considered a single computing unit.
[0032] 1, node 110 includes a service manager 120, which may interact with drivers for sensors to which the node is connected. For example, node 110 may access a location sensor, such as a Global Positioning System (GPS) chipset, shown in block 122.
[0033] To enable node 110 to interact with modules on other nodes and provide functionality to the computing system, a hardware abstraction layer (HAL) may be provided on node 110, which comprises HAL services 130. Each HAL service 130 is responsible for sensor integration and may provide a variety of functions, including integrating into underlying sensors, normalizing sensor data, and / or providing a barrier between safety certified and non-certified software, as appropriate. Other functions of the HAL services are also possible.
[0034] In the example of FIG. 1, a HAL is provided for camera information, as indicated at block 132 .
[0035] 1 shows node 110 with a single service and a single HAL, this 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 HALs, multiple HALs with no services, and / or a combination of services and HALs.
[0036] One example of a system that may use node 110 is an application development environment for vehicles. Such an application development environment may develop applications for user experiences such as comfort, navigation, infotainment, among others, applications for safety, fleet management, performance monitoring, or other such applications for the vehicle environment. In particular, vehicles provide multiple sensors, and different makes, models, or brands may use different sensors with different data formats or values, relying on such sensors to create fragmented sensor readings. This fragmentation hinders the development of an application ecosystem that utilizes vehicle data. In addition, low-level sensor data is often too granular to be immediately useful for applications.
[0037] In this regard, a hardware abstraction layer may be used to provide a hardware-independent sensor interface / abstraction that may encapsulate interactions with the underlying sensor drivers. The use of hardware abstractions in various computing nodes may create a scalable platform and provide barriers between modules, for example, to enforce that safety-certified systems are isolated from other systems, among other options.
[0038] Applications do not directly interact with the sensor hardware to access sensor data, but instead leverage a Hardware Abstraction Layer. This separation provides a clear distinction between the role of the HAL (sensor integration and sensor data normalization) and other abstraction roles, such as the Vehicle Abstraction Layer (VAL), which is used to manage access to vehicle data and provide value-added insights.
[0039] In particular, 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 format 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 in addition to insights such as geofencing, a seat service that may provide a myriad of seat information such as belt status, weight, location, and child lock status, a camera service that may provide a video stream for an interior camera and possibly functions such as conversion and / or clipping, a battery service that may provide insights and access to the battery such as charge status / consumption / projected time remaining / projected range, a door service that may provide an abstraction for the vehicle's doors and the door status.
[0040] Insight services may leverage sensor data from multiple HALs to provide vehicle abstraction and value-added insights. Higher level insights into 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 watermarks for notifications can be considered an "insight." For location services, geofencing can be an insight, and for cameras, occupant awareness can be considered an insight.
[0041] Thus, a node with services and a HAL manager as illustrated in Figure 1 is required for such an application development environment. In many systems, node 110 needs to communicate with other nodes, such as other ECUs, CPUs, or computing systems, which may use operating systems different from the operating system of node 110.
[0042] Reference is now made to Figure 2, which illustrates an exemplary deployed system showing various insight generators and consumers. The embodiment of Figure 2 is provided merely for illustrative purposes, and in some cases there will be fewer participants in the system. In other cases there will be more participants in the system.
[0043] In the embodiment of FIG. 2, vehicle 200 may include a computing system and a communication system. Some of the computing systems may include domain 210 and may have applications that consume insights, as described below. Additionally, some of the computing systems on vehicle 210 may include edge domain 212. In some embodiments, edge domain 212 may generate insights. However, in other cases, insights may be generated within domain 210 or consumed within edge domain 212.
[0044] In the example of Figure 2, vehicle 200 utilizes the communication system to communicate with an access point, such as a cellular base station, shown in Figure 2 as eNB 220. The base station may communicate with a core network 230, which may then forward the communications through network 232 to a cloud service provider 240. Network 232 may be, for example, a wide area network such as the Internet.
[0045] In other embodiments, rather than the core network 230, any technology associated with a specific cellular or wireless communication protocol may be used.
[0046] In some embodiments, cloud services 240 may provide developer software development kits (SDKs), edge node interfaces, among other services.
[0047] In some embodiments, cloud domain 250 may generate or consume insights. Cloud domain 250 may communicate with cloud service providers 240 through network 232 and, in some cases, with other domains, such as domain 212 on vehicle 200.
[0048] Additionally, devices 260, rather than vehicles, may consume the insights. Devices 260 may be any computing device capable of generating or consuming such insights and may include Internet of Things devices, mobile devices, medical equipment, vehicles or equipment associated with vehicles, among other options. Devices 260 may communicate over network 232 utilizing a variety of wired or wireless technologies, such as, but not limited to, Ethernet, fiber, cellular, Wi-Fi, satellite, among other options.
[0049] Device 260 may include domain 262, which in some embodiments may consume insights. Additionally, device 260 may include edge domain 264, which may in some cases generate insights. However, in other cases, domain 262 may generate insights and edge domain 264 may consume insights.
[0050] Additionally, while the embodiment of FIG. 2 shows only two domains in vehicle 200 or device 260, in reality only one or more domains may be present in vehicle 200 or device 260, and the present disclosure is not limited to only having two domains in any particular device. Specifically, device 260 may only be used to generate insights, in which case it only has a single domain. In other cases, device 260 may only consume insights, and again, may only have one domain. In other cases, device 260 or vehicle 200 may have multiple domains along with edge domain 212.
[0051] In some embodiments, device 260 may be a developer device for creating insights about the system.
[0052] Each domain or edge domain may have an OS-independent architecture. In particular, the domains shown in FIG. 2 may be implemented on various domains, and different domains may have different operating systems. For example, in a vehicle system, different vehicle manufacturers may use different operating systems. Thus, the system architecture for the edge domain may use abstraction layers to allow the system to be implemented on different platforms. Reference is now made to FIG. 3.
[0053] In the embodiment of Figure 3, the application 310 may be part of the application layer. The application may be user-facing in some cases and may utilize integrated sensors 320 to gain insights.
[0054] The integrated sensor 320 is part of the integrated sensor framework. Specifically, developers can build integrated sensors using the integrated sensor framework. The framework exposes mechanisms for defining actions on services in terms of lifecycle events, request / response application program interfaces (APIs), among other actions.
[0055] The framework of Figure 3 may further define a mechanism for authentication and authorization of requests and events based on policies. When an integrated sensor is installed / uninstalled / updated, the installation and update service may interact with the authorization service to update the authentication and authorization policy.
[0056] The integrated sensors 320 may communicate, for example, through an interface with the Vehicle Abstraction Layer (VAL) 350, which provides an insightful, value-added interface for accessing vehicle data. It accesses sensor drivers and hardware through the Hardware Abstraction Layer 360.
[0057] The vehicle abstraction layer 350 further provides access insights based on the vehicle data. Insights are inferences based on the vehicle data and can be as simple as aggregations or as complex as machine learning models. For example, location insight services can provide higher level insights such as geofencing in addition to coordinate location data.
[0058] Thus, insights may be provided as part of an insight service 352 in the embodiment of Figure 3. Such an insight service 352 controls access to vehicle data in a normalized form and provides value-added inferences.
[0059] Insight services generally do not interact directly with sensor hardware to access sensor data, but instead leverage the Hardware Abstraction Layer 360. This separation provides a clear distinction between the responsibilities of the Hardware Abstraction Layer 360 (sensor integration and sensor data normalization) and the responsibilities of the Vehicle Abstraction Layer 350 (managing access to vehicle data and providing value-added insights).
[0060] The insight service 352 may leverage sensor data from multiple hardware abstraction layers to provide vehicle abstraction and value-added insights. The integrated sensors 320 may generate further insights based on the insights / inferences provided by the insight service 352. In some cases, an integrated sensor may generate further insights based on insights provided by another integrated sensor.
[0061] The Hardware Abstraction Layer (HAL) 360 focuses on sensor integration, sensor data normalization, and is a barrier between safety certified and non-certified software. This can be done through HAL services, and each HAL service 362 can provide three key functions: integration to the underlying sensors, normalization of sensor data, and, if necessary, providing a barrier between safety certified and non-certified software.
[0062] Further, returning to the insight service 352, one of the key functions of the insight service is to enforce access control to normalized sensor data and insights. To verify authentication and authorization of service clients, the vehicle abstraction layer services leverage the policy service 374 and the authorization service 372 from the platform abstraction layer 370.
[0063] While the Hardware Abstraction Layer described above describes hardware integration, the Platform Abstraction Layer (PAL) 370 encapsulates critical aspects of the underlying operating system 380 and platform that allows the system to be ported to different platforms by defining a consistent interface to critical platform functionality, encapsulating underlying OS details in OS binding components, and supporting higher-level / coarse-grained abstractions beyond basic OS functionality.
[0064] The PAL interface is exposed internally to the HAL and VAL, and externally to clients, thereby extending the power and portability of these components to their clients.
[0065] PAL 370 may have a variety of services. An authorization service 372 and a policy service 374 are shown in the embodiment of Figure 3. In some cases, other services may also be provided, such as lifecycle services, process services, and installation and update services.
[0066] Specifically, the policy service 374 is responsible for persisting policy values, implementing policy queries, notifying policy changes, resolving policy priorities, and controlling policy changes, where policies handle the configuration of the behavior of various components, and each policy may have a unique name, a string-encoded setting value, and a priority.
[0067] The authorization service 372 is the central authority for domain authorization. Service functions protected by authorization leverage the authorization service to determine if appropriate permissions have been granted. In one embodiment, authorization system authentication is backed by Portable Operating System Interface (POSIX) process user and group assignments (UID / GID). The authorization service identifies / authenticates components based on the UID assigned to the process in the underlying operating system. This UID is maintained and considered valid by the underlying operating system (accessed and managed by the underlying OS using a certified / trusted scheme).
[0068] In developing an integrated sensor for the systems of FIGS. 1-3, it may be beneficial to test such a sensor using various vehicle configurations and a set of test data for such vehicle configurations.
[0069] (Testing Tools)
[0070] According to an embodiment of the present disclosure, a mapping tool is provided that can simulate data. In particular, the tool used to develop integrated sensors and insights is intended to be hardware independent, but in reality, different vehicles have different sensors, different sets of available signals, and some vehicles may have hardware acceleration while others are processor dependent, which can affect how things work, among other differences. In this regard, the tool aims to allow developers to build integrated sensors and insights without worrying about the differences. However, at some point, developers need to be able to test the software against different types of vehicle hardware and software.
[0071] In this regard, reference is now made to Figure 4. In the Figure 4 embodiment, among other things, development node 410 may include various software development kits including an insight software development kit (SDK) 414, an integrated sensor software development kit 420, and a vehicle services software development kit 422. These software development kits enable developers to create software for the system using the environment described above with respect to Figures 1-3.
[0072] Optionally, the Insight SDK 414 may have a command line Insight listener 416, which may be used to listen for Insight signals at the edge emulation node 430.
[0073] The development node 410 may run an operating system 424 and, in some cases, may include a pre-configured virtual environment module 426 that may utilize a configuration catalog, as described below.
[0074] Code created in the development node 410 may be tested on the edge emulation node 430. Specifically, the edge emulation node 430 includes an edge runtime module 432 that includes various hardware abstraction layer service implementations (HSIs), including a camera simulator HSI 434, a position simulator HSI 436, and a signal simulator HSI 438. Additionally, the runtime 432 may include a signal catalog 440, a data playback tool (DPT) 442, and a development tool 444.
[0075] As provided below, the edge runtime 432 may further include a configuration loader 446 that may be used to specifically load certain configuration signals.
[0076] In one embodiment, the configuration loader 446 may be used to configure the camera SIM HSI 434, the position SIM HSI 436, and the signal SIM HSI 438 for signals that the vehicle being tested will utilize in the real world.
[0077] Additionally, edge emulation node 430 may include operating system 450. In one embodiment, operating system 450 may be configured based on an operating system used in an actual vehicle when found from a configuration catalog.
[0078] Additionally, a virtual environment 452 is provided within the edge emulation node 430. The virtual environment 452 may be used to configure the edge emulation node 430 to be similar or identical to the configuration of an actual vehicle. In this regard, the virtual environment 452 may be used to specify, among other aspects, a particular type of hardware, a particular hardware accelerator, to be configured for the edge emulation node 430. Because the edge emulation node 430 may be a cloud service, the details of the hardware, the hardware acceleration, among other things, may be configured within the cloud service. In this manner, the edge emulation node 430 may mimic the actual vehicle being tested.
[0079] The signal services 454 are configured to apply the signal catalog from the vehicle configuration.
[0080] In the embodiment of FIG. 4, within the control plane of edge emulation node 430, various signals may be provided to or sent from console 470, which includes triggers for testing integrated sensors 460. Additionally, requests for signal data artifacts 462 may be made to data artifact repository 471. For example, a developer may send a command on the console to trigger a test on the edge emulation node. As will be appreciated by those skilled in the art, the signal data artifacts may provide signal data for actual testing and may include actual signals that a test vehicle would provide for a particular route, situation, or test.
[0081] Examples of such signal data include, for example, ignition on / off signals, signals regarding door lock status, signals regarding window position status, signals regarding interior temperature if available, signals regarding seat belt engagement, signals regarding movement within the vehicle, signals regarding sounds within the vehicle, among others, which may be combined to make a determination as to whether a person is seated in a child seat and whether the vehicle is turned off / doors are locked, etc. As will be appreciated by those skilled in the art, different vehicles provide different sets of signals, and therefore it is beneficial to ensure that an integrated sensor detects the presence of a person in a child seat in a particular vehicle by using signals that are actually present in such vehicles.
[0082] Additionally, configuration catalog 472 may have multiple vehicle configurations for different makes, models, and / or makes of vehicles, which are shown in the example of FIG.
[0083] Specifically, configuration catalog 472 is shown in more detail in the embodiment of Figure 5. For example, configuration catalog 472 includes vehicle configuration 474. Vehicle configuration 474 is shown expanded as vehicle configuration 530 and includes vehicle signal catalog 532 that provides signal data for that particular vehicle.
[0084] In particular, the vehicle signal catalog 532 describes the set of signals and vehicle data items available for a particular vehicle. For example, the name, description, data type, units, limits, among other vehicle data items, may be provided within this catalog. The signal configuration allows the edge emulation node to be configured to mimic the exact set of vehicle data available for the integrated sensors of a particular vehicle.
[0085] Vehicle configuration 530 further includes software configuration 534, which includes details about the software on the system, including the operating system, the version of the operating system, and other software configurations. For example, this may include the specific version of the integrated sensor software running, the set of machine learning runtime frameworks available on the vehicle, such as Open Neural Network Exchange (ONNX), TensorFlow Lite (TFlite), Snapdragon Neural Processing Engine (SNPE), among others, or other software on the vehicle.
[0086] The vehicle configuration 530 may further include a hardware configuration 536, which may include details of the chipset found on the vehicle, the number of processing cores, whether hardware accelerators are used, and other such hardware configurations. Thus, the hardware configuration 536 may define the set of hardware resources available to the specific vehicle. The hardware configuration describes the available hardware of the specific vehicle that allows different target nodes to be as close to the vehicle as possible. For example, this may include, among other configurations, what system-on-chip (SoC) is used, how much memory and / or central processing unit (CPU) is allocated to the integrated sensor system. Such hardware configuration may be particularly important for machine learning acceleration, where CPU processing is often offloaded to graphic processing units (GPUs) and digital signal processors (DSPs) when available. The hardware configuration may describe, among other things, what additional hardware is available in the specific vehicle, including especially GPUs and DSPs. The hardware configuration 536 may enable the edge emulation node 530 to be able to allocate or virtualize on the fly the closest hardware to what is available to the specific vehicle.
[0087] Additionally, the expandable configuration 538 allows the vehicle configuration to be expandable over time, allowing new fields to be added as needed.
[0088] Thus, the vehicle configuration 530 is composed of sub-configurations (532-538) where each sub-configuration is used by a different subsystem. The signal catalog 532 is applied by the signal service 454, and the software configuration 534 is absorbed by other components. The hardware configuration 536 may be applied to the virtual environment 452. The configurations are extensible, as shown in block 538, so that additional system components may have associated configurations applied as part of the emulation.
[0089] To facilitate a broad catalog, the vehicle configurations in configuration catalog 472 may come from a variety of sources. For example, developers associated with the original equipment manufacturer 550 may provide configurations. Other system developers 552 may provide configurations. Various vehicle or integrated system partners 554 may provide configurations. Other users 556 may also provide configurations. This disclosure is not limited to entities or persons providing vehicle configurations.
[0090] 4 , edge emulation node 430 may request vehicle configuration in message 464 to obtain a specific configuration for the vehicle on which the integrated sensor is being tested. This information may be provided to configuration loader 446, which may then be used to pre-configure the virtual environment in block 452, configure the OS (which may possibly include the OS and OS version) in block 450, and configure the signal catalog 440 as well as the signal and sensor implementations in blocks 434, 436, and 438.
[0091] After the edge emulation node 430 is configured, the development node 410 may deploy the integrated sensors, as shown at arrow 480. The edge emulation node 430 may emulate the integrated sensors and send playback signal data, as shown at arrow 482. The emulated integrated sensors may be requested by the development node 410, as shown at arrow 484, and logs and metrics may be obtained at the development node 410, as shown at arrow 486.
[0092] In this way, the emulation node 430 may behave as similarly as possible to a real vehicle, providing the developer with confidence that the integrated sensors and insights generated from the integrated sensors will work on a real vehicle. Furthermore, because the simulation is performed using such a catalog and hardware configuration, certification of the software on the vehicle by the OEM may be more easily performed.
[0093] In a further embodiment, rather than using an emulation node, in some cases the actual hardware of the vehicle may be used during testing. In particular, a processor board from the vehicle may be used as part of the test mechanism. In this regard, reference is made to FIG.
[0094] In the embodiment of FIG. 6, the development domain 610 includes an insight SDK 614, an integrated sensor SDK 620, and a vehicle services SDK 622.
[0095] The insight SDK 614 may include a command line insight listener 616 .
[0096] Additionally, an operating system 624 may reside in the development domain.
[0097] The pre-configured virtual environment 626 may be used to obtain vehicle configuration information in the embodiment of Figure 6, for example from the configuration catalog 482. This may be done, for example, using message 694.
[0098] 6, an edge runtime environment 628 may be present to provide signals to hardware board 650. However, in some embodiments, this runtime environment may be present in a separate emulation node that interacts with the hardware and development nodes.
[0099] The hardware board 650 includes an operating system 670 and applications 672 that are present on a real vehicle. For example, the applications 672 may include the integrated sensor system described above.
[0100] The edge runtime 628 may trigger an integrated sensor test upon submission, as indicated by message 690 between the development domain 610 and the console 680.
[0101] Additionally, the edge runtime 628 may request the signal artifact in a message 692 from the console 680.
[0102] Once the runtime is configured, the development domain 610 can deploy the integrated sensors as shown in message 630. The development domain can then replay the signal data as shown in message 632 and request insights as shown in message 634.
[0103] Once the test is complete, logs and metrics may be obtained as shown in message 636.
[0104] Thus, using the systems of Figures 4 and 6, an environment is provided in which developers can test software on a cloud service configured to emulate the hardware, signals and software of a vehicle, in the case of Figure 4, or on a cloud service configured to emulate actual hardware while using test data / signals configured for the vehicle in console 680, in the case of the embodiment of Figure 6.
[0105] Additionally, libraries of configurations and libraries of signals are provided that can be used for testing, where real-world signals and real-world configurations of hardware, software, and other configurations can be provided in the tests.
[0106] The system allows the user to select the intended destination and, through the use of configuration files and signal libraries, the test automatically provides a customized environment, removing the burden of uploading software onto a real vehicle and the risk of testing the vehicle in driving conditions.
[0107] The loader can find out where the system is running and configure the emulator. If running on real hardware, the loader can only provide the signals to use. If a cloud node is used, the loader allows configuration of the hardware and signals on the node to mimic a vehicle.
[0108] Once the configuration library and library of test data for vehicle configurations are set up, the developer can specify which vehicles they want to test on. When the developer is ready to deploy the integrated sensor, a simulation environment can be set up to mimic the test vehicle's configuration and capture the data in a seamless manner. In this way, the integrated sensor can be validated using the desired configuration and test data without the developer needing access to an actual vehicle or actual data.
[0109] Additionally, the mechanism provides for third-party developers to submit integrated sensors to vehicle OEMs, who can automatically validate such submissions using the vehicle's configuration. In this way, OEMs can approve their solutions with confidence that the software will work on their vehicles.
[0110] For example, reference is now made to Figure 7. In the example of Figure 7, the process begins at block 710 and proceeds to block 720 where vehicle configuration information may be obtained. The vehicle configuration information may be software information, hardware information, vehicle signal catalog, among other options.
[0111] The process then proceeds to block 730, where at least one of the hardware and software for the test system may be configured. If the system is running on a computing node, the hardware and software may be configured based on the information received in block 720. If the system is running on actual hardware, software in the emulation node may be configured to provide signal data, for example, as provided in block 740.
[0112] The system then proceeds to block 740 where test signal data may be acquired. For example, this may be acquired from console 470 from the embodiment of FIG. 4 or from console 680 from the embodiment of FIG. 6.
[0113] The process then proceeds to block 750 where test software, such as a new integrated sensor under development, may be run on the system using the signal data acquired in block 740 and the configuration system configured in block 730.
[0114] The process then proceeds to block 760 and ends.
[0115] (Hardware)
[0116] The above nodes, domains, computing devices, platforms, electronic control units, or other computing systems may be implemented using any computing device. A simplified diagram of one of the computing devices is shown with respect to Figure 8. The computing device of Figure 8 may be any fixed or mobile computing device.
[0117] 8, the device 810 includes a processor 820 and a communication subsystem 830, which cooperate to perform the methods of the embodiments described above. The communication subsystem 830 enables the device 810 to communicate with other devices or network elements and may vary based on the type of communication being performed. Additionally, the communication subsystem 830 may comprise multiple communication technologies, including any wired or wireless communication technology.
[0118] The processor 820 is configured to execute programmable logic, which may be stored on the device 810 along with data, shown in the example of FIG. 8 as memory 832. The memory 832 may be any tangible, non-transitory computer-readable storage medium that stores instruction code that, when executed by the processor 820, causes the device 810 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.
[0119] Alternatively, or in addition to the memory 832, the device 810 may access data or programmable logic from an external storage medium, for example through the communications subsystem 830.
[0120] 8, one or more sensors 840 may be associated with the computing device 810. However, this is optional, and in some cases, the computing device 810 is not associated with any sensors.
[0121] Communication between the various elements of device 810 may occur through an internal bus 860 in one embodiment, although other forms of communication are possible.
[0122] The embodiments described herein are examples of structures, systems, or methods having elements that correspond to elements of the technology of the present application. This written description may enable one of ordinary skill in the art to make and use embodiments having alternative elements that similarly correspond to elements of the technology of the present application. Thus, the intended scope of the technology of the present application includes other structures, systems, or methods that are not different from the technology of the present application described herein, and further includes other structures, systems, or methods that do not involve substantial differences from the technology of the present application described herein.
[0123] Although operations are illustrated in the figures in a particular sequence, this should not be understood as requiring that such operations be performed in the particular order or sequential order shown, or that all of the illustrated operations be performed, to achieve desirable results. In certain circumstances, 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 in multiple software products.
[0124] Also, the techniques, systems, subsystems, and methods described and illustrated as separate or distinct in various implementations 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 communicate through some interface, device, or intermediate component, whether electrically, mechanically, or in other ways. Other examples of changes, substitutions, and alterations will be ascertainable and may be made by those skilled in the art.
[0125] While the above detailed description has illustrated, described and pointed 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 system may be made by those skilled in the art. Moreover, no order of method steps is implied by the order recited in the claims.
[0126] When messages are sent to / from an electronic device, such operations may not be instantaneous and may not occur 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, in whole or in part, synchronous / asynchronous communication to / from the device / infrastructure. Additionally, communication from the electronic device may be to one or more endpoints on a network. These endpoints may be serviced by a server, a distributed computing system, a stream processor, or the like. 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 instruct the content delivery network (CDN) on data, such as subsequent activity of the electronic device, to await subsequent download by the electronic device. Thus, data may be sent directly from a server or other infrastructure, such as a distributed infrastructure or CDN, as part of the system or separate from the system.
[0127] Typically, the storage medium may include any one 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 disks, floppy disks, 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 may be provided 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 media are considered to be part of an article (or product). An article or product refers to any manufactured single component or multiple components. The storage medium may be located within a machine that executes the machine-readable instructions, or may be located at a remote site where the machine-readable instructions can be downloaded over a network for execution.
[0128] 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 described 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 an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; and A method comprising:
2. The method of claim 1 , wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration.
3. The method of claim 2 , wherein the desired test environment is a vehicle configuration.
4. The method of claim 1 , wherein configuring the test node includes selecting an operating system on the test node to match an operating system for the desired test environment.
5. The method of claim 1 , wherein configuring the test node comprises selecting hardware on the test node to match hardware for the desired test environment.
6. The method of claim 1 , wherein receiving the instructions is based on a selection of a make and model of a vehicle at a development node.
7. The method of claim 1 , wherein the test signal is a real-world signal associated with a vehicle performing a task.
8. To carry out the test, installing an integrated sensor at the test node, the integrated sensor providing insight into the operation of the test node; and applying the test signal; Providing logs and metrics to developer nodes The method of claim 1 , comprising:
9. The method of claim 1 , wherein the test node is an emulator that interacts with hardware, and the configuring includes setting a signal configuration for interacting with the hardware.
10. 1. A computing device, comprising: A processor; Communication Subsystem and the computing device comprising: Receiving an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; and 16. A computing device configured to:
11. The computing device of claim 10 , wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration.
12. The computing device of claim 11 , wherein the desired test environment is a vehicle configuration.
13. 11. The computing device of claim 10, wherein the computing device is configured to configure the test node by selecting an operating system on the test node to match an operating system for the desired test environment.
14. 11. The computing device of claim 10, wherein the computing device is configured to configure the test node by selecting hardware on the test node to match hardware for the desired test environment.
15. The computing device of claim 10 , wherein the computing device is configured to receive the instructions based on a selection of a make and model of a vehicle at a development node.
16. The computing device of claim 10 , wherein the test signal is a real-world signal associated with a vehicle performing a task.
17. The computing device comprises: installing an integrated sensor at a test node, the integrated sensor providing insight into the operation of the test node; applying the test signal; Providing logs and metrics to developer nodes 11. The computing device of claim 10, configured to perform the test by:
18. 11. The computing device of claim 10, wherein the test node is an emulator that interacts with hardware, the computing device being configured to configure by setting signal configurations to interact with the hardware.
19. 1. A computer-readable medium for storing instruction codes, the instruction codes, when executed by a processor of a computing device, Receiving an indication of a desired test environment; accessing a configuration catalog to obtain configuration information for the desired test environment; configuring a test node based on the configuration information; obtaining a test signal relating to the desired test environment; conducting tests on the configured test nodes using the test signals; and A computer-readable medium that causes the computing device to
20. 20. The computer-readable medium of claim 19, wherein the configuration information includes at least one of a hardware configuration, a software configuration, and a signal configuration.
