Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

8 results about "Interrupt priority level" patented technology

The interrupt priority level (IPL) is a part of the current system interrupt state, which indicates the interrupt requests that will currently be accepted.

A method, electronic device and storage medium for safety monitoring of a vehicle instrument system.

This invention discloses a safety monitoring method, electronic device, and storage medium for a vehicle instrument system. The method includes the following steps: periodically monitoring registers and notifying the interrupt system of any abnormal registers for appropriate handling; periodically checking whether the interrupt frequency recorded in a RAM area is normal; checking the priority of the interrupt system to determine if an interrupt priority error has occurred and taking corresponding fault response strategies; and checking whether unused interrupt numbers are being called in the interrupt service routine to determine if any null interrupts are being triggered. This invention periodically monitors registers and checks interrupt frequency and priority, and can also determine if null interrupts are being triggered. It utilizes the existing system interrupt resources of the instrument system to perform relevant logical processing on interrupts, preventing interrupt anomalies from causing system security problems and compensating for anomalies that cannot be detected by hardware or software watchdogs.
Owner:CHINA FAW CO LTD

A task scheduling method and system based on timing interrupt preemption

This invention belongs to the field of embedded software technology, specifically relating to a task scheduling method and system based on timer interrupt preemption. The method includes: creating task nodes and timer objects using a static creation method, and configuring priorities and scheduling times for tasks; constructing doubly linked lists of time series according to priorities based on a unified time base, and inserting task nodes into the corresponding linked lists in an orderly manner; setting timer interrupts of corresponding priorities according to the first task node of each linked list; responding to timer interrupts by triggering the execution of expired tasks, removing task nodes, and resetting timer interrupts; and utilizing processor interrupt priorities and context saving mechanisms during task execution to achieve preemption and recovery of high-priority tasks. This invention can reduce scheduling resource consumption and improve the scheduling orderliness and response timeliness of multi-priority tasks.
Owner:SHENZHEN XINGSHAN YUEDONG TECH CO LTD

Exception Notification

PendingJP2026508735AProgram initiation/switchingOperating systemOutage detection
The apparatus includes an interrupt detection circuit for detecting a first interrupt to be handled by a processing circuit in a target execution environment. The apparatus also includes an exception notification circuit for notifying the processing circuit of an exception in response to the accepted interrupt. If the first interrupt meets at least one criterion, including if the target execution environment is not the active execution environment of the processing circuit, the exception notification circuit is configured to signal a first or second exception depending on an interrupt priority associated with the first interrupt. If the interrupt priority exceeds a threshold priority, the first exception is signaled to preemptively trigger a given action, where switching from the active execution environment to the target execution environment depends on the given action being performed. If the interrupt priority does not exceed the threshold priority, the second exception is signaled without preemptively triggering the given action.
Owner:ARM LTD

Interrupt processing method and apparatus, electronic device, and readable storage medium

PendingCN122450583AProcessingInterrupt priority level
The application provides a kind of interrupt processing method, device, electronic equipment and readable storage medium, it is related to computer technical field, method includes: obtaining the target virtual machine identification of target virtual machine sent by interrupt controller;The target virtual machine identification is the virtual machine identification corresponding to the interrupt identifier of target interrupt, and is obtained according to the target interrupt received by the interrupt controller, and the correspondence between pre-stored interrupt identifier and virtual machine identifier;If the target virtual machine identification is different from the virtual machine identification of the virtual machine being run in processor core, then the target interrupt priority of the target interrupt is obtained;If the target interrupt priority is higher than or equal to preset priority threshold, then through virtual machine management program, the virtual machine being run is switched to the target virtual machine, to process the target interrupt by the target virtual machine.Based on the application, virtual machine can be made to respond to interrupt quickly.
Owner:BEIJING INSTITUTE OF OPEN SOURCE CHIP

Singlechip stack use limit evaluation method and device based on real-time interrupt sampling, storage medium and embedded system

The invention discloses a single-chip microcomputer stack use limit evaluation method and device based on real-time interrupt sampling, a storage medium and an embedded system. The method comprises the steps that a periodic interrupt source with the highest interrupt priority is set / called; directly reading an instantaneous value of a hardware stack pointer register when the execution of the service program with the highest priority interruption is finished; comparing the read instantaneous value of the stack pointer with a dynamically maintained historical minimum value of the stack pointer; updating the historical minimum value of the stack pointer according to the growth direction of the stack memory; and based on the updated historical minimum value of the stack pointer and the initial address of the stack memory, calculating to obtain a historical use peak value of the stack memory. According to the method, the instantaneous value of the stack pointer register is read when the interruption occurs, so that an accurate measurement result is obtained, and all security risks introduced by writing and detecting memory contents are eradicated. As only the historical minimum value of the stack pointer needs to be dynamically maintained, an accurate measurement result can be obtained under the condition of low performance resource cost.
Owner:FORTIOR TECHNOLOGY (SHENZHEN) CO LTD

Vehicle-mounted code fault diagnosis method and device

The invention discloses a vehicle-mounted code fault diagnosis method and device, and the method comprises the steps: extracting semantic features of a target code segment from a code feature sequence of a vehicle-mounted source code, and obtaining target features; performing dynamic position coding on the vehicle-mounted source code, constructing a time sequence constraint feature according to a coding result, and constructing an interrupt priority graph based on the target feature and the time sequence constraint feature; generating a target fault tree based on the interrupt priority graph and a pre-constructed resource competition relationship network; the target fault tree comprises an event node set, a gating event edge set and a node fault probability, and the node fault probability is determined by a connection weight of an interrupt priority graph and a connection weight of a resource competition network; and the fault mode-influence analysis table is generated based on the target fault tree, and fault diagnosis is performed according to the fault mode-influence analysis table, so that the comprehensiveness and accuracy of fault identification and diagnosis of the vehicle-mounted code can be improved.
Owner:CHINA AUTOMOTIVE INNOVATION CORP

Correctness verification method of unbounded interrupt drive program based on serialization

PendingCN121681320AError detection/correctionPathPingCPAchecker
The invention belongs to the field of software model detection, and relates to a correctness verification method for a serialization-based unbounded interrupt driver. An interrupt driving program is converted into a sequenced program by using a sequenced technology, global auxiliary variables such as a program counter, a control mode variable and a shielding variable are introduced, random context switching, multi-stage interrupt nesting and interrupt shielding behaviors are simulated by means of macro and execution modes, and the obtained sequenced program is detected by using a model detection tool CBMC or CPAchecker. And verifying the correctness of the unbounded interrupt driver. According to the method, an interrupt driving program is converted into an equivalent sequential execution program, and all possible execution interlaced paths are accurately simulated, so that the correctness of the program can be effectively verified, and particularly under the condition of complex behaviors such as interrupt nesting, multi-stage interrupt, priority scheduling and interrupt shielding, the execution efficiency of the program is greatly improved. And the problems of state space explosion and false positive in a traditional model detection method can be avoided.
Owner:DALIAN UNIV OF TECH

Energy storage system control method based on interrupt task and energy storage system

The application provides a kind of energy storage system control method and energy storage system based on interrupt task, the unassigned interrupt vector of processor in energy storage system is configured as target interrupt vector, and the interrupt priority of target interrupt vector is set as the highest priority of system;When detecting that any energy storage device in energy storage system appears preset emergency event, target interrupt vector is triggered, so that processor jumps to execute target interrupt service program pointed by target interrupt vector;Wherein, target interrupt service program is used to process emergency event of energy storage device, and target interrupt service program execution process cannot be preempted by other interrupt program.By configuring unassigned interrupt vector of processor as target interrupt vector with highest priority, the fast processing of emergency event can be realized without affecting other processes, and the service program is not preempted by other interrupts due to the highest priority feature, so that the emergency task is completed efficiently without delay.
Owner:ZHEJIANG JINKO ENERGY STORAGE CO LTD