AUTOSAR Adaptive Platform - Execution Management

  • Overview

All aspects of executive management responsible for the implementation of management systems, including startup and shutdown platform initialization and applications. Executive management and operating system work together to run the execution of the application when scheduling.

  • The system starts

When the system starts, the operating system is first initialized and the management module is started as the first operating system. Other features clusters (functional clusters) and platform-level application (platform-level Applications) Start by performing a management module. After Adaptive Platform Foundation started, other applications AP (Adaptive Applications) by performing a restart management module. Start order and the AP application platform level is determined by the application module EM Machine Manifest and Execution manifest.

  • To manage

Execution management module is responsible for all aspects of the implementation of adaptive management and application execution management platform, including:
1. lifecycle management platform
  to perform adaptive management module as part of the platform stage startup, responsible for initializing the adaptive platform and application deployment.
2. The application life cycle management
  execution management module has been ordered to start deploying applications on and off. Executive Management is determined based on the information Machine Manifest deployment and Execution manifests in a set of applications, and according to a statement of application dependencies derived startup / shutdown procedure. According to the state of the machine and functional group status, application deployment or after the start of the adaptive platform during startup, because many applications will provide services to other applications, so do not expect all of these applications are beginning to work immediately, it is necessary to wait and "listens" for incoming service requests.

Execution management module is not responsible for scheduling when to run the application, because it is the responsibility of the operating system. However, management is responsible for the implementation of the operating system initialization / configuration so that it can schedule when to perform the necessary operational executive management based on information extracted from the Machine Manifest and Execution Manifests in.

  • Deterministic execution

Deterministic execution provides a mechanism, such that the given set of input data is calculated always produces a consistent output for a limited time. Deterministic execution time and data management into certainty. The former (deterministic) refers to the calculated output is always generated before the deadline, the latter (deterministic data) refers to the ability to produce the same output from the same input data and sets the internal state.
Support the implementation of management module provides deterministic focused on data, because it assumes deterministic time to process through the provision of adequate resources. For deterministic data, execution management module provides DeterministicClinetAPI support for the process of internal control cycle, uncertainty work pool, the activation time stamp and a random number. In the case of software lock-step, DeterministicClinet with optional lock-step framework for interactive software, in order to ensure that the same behavior process redundant execution. DeterministicClient and CM (Communication Management) interact to cause data processing activated in synchronization with the cycle.

  • Resource constraints

AP AP platform allows multiple applications (Adaptive Applications) on the same machine, thus ensuring that the system is a characteristic of the system without interference. Therefore, the behavior of AP incorrect application should limit its impact other applications, for example, should prevent the application consumes more impact than the CPU time specified, since it may have the right to run other applications. Execution management module to the application process to allocate one or more resource groups to achieve mutual interference. You may then be assigned CPU time or memory limits for each resource group to limit the resources available to the application.

  • Application Recovery

Executive Management is responsible for the process to start / stop status of the relevant management, so it must have special rights to start and stop the process. Health Management platform module monitors the process and does not trigger a recovery operation within the parameters specified in the behavior of any process. Recovery operation in health management platform based on software module defines the architecture requirements and is configured in the Execution Manifest in.

Released three original articles · won praise 1 · views 54

Guess you like

Origin blog.csdn.net/changjun7/article/details/104941076