Interrupt-Prohibited Section Measurement in AUTOSAR OS
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The AUTOSAR Operating System lacks monitoring for deadlines required for Timing Protection, necessitating a method to measure the duration of interrupt-prohibited sections to address timing faults.
Innovation Solution
A method and system for measuring the duration of interrupt-prohibited sections by selectively processing interrupt request signals, involving increasing and decreasing an interrupt count to record relevant times and calculate the duration of the interrupt-prohibited section.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the AUTOSAR OS implements deadline monitoring for Timing Protection, then timing fault handling capability is improved, but the system complexity increases due to the need for interrupt-prohibited section measurement mechanisms
Solution Approach 1:
The patent introduces an interrupt count variable as an intermediary mechanism to indirectly measure interrupt-prohibited section duration. Instead of implementing complex direct timing monitoring, the system uses the interrupt count to represent and track the state of interrupt prohibition, simplifying the overall system architecture while enabling deadline monitoring functionality
Solution Approach 2:
The patent creates a simplified model of interrupt-prohibited section measurement by recording start and end times based on interrupt count changes. This copying approach captures the essential timing information without requiring complex hardware or software mechanisms, reducing system complexity while maintaining measurement accuracy
2Measurement precision
If the system measures interrupt-prohibited section duration accurately, then deadline monitoring precision is improved, but the processing time increases due to selective processing of interrupt request signals
Solution Approach 1:
The patent extracts only the essential information for measurement by selectively processing interrupt request signals. Instead of handling all interrupt signals uniformly, the system identifies and processes only those signals that mark the beginning and end of interrupt-prohibited sections, reducing processing overhead while maintaining measurement precision
Solution Approach 2:
The patent applies partial action by recording time information only when necessary (when interrupt count changes indicate start or end of prohibited sections). This selective recording approach avoids continuous timing operations, reducing processing time while ensuring accurate measurement of critical intervals
Data Source
AI summary
An interrupt-prohibited section measurement method is performed by a computing system. The interrupt-prohibited section measurement method comprises increasing an interrupt count in response to a first interrupt request signal, recording a first time, which is the time when the first interrupt request signal is sent, based on the increase in the interrupt count, decreasing the interrupt count in response to a second interrupt request signal different from the first interrupt request signal, recording a second time, which is the time when the second interrupt request signal is sent, based on the decrease in the interrupt count, and calculating a duration of the interrupt-prohibited section using the first and second times.


