Session Manager Centralizes Multithreaded Task Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In business management systems, privileged users lack centralized control over multiple sub-tasks, leading to resource leaks and inefficient monitoring of sessions, especially in multithreaded server applications where tasks can go out of control, causing memory and computing cycle leaks.

Innovation Solution

A Session Manager is introduced to register, monitor, and maintain execution tasks, providing a central repository for all running sessions, allowing for better control over task execution, resource management, and handling of stalled or waiting tasks by assigning new clients and listeners to unblock background processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If privileged users directly manage multiple sub-tasks in multithreaded server applications, then task execution flexibility is improved, but resource leaks and system instability occur due to lack of centralized control

Engineering Contradiction:
Improvetask execution flexibilityVSAvoidsystem stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

A Session Manager component is introduced as an intermediary between privileged users and multiple sub-tasks. The Session Manager maintains a centralized registry of active sessions, tracks their states, and coordinates task execution. This mediator approach allows flexible task management while preventing resource leaks through centralized monitoring and controlled access to session information.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Difficulty of detecting and measuring

If users can access and monitor all active sessions, then monitoring capability is improved, but information security is compromised as sensitive business data may be exposed

Engineering Contradiction:
Improvesession monitoring capabilityVSAvoiddata exposure risk
Core Design Contradiction:
Difficulty of detecting and measuringVSObject-affected harmful factors

Solution Approach 1:

The Session Manager implements local quality by providing different levels of session information access to different users or components. Instead of exposing all session details universally, it selectively reveals only necessary information (such as session state, progress, or specific metrics) while keeping sensitive business data protected. This selective information disclosure maintains monitoring capability without compromising security.

Inventive Principle:
Principle #3Local quality

3Loss of energy

If a centralized Session Manager is introduced to control all sessions, then resource management is improved, but system complexity increases

Engineering Contradiction:
Improveresource leak preventionVSAvoidsystem architecture complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The Session Manager is designed as a universal component that performs multiple functions: registering sessions, tracking their states, monitoring progress, coordinating task execution, and preventing resource leaks. By consolidating these diverse functions into a single multi-functional component, the system reduces overall complexity compared to having separate mechanisms for each function, while still achieving comprehensive resource management.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8751281B2Method for acquiring by a session manager a list of active sessions
Publication Date: 2014.06.10 SAP SE
  • US8751281B2 patent drawing
  • US8751281B2 patent drawing
  • US8751281B2 patent drawing

AI summary

According to one general aspect, a method may include acquiring, by a session manager, a list of active sessions. In various embodiments, each session may include a grouped plurality of sub-tasks that are configured to be sequentially performed in order to accomplish a business management task. In some embodiments, the method may include receiving a selection of one of the sessions to supervise. In one embodiment, the method may include retrieving a list of the at least one event listener(s) from a session context associated with the selected session. In another embodiment, the method may include receiving events generated by the session.