Compiler Self-Diagnosis Resource Targeting
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In the field of in-vehicle apparatuses, the long execution time of self-diagnosis programs limits the processing time available for user programs, necessitating a reduction in self-diagnosis program execution time to ensure adequate time for user program processing.
Innovation Solution
A self-diagnosis method that specifies a target resource group within the apparatus based on the resources used by an object program, allowing the self-diagnosis to be executed only on the necessary resources, thereby reducing the execution time of the self-diagnosis program.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the self-diagnosis program executes on all resources, then error detection precision is maintained, but execution time becomes long
Solution Approach 1:
The patent segments the self-diagnosis process by dividing resources into multiple groups and executing self-diagnosis on each group separately with different precision levels. Critical resources are diagnosed with high precision while non-critical resources use lower precision methods, reducing overall execution time while maintaining necessary error detection capability.
Solution Approach 2:
The patent applies local quality by assigning different self-diagnosis precision levels to different resource groups based on their importance. High-priority resources receive thorough diagnosis while low-priority resources receive simplified diagnosis, optimizing the balance between detection precision and execution time for each specific resource.
2Productivity
If the self-diagnosis program execution time is reduced, then time for user programs increases, but error detection precision may deteriorate
Solution Approach 1:
The patent implements partial action by performing self-diagnosis on only the most critical resources with high precision, while using simplified or skipped diagnosis for less critical resources. This partial approach ensures adequate error detection for essential functions while reducing overall diagnosis time to allow sufficient user program execution time.
Solution Approach 2:
The patent changes the precision parameter of self-diagnosis dynamically based on resource priority and system state. By adjusting diagnosis depth, test coverage, and verification levels according to different resource groups, the system maintains necessary detection precision for critical resources while reducing execution time for non-critical resources.
Data Source
AI summary
The execution time of a self diagnosis program is reduced. A compiler apparatus includes: a specify unit that specifies, out of a plurality of resources included in a diagnosis target apparatus, a use resource group being a set of resources used by an instruction string included in an object program executed on the diagnosis target apparatus; a determine unit that determines, in accordance with the specified use resource group, a target resource group being a set of resources to be targets of a self diagnosis in the diagnosis target apparatus; and an output unit that outputs, for causing the self diagnosis on the determined target resource group to be executed in the diagnosis target apparatus, information based on the target resource group to the diagnosis target apparatus.


