You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Describe the use cases of functions which are common in each OEM's products and functional requirements on implementation.

Abstraction

This chapter provides requirements for the function of the Power State Management.

On vehicle power state transitions(like ACC On/Off) or other use cases, IVI should receive the power state transition requests. In such cases of state transition, 
it is necessary to have a mechanism to manage the services running on IVI and notify the transition request.

What is described here indicates some kind of notification from the Hardware side (e.g. Acc on, etc.).

This figure shows the data flow diagram with the Hardware side as a center.
 

                   Figure1
                 

Use cases

In the following table, use cases which need the Power State Management function are described.


#Item

1

A user searches the destination on the navigation display after starting the car.

2

When a user wants to go to the destination quickly after starting the car, he or she can quickly search the destination because of quick startup of IVI.

3

A user shutdown IVI by the ACC off.

4

When a user wants to continue a handsfree call after ACC off, he or she can continue it although the display is off as partially running state.
(There are other use cases, for example, 

  • When an user wants to get the car out, he or she can use the smartphone-linked function to control outside and after that get into the car.
  • When no one is in the car, the multimedia system will be updated through OTA. )


This is a simplified use case diagram of the above use case.

   

                 Fiture2

In Production Readiness, to realize the use cases, power state transition of IVI in general is defined as follows.


  1. The state of IVI power off(Power-off)
  2. The state which is ready to boot IVI(Ready)
  3. The state which the part of IVI features can be used(Partially running)
  4. The state which IVI has started(Running)


Although the four states are considered necessary for product use cases, the B and C states depend on the requirements of each OEM. 


The following diagram is a description of the above 4 states.

#IVI Power State Description of each state 

1

Power-off

The IVI system is turned off.
The IVI display is turned off.

2

Ready

The IVI system is turned on.
The IVI display is turned off.
The IVI system prepares selected services so that the IVI system can provide user functions quickly when the IVI becomes on. 

3

Partially running

The IVI system is turned on.
The IVI display is turned off.
The IVI system prepares selected services so that the services can be used after the engine off for a short while.

4

Running

The IVI is turned on.
Also the IVI display is turned on.
All of the user functions are available.

The following shows the IVI state transition diagram of the above diagram. The conditions for each transition are also described.


       
                      Figure3
                       


Use cases diagramState transition diagramCondition of transition

#1

(1)

(1)Power State Notification Device sends the transition request to change the IVI state to “Running”.

#2

(3), (4)

(3)Power State Notification Device sends the transition request to change the selected services states to “Ready”.

(4)Power State Notification Device sends the transition request to change the IVI state to “Running”.

#3

(2)

(2)Power State Notification Device sends the transition request to change the IVI state to “Power-off”.

#4

(5), (6)

(5)Power State Notification Device sends the transition request to change the selected services states to “Partially running”.

(6)Power State Notification Device sends the transition request to change the IVI state to “Power-off” and terminate IVI system.

Functional Requirements

This table includes the functional requirements of Power State Management module.  Figure2 will be used to explain this requirement.


#Description

1

Power State Management should receive state transition requests from Power state notification device.

2

When Power State Management receives the state transition requests from Power State notification device to change to the each 4 power state, Power State Management should have the list that configures the target services to be notified of the request.

3

Power State Management should notify each Service of the transition request based on the configuration list in #2 above.

4

Power State Management should receive completion notification when the Service that received the request notification completes the state transition.(Finally the information will be notified to the Power State Notification Device.)

5

Power State Management notifies the state transition completion information to the Power State Notification Device.

6

Power State Management should not notify the Power State Notification Device every time the state transition completion information is sent from the Service, but rather notifies the device of a certain amount of information at once.

Power State Management in Basesystem

Reference implementation by Basesystem



                       Figure4 Software configuration diagram of Production Readiness

To have Power State Management for the use cases above, we provided the following functions as the part of the power management function. Refer to the software configuration diagram.

  • Power Service
  • System Manager
  • (NS frameworkunified)

                                                                                   Figure5


Power Service

Power service provides functions such as notifying the system manager unit of power state transition requests by getting the notification from the Hardware side, or receiving requests and notifying the Hardware side of it.

System Manager

In order to control the system according to the power state transition request, System manager notifies the services on the service list of a power state transition received from Power service.

NS frameworkunified

NS frameworkunified provides mechanism for communicating with any process in Basesystem

Reference Code

System manager

https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging/basesystem.git;a=tree;f=service/system/system_manager;hb=refs/heads/master

Power service

https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging/basesystem.git;a=tree;f=service/system/power_service;h=fabcbf6aabbf0b7dd8a1df2fb35491029a2d1fdd;hb=refs/heads/master

  • No labels