Queue-Scoped Command Aborts for State Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional command processing methods face issues where abort information from one submission queue can inadvertently abort commands from other queues, leading to unclear task states and potential security vulnerabilities.
Innovation Solution
A command processing method that checks if abort information and the target command originate from the same storage region before aborting, ensuring commands are only aborted based on identical region-specific information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If abort information from one submission queue is used to abort commands, then command abort operation can be performed, but commands from other queues may be incorrectly aborted leading to unclear task states
Solution Approach 1:
The patent segments the abort information storage by creating separate abort information storage regions corresponding to each submission queue. Each region stores abort information only for commands from its own queue, preventing cross-contamination of abort information between different queues and ensuring that abort operations only affect commands within the same queue.
Solution Approach 2:
The patent applies local quality by making each submission queue have its own dedicated abort information storage region with unique identification. This ensures that abort information is locally scoped to each queue, allowing precise targeting of abort operations to specific commands within specific queues without affecting other queues.
2Ease of operation
If abort information from different storage regions can abort commands, then system can respond to abort requests, but security vulnerabilities arise as malicious programs may cancel all commands
Solution Approach 1:
The patent segments abort information by submission queue, so that abort information from one queue cannot affect commands in other queues. This segmentation prevents malicious programs from injecting abort information into one queue and having it propagate to cancel all commands across the system.
Solution Approach 2:
The patent introduces a queue identifier as an intermediary element that mediates between the abort information and the command. The identifier acts as a filter that ensures abort information can only abort commands from the same queue it came from, preventing unauthorized or malicious abort operations.
Data Source
AI summary
A command processing method, applied to an electronic system which can execute commands and comprises a plurality of storage regions. The command processing method comprises: (a) storing at least one command to at least one of the storage regions; (b) acquiring abort information of a target command among the command if the target command is already fetched from the storage regions but is to be aborted; (c) checking if the abort information and the target command are from an identical one of the storage regions; and (d) aborting the target command if a result of the step (c) is yes, and not aborting the target command if the result of the step (c) is no.


