AGL Requirements Spec
Project AGL Project
Printed by
July 7, 2016, 10:18:17 AM EDT
.......................................................................................................................
Table of ContentsAutomotive Grade Linux (AGL) is a Linux Foundation Workgroup dedicated to creating open source software solutions for automotive applications. Although the initial target for AGL is In-Vehicle-Infotainment (IVI) systems, additional use cases such as instrument clusters and and telematics systems will eventually be supported. AGL has participants from the Automotive, Communications, and Semiconductor Industries and welcomes contributions from individual developers.
By leveraging the over $10B of investment made in the Linux kernel and other open source software projects, the AGL Workgroup:
The goals of the Automotive Grade Linux Workgroup are to provide:
This results in faster time to market by jump-starting product teams with reference applications running on multiple hardware platforms.
The scope of this document is to define the architecture of the Automotive Grade Linux software platform. The requirements are broken up into an overview of the Architecture and a description of each of the layers in the architecture followed by the requirements for each module in the various layers. The Architecture Diagram and the layout of the specification take into consideration all of the components that would be needed for an IVI system; however the are missing requirements for individual modules. As the spec continues to evolve those sections will continue to be filled in.
The main goal of this document is to define the core software platform from which applications can be built. As such, this document does not define application requirements except in a single case (Home Screen). Application requirements will be developed by various projects that use the AGL platform. Those application requirements can be used to drive new or revised requirements into the platform.
At this time there is no plan to use this specification to create a compliance or certification program. The specification is used as blueprint to guide the overall work of AGL and to derive work packages for companies and individuals to complete in order to attain the goals of the AGL Workgroup.
Term | Definition |
A2DP | Advanced Audio Distribution Profile |
AGL | Automotive Grade Linux |
AVRCP | Audio Video Remote Control Profile |
FS | File System |
GPS | Global Positioning System |
GPU | Graphical Processing Unit |
HFP | Hands Free Profile |
IBOC | In-Band On Channel |
LTSI | Long Term Support Initiative |
NTP | Network Time Protocol |
OEM | Original Equipment Manufacturer |
OS | Operating System |
OSS | Open Source Software |
SDL | Smart Device Link |
STT | Speech to Text |
TTS | Text to Speech |
The Automotive Grade Linux Software Architecture diagram is below. The architecture consists of five layers. The App/HMI layer contains applications with their associated business logic and HMI. Generally applications are out of scope for this document since they are product specific for the OEM that is developing a system based on AGL.
The Application Framework layer provides the APIs for creating both managing and running applications on an AGL system. The Services layer contains user space services that all applications can access. The Operating System (OS) layer provides the Linux kernel and device drivers along with standard OS utilities.
Applications may use a web based framework or a native framework. A system may include applications that use different frameworks. Coordination of applications between frameworks is performed by the AGL App Framework. The diagram represents possible applications that could appear in a given system, but is not all inclusive. Reference applications may be provided by AGL to demonstrate the capabilities of the platform.
Home Screen provides the Home User Interface (Home UI) of the system which meets the following requirements:
Rich UX covers requirements such as usability and user satisfaction. Driver Distraction mitigation covers requirements on display control and user operation behavior while vehicle is in motion to minimize driver distraction. Variations support covers requirements to support customization of design and behavior of the system to meet the different needs of vehicle type, destination and grade.
The following use cases are considered for Layout.
The use case assumed about System UI Parts is as follows.
The use case assumed about Application Management is as follows.
The use case assumed about Application Switch is as follows.
Application switching by application history is assumed as follows.
・ Specification of operation
- User runs a swipe from the edge of the application screen area.
・ Specification of action
- The order of the screen is managed order management list (application history).
- List order update opportunity(Update has determined a display of the application)
- Application starts or stops.
- Allowed to stand between the screen N seconds after the swipe.
※"N seconds":User defines the value of any.
- User to operate the screen after you swipe.
※"operation":Screen tap. Menu display. Other.
Figure 5‑2 represents a sample Home Screen depicting the above mentioned use cases.
Application switching by application stack is assumed as follows.
・ Specification of operation
・ Specification of action
Figure 5-3 represents the switching example depicting the application of the above switching.
Table 5-1 describes the role of the Home Screen to satisfy the purpose and use cases mentioned above.
No | Use Case | Role | Description |
1-1 | Layout
| GUI Layout definition | Function to define a customizable GUI Layout definition. |
1-2 | Change Layout | Function to apply the customized GUI layout definition. | |
2-1 | System UI Parts
| Status Bar | Function to display the information from application or system. Function to quickly access and set certain system settings. |
2-2 | On-screen | Function to display a popup window such as alert messages. | |
2-3 | System Setting | Function to display system settings menu regarding GUI, such as locale and network. | |
2-4 | Software Keyboard | Function to display software keyboard. | |
3-1 | Application Management
| Application Management | Function to download applications from application store. Function to install, uninstall and update the downloaded applications. |
3-2 | Application Launcher | Function to launch/terminate applications. | |
4-1 | Application Switch
| Application List | Function to switch applications by installed application list. |
4-2 | Application History | Function which switches application in order by applications history. | |
4-3 | Application Stack | Function to switch application in any order. |
Table 5-2: Relevance of the Role and Purpose
No. | Role | Rich UX | Driver Distraction mitigation | Variations support |
1-1 | GUI Layout definition | ✓ | ✓ | ✓ |
1-2 | Change Layout | ✓ | ✓ | ✓ |
2-1 | Status Bar | ✓ |
| ✓ |
2-2 | On-screen | ✓ |
| ✓ |
2-3 | System Setting | ✓ |
| ✓ |
2-4 | Software Keyboard | ✓ |
| ✓ |
3-1 | Application Management | ✓ | ✓ |
|
3-2 | Application Launcher | ✓ | ✓ |
|
4-1 | Application List | ✓ | ✓ |
|
4-2 | Application History | ✓ | ✓ |
|
4-3 | Application Stack | ✓ | ✓ |
|
Home Screen must provide a mechanism for customizable GUI layout definition by each vehicle type, each destination and each grade.
Home Screen must provide a mechanism for a customizable GUI layout definition for different vehicle type, destination and grade.
GUI layout definitioncan be definedsuch as the following items:
(In addition, items that can be defined is not limited to the following.)
Home Screen must provide a mechanism to apply customized GUI layout definition.
Home Screen must provide a mechanism to display two or more information simultaneously to the status notification area.
Home Screen must provide a mechanism to displaying status to status notification area.
Home screen must provide an interface to retrieve information from application for notification.
Home Screen must provide a mechanism to show popup window into on-screen window.
Home Screen must provide GUI method to hide on-screen window by user operation.
Home Screen must provide a mechanism to hide on-screen window within a specified duration.
Home Screen must provide an interface for applications to request to show popups.
Home Screen must provide an interface for applications to cancel the previously requested popup.
Home Screen must provide a mechanism to show text information, draw images and show software switch like button in the on-screen window.
Home Screen must provide a mechanism to specify attributes such as position and size of On-screen window.
Home Screen must support a mechanism to specify other window display effect when the On-screen window is displayed. (e.g. tone down)
Home Screen must provide system setting menu regarding GUI, such as locale and network.
Home Screen must provide a mechanism to change current date and time setting.
Home Screen must provide a mechanism to change timezone setting.
Home Screen must provide a mechanism to change language setting.
Home Screen must provide a mechanism to change wireless communications (Wi-Fi, Bluetooth, etc.) setting.
Home Screen must provide a mechanism to change mobile communication setting.
HomeScreen must support to change the appearance of a screen to a user's liking.
These are as follows.
Home Screen must support a mechanism to set or change master audio volume.
Home Screen must support a mechanism to set or change display brightness.
Home Screen must provide a mechanism to show software keyboard.
Home Screen must provide a mechanism to apply default settings (e.g. theme, local, wallpaper) to a new user, when a user is added by the User Manager.
Home Screen must provide a mechanism to manage downloaded application package.
Home Screen must provide a mechanism to launch the application.
Home Screen must provide a mechanism to terminate the application.
Home Screen must provide a mechanism to show the list of installed applications.
Examples of assumed application list
Home Screen must provide a mechanism for switching display application in order by application history.
Home Screen must provide a mechanism for the application stack in any order. For example, such as launch order or display order.
Home Screen must provide a mechanism for the system to switch applications.
For example, when Driving Mode changes, system must be able to switch application based on policy.
The Application Framework layer provides the methods needed to create software applications and their user interfaces. The platform can support multiple application frameworks any of which may be built into an SDK or product build. The application framework contains any code specifically written for that framework as well the bindings to the Services and Operating Systems layers that the application framework provides for its applications.
The AGL Application Framework provides basic services to all applications regardless of the framework they are implemented in so that there is a standard method providing the services.
Application Manager describes requirements for AGL application lifecycle function. Application lifecycle contains application installation/removal and launch/hide/resume/kill.
AGL System must support application lifecycle (install/uninstall, launch/kill, suspend/resume) based on appid/pid via launcher.
AGL System must support a database to store application metadata (appid, exec path etc.).
AGL System must provide an interface to get a list of installed applications.
AGL System must provide an interface to get the state of an application.
AGL System must provide application privilege control.
A window system is a software component that facilitates an implementation of graphical user interface. A window system is responsible for managing display devices, Graphics Processing Units (GPUs), input devices, and graphics memory. A window system works with the software component named window manager that is responsible for a layout management of windows, and a routing of user interactions.
A window manager is as software component that is responsible for a layout management of windows.
Window manager of automotive middleware layer makes up for traditional window management system to be satisfied IVI’s complex requirements, typically requested from Policy Manager. Also, AGL aims to provide well-portability among various hardware platforms.
Please refer “screen resource control” of Policy Manger section.
Table 7-148 describes the role of window manager to be satisfied above purpose and use cases.
Table 7-16 : Role of Resource Control
No. | Role | Description |
1 | Window drawing | Provide capability to draw a window to any place and any size and any scale. Also provide capability to change visibility of the window. |
2 | Overlay of multiple windows | Provide capability to overlay two or more windows with any z-order. Also provide capability to use hardware layer efficiently. |
3 | Visual effect | Provide capability to adapt visual effect as below.
|
4 | Frame rate control | Provide capability to control dynamic frame rate change. This is useful if system resource was shortage. |
5 | Multiple hardware layer support | Provide capability to use hardware layer efficiently if hardware supports two or more hardware layers. |
6 | Reduced dependency of hardware | Provide well-defined interface to reduce dependency of hardware. Well-defined interface also makes it possible to increase the effect of portability and development cost. |
7 | Multi window / multi display | Support multi window management and multi display. |
8 | Compatibility | From the compatibility point of view, AGL should use public API, and shall not rely on hardware specific API. |
System must provide a mechanism to manage surfaces, such as create, delete, make visible and make invisible.
System must provide a mechanism to create and delete surface.
When surface is created or deleted, system must notify status change to GUI resource.
This notification mechanism makes possible to assign surface to proper area by GUI resource.
System must provide a mechanism to change visibility per each surface.
And, provide an interface to change visibility.
All the surfaces must be set to invisible for initial state.
Surface will be visible only if GUI resource issues to change visibility.
System must provide a mechanism to move surface’s area. If area size was different between previous area and new one, then system must support to fit into new area by VIC.4.1.4.
System must provide a mechanism to fit surface into area. Because, size of area may different from size of surface.
If resize was happened, system must notify to surface’s owner application.
If size of surface and size of area was different, system must provide a mechanism to fit surface into area by squeeze.
If size of surface and size of area was different, system must provide a mechanism to fit surface into area by using combination of scaling and trimming function.
That means, system must provide a mechanism to fit surface into area keeping original aspect ratio. This makes it possible to fit by “pan & scan”.
If size of surface and size of area was different, system must provide a mechanism to fit surface into area by using combination of scaling and background color.
That means, system must provide a mechanism to fit surface into area keeping original aspect ratio. System also provides a mechanism to fill background color into redundant pixels. This mechanism makes it possible to do “letterbox” method.
System must provide a mechanism to create and delete a layer.
Layer must have a concept of z-order. That means, display order for each layer is decided by their z-order attribute.
Z-order attribute is fixed value. So, if application wants to change display order of surfaces, then, attached layer must be changed.
System must provide a mechanism to create and delete “area” to display surface.
Area is a concept which defines where to display in specific layer.
System must provide a mechanism to attach surface to any layer.
Also, system must be able to change attached layer.
And, provide an interface to attach and change.
System must provide a mechanism to assign surface to any area in a layer.
And, provide an interface to assign surface to any area.
System must provide a mechanism to change visibility per each layer.
That means all the surfaces belonging to same layer will be changed visible or invisible at the same time.
And, provide an interface to change visibility per layer.
Initial state must be set to invisible.
System must provide a mechanism to enable superimposed display based on z-order of each layer, and disposition of surfaces.
System must provide a mechanism to apply animation effect when visibility change was happened.
Per each animation, system must provide a mechanism to apply below attributes.
- Duration
Animation type
System must provide typical animation effects, such as slide-in, slide-out, zoom-in and zoom-out.
Also, system must provide a mechanism to add, delete and change animation effect easily by plug-in architecture.
System must provide a mechanism to apply animation effect when move surface was happened.
Per each animation, system must provide a mechanism to apply below attributes.
Animation type
System must provide typical animation effects, such as slide-in, slide-out, zoom-in and zoom-out.
Also, system must provide a mechanism to add, delete and change animation effect easily by plug-in architecture.
System must provide a mechanism to make effect to surface.
And, provide an interface to set effect type from application and other software components.
System must provide a mechanism to make specific surface to gray-out.
System must provide a mechanism to make specific surface to low brightness
System must provide a mechanism to add, delete and change effect for surface easily by plug-in architecture.
System must provide a mechanism to reduce frame rate independent from refresh interval of application.
System also provides a mechanism to set frame rate as 0fps, independent from refresh interval of application.
This function is useful to keep whole system quality even if high load status, such as live thumbnail and moving surface.
If hardware supports two or more hardware layers, system must provide a mechanism to use hardware layers efficiently.
Assign hardware layer for graphical high load function, such as video playback
Window Manager must be able to retrieve system structure regarding displays and layers of each display. And system must provide a mechanism to adapt any structure without re-build, such as by using re-configuration.
AGL specifies that automotive grade Linux shall manage multiple windows owned by multiple processes on a display.
AGL specifies that automotive grade Linux shall support multi-headed display.
AGL specifies that automotive grade Linux shall have a window manager that uses only public APIs provided by Window System and OpenGL/ES 2.0 for rendering and user interaction.
AGL specifies that automotive grade Linux shall have a window manager that relies on a standard rendering API such as OpenGL/ES 2.0 only. The window manager shall not rely on any hardware specific API.
A window system and OpenGL/ES 2.0 API are responsible for a hardware abstraction.
Policy Manager collects information and makes decisions based on them. To do that, Policy Manager collects lots of status, such as user operation and application status, then issue Vehicle Info Control or Resource Control to provide information. Policy Manager controls two types of resource, one is called “GUI resources” such as screen and sound, and other one is called “System resources” such as CPU and memory.
(1) Definition
· About Control of GUI Resources
AGL is supposed the following devices in this feature. For example, display with touch panel, speaker, and microphone. And AGL defines that “GUI resources” are resources that provide user or is provided by user on those devices, such as windows, sound streams and input events.
Figure 7-1: GUI resources
Policy Manager controls GUI resources according to external conditions. For example, Policy Manager limits the information of GUI resources while the vehicle is driving, because, the too much information distracts the attention of driver from driving operations.
· Associated Software Architecture
The software architecture of Policy Manager and related components regarding GUI resources control is as below.
Figure 7-2: Associated Software Expected Use Case
Policy Manager is related with the below components.
Table 7-1: Related Components
No. | Component | Description | |
1 | Homescreen | Request to control of GUI resources. | |
2 | Applications | Request to output or input of GUI resources. | |
3 | UI Component | Receive driving mode and day night mode. And then provide the corresponding feature to applications UI such as input limitation and changing the theme. | |
4 | Application Manager | Detect application installation. Then Notify the definition of GUI resources such as role by application configurations. | |
5-1 | Vehicle Info Control | Window Manager | Control screen resource such as show/hide windows. |
5-2 | Sound Manager | Control sound resource such as mute/unmute sound streams. | |
5-3 | Input Manager | Control input resource such as notify/not notify touch event on touch panel display to applications. | |
5-4 | Vehicle Info Distributor | Provide the vehicle information from vehicle network such as CAN. | |
5-5 | User Manager | Detect user switching. Then Notify the definition of user information such as application list of login user. |
(2) Role
Policy Manager has the below role.
Table 7-2: Role of Policy Manager
ID | Role | Description |
1 | External condition collection | (1) Receives the external conditions. |
2 | Judgment of priority of GUI resource | (1) Receives the input/output/control request of GUI resources. (2) Judgment the GUI resource owner according to external conditions. |
3 | GUI resource control | (1) Issue the GUI resource control according to judgment. (2) Notify the driving mode and day night mode that is calculated by external conditions. |
Figure 7-3: Definition of Role
GUI resource classifies screen resource, sound resource and input resource. Details of each resource type are as follows:
a. Screen Resource
a-1. External Condition Collection
Policy Manager collects the below definition that is related with screen resource.
Figure 7-4: Definition of screen resource
• Concept of Display, Layer, Layout and Area
AGL supports not only one physical display but also two or more displays. Each display has one or more layer. And each layer must be connected to one layout defined by Homescreen. Layout consists of one or more areas. “Area” is graphics composed area to display specific graphics window.
The z-order of layers is flexible. Policy Manager decides the z-order of each layer depending on objectives of them. For example, layer-1 was used as “phone call notification”, and layer-2 was used as displaying “map”, then Policy Manager will decide that layer-1 should be upper than layer-2.
Layer is created by application including Homescreen. When application creates layer, application specifies layer type. Layer type is roughly categorized as “Basic” and “Interrupt”. “Basic” layers are used to display application itself such as media playback, map drawing and setting menu. “Interrupt” layers are used to display overlay windows such as information alert and enlarged view.
When application creates layer with ”Basic” type, application must specify layout type for it. On the other hand, the case layer with “Interrupt”, application must specify corresponding “Basic” layer. The layout of “Interrupt” layer is followed by “Basic” layer’s layout.
From the capability of Policy Manager point of view, the main purpose of layer is to decide z-order. In other words, if there is a scenario to change z-order of two or more windows triggered by system status change and/or user operation, then such kind of window must assign to individual layer.
• Concept of Layer Owner, Role and Surface
“Layer owner” is application which created that layer. “Layer owner” can request each area of that layer. When “Layer owner” requests specific area, “Layer owner” also specify “Role” of area. “Role” represents how to be used that area, and used to define z-order of layers by Policy Manager.
“Layer owner” also can request to change “Role” for specific area, however, whether “Role” change is acceptable or not is decided by Policy Manager by using policy rule.
One area should connect to one graphics window. AGL defines the term “Surface” as graphics window to display into one area.
Surface is a canvas to draw graphical image by application. To show via physical display, surface drawn by application must be assigned to specific area. Figure 7-16 describes simplest example to assign one surface to full screen with one layer. If layer has two or more areas, then corresponding surfaces are mapped to each area. According to example of Figure 7-16, surface is fit to area size as “squeeze”, however AGL also provide a way to fit as “letterbox” and “pan & scan”.
Figure 7-5: Definition of Surface
• Subdivision of “Interrupt” Layer
Basically, “Basic” layer corresponding to “Interrupt” layer is used to display application’s main surface. However there are some exceptions. For example virtual keyboard is not needed main surface. However, to follow this layer type rule, virtual keyboard must have corresponding “Basic” layer. But this “Basic” layer never used to display. Also on-screen, such as alert message is not needed main surface too. But it must have corresponding “Basic” layer from same reason.
According to above concept and some exceptions, AGL defines four layer types described as Table 7-3.
Table 7-3: Definition of Layer Type
No | Type | Summary | Example |
1 | Basic | This is application’s basic screen. Typically, application requests this layer at first time. | Map of navigation |
2 | Interrupt | This is application’s popup screen. | Enlarged view of navigation |
3 | On-screen | This is system popup screen. Typically, On-screen service (e.g. Homescreen) requests this layer. | Warning message popup |
4 | Software keyboard | This is the software keyboard screen. Typically, software keyboard service requests this layer. | Software keyboard |
a-2. Judgment of Priority of GUI Resource
Policy Manager receives the request with “Role” that is related with each screen resource. Role is the category name of screen resource priority. Role is used to judgment of priority by Policy Manager. Table 7-4 and Figure 7-6 describes the definition of role and sub role.
Table 7-4: Definition of Role
No | Contents | Summary | Example |
1 | Role | This is screen owner (such as application or service) role. | Navigation |
2 | Sub role | This is specific screen role. | Enlarged view |
Role consists of role and sub role. Role is screen owner role such as “Navigation” and “Software keyboard”. Sub role defines when layer type of the screen resource is not “Basic”. Sub role is popup screen role such as “Enlarged view” (of Navigation).
Figure 7-6: Definition of Role and Sub role
The screen resources are sorted of priority that is related to role by Policy Manager. If display has two or more layers, then all layers will be superimposed by z-order.
In addition, Policy Manager decides the area of "Interrupt" layer using role. Area of "Interrupt" layer must be same area of the related "Basic" layer. "related" means that "Role" (is not "Sub role") of "Basic" and "Interrupt" is same. For examples, if "Interrupt" layer is set “Navigation” role and “Lane guidance” sub role, this is set in same area of "Navigation" role.
a-3. GUI resource control
Policy Manager controls the screen resources using Vehicle Info Control. Policy Manager only issues to control the screen resources but it is actually controlled by Vehicle Info Control directly.
There are three types of screen resource control:
One is allocation of each surface such as position, size and size-fitting method.
Second one is visibility control. Basically, visibility should be “ON” during area owner was assigned. However, visibility may set to “OFF” during driving mode due to driving restriction.
Last one is order control of each layer. Policy Manager decides the order of each layer, and issue z-order information for each layer.
b. Sound Resource
b-1. External Condition Collection
Policy Manager receives the below definition that is related with sound resource.
Figure 7-7: Definition of Sound Resource
• Zone
Zone is a place in the car, such as driver zone, passenger zone, rear seat zone. Each zone can play at the same time.
• Sound type
Sound type is the category of sound resource. Sound type must be set by each sound resource owner such as application. If application wants to play sound, it must be assigned to proper sound type of proper zone. Only one sound stream can occupy specific sound type of specific zone. In other words, if two or more sound streams should be mixed in same zone, then each sound stream must assign to individual sound type.
AGL supports the following sound type, however it’s just sample and should be configurable.
Table 7-5: Definition of sound type
No | Type | Summary | Example |
1 | Basic | This is application’s basic sound. | Music of media player |
2 | Interrupt | This is application’s interrupt sound. | Guidance of Navigation |
3 | Beep | This is beep. Typically, Homescreen requests this type. | Display touch sound |
• Stream
Stream is connection of sound resource that is made in applications. Sound is transferred in stream.
b-2. Judgment of Priority of GUI resource
Policy Manager receives the request with “Role” that is related with each sound resource. Role is the category name of sound resource. Role is used to judgment of priority by Policy Manager. Figure 7-8 describes the definition of role.
Figure 7-8: Sample Role
The sound resources in the same zone and same sound type are switched along the priority that is related to role by Policy Manager. In other words, the sound resources of different zones or different sound type are not switched. They are mixed.
b-3. GUI Resource Control
Policy Manager controls the sound resources using Vehicle Info Control. Policy Manager only issues to control the sound resources but it is actually controlled by Vehicle Info Control directly.
There are two types of sound resource control:
One is playback control such as play, pause and stop. Policy Manger issues to play sound for sound area owner, and if area owner was changed, then issue to stop previous playing sound stream and to start play latest area owner.
Other one is volume control. Two or more sound streams of same zone may playback simultaneously if each sound streams are assigned to different sound type. In this case, Policy Manager specifies volume parameter for each sound stream. For example, if route guidance and music playback are mixed, assign higher volume to route guidance and volume down for music playback.
c. Input Resource
c-1. External Condition Collection
Policy Manager receives the below definition that is related with input resource.
Figure 7-9: Definition of Input Resource
• Device Name
Device name is identity of input device such as steering SW and microphone.
• Event Type
Event type is logical group of input event from each input device such as volumes and temperatures.
c-2. Judgment of Priority of GUI resource
If application wants to be notified input event, it must request input event notice with device name and event type. The request is judged whether to notify by Policy Manager using policy DB. And Vehicle Info Control notifies input event to applications along the result of the judgment as below.
Figure 7-10: Definition of routing rule
OEM special switch means product variant configuration in Figure 7-10.
c-3. GUI Resource Control
Policy Manager controls the input resources using Vehicle Info Control. Policy Manager only issues to control the input resources but it is actually controlled by Vehicle Info Control directly.
Input resource control is to specify event target to Vehicle Info Control.
(1) Definition
Policy Manager controls System resources according to external conditions. For example, Policy Manager limits memory usage of background applications when memory shortage was occurred.
Policy Manager controls System resources by using “Resource Control” of kernel layer. So, target resources are CPU, memory, storage bandwidth and network bandwidth.
a. Role
ID | Role | Description |
1 | External condition collection | (1) Receives the external conditions. |
3 | System resource control |
|
(1) External Condition Collection
System must provide a mechanism to receive the definition that is used judgment of resource owner.
System must provide a mechanism to receive the physical display information. Because system uses physical display information with to control surface to other system. The receive information must include as follows.
a. ID
b. Display resolution (Vertical and horizontal number of pixels)
c. DPI
d. Connected ECU
System must provide a mechanism to receive the layout definition. Layout definition must be able to identify the all areas of display. As a result, system recognizes the available area list according to current layout of each display.
The receive definition must include the follows.
a. ID
b. Area list
System must provide a mechanism to receive the area definition. Area is set application surface by system if the request is accepted by system. As a result, application surface displays on the device.
The receive request must include the follows.
a. Layout ID
b. ID
c. Area position (Coordinate of the upper-left)
d. Area size (Length * Width)
System must provide a mechanism to receive the layout type of each display. System can specify the available areas if layout type is defined. The receive information must include the follows.
a. Display ID
b. Layout ID
System must provide a mechanism to receive the priority rule. Because system must judge the providing resource using it when the request is collision.
The receive information must include the follows.
a. Role
b. Priority
System must provide a mechanism to receive the vehicle status. Because system must judge driving mode.
The receive information must include the follows.
a. Velocity
b. Brake status
System should provide a mechanism to receive the vehicle status. Because system should judge day night mode.
The receive information should include the follows.
a. The brightness of the interior
System should provide a mechanism to receive the user status. Because system should judge the providing resource using it.
System should provide a mechanism to receive the infrastructure status. Because system should judge the providing resource using it.
(2) Judgment of Priority of GUI Resource
System must provide a mechanism to assign resource owner to the requested resource according to external condition. This means that system judges the providing resource.
System must provide a mechanism to receive the layer request. System allocates the physical resource. Application must request the area on this layer if application needs to display the resource.
The receive request must include as follows.
a. Role
b. Layer type
The receive request should include as follows.
c. Display ID
System must provide a mechanism to receive the area request. System sorts layers in order by priority that is related with the specified role. Then system displays the application surface on the specified area on the specified layer.
The receive request must include as follows.
a. Role
b. Layer ID
The receive request must include as follows when layer type of the specified layer is “Basic”. Because there is a specification that the area on layer except basic type must be located on the related basic type area.
c. Area ID
Figure 7-11: Sequence to display
System should provide an interface to request both screen and sound resource simultaneously. In this request, requester should choose below options.
System should provide a mechanism to receive the request of forcibly acquire and forcibly release. System should be able to forcibly acquire and forcibly release request during system running. System should raise the requested surface to the top of the display.
The receive request should include the follows in addition to the information of the normal request.
a. Effective period (Can set unlimited)
System should not raise the other surface above its during effective period.
System should provide a mechanism to receive the request that is specified the following effect.
a. The effect at the transition
b. The effect of display surface
System must provide a mechanism to judge priority of resources. The screen resources are sorted of priority that is related to role by system. If display has two or more layers, then all layers will be superimposed by z-order.
System must provide a mechanism to judge visible surfaces according to vehicle running state. System must hide the surface that has too much information.
(3) GUI Resource Control
System must provide a mechanism to issue the resource control according to judgment.
System must provide a mechanism to issue the following resource control.
a. Visible / Invisible
b. Change position
c. Raise
The receive request must include as follows.
i. Surface ID *Only case of visible.
ii. Display ID *Only case of visible.
iii. Layer ID *Only case of visible.
iv. Position (Coordinate of the upper-left) *Only case of visible and change position.
v. Size (Length * Width) *Only case of visible.
System should provide a mechanism to set the following effect of the surface to other system.
a. The effect at the transition
b. The effect of display surface
(1) External Condition Collection
System must provide a mechanism to receive the definition that is used judgment of resource owner.
System must provide a mechanism to receive the zone definition. Because system uses zone information with to control stream to other system. The receive information must include as follows.
a. ID
b. Sound device ID
System must provide a mechanism to receive the sound type definition. Because system uses sound type information with to control stream to other system. The receive information must include as follows.
a. ID
(2) Judgment of Priority of GUI resource
System must provide a mechanism to assign resource owner to the requested resource according to external condition. This means that system judges the providing resource.
System must provide a mechanism to receive the owner request. System must be able to receive request during system running.
The receive request must include as follows.
a. Role
b. Zone ID
c. Sound type ID
System should provide a mechanism to receive the request of forcibly acquire and forcibly release. System should be able to forcibly acquire and forcibly release receive request during system running.
The receive request should include as follows in addition to the information of the normal request.
a. Effective period (Can set unlimited)
System must assign resource owner as requested. And system must not assign resource owner by other request on same area during effective period.
System should provide a mechanism to receive the request that is specified the following effect.
a. The effect at the transition
b. The effect of output sound
System must provide a mechanism to judge priority of resources when there are two or more resources on same sound type on same zone. System judges the providing resource by priority of resources that is related to role.
* Boundary of the role between Policy Manager and application.
Figure 7-12: Boundary of role (Case of reverse)
System should provide a mechanism to manage order of the owner request. Because system should provide a mechanism to hold the request until the request is approved.
For example, if current playing interrupt sound completed, select the next play interrupt sound from request history based on the priority.
(3) GUI Resource Control
System must provide a mechanism to issue the resource control according to judgment.
System must provide a mechanism to issue the following resource control.
a. Mute / Unmute
b. Change zone
The receive request must include as follows.
i. Stream ID
ii. Device
In the case of multi-channel speaker, the receive request should include as follows.
iii. Channel ID
System should provide a mechanism to set the below effect of the sound to other system.
a. The effect at the transition
b. The effect of output sound
(1) External Condition Collection
System must provide a mechanism to receive the definition that is used judgment of resource owner.
System must provide a mechanism to receive the input device information. Because system uses input device information with to control input event to other system. The receive information must include as follows.
a. ID
System must provide a mechanism to receive the event type definition. Because system uses input device definition with to control input event to other system. The receive definition must include as follows.
a. ID
b. Related event IDs
(2) Judgment of Priority of GUI resource
System must provide a mechanism to assign resource owner to the requested resource according to external condition. This means that system judges the providing resource.
System must provide a mechanism to receive the owner request. System must be able to receive request during system running.
The receive request must include as follows.
a. Input device ID
b. Event type ID
System should provide a mechanism to judge whether to accept request according to the limitation routing rule of policy DB.
(3) GUI Resource Control
System must provide a mechanism to issue the resource control according to judgment.
System must provide a mechanism to issue the following resource control.
a. Set the routing rule
The receive request must include as follows.
i. Input device ID
ii. Event type ID
The receive request must include either as follows.
iii. The allowed application
iv. The denied application
System should provide a mechanism to set the following information.
a. Application that has active surface
System should notify the touch event from touch panel to user operating application. This feature is needed because there may be case that privilege application such as Homescreen changes the active surface.
(1) External Condition Collection
System must provide a mechanism to collect external conditions to be used by Policy Manager to decide proper system resource.
Policy Manager must detect creation and deletion of process.
To detect creation of process, Policy Manager can assign proper system resource to created process.
Also, to detect deletion of process, Policy Manager can assign resources of deleted process to other active processes.
To assign proper system resource to specific process, system must provide a mechanism to identify process’s role. In other words, Policy Manager must recognize the purpose of each active process.
Policy Manager must detect current memory consumption periodically.
To detect current memory consumption, Policy Manager can control maximum memory to each process to prevent memory shortage. Also, Policy Manager may kill processes which were thought as not so important process.
Policy Manager must detect current CPU consumption periodically.
To detect current CPU consumption, Policy Manager can control priority to each process to keep system performance. Also, Policy Manager may kill processes which seem to be in unexpected busy state.
System must provide a mechanism to notify application status change to Policy Manager. Application status includes as below.
(2) System Resource Control
System must provide a mechanism to change assigned system resource per process or process group according to external conditions.
According to policy based decision, Policy Manager must assign proper system resource to target process or process group by using “Resource Control” of kernel layer. (typically cgroups will be used)
System must provide a mechanism to kill process or process group forcibly.
Resource Management shall consist of three functional components - Resource Manager, Policy Manager, Connection Manager.
Resource Management shall provide CORBA interfaces to rest of the components in the system.
Each resource request shall be in form a:
AppID,
SourceID,
RequestorZoneID,
NeedAll Flag (to specify if all the resources need to be allocated ),
Required Resource List.
Resource Management shall be able to handle resource requests for Audio Sinks (eg: Cabin Speakers, HeadPhones)
Resource Management shall be able to handle resource requests for Video Sinks (eg: Display)
Resource Management shall be able to handle Source arbitration (Mic, WavPlayer instances, Tuners etc.)
Resource Management shall be able to validate all the input parameters for a resource request from resource requestors.
Resource Management shall be able to keep track of all the available resources.
Use CCF data to identify all the resources that are possible in the system. (static identification)
Use dynamic registration by the resource owners to identify what resources out of the above list are available at a point of time in the system. (dynamic identification)
Resource Management shall inform about resource availability and unavailability in the system through status update.
Resource Management shall support stacking/queuing of resource requests.
> Receive the requests from the resource requestors.
> Handle each request in chronological order and check for policy validation through Policy Manager.
> Add the validated requests into a priority queue.
> Process each request from the top of the queue for establishing the connection.
> If a request is still in the pending queue and the requestor requests to withdraw the request, it shall be removed from the queue.
Each request for resource shall be handled as an independent request irrespective of any earlier request by the same requestor. In case of multiple resources requested in a single request, it shall be treated as a single request and will be processed based on the request parameters.
If the NeedAll flag is set by the requestor, it shall either grant all the requested resources to the requestor or none of them shall be granted. There shall be no partial allocation of resources.
If the NeedAll flag is not set, it shall be able to do partial allocation of resources i.e. grant some/all of the resources requested by the requestor.
Resource Management shall provide an interface to a request owner to remove/withdraw an existing resource request.
Resource Management shall check for every requested resource against a pre-defined set of policies if the request can be served at this point of time or not. Below is a list of possible inputs for the policy decision:
> Currently Free or InUse Sink status
> Who is the resource owner of the currently used sink resource (if it is in use)
> Priority of the new requestor compared to the currently using requestor.
Resource Management shall use the system state as an additional input to make a decision if a request can currently be serviced or not. Below system states can be taken as input to the policy decision:
> Based on the speed restriction setting for a specific region, a request can be granted/kept pending.
> Low Power Mode, Eco Mode, System errors shall also be used to make policy decisions.
At any point of time it shall maintain the following information for each ZONE for use by resource requestor:
> Zone ID
> Allocated Source Instance
> Allocated Sink Instance
> Mute status
Resource Management shall not consider requirements to achieve a specific feature functionality (e.g. : Lowering audio volume of rest of the sinks when a phone call is in progress) as an input to the resource management policy.
Resource Management shall not provide support for requirements to achieve a specific feature functionality (e.g.: Pausing a pausable source when phone call is in progress).
Resource Management shall maintain priorities for all non-entertainment sources (eg: AMFM_TA, PHONE_NORMAL, NAV_VG, etc. shall all have priorities). In case two sources have same priority, the first requestor shall be granted a resource. In case of difference in priorities, the highest priority resource request shall be the one that is granted the resource.
Resource Management shall maintain same priority for all entertainment sources (eg: MP, DVD, AMFM_NORMAL, etc. shall all have the same priority). The last received Entertainment resource request will be the one that is granted the resource.
A valid (parameter and policy validated) resource request shall never be denied to the requestor. It shall either be granted or kept as a pending request in the priority queue.
Resource Management shall be responsible for reporting a broken resource status.
It shall be the responsibility of the resource requestor to remove the request from Resource Manager if the resource is no longer needed.
Resource Management shall assign a sink instance (the specific instance allocated out of all available instances of the requested sink type for a particular zone) to a resource request, once the request is granted against the set policy.
Resource Management shall maintain connection state of an already granted connection. Possible connection states are Active or Passive.
> When a source has the primary (master) control over a sink, the connection state will be active.
Ex: In normal mode, a driver requesting for AMFM source to Driver HeadPhone Sink connection.
> When a source has the secondary (slave) control over a sink, the connection state will be passive.
Ex: Driver using the AMFM source, at the same time the rear passenger requesting for same AMFM source on Rear headphone sink.
Resource Management shall be responsible for connecting/building a new source-sink connection using the underlying platform support.
Resource Management shall be responsible for removing/releasing an existing source-sink connection using the underlying platform support.
Resource Management shall request to mute the audio sink before an existing connection is removed/released.
Resource Management shall provide an interface to unmute the audio sink when a connection is re-established and the active source is ready to use the sink for audio routing.
Resource Management shall provide an interface to unmute an audio sink.
Resource Management shall inform the resource requestor when the sink is connected and ready to be used for audio routing.
Resource requestor needs to inform the Resource Manager when they are ready to start audio routing. This information shall be used to unmute the allocated sink.
Resource Management shall maintain the system connection table at any point of time. Connection table contains information regarding which sink is currently allocated to which source instance.
Resource Management shall support handling of change in behaviour based on Limo setting:
> Share the source between the Rear Seat headphone (Limo mode owner) and Cabin Speakers.
System shall support 4 ForegroundBeep sinks and 2 ForegroundSpeech sinks. 2 additional sinks are reserved for Engine noise synthesis which is outside the scope of this document. Additionally 1 FG speech sink and 1 FG beep sink is reserved for future use by ISC.
The number of sinks supported by the system shall be configurable through LCF parameter.
Headphones shall not be required to support any foreground sinks.
In case of Foreground sources and Tuner interrupt sources, any sink that is taken away from a source because of a high-priority interruption, need to be returned back to the previous source (if the request from the previous source is still valid and it's the next highest priority request).
As part of requirement to improve connection handling efficiency, it shall have exceptions to not disconnect the active connection while switching between any Tuner Source-Sink Background connection to another Tuner Interrupt Source with same sink connection.
It shall inform Resource Manager about a errors/failure in any of the existing sinks.
It shall inform Resource Manager about a errors/failure in any of the existing sources.
It shall provide the error state information about all resources to the Platform Error State Manager.
It shall inform the resource requestors in case the request is for an erroneous or faulty sink.
It shall wait for the application manager to notify it to prepare for shutdown.
It shall interact with the data storage manager to access (read and write) persistence data.
It shall interact with the data storage manager to access CCF data.
It shall support rules/exceptions (Blacklist) that define resource allocation strategy based on current system scenario.
E.g.: If there is a blacklist rule that says a Speech session shall not be allowed while phone call is in progress, then even if a FG sink is available, Speech shall be denied resources and kept as a pending request.
It shall provide an interface to receive Limo mode setting status.
It shall provide an interface to receive status when a rear-user selects to take Cabin control.
It shall use interfaces of early app to receive information if it's already using Audio/Video resources and update its internal status accordingly.
On any change in input to the Policy Manager (system state) it shall reevaluate all active connections and reconnect or disconnect if required.
E.g. An Amp gets disconnected, then all active connects have to be disconnected.
Once the Amp gets reconnected, the connection info shall be reevaluated and final set of connections shall be rebuilt with Amp.
It shall provide CORBA interfaces to the Resource Manager.
It shall be responsible for connecting/building a new source-sink connection using the underlying platform support.
It shall be responsible for removing/releasing an existing source-sink connection using the underlying platform support.
It shall request to mute the audio sink before an existing connection is removed/released.
It shall provide an interface to unmute an audio sink.
System shall support 4 ForegroundBeep sinks and 2 ForegroundSpeech sinks. 2 additional sinks are reserved for Engine noise synthesis which is outside the scope of this document. Additionally 1 FG speech sink and 1 FG beep sink is reserved for future use by ISC.
The no. of sinks supported by the system shall be configurable through LCF parameter.
It shall inform Resource Manager about a errors/failure in any of the existing sinks.
Headphones shall not be required to support any foreground sinks.
It shall wait for the application manager to notify it to prepare for shutdown.
It shall interact with the data storage manager to access (read and write) persistence data.
It shall interact with the data storage manager to access CCF data.
A sound manager is a mechanism in which a sound output demand in two or more zones from two or more applications is arbitrated, an audio server manages control of a sound output and a policy manager manages a mediation rule.
A zone is a place in the car divided by the purpose of output power of sound like a driver zone, a passenger zone, and a rear seat zone. Each zone can play at the same time. Refer to "Sound resource" of "7.1.1.2 (2) Role" of "7.1 Policy Manager" for the details of a zone.
Applications that play and capture audio via the audio server, applications that control things like volume and routing via the audio server, and a policy manager that works with the audio server to implement automatic audio policies.
Please refer “sound resource control” of Policy Manger section.
Table 7-14 describes the role of sound manager to be satisfied above purpose and use cases.
Table 7-15 : Role of Resource Control
No. | Role | Description |
1 | Routing sound streams | To route each sound stream to proper zone(s). |
2 | Mixing level control | Mixing two or more sound streams after volume control of each sound streams. |
3 | Sound effect | Provide a capability of sound effect as follows,
|
4 | Reduced dependency of hardware | Provide well-defined interface to reduce dependency of hardware. Well-defined interface also makes it possible to increase the effect of portability and development cost. |
System must provide a mechanism to manage sound “zone”.
Refer to "(2) Sound resource" of "7.3.1.2.2 Role" of "7.3 Policy Manager" for the details of a zone and how to manage zone.
System must provide a mechanism to manage one or more connected sound devices, and each channels of each sound device.
One or more sound devices are usually connected to a system, and each sound device consists of one or more channels. And each channel outputs the sound of a monophonic recording.
For example, as for a stereo sound, a speaker is connected to each of two channels, and it is arranged at the driver side of a car, and the passenger seat side. If a telephone call is got when outputting stereo music from both of speakers, only the channel of a driver side needs to lower musical volume, and needs to mix and output the sound of a telephone (to louder sound than music). For this reason, the system needs to recognize and control each channel of each sound device.
The system must determine the route which outputs two or more sound streams to two or more zones.
Although the output place zone of a sound stream may change dynamically according to the present state of vehicles and a policy manager makes the decision, sound manager requires the mechanism in which a route is smoothly changed based on the determination of policy manager.
System must provide a mechanism to manage two or more sound zone as grouped zone.
System must provide a mechanism to do volume control for specific zone.
All the sound outputted to a certain zone is adjusted by the volume of the zone.
System must provide a mechanism to control sound stream.
Control of a sound stream is as follows.
Volume control: System must provide a mechanism to change volume to any sound stream.
The system must offer the mechanism for arbitrating two or more sound streams outputted to the same zone according to a policy manager's arbitration.
System must provide a mechanism to do mixing after volume control of each sound streams.
System must provide a mechanism to attenuate sound volume when other sound stream requested to play into same sound zone.
In this case, system must also provide a mechanism to return to the volume before attenuating the volume of a sound stream when interrupted sound stream was ended.
System must provide a mechanism to mute sound volume when other sound stream requested to play into same sound zone.
In this case, system must also provide a mechanism to unmute sound volume when interrupted sound stream was ended.
System must provide a mechanism to suspend sound stream playback when other sound stream requested to play into same sound zone.
In this case, system must also provide a mechanism to resume playback when interrupted sound stream was ended.
When sound stream was changed, system must provide a mechanism to do sound effect.
System must provide typical sound effect such as fade in and fade out.
System must provide a mechanism to add, replace and delete sound effect easily by using plugin architecture.
Sound Manager must be able to retrieve system structure regarding sound device and channels of each device. And the system must enable addition/deletion of a sound device by the means which does not need rebuild of systems, such as a configuration.
The Input Manager provides a capability to deliver input events to the proper application depending on request from Policy Manager. Policy Manager will decide event target per each input area. Also, the IVI system may use various car-oriented input devices such as steering switch. Input manager provides a capability to abstract such kind of input event.
Please refer “input resource control” of Policy Manger section.
By the way, associated input devices are listed below.
No. | Input type | Associated device | Description |
1 | Key | Steering switch | Simple key event. Deliver to application. |
2 | Keyboard | Virtual keyboard | Keyboard event. Deliver to application, then use input method backend if needed. |
3 | Touch | Touch panel | Touch event, such as start, stop and move. Also supports double click and multi-touch capability. Deliver to application. |
4 | Sound | Microphone | Sound input. Deliver to application or voice recognition engine. |
Table 7-14 describes the role of input manager to be satisfied above purpose and use cases.
Table 7-14 : Role of Resource Control
No. | Role | Description |
1 | Abstract device event | Provide capability to abstract from device event to application readable event name, such as “volume up” and “right arrow”. |
2 | Event delivery | Provide capability to deliver input event to specified application. |
System must provide a mechanism to re-configuration regarding input devices without re-build.
Because, connected input devices may different by car grade, car type, destination and optional equipment.
System must provide a mechanism to deliver any input event to any application.
System must provide an interface to apply event delivery rule by using attribute pair “device id” and “destination application id”.
Device id specifies a logical device name. Logical device name will link to physical device by UIM.2.1.2.
Also, system must provide a mechanism to change event delivery rule dynamically.
System must provide a mechanism to link between logical device name and physical device.
System must provide a mechanism to deliver any input event to any application depending on delivery rule defined in UIM.2.1.1.
System must provide a mechanism to inhibit any event delivery.
This function makes it possible to restrict input event during driving mode.
User manager provides multi-user environment. A car may be used by two or more people, and a person may use two or more cars, by using rent-a-car, for example.
Multi-user environment provides same user experience for each user.
Also, multi-user aims seamless personal data sharing not only between cars but also including other devices such as smartphones and smart TVs. Furthermore, it will include seamless data sharing from your home and your office.
Identify the person, and log-in to the IVI system as a specified user. Personal identify may be provided by traditional user name and password pair, smart key or biometrics.
Once a user has logged-in to IVI system, IVI system should provide personalized user experience. For example, Bob uses English, but Alice uses French. Also, Bob likes rock-music, but Alice likes classic-music. In this case, English and rock-music should be selected when Bob is logged-in, and Japanese and classic-music should be selected when Alice is logged-in.
Figure 7-24 : Provide Logged-in User’s UE (User Experience)
When Bob uses a rent-a-car, same preference should be adapted as if he rode his own car. If Bob’s preference was stored in a cloud, then this can be supported. However, security is important in this scenario. For example, Bob must not be able to access to other user’s preference.
Figure 7-25 : User data sharing between cars
Cloud-based user data syncing will enable seamless data sharing between IVI systems and smart-phones, home networks and accessing from your offices.
Figure 7-26 : User data sharing over the cars
Error! Reference source not found. describes the role of the User Manager to satisfy the above purpose and use cases.
Table 7-17 : Role of User Manager
No. | Role | Description |
1 | User identification | Provide a mechanism to identify user, such as user name and password pair, smart key and biometrics. Provide a mechanism to log-in to the IVI system as a specified user. When a different user logs in, proper user preference for the user must be applied, and resume last state of corresponding user. Also, each application can store application’s data per user. In such cases, proper user data must be applied when a different user logs in. |
2 | User preference | Provide a mechanism to apply user preference of logged-in user. User preference includes the following data.
|
3 | User data management | Provide a mechanism to manage cloud based user data. The following capabilities are required.
In addition to the above basic capabilities, user data cache is essential for a car, since a car may not always have a reliable network connection. |
4 | Security | Because cloud based sharing user data may be accessed from any place, user data must be protected from unexpected data access. So, IVI system must provide security mechanism regarding accessing to cloud based user data. |
System must provide a mechanism to identify logged-in user.
System must provide a mechanism to enter user name and password, and verify password to identify logged-in user.
System should provide a mechanism to read smart key attribute to identify logged-in user. For example, using NFC.
System should provide a mechanism to identify logged-in user by using biometrics.
When a logged-in user is identified, system must apply user preference depending on the currently logged-in user.
System must provide a mechanism to apply personalized user experience as follows.
- Locale settings
- UX theme
Wall paper
System must provide an easy mechanism to add plugin function and/or attribute of personalized user experience.
System must provide a mechanism to switch application data per user, and apply logged-in user’s application data automatically.
When user is identified and logged-in, the system must apply last status of logged-in user. Last status refers to the status of the system as the current logged-in user has last logged-out of the system. Specifically, last status includes the following.
- Foreground applications. That means displayed applications.
Background applications.
When user logs in for the first time, the system must apply user preference for new log-in user.
System must provide a mechanism to apply default preference attributes for new log-in user.
System must provide default preference attributes and HMI to apply for first time log-in user.
System must provide a mechanism to manage user data.
AGL defines “user data” as a general term which includes all the data necessary to realize user preference.
User data shall be stored in the cloud. The cloud provides user data not only to IVI systems but also other systems and/or devices such as smartphones, Home-PCs, business-PCs, HEMS and home electronics.
System must provide a mechanism to apply user preference and to supply user data to application by using cloud based user data.
System must provide a mechanism to download cloud based user data and apply it as user data of the IVI system.
When user data is updated in the IVI system, then the system must upload updated user data to the cloud.
Also, since other device or system may update shared user data elsewhere, system must provide a mechanism to sync with the cloud periodically to keep user data in the IVI system up-to-date.
Because the IVI system is not necessarily connected to a network, the system must provide a mechanism to cache downloaded user data.
If the IVI system re-connected to a network, system must sync with the cloud as soon as possible.
Because user data may include personal information, system must provide a mechanism to protect user data from risks including but not limited to leakage, tampering and theft.
System must provide a mechanism to protect user data when accessing to the cloud.
- System must authenticate communication entity. In other words, IVI system must authenticate cloud server, and cloud server must authenticate client such as IVI system, smartphone or PC.
- System must provide a mechanism to encrypt transported data via a network.
- System must provide a mechanism to transport data via a network with protection against falsification of data from unauthorized access or illegal access.
- Cloud server must provide a mechanism to authenticate individual user, and provide user data only to the authorized user.
Because, two or more user’s user data may be stored in IVI system as a cache, system must provide a mechanism to protect cache data from other users. The protection of cached data to include not only the current multi-user environment risk, but also the risk of attacks against cached data. In other words, only logged-in user’s cache data can be accessed.
Web based HMI. Contains applications, web runtime environment, and web-based home screen.
It is discussed that HMI parts of IVI system will be developed using HTML5. APIs to use service function in IVI system from web applications is needed. Audio Visual API provides APIs for audio visual equipment control to web applications. (e.g. Media files on storage, CD, DVD, BT-Audio, Photo, etc.)
Web applications use Audio Visual API to play audio visual contents on IVI system. Use case of Audio Visual API is shown in Figure 6-1.
Figure 6-1: Use case of Audio Visual API
Audio Visual API must provide API to select Audio Visual contents.
Audio Visual API must provide API to playback Audio Visual contents. (Media file on storage, CD, DVD, BT-Audio, Photo, etc.)
Audio Visual API must provide API to control a volume.
Audio Visual API must provide API for metadata access about Audio Visual contents.
Audio Visual API must provide API for notifications.
Audio Visual API must provide API to play AM/FM radio.
Audio Visual API must provide API to play digital radio.
AGL System must support a web API to access Vehicle information.
AGL System must support web API to control STT/TTS daemon.
AGL System must support web API to control navi engine.
AGL System needs to provide a Web API to allow peer to peer communication between two web apps.
AGL System needs to provide an API to allow peer to peer communication between a web app and a native app.
AGL System must support access control over app to app communications. Service provider should be able to restrict subscriber.
AGL System must support W3C/HTML5 DOM, Forms and Styles.
AGL System must support W3C/HTML5 Device APIs: Touch Events, Device Orientation, Network Information
AGL System must support W3C/HTML5 Graphics APIs: canvas, canvas 2D context, and SVG
AGL System must support W3C/HTML5 Media: audio and video tags, user media and web audio
AGL System must support W3C/HTML5 Communication APIs: websocket, web messaging, server sent events, session history of browsing context
AGL System must support W3C/HTML5 Storage APIs: Web storage, File, Database, Web SQL
AGL System must support W3C/HTML5 Security APIs: Cross-Origin Resource Sharing, HTML5 The iframe element, Content Security Policy 1.0.
AGL System must support W3C/HTML5 UI APIs: Clipboard, DnD, Web Notifications
AGL System must support W3C/HTML5 Performance APIs: Web workers, Page Visibility, Timing control, Navigation timing
AGL System must support W3C/HTML5 Location API: Geolocation
AGL System must support W3C/HTML5 Widget: Widget Packaging and XML Configuration, Widget Interface, XML Digital Signatures for Widgets, Widget Access Request Policy
AGL System must support Khronos WebGL API.
The Web Runtime module contains the bindings for the Web Application Framework to access the AGL Application Framework and Services.
AGL system Web Runtime shall provide full web application lifecycle management (e.g., installation/removal).
AGL System Web Runtime shall provide full execution environment for web apps (i.e., launch, view generation, rendering, etc.)
AGL system Web Runtime shall provide a mechanism to implement plugins/extensions to add better device/platform integration.
AGL system Web Runtime shall provide a mechanism to manage apps' access control and also to categorize apps with different privileges.
System must provide high level GUI components for Web application.
At least, below components are required.
The Native HMI provides an application framework for those applications that are not written using Javascript or other web technologies.
The Native Runtime module contains the bindings for the Native Application Framework to access the AGL Application Framework and Services.
System must provide high level GUI components for native application.
At least, below components are required.
The platform can support multiple application frameworks any of which may be built into an SDK or product build. The application framework contains any code specifically written for that framework as well the bindings to the Services and Operating Systems layers that the application framework provides for its applications.
The Services Layer contains user space services that all applications can access. Generally the services provide either an IPC type interface or a subroutine/ function API. These interfaces remain the same for a given implementation and it is up to the Application Framework Runtime modules to provide access to these interfaces to the applications. Since we are trying to avoid unnecessary interface shims, it is not necessary for AGL to define standard service layer interfaces for a given module. Unless otherwise specified the API depends upon the interfaces provided by the open source packages chosen for a module. Different implementations may choose different packages for a given function and it is left to the Application Framework runtime to adjust to any new interfaces,
Platform Services Layer. Conventional Linux platform services
This document describes requirements regarding registration, (dis)connection and device information management between Bluetooth device and infotainment system. Necessary Bluetooth profiles in automotive use case are defined here.
The Telephony system shall be designed to
support a minimum of BT3.0+EDR, but shall be possible to upgrade to Bluetooth 4.0+EDR without hardware upgrade.
A Bluetooth hands-free system shall provide the following BT profiles:
If the BT system is designed to operate with BT Media Players (E.g. control and stream music from), the system shall also support the following incremental BT profiles:
The link key shall be minimum 128 bits. The encryption key is negotiated and shall be set at the highest supported value by the remote device. The Telephony system shall be capable of generating up to 128-bit encryption key. The Telephony system will not be the limiting device in encryption key length negotiation.
When implemented by the remote device Simple Secure Pairing 'Numeric comparison' method as default pairing mechanism. However when remote device is limited a configurable priority scheme will be adopted where the order of mechanisms will be determined at configuration time.
The Telephony system shall provide Bluetooth Power Class 2. The operating range of Class 2 is 10 meters and maximum power is 2.5 mW (4 dBm).
The Telephony system shall have provision for 1, 3 and 5-slot packet transmission. It shall allow using five-slot packet transmission for faster data rate.
The Telephony system shall use IrMC standards as directed by the BT specification. It is a standard from IrDA, including IrOBEX for object exchange including vCards, vCalendars, etc.
vCard is the electronic business card. It is used for Personal Data Interchange (PDI). vCards are often attached to e-mail messages, and can be exchanged on Instant Messaging. vCard contain name and address information, phone numbers, and e-mail addresses.
vCard version 2.1 is widely adopted by e-mail clients. It contains FN, N, PHOTO, BDAY, ADR, LABEL, TEL, EMAIL, MAILER, TZ, GEO, TITLE, ROLE, Logo, Agent, ORG, NOTE, REV, SOUND, URL, UID, Version, and KEY properties.
vCard version 3.0 is IETF standards format. It is defined in following two parts:
MIME Content-Type for Directory Information
vCard MIME Directory Profile
It contains NICKNAME, CATEGORIES, PRODID, SORTSTRING and CLASS properties along with the vCard version 2.1 properties.
The touch-screen or head unit HMI must have the ability to delete a Bluetooth device and any associated data (E.g. phonebook, voicemail number) when required, even if the BT device list is not full.
The Telephony system shall use SCO link for voice data if eSCO link is not supported else eSCO shall be used.
The Telephony system shall implement Hands-Free Profile (HFP) as per the hands-free Profile specification version 1.6 or later.
The Telephony system shall enable a headset, or an embedded Hands-Free unit to connect, wirelessly, to a cellular phone for the purposes of acting as the cellular phone's audio input and output mechanism and allowing typical Telephony functions to be performed without access to the actual phone.
It shall provide following roles:
Hands-Free unit (HF)
Table 19 : List of HFP supporting functions
No. | Feature | Support in HF | AGL |
1 | Connection management | Mandatory | x |
2 | Phone status information | Mandatory | x |
3 | Audio Connection handling | Mandatory | x |
4 | Accept an incoming voice call | Mandatory | x |
5 | Reject an incoming voice call | Mandatory | x |
6 | Terminate a call | Mandatory | x |
7 | Audio Connection transfer during an ongoing call | Mandatory | x |
8 | Place a call with a phone number supplied by the HF | Option | x |
9 | Place a call using memory dialing | Option | - |
10 | Place a call to the last number dialed | Option | - |
11 | Call waiting notification | Option | x |
12 | Three way calling | Option | x(*1) |
13 | Calling Line Identification (CLI) | Option | x |
14 | Echo canceling (EC) and noise reduction (NR) | Option | x |
15 | Voice recognition activation | Option | x |
16 | Attach a Phone number to a voice tag | Option | - |
17 | Ability to transmit DTMF codes | Option | x |
18 | Remote audio volume control | Option | - |
19 | Respond and Hold | Option | x |
20 | Subscriber Number Information | Option | x |
21a | Enhanced Call Status | Option | x |
21b | Enhanced Call Controls | Option | - |
22 | Individual Indicator Activation | Option | - |
23 | Wide Band Speech | Option | x |
24 | Codec Negotiation | Option | x |
*1: Does not support Multi-party (conference) call
The Telephony system shall be able to use the AT+CGMM query/response to determine the model of the phone over the HFP profile connection. Whatever is returned shall be stored as a string in a phone model CGMM variable.
A property shall exist for each device which is connected to the system.
The request shall be made each time a HFP Service Level Connection is established with the device.
The Telephony system shall be able to use the AT+CGMI query/response to determine the Manufacturer of the phone over the HFP profile connection. Whatever is returned shall be stored as a string in a phone model CGMI variable.
A property shall exist for each device which is connected to the system.
The request shall be made each time a HFP Service Level Connection is established with the device.
The Telephony system shall be able to use the AT+CGMR query/response to determine the revision of the phone over the HFP profile connection. Whatever is returned shall be stored as a string in a phone model CGMR property.
A property shall exist for each device which is connected to the system.
The request shall be made each time a HFP Service Level Connection is established with the device.
The Telephony system shall implement Advanced Audio Distribution Profile as per the A2DP specification version 1.2 or later.
The Telephony system shall use this profile for audio streaming. This profile shall be use to realize distribution of audio content of high-quality in mono or stereo on ACL channels.
It shall provide following roles:
Sink (SNK) - A device is the SNK when it acts as a sink of a digital audio stream delivered from the SRC on the same piconet.
Items marked with "x" in AGL column in Table 20 should be supported.
Decode functions of codec marked with "x" in AGL column in Table 21 should be supported.
Copyright protection technology SCMS-T should be supported.
Table 20 : List of A2DP Supporting Functions
No. | Feature | Support in SNK | AGL |
1 | Audio Streaming | Mandatory | x |
Table 21 : Supporting Codec
No. | Codec | Support | AGL |
1 | SBC | Mandatory | x |
2 | MPEG-1,2 Audio | Option | - |
3 | MPEG-2,4 AAC | Option | - |
4 | ATRAC family | Option | - |
The Telephony system shall implement Phonebook Access Profile as per the PBAP specification version 1.1 or later.
The Telephony system shall use this profile to allow exchange of Phonebook Objects between devices.
Phonebook is automatically downloaded into the system from mobile device for browsing. The Telephony system shall store user's Phonebook and the Phonebook details of the connected device shall be available to the user. The Telephony system shall manage the contacts by, listing and copying contact information.
It shall provide following roles:
It shall provide following types of Phonebook objects:
A Bluetooth hands-free system must download the phonebook from the connected BT device automatically if the BT device has provision for the transfer of phonebook data. The Phonebook download shall be performed by any one of the following methods listed in priority of usage:
All the BT device's phonebook entries must be transferred - those on any external memory (E.g. SIM) and also any stored in the BT device's memory.
The number type data (if stored with the contact) shall also be transferred and stored in the vehicle phonebook. The Phonebook shall be associated to only the BT device it was downloaded from.
Dial-Up Networking Profile (DUN) has to be supported as well as Profiles/Protocols for necessary lower layers.
It has to comply with the specification for “Data Terminal (DT)”
Items marked with "x" in AGL column in Table 23 should be supported.
Table 23 : List of DUN Supporting Functions
No. | Service | Support in DT | AGL |
1 | Data call without audio feedback | Mandatory | x |
2 | Data call with audio feedback | Option | - |
3 | Fax services without audio feedback | N/A | - |
4 | Fax services with audio feedback | N/A | - |
5 | Voice call | N/A | - |
6 | Incoming calls | Option | x |
7 | Outgoing calls | Mandatory | x |
Object Push Profile (OPP) has to be supported as well as Profiles/Protocols for necessary lower layers.
It has to comply with the specification for “Push Server”.
Items marked with "x" in AGL column in Table 24 should be supported.
Table 24 : List of OPP Push Server Supporting Functions
No. | Feature | Support in Push Server | AGL |
1 | Object Push | Mandatory | x |
2 | Business Card Pull | Option | - |
3 | Business Card Exchange | Option | - |
The System shall implement Audio / Video Remote Control Profile version 1.6.
The system shall use this profile for audio streaming control for each connected media device plus one remote control..
The system must comply with the specification for Controller (CT) items marked with "x" in AGL column in Table 25 should be supported.
C2: Mandatory if device supports Metadata Attributes for Current Media Item or optional otherwise
C3: Mandatory to support at least one Category
C4: Mandatory if Category 2 supported, excluded otherwise
C6: Mandatory if Browsing (item 18) is supported, optional otherwise
EX: Excluded
Table 25 : List of AVRCP Supporting Functions
No. | Feature | Support in CT | AGL |
1 | Connection establishment for control | Mandatory | x |
2 | Release connection for control | Mandatory | x |
3 | Connection establishment for browsing | C6 | x |
4 | Release connection for browsing | C6 | x |
5 | AV/C Info commands | Option | x |
6 | Category 1: Player/Recorder | C3 | x |
7 | Category 2: Monitor/Amplifier | C3 | - |
8 | Category 3: Tuner | C3 | - |
9 | Category 4: Menu | C3 | - |
10 | Capabilities | Option | x |
11 | Player Application Settings | Option | x |
12 | Metadata Attributes for Current Media Item | Option | x |
13 | Notifications | C2 | x |
14 | Continuation | C2 | x |
15 | Basic Group Navigation | Option | x |
16 | Absolute Volume | C4 | - |
17 | Media Player Selection | Option | x |
17.1 | - Supports Multiple Players | Option | x |
18 | Browsing | Option | x |
18.1 | - Database Aware Players | Option | x |
19 | Search | Option | - |
20 | Now Playing | C6 | x |
20.1 | - Playable Folders | Option | x |
21 | Error Response | EX | - |
22 | PASSTHROUGH operation supporting press and hold | Option | x |
The AVRCP profile realisation shall implement an Inform Battery Status of CT parameter and pass this information up to so it can be passed to the User.
Message Access Profile (MAP) has to be supported as well as Profiles/Protocols for necessary lower layers.
It has to comply with the specification for “Message Client Equipment (MCE)”.
Items marked with "x" in AGL column in Table 26 should be supported.
C1: The MCE to support at least one of the C1-labelled features
C2: The MCE shall support Message Notification Registration if it supports Message Notification. Not applicable otherwise.
Table 26 : List of MAP Supporting Functions
No. | Feature | Support by the MCE | AGL |
1 | Message Notification | C1 | x |
2 | Message Browsing | C1 | x |
3 | Message Uploading | Option | x |
4 | Message Delete | Option | - |
5 | Notification Registration | C2 | x |
The Telephony system shall implement Serial Port Profile as per the SPP specification version 1.1 or later.
It shall provide following roles:
Initiator - This is the device that takes initiative to form a connection to another device.
Acceptor - This is the device that waits for another device to take initiative to connect.
Following features shall be provided by the Supplier:
Establish link and setup virtual serial connection
Accept link and establish virtual serial connection
Register Service record for application in local SDP database
Personal Area Network Profile (PAN) has to be supported as well as Profiles/Protocols for necessary lower layers.
It has to comply with the specification for “PAN User (PANU)”.
Items marked with "x" in AGL column in Table 27 should be supported.
Table 27 : List of PAN Supporting Functions
No. | Feature | Support in PANU | AGL |
1 | Initialization of NAP/GN service | - | - |
2 | Shutdown of NAP/GN service | - | - |
3 | Establish NAP/GN service Connection | Mandatory | x |
4 | Lost NAP/GN Service Connection | Mandatory | x |
5 | Disconnect NAP/GN Service Connection | Mandatory | x |
6 | Management Information Base (MIB) | - | - |
The Telephony system shall implement Service Discovery Application Profile as per the SDAP specification version 1.1.
The Telephony system shall use this profile to locate services that are available on or via devices in the vicinity of a Bluetooth enabled device.
It shall provide following roles:
Local Device - A device that initiates the service discovery procedure.
Remote Devices(S) - A device that participates in the service discovery process by responding to the service inquiries generated by Local Device.
The following features shall be provided by the Supplier:
Search for services by service class
Search for services by service attributes
Service browsing
Device Identification Profile (DIP) has to be supported as well as Profiles/Protocols for necessary lower layers.
Items marked with "x" in AGL column in Table 28 should be supported.
Table 28 : List of DIP Supporting Functions
No. | Feature | Support | AGL |
1 | SpecificationID | Mandatory | x |
2 | VendorID | Mandatory | x |
3 | ProductID | Mandatory | x |
4 | Version | Mandatory | x |
5 | PrimaryRecord | Mandatory | x |
6 | VendorIDSource | Mandatory | x |
7 | ClientExecutableURL | - | - |
8 | ServiceDescription | - | - |
9 | DocumentationURL | - | - |
Bluetooth Smart Ready shall be supported.
It shall comply with Bluetooth Low Energy standard.
The Telephony system shall implement Generic Object Exchange Profile as per the GOEX specification version 2.0 or later.
The Telephony system shall use this profile to facilitate the exchange of binary objects between devices. The usage model shall be Synchronization, File Transfer or Object Push model.
It shall provide following roles:
Server - This is the device that provides an object exchange server to and from which data objects shall be pushed and pulled, respectively.
Client - This is the device that can push or/and pull data object(s) to and from the Server.
The following features shall be provided by the Supplier:
Establishing an object connection
Pushing a data object
Pulling a data object
Performing an action on data objects
Creating and managing a Reliable Object Exchange Connection
The Telephony system shall implement Generic Audio/Video Distribution Profile as per the GAVDP specification version 1.2 or later.
The Telephony system shall use this profile to specify signalling transaction procedures between two devices to set up, terminate, and reconfigure streaming channels.
It shall provide following roles:
Initiator (INT)
Acceptor (ACP)
Following are the feature requirements for this profile:
Connection
Transfer Control
Signalling Control
Security Control
Note: This profile is currently being enhanced to version 1.3. Release date of this version is not yet finalized. The Telephony system shall be able to upgrade to the newer version in the future.
The Error Management module provides platform error handling mechanisms. This includes detecting system errors that occur after start up to provide a recovery function by localized restart. In addition,
in case of a broad ranged malfunction, Error Management provide quick detection and recovery to issue in a short amount of time.
While using in-car information device, if the whole system or part of the function stops, an immediate error detection and automatic recovery will be needed. For example, when updating the screen while route guidance is on or voice recognition cannot be used, restart the function to try and recover. When an error occurs in the core of a system such as an output communicating middle ware, reboot the whole system to try and recover.
There are several supposed cases for system surveillance such as a case where the system that adopted AGL and monitors by itself or monitored by the system that has not adopted AGL. The AGL Error Management scope includes parts of the system that adopted AGL.
The way of recovery has to be assessed by the status of the system behavior. For example, even if the way to recover the car navigation error might be reboot, the system reboot should not be done when the car navigation is displaying back camera image. Because of these use cases, Error Management should focus on the degree of importance for surveillance list process and the degree should be adjusted by its behavior status.
For when the system failure occurred after the launch, the most urgent item is a prompt recovery but what is also a point that is worth noting is to collect the information to specify the cause for its failure. Therefore, gathering information with the minimum recovery time is needed.
With Linux system, memory image dump (core dump) of generally abended process is used. On the other hand, a scale of middleware which is an in- car application is increasing and has come to the point where the time to dump the entire memory image is impermissible. To avoid this, the Error Management function will provide the system to leave the light log.
Prevent the system failure shutoff and also in case of failure provided the function that judge its status automatically and recover
The Error Management module should support both surveillance of the whole system and each process.
The Error Management module should monitor the memory usage of whole system cyclically. When memory usage exceeds set threshold value, a set action should be done. Cycle, threshold value, action is changeable by AGL user.
Kernel function that requires Error Management surveillance, driver has to send a notification to Error Management when an error occurs. The subjects that sends error notifications are output communication or disk I/O.
Error Management should be able to execute the action after obtaining the error notification by kernel function and the driver. Action should be changeable by AGL user. For example, an error for CAN communication is critical so system restart could be done but USB communication error can be ignored since it may be caused by a compatibility issue between devices.
Error Management should monitor processes for existence or non-existence, when abended it should execute a set action. The set action should be changeable by the AGL user. Termination of resident process is a defect but termination of a temporal behaving process is correct so those two should be able to set separately.
Error Management should monitor the process with a set cycle and when it goes over threshold value, should be able to execute the set action. Cycle, threshold value, action should be changeable by AGL user. The subjects of surveillance are CPU usage and memory usage.
Should be able to vanish process forcibly including subsidiary process
Make the software that works by system have the concept of level importance.
Appropriate recovery depending on the level of importance. The level of importance should be adjustable depending on the status of operation by coordinating with Policy.
The process that detecting an external communication error within the Error Management module and recovering has to be set to complete before external monitoring detects.
The application that is monitored by the Error Management modulehas to be independent as more than one process.
The application that is monitored by the Error Management moduleshould not combine multiple applications to one process. Application’s runtime part does not have the structure where multiple applications can be moved by the same process.
Service providing side has to be nondense to the application. For example, the Service providing process such as a software keyboard should not go wrong with the state of App. Such as process crash, exit, etc..
An application has to be nondense to an application. When linking two application one ends suddenly the other will not become abnormal state.
The process that communicates with the external system has to be independent from the other process while recovering that does not include system restart so that it can notify alive towards external side.
When the software that is under the surveillance of RAS can not recover with one restart additional process can be done such as deleting the subject files that were registered beforehand.
The system has to have a structure where overwrite the files that are stored in a pinned file system without destroying them.
When system down occurs (kernel panic), should be able to collect the information need for analyzing.
When making the system down happen intentionally( BUG_ON etc.),make sure to leave a message that can specify the cause.
Both the log which is for debug and can take time to output and the log that leaves minimum log in a short period of time have been equipped and able to select.
In any abnormal cases log output does not lock the system (stand by for spin lock etc.) or system down does not occur (self-destruction on log output process).
Should be able to leave the aberrance occurred in kernel area on the log.
Should be able to select the level of log output.
Should be able to record the aberrance log with the time of occurrence.
Should be able to obtain the information linked to the system resources.
Should be able to leave the information corresponding to core dump in a short period of time.
Both the log which is for debug and can take time to output and the log that leaves minimum log in a short period of time have been equipped and able to select.
As the smallest amount of information, the following information should be left.
Lightweight core dump is a core dump that can set the restrictions below.
Selectable memory mappings are the following.
Setting parameters of the output context are the following.
Should be able to leave the log in increments of process. Possible to filter and have a look in increments of process.
Should be able to leave a trace log in increments of process during process crash. Should be able to leave a trace log in increments of process during system running, if necessary.
Should be able to obtain the information related to system resource of process.
There should be a structure to be able to error trace among the whole process in a user space.
Graphics subsystem; HMI input, wayland, windowing, etc.
Location services includes support for GPS, location, and positioning services including dead reckoning. Time of day support is also included in Location Services since time is a primary output of the GPS receiver.
With Linux, time adjusting is generally done by using date command or NTP but since in-car device can obtain the accurate time from GPS, GPS time is often used as Abs Time. Because of its advantage where this GPS demand can be done anywhere in the world, it would continue in future. Therefore, we are going to need a structure for adjusting the Linux system time.
Monotonic and Absolute Time Support
As a weak point of GPS, when cold start, it takes a long time to obtain the accurate time.
Because of this, it will not set the right time for booting the system and will adjust it while it’s moving. As for in-car device, the demand to make the system boot faster is rather strong and Abs Time can vary while it’s working for one of the middle ware applications.
On the other hand, although POSIX API which is used as a standard for Linux, provides the time that has not been effected by the adjusting in case of a simple latency, but for resource latency, some of them can only set with Abs Time. Therefore, in-car Linux needs an API that supports Monotonic Time.
Kernel Time Precision
In-car device needs to support all kinds of communicating system such as CAN. Those communicating system includes the device that needs ms order procedure.
In Linux Kernel space, jiffies are used as mere time. However 1jiffies time differs depending on the CPU architecture and the architecture differs depending on SOC. Because of this, the lowest value for unit of time that AGL environment has to support needs to be decided.
Should be able to adjust the system time from GPS middle ware.
Adjust the system time after the time is determinate.
GPS middle ware has to have the system where it can implement GPS driver control parts using the plugin (source plugin). Must tolerate proprietary GPS component.
GPS middle source plugin must tolerate proprietary. Source plugin has to be a license that is not imposed a duty to open source. For example, header library’s license that is needed to make Source plugin can not be GPL or LGPL.
When waiting, can use both absolute time and monotonic time
Resource obtaining time out such as mutex, semaphore can use both absolute time and monotonic time.
Resource obtaining time out such as mutex, semaphore can use both absolute time and monotonic time.
System time must be able to use consecutively at least until 2099.
Absolute time has to support leap year and leap seconds.
1 jiffies have to be smaller than 1ms.
Time waiting that involve context switch, must be done with the accuracy over 1ms.
From timer / ISR, can boot tasklet with the accuracy 1ms.
A system has to be able to handle time with at least the accuracy 1ms.
Platform monitoring services such as watchdog or active monitoring
Standard platform interprocess and interprocessor communication mechanism.
Startup, shutdown, state change, etc.
Includes standard networking protocols such as TCP/IP via any networking physical layer including Wifi, Bluetooth, or ethernet.
Power safe persistent storage
Amount of ECUs in the car and their complexity has grown dramatically over last decade. Needs in processing power are constantly growing to catch up with demands of automotive industry. This, in turn has impact on power budget and temperature/heat dissipation characteristic of modern ECUs
In parallel, success of green, electric cars is pushing power budget limits down as never before, in distant future we may see “battle for watts” in automotive electronics. Finding optimal balance between performance and ECU operating modes, frequencies, voltages is also important for overall durability characteristic.
Suspend/resume techniques and retention of the ECU in lower power states now becoming more welcomed over traditional cold boot approaches.
Linux community has been working on power management architecture for many years, it has become a state of art framework and set of components that addresses needs not only consumer electronics industry, but also industrial automation, security, etc.)
AGL kernel shall allow switching between active and suspend states. Exact definition of suspend states is platform/architecture-specific (e.g. “suspend to memory”, “suspend to disk” /“hibernate” correspond to S3 and S4 in ACPI terminology)
Kernel and peripheral device drivers shall not be affected by suspend/resume transitions.
AGL kernel shall provide sufficient APIs for application to control active/suspend state transitions and receive appropriate events/notifications. Kernel should not initiate power state transitions if no requests provided from applications.
Detailed definition of steps/actions required for suspend/resume sequence is out of the scope of this specification (it is also platform-dependent).
AGL kernel for SMP configurations shall allow enabling/disabling of individual cores (or group of cores) (NOTE: on some platforms/architectures enabling/disabling may be achieved by putting core in one of its low power states)
AGL kernel shall only provide mechanism for applications to request enabling/disabling particular cores from SMP group.
AGL kernel shall support CPU frequency and voltage scaling. Exact definition of operating points (table of frequencies/voltages allowed by hardware) is platform/architecture-specific (moreover, some of operating points may be omitted/ignored in AGL kernel as their impact on power budget insignificant)
Kernel and peripheral device drivers shall not be affected by CPU frequency and voltage scaling
Only application-defined policies shall be allowed for CPU frequency and voltage scaling. Default in-kernel governors/policies (e.g. on-demand or performance) shall not be used and they may have negative impact on overall system performance/predictability
AGL kernel shall allow switching between active and idle states. Exact definition of idle states is platform/architecture-specific (e.g. C0..C4 in ACPI terminology or WFI+… for ARM)
Kernel and peripheral device drivers shall not be affected entering/leaving one of idle states
Only application-defined policies shall be allowed for CPU Idle
AGL kernel shall support run-time power management of I/O (peripheral) devices
AGL kernel shall support I/O (peripheral) device voltage and frequency scaling
Resource and device management.
Resource Management shall provide an interface to be used for informing status of a resource request by the Resource Manager.
Purpose: To define the variants of Telephony
Requirement:
There will be 2 variants of phone system.
Variant 1: Front User only Telephony.
Variant 2: Rear and Front Telephony.
All variants will have Bluetooth capability. The feature will be configurable so that the feature can be disabled via car configuration.
This Wi-Fi subsystem controls registration, connection management, and device information management between a wireless LAN device and infotainment system.
Necessary Wi-Fi specification in automotive use case is defined here.
In-Vehicle Infotainment systems constructs 3 types of Wi-Fi networks.
In-Vehicle Infotainment system acts as a STA (Station) and connects to an external network via an Access Point.
It also connects to Access Points which support Wi-Fi Hotspot.
In-Vehicle Infotainment system acts as an AP (Access Point) and connects multiple Wi-Fi devices with an external network.
It also connects Wi-Fi devices which support Wi-Fi Hotspot.
In-Vehicle Infotainment system and Wi-Fi device makes P2P (Peer to Peer) connection using Wi-Fi Direct.
In-Vehicle Infotainment system and Wi-Fi device shares a display using Miracast.-(a)
They are also remotely operated to a Wi-Fi device from the infotainment system, or vice versa, by using UIBC (User Interface Back Channel).-(b)
Figure 8-29 : Overview of Miracast
Use case examples of shared displayed content are:
Use case examples of remote operation are:
In-Vehicle Infotainment system connects with a DLNA device via Wi-Fi.
The WiFi module shall support security standard WEP.
It shall support 40 bit WEP encryption method.
It shall support 104 bit WEP encryption method.
It shall support security standard WPA Personal.
It shall support TKIP encryption method.
It shall support CCMP encryption method.
It shall support security standard WPA2 Personal.
It shall support TKIP encryption method.
It shall support CCMP encryption method.
It shall support security standard WPA Enterprise.
It shall support TKIP encryption method.
It shall support CCMP encryption method.
It shall support security standard WPA2 Enterprise.
It shall support TKIP encryption method.
It shall support CCMP encryption method.
It shall comply with WPS (Wi-Fi Protected Setup) standard.
It shall be able to perform connection with PIN (Personal Identification Number) method.
It shall support Configuration Method for Display.
It shall support Configuration Method for Keypad.
It shall be able to perform connection with PBC (Push button configuration) method.
It shall support Configuration Method for PushButton.
It shall be able to perform connection with NFC (Near Field Communication) method.
It shall comply with WMM (Wi-Fi Multimedia) standard.
It shall comply with WMM-PS (Wireless Multimedia Power Save) standard.
The In-Vehicle system shall be able to function as a STA (Non-AP Station).
The In-Vehicle system shall be able to function as an AP (Access Point).
It shall comply with Wi-Fi Direct standard.
It shall support the WiFi Direct functions as listed in Table 29.
Table 29 : List of Wi-Fi Direct Supporting Functions
No. | Feature |
| (Reference) Support in Wi-Fi Direct |
1 | P2P Provision Discovery |
| Mandatory |
2 | P2P Device Discovery | Scan Phase | Mandatory |
3 |
| Find Phase | Mandatory |
4 | P2P GO Negotiation |
| Mandatory |
5 | P2P Service Discovery |
| Option |
6 | P2P Invitation | Temporary P2P Group | Option |
7 |
| Persistent P2P Group | Option |
8 | Persistent P2P Group / Persistent Reconnect | Option | |
9 | Intra-BSS Distribution |
| Option |
10 | Concurrent Operation |
| Option |
11 | P2P Service Discovery | UPnP | Option |
12 |
| Bonjour | Option |
13 |
| Wi-Fi Display | Option |
14 |
| WS-Discovery | Option |
15 |
| Vendor specific | Option |
It shall comply with Miracast standard.
It shall support the Miracast functions identified in Table 30.
Table 30 : List of Miracast Supporting Functions
No. | Feature |
| (Reference) Support in Miracast | |
1 | WFD Device type | WFD Source | Mandatory | |
2 |
| Primary Sink | Mandatory | |
3 |
| Dual-role possible | Option | |
4 | WFD Service Discovery |
| Option | |
5 | WFD connection establishment with Wi-Fi P2P | Mandatory | ||
6 | WFD connection establishment with Wi-Fi TDLS | Option | ||
7 | Persistent WFD Group | via Wi-Fi P2P | Option | |
8 |
| via TDLS | Option | |
9 | WFD Capability Negotiation (RTSP) | Mandatory | ||
10 | WFD Session Establishment (RTSP) | Mandatory | ||
11 | AV Streaming and Control (MPEG-TS/RTP/RTSP) | Mandatory | ||
12 | WFD Standby (RTP/RTSP) | Option | ||
13 | Video CODEC formats | Option | ||
14 | Audio CODEC formats | Option | ||
15 | UIBC | Generic | Option | |
16 |
| HIDC | Option |
It shall comply with Wi-Fi Hotspot standard.
In-Vehicle system which acts as an a STA(Non-AP Station)shall be able to connect with Hotspot service.
In-Vehicle system which acts as an AP (Access Point) shall be able to provide Hotspot service.
The In-Vehicle system shall be able to connect with DLNA devices via Wi-Fi.
A window system is a software component that facilitates an implementation of graphical user interface. A window system is responsible for managing display devices, Graphics Processing Units (GPUs), input devices, and graphics memory. A window system works with the software component named window manager that is responsible for a layout management of windows, and a routing of user interactions.
Automotive Services Layer contains services that are not found in a typical Linux distribution but contains services specialized for automotive applications.
BTBF, equilization, mult-zone audio control, etc.
Standard interface to vehicle mounted cameras; backup camera, side and front cameras, etc.
Service for storing configuration parameters.
Diagnostic services.
(This is automotive diagnostics such as storing and retrieving DTC. )
CD, DVD, Blu-Ray, MP3, etc.
(Factor out metadata into separate component.)
In-vehicle multimedia system shall provide rich and robust user-experience that includes not just support of multiple audio-video formats, but also variety of input and output audio/video devices, both static and dynamically pluggable. In contrast to mobile or desktop applications, there is normally more than one consumer of multimedia content in a car, with front- and rear-seat passengers as well as driver all having independent requirements.
The following requirements are considered essential for in-vehicle multimedia system:
Latency requirements of audio/video processing may also vary depending on a type of the data processed; e.g. data from rear-view camera shall be decoded and visualized “instantly” in comparison to a movie clip displayed on rear-passenger monitor, voice notification from navigation software shall not be delayed significantly, speech data passed to and from Bluetooth headset during phone conversation shall have reasonably bounded latencies and so on.
It is considered that multimedia system may consist of multiple processing units, and therefore processing load balancing mechanism shall be present. Mechanisms of audio/video processing offloading to dedicated processing units (hardware acceleration) shall be provisioned, with particular implementation freedom left for a silicon vendor.
The following requirements formalize these considerations.
AGL shall provide an API that allows handling of various media data within the system. This includes audio/video playback and recording as well as media streaming over the network. It shall be possible to run multiple media streams in parallel for all IVI users, with configurable input/output devices routing. Multimedia framework does not necessarily need to be isolated from application (that is, it may run in the same address space as application), however it shall be guaranteed that independent applications using the framework are isolated from each other.
AGL shall provide support for extraction from media containers streams other than audio-visual, for example subtitles. Application shall be able to retrieve timing information as well as stream identification data from media container.
AGL shall provide support for major network streaming protocols such as:
It shall be possible to extend the set of supported streaming protocols in accordance with system requirements.
AGL shall provide a mechanism to utilize available hardware accelerators to offload computationally extensive processing to specialized units in vendor-specific way. Such extension, if available, shall be transparent to the applications.
Lip Synch must be implemented as plug-in software for Multimedia Framework.
AGL shall provide a mechanism to automatically detect type of media data contained in the source file, and to instantiate all required components to organize data processing without intervention of the application. It shall be, however, possible for application to control this process if it is essential for its functionality. Example of such intervention would be selection of particular audio track (in user-chosen language) or selection of particular video stream from multiple choices.
AGL shall provide an API to control execution of audio/video processing chain, specifically shall support the following functionality:
AGL shall provide a mechanism to specify routing of input and output devices that are involved into multimedia data processing. In particular, for playback scenario it shall be possible to specify where audio and video data is rendered, and for recording scenario it shall be possible to specify capturing source. It shall be possible to organize broadcasting of decoded raw audio/video streams to multiple renderers as well.
AGL shall include a dedicated sound server that simplifies routing, mixing, post-processing and synchronization of raw PCM audio streams. Specifically, the following functionality is expected:
AGL shall provide a mechanism to control sound server configuration in run-time, that is, to specify the rules and policies defining system response to external events like adding or removing of new audio device (e.g. Bluetooth headset connection), receiving of the phone call, emergency system alarm output and so on.
AGL shall provide support for major multimedia containers, such as:
MPEG2-TS/PS (ISO/IEC 13818-1)
MP4 (MPEG-4 Part 14, ISO/IEC 14496-14:2003)
It shall be possible to extend the set of supported multimedia formats in accordance with system requirements.
It must be possible to extend AGL to support additional optional multimedia containers such as:
AGL shall provide support for major audio codecs, such as:
It shall be possible to extend the set of supported audio codecs in accordance with system requirements.
It must be possible to extend AGL to support additional audio codecs, such as:
VORBIS (http://xiph.org/vorbis/)
AGL shall provide support for major video codecs, such as:
H.264 (MPEG-4 Part10, ISO/IEC 14496-10, ITU-T H.264)
It shall be possible to extend the set of supported video codecs in accordance with system requirements.
It must be possible to extend AGL to support additional video codecs, such as:
The system shall be able to perform all required operations on viewing of Image in BMP, up to 32 bit true colour.
Compression formats
The system shall be able to perform all required operations on Viewing of Image in JPEG/JPEG 2000
The system shall be able to perform all required operations on viewing of Image in JPEG XR/HD, including Exchangeable Image File Format (EXIF) format.
The system shall implement the ability to perform all required operations on Viewing of Image in PNG, including transparency
The system shall be able to perform all required operations on viewing of Image in GIF 87a and enhanced version 89a and also animation in GIFF images.
The system shall be able to perform all required operations on viewing images in TIFF format.
The system shall implement the ability to perform all required operations on viewing of Image in WBMP format.
The system shall implement the ability to perform all required operations on viewing of Image in WBMP format.
Navigation engine
Personal Information Manager; calendar, appointments, reminders, etc.
This section describes regarding Smartphone link. Smartphone Link is the technology which realizes that video and audio streaming play which data from smartphone. And touch operation is possible to share between IVI and smartphone. MirrorLink, Miracast, SmartDeviceLink and AirPlay are technologies that realize Smartphone Link. By this technology, it is possible to use smartphone content (map, music, browser...) by IVI.
Figure 8-30 shows the system structure of the Smartphone Link.
Figure: 8-30
AGL defines following requirements of Smartphone link.
1. The screen of smartphone shall be mirrored to IVI.
2. The sound of smartphone shall be linked to IVI.
3. The sound shall be synchronized with the screen.
4. IVI should operate smartphone.
5. The response time of operations from IVI should be less than 200ms.
6. If connection between smart phone and ivi was disconnected by external factor, then should inform the "disconnection" to a user and return to the normal state.
This document describes “Miracast” and “SmartDeviceLink” from the reference of Smartphone link.
This section describes requirements regarding Smartphone link (Miracast).
Miracast is the display transfer technology using wireless connection which was defined by Wi-Fi Alliance. Send screen data from source device to sink device and it realize display sharing between source device and sink device.
Following figure (Figure: 8‑31) shows the system structure of Miracast.
Figure: 8-31
Follow reference documents to support Miracast if there was no description of this section.
References
[1] Wi-Fi Display Technical Specification Version 1.0.0
[2] W-Fi Peer-to-Peer (P2P) Technical Specification Version 1.2
[3] High-bandwidth Digital Content Protection System Interface Independent Adaption Revision 2.2
[4] DCP (Digital Content Protection) http://www.digital-cp.com/
AGL provide display sharing technology between Smartphone and IVI system using Miracast.
AGL defines following Smartphone link (Miracast) specification as Table 8‑14.
No | Requires | Description |
SPL.1.1 | WFD Topology | Define role of Miracast |
SPL.1.2 | Connection Topology | Define connection condition between a smartphone and an IVI |
SPL.1.2.1 | P2P Topology | Define connection method of P2P (Wi-Fi Direct). |
SPL.1.2.2 | Wi-Fi Frequency | Define Wi-Fi frequency |
SPL.1.3 | Video Format | Define Video format |
SPL.1.4 | Audio Format | Define Audio format |
SPL.1.5 | Session Control | Define Miracast session state |
SPL.1.6 | Link Content Protection | Define content protection function required for implementing Miracast |
SPL.1.7 | Resource Management | Define resource management |
SPL.1.8 | Fail-safe Control | Define Fail-safe control |
Table 8-14: Smartphone Link (Miracast) Requirements
Figure: 8-32 State Change Diagram
The states of Smartphone link (Miracast) is defined in Table 8-32.
Table 8-32: State Definition
No. | State | Description |
1 | Idle | Smartphone link (Miracast) function is not initialized. |
2 | Initialized | Smartphone link (Miracast) function is initialized and waiting for Wi-Fi P2P connection from source device. |
3 | Connected Wi-Fi P2P | Established Wi-Fi P2P connection with source device. |
4 | Initiated | Smartphone link (Miracast) session is established. |
5 | Play | Streaming the audio and video content from source device to sink device. |
6 | Pause | Paused the streaming of audio and video content from source divide to sink device. |
“Smart Device Link”, aka “SDL”, is template based approach of smartphone link capability. Application itself is in a mobile phone, however, HMI is provided by IVI system. This approach makes it possible to apply IVI adapted user experience, such as larger button to prevent driver’s distraction and voice recognition.
That means, application requests to IVI system, then IVI system will respond by using remote procedure calls. Application’s HMI will be rendered by IVI system by using IVI’s HMI framework and/or policy, though all the application’s logic is contained in mobile phone.
SDL provides more suitable HMI for IVI rather than mirroring type approach, however, mobile phone’s application must support SDL capability. In other words, only SDL supported applications can be launched.
Figure 8-33 : SDL overview
System must provide a capability of Miracast as smartphone link function.
Regarding Video resolution and Frame rate, other formats are an option.
Regarding Audio Format, other formats are an option.
When the state changes "Pause", take measures to give notice of pause for user. (e.g. pop-up notification)
Screen data which from Smartphone may be protected by content protection, therefore support content protection function.
Take notice that it is necessary to satisfy security requirements specified according to DCP.(reference [4])
System must provide a capability of Smart Device Link as smartphone link function.
System must provide a mechanism to render HMI of SDL according to template.
System must provide a mechanism to enable user interface regarding SDL by using touch panel device of IVI device.
System must provide a mechanism to enable user interface regarding SDL by using voice recognition of IVI system.
System must provide a mechanism to link Android device regarding SDL capability. Connectivity method must be supported Bluetooth and/or Wi-Fi.
System must provide a mechanism to link iPhone device regarding SDL capability. Connectivity method must be supported Bluetooth and/or Wi-Fi.
The Speech Services module provides voice recognition and synthesis for AGL applications.
AGL system voice framework must be able to record and interpret voice commands
AGL system voice framework must be able to convert text to synthesized speech
The Tuner Services module provides a mechanism that allows different tuner types to plug into the same API regardless of the receiver type. Support for AM/FM, HD Radio, SDARS, DAB, DRM, TV Tuners etc is provided. The Tuner Services module shall allow multiple tuners to be present in the same system and allow its clients to address each tuner in the system independently.
The Receivers module of Automotive Grade Linux may control different receiver types including AM, FM, Hybrid Digital (HD) Radio, SDARS, and DAB tuners. The module may access any number of different tuners. For all tuner types the module supports accessing station data from the tuner, changing the receiver frequency or station and reading station metadata about current content.
The Receivers module shall provide a mechanism that allows different tuner types to plug into the same API regardless of the receiver type.
The Receivers module shall allow multiple receivers to be present in the same system and allow its clients to address each receiver in the system independently.
HD Radio is a proprietary In-Band on Channel (IBOC) system created and owned by Ibiquity. An HD radio receives analog AM/FM signals and can also use digital information in a subband to provide additional stations and/or enhance the audio quality of the main station. When the receiver is decoding digital data for AM/FM playback it is commonly thought of as HD Radio. The HD Radio system architecture shall conform to the broadcast system design proposed by the iBiquity Digital Corporation detailed in RX_SSFD_5029. Both the HD hardware and functional design shall meet all iBiquity Digital specifications, and satisfy the Type Approval specified by iBiquity Digital.
The IBOC hardware is assumed to have three modes which will be used to describe the requirements in this section.
1) AM - radio is decoding an over the air AM station.
2) FM - radio is decoding an over the air FM station.
3) HD - radio is decoding an AM or FM station using the subband for the over the air station. Each requirement may refer to AM and/or FM and/or HD to specify the modes the requirement is applicable to.
AM/FM/HD system shall be able to enable/disable the HD radio reception and present the status to the system.
AM/FM/HD tuner shall be able to tune to a specified frequency and report the result of the tuning process. The possible results are, Tuning successful and Tuning unsuccessful. If Tuning successful event is notified by the tuner, it shall play the audio through the selected audio output. If tuner notifies the Tuning unsuccessful event, the system shall inform that "No Reception" is available in that specific channel.
AM system shall extract following parameters from a successfully tuned channel and present to the system, which shall be added in the station database.
FM system shall extract following parameters from a successfully tuned channel and present to the system, which shall be added in the station database.
HD system shall extract following parameters from a successfully tuned channel and present to the system, which shall be added in the station database.
The System shall allow the tuned frequency to be incremented or decremented.
The System shall be able to tune to the next/previous valid station as determined by signal strength.
AM/FM/HD system shall be able to abort Seek Up/Down operations.
FM/HD system shall be able to set the stop sensitivity for seek over FM band and shall be possible to adjust by software.
AM/HD system shall be able to set the stop sensitivity for seek over AM band and shall be possible to adjust by software.
The system shall be able to switch between AM and FM bands.
HD system shall be able to extract the Station Information Service (SIS) Short Name from the SIS Protocol Data Unit (PDU) on the Primary IBOC Data Service (PIDS) logical channel and present to the system. The implementation of SIS Short Name feature shall be in compliance with iBiquity Digital specification "HD Radio™ Air Interface Design Description Station Information Service Transport".
HD system shall be able to extract the Station Information Service (SIS) Long Name from the SIS Protocol Data Unit (PDU) on the Primary IBOC Data Service (PIDS) logical channel and present to the system. The implementation of SIS Long Name feature shall be in compliance with iBiquity Digital specification "HD Radio™ Air Interface Design Description Station Information Service Transport".
HD system shall indicate the HD channel number of current tuned channel. It shall be 1 to 8.
HD system shall extract the following PAD data from audio stream and present to the system.
The system implementation shall be in compliance with iBiquity Digital HD radio specification "HD Radio Air Interface Design Description - Program Service Data Rev. C"
FM/HD system shall be able to receive and extract the RDS/RBDS data and present to the system. The system implementation shall be in compliance with "BS EN 62106:2009, Specification of the radio data system (RDS) for VHF/FM sound broadcasting in the frequency range from 87,5 MHz to 108,0 MHz".
FM/HD system shall be able to enable/disable RDS/RBDS. When RDS/RBDS is enabled/disabled the system shall indicate this.
FM/HD system shall be able to enable/disable the radio text display.
FM/HD system shall present the Alternative Frequency (AF) setting status to the system.
FM/HD system shall be able to enable/disable alternative frequency switching.
FM/HD system shall be able to notify the system when an Emergency Alert Interrupt is received.
FM/HD system shall be able to skip the Emergency Alert when it is on-air.
FM/HD system shall be able to notify the system when Emergency Alert Interrupt is received through RDS.
FM/HD system shall be able to cancel the PTY31 interrupt notification.
FM/HD system shall be able to enable/disable the Traffic Announcement reception.
FM/HD system shall present the status of the FM traffic announcement to the system.
FM/HD system shall be able to skip the FM traffic announcement when it is on-air.
FM/HD system shall be able to enable/disable regionalisation.
FM/HD system shall be able to enable/disable the Traffic Message Channel (TMC) reception.
FM/HD system shall be able to enable/disable the Transport Protocol Expert Group (TPEG) reception.
FM/HD system shall be able to receive the traffic updates from the Japanese traffic channels.
FM/HD system shall be able to enable/disable the News announcement reception.
FM/HD system shall be able to skip the News when being broadcast.
HD system shall decode PNG images which shall be in compliance with HD Design specification.
HD system shall be able to decode the channel icon PNG images and present to the system.
AM/FM/HD system shall be able to mute the audio output.
AM/FM/HD system shall be able to un-mute the audio output.
HD system shall extract the album name, artist name, track number from the audio stream and present to the system.
The feature will store the data of a tagged song in non-volatile memory within the IMC. The feature will be able to store at least 50 tags.
AM/FM/HD system shall be able to configure the frequency band through local configuration file.
AM/FM/HD system shall be able to configure the step frequency through local configuration file.
AM/FM/HD system shall be able to configure the seek stop level threshold through local configuration file.
AM/FM/HD system shall require a database to store the channel list information which contains the following attributes:
AM/FM/HD system shall be able to update the channel list database based on the following conditions:
AM/FM/HD system shall sort the channel list database based on the channel name, and present to the system.
AM/FM/HD system shall sort the channel list database based on the ascending order of the frequency, and present to the system.
FM/HD system shall sort the channel list database based on the PTY (Program Type) category, and present to the system.
AM/FM/HD system shall create favourite station database which consists of the following information:
AM/FM/HD system shall be able to update the database based on following conditions:
Vehicle Info Control (VIC) provides a capability to access to various vehicle properties from applications and/or other middleware. Standardized interfaces are provided to vehicle CAN, and LIN bus. Figure 7-27 describes overall architecture of Vehicle Info Control. The main purpose of VIC is to provide API to application and/or middleware. Vehicle Info Control has four main functions.
Vehicle Data Processing
Communication between ECUs
Vehicle Data Upload
Simulator
Figure 7-27 : Overview of Vehicle Info Control
Vehicle data is the information about the vehicle itself, and the information in cars (for example, personal information on a driver, etc.). VIC deals with all the information which application and/or middleware need within vehicles. The following data is contained in these.
Vehicles data processing consists of the following functional elements further.
In VIC, all vehicles data is treated as abstract data. it concerns and comes out of this to the kind of car, or the country of the destination. For example, though speed is detected at the revolving speed of the wheel, in VIC, vehicles data is abstracted and treated at speed and it provides for application and/or middleware. Thereby, application and/or middleware can treat the vehicles data of the same implications and the same unit.
Each abstracted vehicles data is held. The vehicles data to hold is a current value and the past value (history).
The accessing function of the vehicles data from application and/or middleware is offered as API. Acquisition of the current value of vehicles data or the past history, a setup of vehicles data, and the change notice function of vehicles data are included in this. However, each vehicles data restricts the application and/or middleware which can be accessed according to the importance (access control).
It is a function for managing the various data of vehicles of in-vehicle networks, such as CAN and FlexRay, etc. The component in which the exchange with actual vehicles performs the exchange with vehicles by a vehicle type since it is various is not included in requirements. However, the correspondence procedure of it and VIC is specified. It assumes that two or more Vehicle Interface is prepared depending on a communication method with vehicles, etc. In addition, the vehicles data which can be accessed for every Vehicles Interface is restricted.
When a system consists of two or more ECUs, the vehicles data managed by ECU other than ECU in which application and/or middleware are working shall also be treated. For this reason, vehicle information processing communicates with it of other ECUs. Thereby, application and/or middleware can be treated, without caring about by which ECU required vehicles data is acquired. In addition, the communication function between ECUs also restricts the vehicle data which each ECU can access.
When a system consists of two or more ECUs, the vehicles data managed by ECU other than ECU in which application and/or middleware are working shall also be treated. For this reason, vehicle information processing communicates with it of other ECUs. Thereby, application and/or middleware can be treated, without caring about by which ECU required vehicles data is acquired. In addition, the communication function between ECUs also restricts the vehicle data which each ECU can access.
In the development environment of application and/or middleware, since actual vehicles data is unacquirable, it is preparing the simulator which imitated actual vehicles, and makes development environment construction easy. By a simulator, it assumes using the steering wheel controller for PC games. Since this function is an object for development environment, let it be an option.
The system must hold vehicle information and must offer the mechanism in which application and/or middleware can access vehicle information.
The system must provide application and/or middleware with vehicle information as an abstract property. For example, the speed of vehicles must be not the number of rotations of a wheel but the speed of a car.
System must provide a mechanism to add or delete vehicle property easily.
System must support typical vehicle property as “standard property”.
As for a standard property, it is desirable for the same attribute name to be the same meaning.
System must provide a mechanism to add or delete custom vehicle property easily.
A custom property is a property which a system donor can add uniquely in addition to a standard property.
Let the unit of the value of Vehicle Info Data be an international unit(meter, gram, …etc)
The value of Vehicle Info Data should have sufficient accuracy which application and/or middleware need. For example, when a unit is made into Km/h, an integral value is not enough as the accuracy of Velocity. It is necessary to change Km/h into MPH in the country of a mile display. Moreover, it is because the error of the speed display is defined by law.
A vehicle information control facility requires the mechanism in which vehicle information is stored. A lot of events generate some information at high speed. About such information, the load to a system has few directions processed collectively. Moreover, when data is taken and spilt by an application, the structure which can carry out recovery is required.
It is not realistic to accumulate all the information that changes at high speed. For this reason, In corresponding to neither of the following, it shall not store the change data.
About each vehicle information, the threshold value and cumulative dosage of accumulation need to be able to set up easily.
In addition, it also makes it possible not to accumulate specific vehicle information.
System must provide an interface to application and/or middleware regarding vehicle property access.
System must provide an interface to retrieve vehicle property from application and/or middleware.
Below attributes must include in this interface
System must provide an interface to set abstracted value to vehicle property from application and/or middleware.
Below attributes must include in this interface.
System must provide an interface to subscribe status change of vehicle property from application and/or middleware.
When status changed, system must invoke callback function with below attributes.
Timestamp specifies last updated time of corresponded vehicle property.
Sequence number is useful to check event order.
The acceptable value of change can be specified for vehicle information about the notice of change of vehicle information.
In order to lower system-wide load, it will not notify, if it is change which is less than an acceptable value even if vehicle information changes.
For example, although engine number of rotations changes every moment, in the case of the application which displays it in 20 steps, it is not necessary to know less than several percent of change.
It shall not notify the change, in corresponding to neither of the following.
Depending on application, the notice with a fixed cycle is more convenient than the notice at the time of change.
What is notified only the specified cycle even if it changes two or more times into the specified notice interval is made possible.
The data stored is acquired collectively.
Below attributes must include in this interface.
It is desirable that the time range to acquire can be specified. For example, data from 10 seconds before to the present, data from 13:20 to 14:00, etc.
There is an attribute for which change/reference is simultaneously needed in relation to mutual in vehicle information. For example, latitude, longitude, and an altitude are changed simultaneously. If these pieces of vehicle information is changed and referred to individually, the newest longitude may acquire the value in front of one, and a current position may be unable to recognize latitude correctly. For this reason, it is necessary to summarize the vehicle information relevant to mutual and to access it.
Access of ones of those vehicle information is deterred until renewal of all the vehicle information included in Property Set at the time of a setup of vehicle information is completed, and renewal of ones of those vehicle information is deterred until it completes acquisition of all those vehicle information at the time of reference.
The definition of the vehicle information included in Property Set is being able to change easily. Or the thing which can be changed from a program during operation.
System must provide a mechanism of access control per each property. For example, property "velocity" can be accessed from only application A and B, but property "turn signal" can be accessed from all applications.
System must also provide a mechanism of access control per each method even if same property. For example, about "seat setting", all applications can get this property, but only application C can set this property.
Permission for each property and method must be configurable easily. Because, access control policy may be different per car type, grade and destination.
System must provide a mechanism to enable routing any vehicle property both within same ECU and across two or more ECU’s.
If a Property Change event is received from VIC, change can be notified to all the applications, middleware and other VICs which are subscribing change of the vehicle information. In addition, the notice of change must be able to be distributed also to the application and/or middleware which exist in a different ECU.
VIC can be requested to set the value specified as Property.
It can set, even if it exists on ECU from which an application and VIC differ.
The newest value can be returned immediately, without asking VIC to the acquisition demand from an application. For this reason, keep the newest value of each Property.
Even if it is in ECU from which VIC of the Property differs, the demand from an application responds.
It can exchange with two or more VICs. Addition and deletion of Data Provider can be performed easily.
The data exchange between ECUs should be permitted by VIC.
All data transmission and reception from other Software Component are refusing.
The system should have a mechanism which communicates the stored vehicles.
The vehicle information to upload is being able to choose.
A selection condition is that the following specification is possible at least.
Enable change of selection of vehicle information easily. As for this, it is desirable for it to be able to change dynamically from an external.
The simulator of vehicles data using the steering wheel controller for PC games, etc. as substitution of actual vehicles in development environment is prepared.
Car Simulator is being able to notify the following vehicles data to vehicles data processing activities through a vehicles interface function at least.
The steering wheel controller for PC games to be used is being able to obtain easily. Moreover, it is desirable that two or more steering wheel controllers can be used.
VIC should fill the following performance specifications and performance.
It is a value on condition of H/W assumed that the following values will be used for in-vehicle information machines and equipment in 2016.
It is a value on condition of H/W assumed that the following values will be used for in-vehicle information machines and equipment in 2016.
VIC is being able to change without having composition which has pliability and extendibility about the vehicles data to manage, and reconstructing the whole VIC about the kind and attribute of vehicles data.
Vehicle Interface treats various kinds of in-vehicle LAN and sensors, and they are mounted by various H/W according to a maker or a vehicle type. For this reason, VIC needs to be able to add and change Vehicle Interface without reconstruction of VIC.
Abstraction of vehicles data is the duty of Vehicle Interface in principle. This is because it is necessary to change the concreteness data depending on H/W of in-vehicle LAN or sensors.
However, an abstract vehicles data value may be decided by combination of the concreteness vehicles data from two or more Vehicle Interface. In this case, VIC needs to change two or more concreteness vehicles data into one abstract vehicles data.
Since this conversion is dependent on H/W of in-vehicle LAN or sensors, so it cannot be mounted in the VIC itself.
In order to solve this, suppose that the mechanism in which such a conversion module can be added without reconstruction of VIC is prepared for VIC.
V2V, V2I, RVI, Traffic information, etc.
A window system is a software component that facilitates an implementation of graphical user interface. A window system is responsible for managing display devices, Graphics Processing Units (GPUs), input devices, and graphics memory. A window system works with the software component named window manager that is responsible for a layout management of windows, and a routing of user interactions.
AGL specifies that automotive grade Linux shall support multiple windows on a display.
AGL specifies that automotive grade Linux shall support multiple windows owned by multiple processes to be rendered on a display.
AGL specifies that automotive grade Linux shall support rendering to off-screen buffer to achieve flicker less rendering.
AGL specifies that automotive grade Linux shall support composition of windows with off-screen buffers.
AGL specifies that automotive grade Linux shall support a translucent window, i.e. underlying objects underneath the translucent window is visible depending on the alpha values of pixels.
AGL specifies that automotive grade Linux shall make OpenGL/ES 2.0 API compliant to Khronos group available to clients for their rendering.
AGL specifies that automotive grade Linux shall have a window manager that uses only public APIs provided by Window System and OpenGL/ES 2.0 for rendering and user interaction.
AGL specifies that automotive grade Linux shall support window manager that is replaceable by configuration.
AGL specifies that automotive grade Linux shall provide a window system that abstracts the underlying display subsystem and GPU. AGL specifies that automotive grade Linux shall have a window manager that relies on a standard rendering API such as OpenGL/ES 2.0 only. The window manager shall not rely on any hardware specific API. A window system and OpenGL/ES 2.0 API are responsible for a hardware abstraction.
AGL specifies that automotive grade Linux shall support multi-headed display where available.
AGL specifies that automotive grade Linux shall support mirroring of windows to multiple displays.
AGL specifies that automotive grade Linux shall support hardware layers, such as DRM planes, where available.
AGL specifies that automotive grade Linux shall compose windows using available hardware acceleration capabilities.
AGL specifies that automotive grade Linux shall support management of windows and inputs from users depending on statuses of a vehicle. The statuses of vehicle include a speed of a vehicle, a motion of a vehicle, etc. For instance, the inputs may needs to be limited while the vehicle reaches to the certain speed.
AGL specifies that automotive grade Linux shall abstract physical input devices such as buttons, a touch panel, a control knob etc.
AGL specifies that automotive grade Linux shall support On-screen keyboard which takes input from available physical input devices.
Security framework
Access Control describes requirements for AGL Access Control.
Access control is a mechanism to grant / deny access to APIs/files in the system.
AGL system must support a system-wide access control mechanism.
Automotive Grade Linux uses the Linux Kernel. The kernel is constantly evolving with a new release about every sixty days. The automotive industry has design cycles of three to five years for IVI systems. Somehow a balance must be struck between updating operating system and kernel every few months and keeping up to date with modern features that the kernel and the rest of the open source community provides,
AGL kernel shall be based on Long Term Support Initiative (LTSI) kernel.
At the moment LTSI kernel is the only open source/public kernel that gets closer to automotive industry needs – it has certain automotive industry demanded components integrated, it is fully aligned with Linux LTS trees so it leverages security fixes and/or generic bugfixes adapted by Linux community, LTSI kernel merge window is more flexible to industry demands and allow to accumulate wider set of features, components and bugfixes relevant for industry (comparing to regular Linux kernel merge/release cycle). LTSI kernel is thoroughly validated manually and with the help of automated tools to track and discover anomalies and regressions.
AGL development process should utilize bug tracker with ability to mark bugs as open/fixed on particular distribution branches. Open bugs should have direct impact on release decisions.
TBD. Need to add very basic “background” regarding virtualization, explain about OS-level virtualization/isolation, then about type1/type2 hypervisors (virtualization). In modern IVI systems OS-level virtualization is widely used (applications isolation, combination of Android and Linux apps together), future – maybe Linux/IVI + ADAS + Instrument Cluster = guests on top type1 hypervisor.
AGL shall provide OS-level mechanisms for running multiple isolated instances (containers) that have its own directory structure, network devices, IP addresses and process table. The processes running in other containers shall not be visible from inside a container.
AGL Linux should be configurable to work as Type-1 “bare-metal” hypervisor “guest”. Following functionality shall be supported by AGL Linux “guest”:
File system (FS) requirements for AGL concentrate on Reliability, Accessibility, and Serviceability as their main characteristics.
Below is short summary for better understanding of FS Requirements hierarchy.
FS Requirements | R-FS References |
6.1. Robust File System for managed internal storage (P1) 6.1.1. Power failure tolerance (P1) 6.1.2. Quick recovery after power loss (P1) 6.1.3. Multi-threaded I/O (P1) 6.1.4. On-demand integrity checker (P1) 6.1.5. Read-only mode (P1) 6.1.6. Non-blocking unmounting (P1) 6.1.7. Means for optimizing I/O performance if it may degrade under certain conditions. (P2) 6.1.8. File space pre-allocation (P2) 6.1.9. Meta-data error detection (P2) 6.1.10. File data error detection (P2) 6.1.11. Online integrity checking (P2) 6.1.12. Write timeout control (P2) 6.1.13. Compression support (P2) 6.1.14. Quota support (P2) 6.1.15. I/O process priority (P2) 6.1.16. File system event notifications (P2) 6.1.17. Logical block size control (P2) 6.1.18. Snapshots (P2) 6.2. File System for non-managed internal storage (P1) 6.2.1. All P1 requirements from FS.1.1.x list (P1) 6.2.2. Wear leveling (P1) 6.2.3. Error detection/correction (P1) 6.2.4. Tolerance to flipping bits (P1) 6.2.5. Read/write disturb awareness (P1) 6.2.6. Bad block management (P1) 6.2.7. As many P2 requirements from FS.1.1.x list as possible (P2) 6.2.8. Wear leveling statistics (P2) 6.3. File Systems for removable storage (P1) 6.3.1. Restricted functionality from security point of view (P1) 6.3.2. Automount/autounmount (P1) 6.3.3. Automatic synchronous flushing of modified data to physical media (P2) |
2.1. btrfsck
3.1. e2defrag
5.1. e4defrag 5.2. e2fsck
8.1. fanotify 8.2. fstrim |
AGL shall provide a set of file systems to support the following types of storage devices: internal managed (SSD, eMMC, etc.), internal non-managed (raw NOR and NAND FLASH memory), removable managed (USB stick, SD card).
AGL shall provide robust file system suitable for use on managed internal storage devices,
AGL shall provide robust file system suitable for use on non-managed internal storage devices,
AGL shall provide a set of file systems popular on removable media devices.
A system must be able to withstand power failures under heavy load of meta-data-intensive, and data-intensive operations, including power-failures during OS startup, and shutdown.
A file system must be able to restore good data and meta-data state after unexpected power interruption without performing the full time-consuming integrity check. Such recovery should not add more than a second to the normal boot process after power failure on idle system. Normally this is achieved via journal- or log-based (also known as transactional or copy-on-write) operation.
A file system must be able to handle meta-data-intensive, and data-intensive I/O from multiple threads and/or processes simultaneously.
A file system must have integrity checking tool with ability to execute it on-demand.
A file system must be able to switch between read-only, (when no data is committed to physical storage device), and read/write modes in runtime. E.g. via “mount –o remount,ro <device>” command.
AGL must support “lazy” (delayed) unmounting.
AGL should provide means for optimizing potentially degraded I/O performance after prolonged file system and storage use. Often, this refers to offline or online file system defragmentation. Another example is periodic fstrim execution on SSD storage.
A file system should be able to pre-allocate space for created/extended files on request. This may be used to minimize fragmentation of frequently written files.
A file system should have an option of automatic error detection in its meta-data.
A file system should be able to associate error detection codes with separate blocks of stored data, and to verify the data against the codes in runtime upon each read from a physical device.
A file system should have a utility for meta-data integrity checking on mounted partition.
A file system should allow changing timeout after which it flushes modified data to physical media.
A file system should support automatic data compression.
It should be possible to enable file system quotas for particular users and/or groups.
AGL should allow to set I/O scheduling class and priority for particular processes.
AGL should allow user space applications to subscribe for file and directory change notifications.
Making logical block size equal to a power of physical block size may improve physical I/O performance, and decrease file fragmentation impact.
A file system should allow creation of snapshots.
A file system must perform wear leveling before writing data, so that the limited number of erase/program cycles is evenly distributed across all device blocks.
A file system must support the following error detection/correction algorithm(s): BCH4, BCH8.
A file system should not just be able to detect/correct a number of flipped bits but should also actively prevent the issue from happening in the first place, especially after unexpected power interruption. Known techniques include forced reprogramming of blocks that were in use at the time of power failure, and copying data to a fresh block after detected error correction.
A file system should not just be able to detect/correct errors caused by read/write disturb phenomenon but should also actively prevent the issue from happening in the first place. Known techniques include limiting the number of read cycles between erases, and copying data to a fresh block after detected error correction.
A file system must perform bad block detection and management transparently to file system users.
Current FLASH wear-related statistics should be accessible via user-space utility.
A file system must support noexec, and nodev mount options.
A file system must be able to automatically mount plugged-in removable media, and automatically unmount it when unplugged.
A file system must support sync mount option.
AGL shall provide a set of file systems to support the following types of storage devices: internal managed (SSD, eMMC, etc.), internal non-managed (raw NOR and NAND FLASH memory), removable managed (USB stick, SD card).
In IVI system, it depends time and occasion that which application and/or middleware should be higher priority. Resource control provides basic functionality regarding proper resource allocation for each process and/or process group.
(cgroups)
If end user specified a destination and started route guidance, map drawing following current position and voice and/or visual guidance should be treated as higher priority than others.
On the other hand, if end user is watching a movie, movie player and decoder should be assigned to higher priority than others.
Important point is that it may assign two or more high priority application and/or middleware at the same time. And, one function may be provided from two or more processes.
Table 9-33 describes the role of resource control to be satisfied above purpose and use cases.
Table 9-33 : Role of Resource Control
No. | Role | Description |
1 | Priority | Allocate resource via its own priority. High priority process and/or process group should be assigned more resource. |
2 | Time slot | To share resource per time slot. |
3 | Release | Forced release of partially or whole allocated resource. |
4 | Grouping | Grouping two or more processes, and allocate resource per defined process group. |
AGL assumes four types of resources, CPU, memory, storage bandwidth and network bandwidth. Table 9-34 describes associated roles per each resource type.
Table 9-34 : Functions of System Resource Management
System provides a mechanism to set resource priority per each process.
System provides an interface to set and refer resource priority of specific process.
This interface must be called from other process.
CPU resource must support “priority” based resource management.
Resource Manager should dynamically change the ratio of offering resources according to the status of resources using by system. And its configuration must be changed easily.
Resource Manager should log the status of resources using by system.
Resource Manager should offer resources separately to threads of user land and threads of kernel. And Resource Manager should treat the bottom half and software interrupts as high priority tasks.
When two or more process request to same resource at the same time, system must provide a mechanism to mediate to guarantee the time slot to obtain specific timeframe for each processes.
System must provide an interface to set specific timeframe to obtain time slot per each process.
System must provide a mechanism of resource sharing by time slot regarding CPU, storage bandwidth and network bandwidth.
Scheduler should detect the status of resources for each thread.
Scheduler must not run the specific thread for more than 10 micro second.
Scheduler should guarantee that threads can run periodically.
Scheduler should control the dispatches that occur extremely.
System must provide an interface to release all or partial resource which had obtained by specific process.
System must provide a mechanism of resource releasing regarding memory resource.
System must provide a mechanism to group two or more processes regarding resource management such as priority, time slot and releasing. System must able to assign same attributes to grouped processes altogether.
System must provide an interface to group two or more processes from other process.
System must provide a mechanism to group regarding CPU, memory, storage bandwidth and network bandwidth.
Boot/Shutdown Control is a mechanism to control boot and shutdown of a program running in a user space. The order of boot/shutdown in the target program can be easily swapped depending on the product configuration. Boot/Shutdown Control supports both “static order” which boots/shuts down the program according to the static dependency of each program, and “dynamic order” which swaps the order dynamically in specific conditions.
To support various product configurations, the integrator configures/modifies orders of boot/shutdown for all programs running on the target device.
In order to evaluate a developed program, the developer modifies only the order of the developed program in target programs.
Maintainer modifies the order of boot/shut down for a program to be updated when software update.
It dynamically modifies the boot order of the target program in order for last used features (e.g. audio) to be operated by priority when ACC turns ON.
Update related programs are booted by priority when connected with maintenance kit and ACC turned ON.
Boot/Shutdown Control shall start components, which are configured to be started.
Boot/Shutdown Control shall ensure that dependent components are started in the order that has been configured.
Boot/Shutdown Control shall start independent components in parallel.
Boot/Shutdown Control shall stop components, which are requested to be stopped.
Boot/Shutdown Control shall ensure that dependent components are stopped in the order that has been configured.
Boot/Shutdown Control shall be configurable by run level to start corresponding modules.
Due to the nature of AGL operating environment, it is very important for DB engine to guarantee database instance integrity after power failures. Other important feature for generic system database engine is rich set of bindings to various programming languages.
Below is short summary for better understanding of DBS Requirements and References hierarchy.
DB instance integrity must be ensured after power failures under heavy load of read and write DB transactions.
DB engine must be able to quickly restore good data state after unexpected power interruption. Such recovery should not add more than a second to the normal boot process after power failure on idle system.
DB engine must allow read and write access to DB instance from multiple threads and/or processes simultaneously.
DB engine API must be available for C-based applications.
DB engine should have DB instance integrity checking tool with ability to execute it on-demand.
DB engine must be able to quickly restore to a previously defined state after unexpected power interruption during adding some data.
DB engine should have availability to merge some data from internal and external databases, such as vehicle information database and databases at data center.
And DB engine should have accessibility to allow read access to DB instance during merging. Also, DB engine should have durability not to break its data after unexpected power interruption during merging.
Maintenance of in-vehicle devices is also an important role for any automotive system. There are numerous use cases for updating the device software such as software failure,security patching, bug fixes, and new features. Because automotive devices are battery operated and subject to power cuts any System Updates must be robust enough to withstand sudden power loss.
System Update module should have a Robust version up function.
System Update moduleshould have a system difference version up function.
There should be a data update structure for each file or package (same as WindowsUpdate or apt of Linux distribution).
There should be a data update structure for each file or package (same as WindowsUpdate or apt of Linux distribution).
Difference update should be enabled for kernel, middle ware and application.
If power discontinuity (forced restart) occurs during update for differences, the system should be recovered after choosing the status (before or after update) for each update target.
If power discontinuity (forced restart) occurs during update for differences, the status (during update) should be detected and the system should restart.
Time required for applying patch should be 5 minutes maximum for single 10MByte data.
Memory usage for difference update should be maximum 1Mbyte.
Unit amount for difference data should be 10MByte maximum for difference update.
System Update moduleshould have full version up function for whole system.
Kernel, middle ware and application should be mass updated. System structure should allow mass update.
There should be mass update structure for kernel, middle ware and application.
If power discontinuity (forced restart) occurs while mass update of kernel, middle ware and application, the status (during update) should be detected and the system should restart.
If power discontinuity (forced restart) occurs while mass update of kernel, middle ware and application, the status (during update) should be detected and the system should restart.
Device drivers may be in kernel space or user space or a combination of both.
Typical IO device drivers such as SPI, USB, memory, I2C that are typically present on a SOC.
The flash process must be robust with an endurance of more than 10k write/erase cycles and data retention over 15-years/10 ppm, assuming application specific worst-case conditions. For optimised timing for downloading and restoring data the programming access time shall be less than 50 s/byte average.
The EEPROM process must be robust with an endurance of more than 100k write/erase cycles and data retention over 15 years/10ppm. Higher programming voltage than 5 V for Flash or EEPROM is not allowed.
In applications that need to save data at power down, the programming access time must be fast. (target <1ms/byte)
N.B. EEPROM functionality can be emulated in flash memory passing the requirements above.
Graphics drivers provide the interface to the graphical resources (e.g., GPU) within the system. This may include on-board graphical resources or a separate GPU from the main SOC.
Video codecs allow the system to decode and/or encode video for playback or recording. Video codecs will nearly always be hardware based.
The system shall provide device drivers to access any hardware implementation of video functionality.
Automotive Grade Linux BSPs shall provide devices drivers to access audio codecs that are implemented in hardware.
Automotive Grade Linux BSPs should provide software implementations for those audio codecs that are required for AGL-based products and not supported in hardware.
Device drivers for automotive related devices. This may includes buses such as CAN, MOST, or LIN. Device drivers may be required for receivers (AM, FM, SDARS, etc). Drivers may also be required to directly interface to sensors that may not be on the bus such as gyros used for navigation or an air bag sensor for a telematics system.
Linux is a registered trademark of Linus Torvalds.
The Linux Foundation and Yocto Project are registered trademarks of The Linux Foundation.
AirPlay is a registered trademark of Apple, Inc.
Bluetooth is a registered trademark of the Bluetooth SIG Inc.
Miracast is a registered trademark of the Wi-Fi Alliance.
MirrorLink is a certification mark of the Car Connectivity Consortium.