Buffer Process for Secure Inter-Container Messaging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing inter-container messaging systems lack sufficient security and efficiency due to restrictive authorization mechanisms, which hinder effective communication between processes in different OS-level containers.

Innovation Solution

Implementing a buffer process that determines and enforces authorized communication between OS-level containers by using authorization data and message routing, allowing secure and efficient inter-process communication through serialization, deserialization, and dynamic updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If inter-container messaging is highly restricted for security, then security is improved, but communication efficiency and flexibility deteriorate

Engineering Contradiction:
ImprovesecurityVSAvoidcommunication efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a buffer process as an intermediary component that sits between containers and the kernel messaging system. This buffer process acts as a security gateway that filters and controls inter-container messaging, allowing security policies to be enforced without blocking all communication. The buffer process enables efficient communication by allowing authorized messages to pass through while maintaining security restrictions, thus resolving the contradiction between security and communication efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If authorization mechanisms are simplified for efficiency, then communication efficiency is improved, but security control capability deteriorates

Engineering Contradiction:
Improvecommunication efficiencyVSAvoidsecurity control capability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements preliminary authorization by pre-configuring security policies and authorization rules in the buffer process before inter-container messaging occurs. The buffer process maintains authorization data structures that define which containers and processes are permitted to communicate. This preliminary setup allows the system to efficiently check authorization using pre-computed rules rather than performing complex security evaluations for each message, thus maintaining both security control capability and communication efficiency.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If direct inter-container messaging is allowed, then communication flexibility is improved, but attack surface increases

Engineering Contradiction:
Improvecommunication flexibilityVSAvoidattack surface
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The buffer process serves as a mandatory intermediary for all inter-container messaging, preventing direct communication between containers. This intermediary architecture maintains communication flexibility by allowing messages to be routed between any containers that have proper authorization, while simultaneously reducing the attack surface by centralizing security control points. All messaging must pass through the buffer process where security policies are enforced, eliminating direct exposure between containers.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If authorization data is statically configured, then security is improved, but adaptability to dynamic environments deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoiddynamic update capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic authorization by allowing authorization data in the buffer process to be updated at runtime. The buffer process can modify its authorization data structures based on changing security requirements, container lifecycles, and communication patterns. This dynamic capability maintains security by ensuring that authorization rules are always current while adapting to evolving environmental conditions, thus resolving the contradiction between static security configuration and dynamic adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10599494B2Method and system of performing inter-process communication between OS-level containers in user space
Publication Date: 2020.03.24 HUAWEI TECH CO LTD
  • US10599494B2 patent drawing
  • US10599494B2 patent drawing
  • US10599494B2 patent drawing

AI summary

A computer-implemented method of performing inter-process communication includes a first process in a first operating system (OS) level container in a user space sending a message to a buffer process. The message is addressed to a second process in a second OS-level container in the user space. The buffer process communicates the message to the second process. A device for performing the computer-implemented method is also provided.