Skill Session State Management for Concurrent Task Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing natural language processing systems limit user interaction by allowing only one skill session at a time, requiring users to wait for one task to complete before engaging with another, leading to inefficient use of system resources and user frustration.
Innovation Solution
A system that enables skills to process in a background state, allowing them to continue working without interrupting the user, and proactively output information when ready, while the user can engage with other skills.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the system allows only one skill session at a time, then system complexity is reduced and ease of operation is maintained, but productivity decreases and user experience deteriorates due to waiting time
Solution Approach 1:
The patent segments skill session management into distinct states (active, background, suspended, terminated) and uses state transition mechanisms to control concurrency. This allows multiple skill sessions to coexist in different states simultaneously, improving productivity while maintaining manageable system complexity through clear state boundaries and transition rules.
2Productivity
If the system requires user input to resume each skill session, then ease of operation is maintained, but loss of time increases and productivity decreases
Solution Approach 1:
The system performs preliminary actions by automatically resuming background skill sessions based on predefined conditions (such as completion of other tasks or system events) without requiring user input. This preliminary automatic resumption reduces waiting time and improves productivity while maintaining simplicity for users who don't need to manually manage session transitions.
3Productivity
If the system allows skills to process in background state, then productivity increases and user experience improves, but device complexity increases
Solution Approach 1:
The patent implements dynamic state transitions for skill sessions, allowing sessions to move between active, background, suspended, and terminated states based on real-time system conditions and user interactions. This dynamic approach enables concurrent processing while maintaining manageable complexity through well-defined transition rules and state management mechanisms that adapt to changing conditions.
Data Source
AI summary
Techniques for resuming a skill session are described. A system receives a user input, determines a skill to execute with respect to the user input, opens a skill session, and causes the skill to execute. After the skill executes, the skill indicates the skill session is to be placed in a background state, resulting in the user being able to conduct one or more skill sessions while the skill processes in the background state. Sometime after placing the skill session in the background state, the skill requests the system to resume the skill session. If the system determines the skill session is to be resumed, the system sends data to the skill indicating that the skill session will be resumed. Once the skill session is to be resumed, the system places the skill session in an active state, and calls the skill to resume processing of the skill session.


