Trash Commands for Storage Systems Using Attribute Conditions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current storage systems lack efficient mechanisms for managing content items using trash commands that allow for selective and automated movement of content items based on attribute conditions without requiring additional user input after the command is issued.
Innovation Solution
A content management system that receives a trash command specifying attribute conditions connected by logical operators, selects content items matching these conditions, and moves them to designated trash folders, including personal trash folders for users and authors, without further manual intervention.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If trash commands move content items to pre-specified logical locations with restoration options, then content item recovery capability is improved, but system complexity increases due to additional management overhead
Solution Approach 1:
The system pre-creates trash folders for users and authors before trash operations are needed. When a trash command is received, the system checks whether the target trash folder exists, and only creates it if necessary. This preliminary preparation reduces the complexity of runtime decision-making while maintaining the ability to handle recovery operations reliably.
2Ease of operation
If trash commands require only single input without further user interaction, then ease of operation is improved, but risk of accidental deletion increases
Solution Approach 1:
The trash folder serves as an intermediary between the source location and permanent deletion. Content items are moved to the trash folder rather than being immediately deleted, allowing users to recover items if needed. The system determines the appropriate trash folder (user's or author's) based on flags and attributes, providing a safety net while maintaining operational simplicity.
3Adaptability or versatility
If trash commands support complex attribute conditions with logical operators, then selectivity of content item management is improved, but device complexity increases
Solution Approach 1:
The system automatically evaluates attribute conditions and determines the appropriate trash folder without requiring manual user input for each decision. Based on flags (e.g., author trash flag) and content item attributes, the system self-determines whether to move items to the user's trash folder or the author's trash folder, enabling complex selective management while keeping the interface simple.
Data Source
AI summary
An aspect of the present disclosure provides for managing content items in a storage system. In an embodiment, a trash command is received from a user, where the trash command specifies an expression of a set of attribute conditions connected by logical operators. A set of content items having attributes matching said expression are selected, where the set of content items are stored in corresponding logical locations on the storage system prior to receiving the trash command. The selected set of content items are moved from respective logical locations on the storage system to a set of trash folders, wherein selecting and moving the set of content items are performed in response to receiving the trash command specifying the expression.


