User-Based Service Isolation via Container Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face issues with untimely user handover, leading to functional faults due to incorrect user data processing, as service instances are global and delayed in updating user settings, causing errors in data display and processing.

Innovation Solution

Implementing user-based service isolation by constructing a user object and service container upon login, binding the user object to the container, and creating a service instance for each user, which is destroyed upon logout, thereby isolating data processing and preventing incorrect user data access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If global service instances are used for user data processing, then system complexity is reduced, but functional faults occur due to untimely user handover and incorrect user data processing

Engineering Contradiction:
Improvesystem complexityVSAvoidfunctional fault prevention
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent segments the global service instance into user-specific service instances, where each user has their own isolated service instance that processes only their data. This segmentation eliminates the functional faults caused by global instances while managing user-specific state independently.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a service instance factory as an intermediary that creates and manages user-specific service instances. This factory acts as a mediator between the user and the service instances, ensuring proper initialization and cleanup of user-specific resources.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If user-specific service instances are created for each user, then functional faults are eliminated, but system complexity increases

Engineering Contradiction:
Improvefunctional fault preventionVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal service instance factory that handles multiple users through a standardized interface. This factory can create, manage, and clean up service instances for any user following the same pattern, reducing complexity through reuse rather than creating separate management logic for each user.

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

Solution Approach 2:

Each user-specific service instance is self-contained and manages its own state and resources independently. The service instances automatically clean up their own resources when the user logs out, reducing the need for complex external management mechanisms.

Inventive Principle:
Principle #25Self-service

3Use of energy by moving object

If service instances are maintained globally, then resource utilization is high, but user data isolation is compromised leading to security risks

Engineering Contradiction:
Improveresource utilizationVSAvoidunauthorized data access
Core Design Contradiction:
Use of energy by moving objectVSObject-affected harmful factors

Solution Approach 1:

The patent segments the shared service instance into isolated user-specific instances, where each instance can only access and process its own user's data. This segmentation provides automatic data isolation and security while allowing efficient resource usage within each user's context.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each service instance is configured with local quality specific to its user, including user-specific settings, preferences, and data access permissions. This local configuration ensures that each instance operates with the appropriate user context while maintaining resource efficiency.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240370290A1Method and apparatus, device and medium for user-based service isolation
Publication Date: 2024.11.07 BEIJING ZITIAO NETWORK TECH CO LTD
  • US20240370290A1 patent drawing
  • US20240370290A1 patent drawing
  • US20240370290A1 patent drawing

AI summary

Embodiments of the present disclosure provides a user-based service isolation method and apparatus, a device and a medium. One specific implementation of the method includes: in response to login of a target user, constructing a user object corresponding to the target user, constructing a service container, binding the user object to the service container, and creating, in the service container, a service instance corresponding to the target user; and in response to logout of the target user, destroying the user object and the service container. By means of the method, the problem of a functional fault resulting from untimely user handover can be solved.