CDN Node Server Shared Memory Media Stream Delivery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing media stream delivery methods in CDN systems suffer from significant performance degradation due to the large amount of data being copied from the user mode cache to the kernel mode cache, leading to increased system performance consumption and reduced service efficiency.

Innovation Solution

A media stream delivery method that utilizes a shared memory space, where data packets are written and read directly without the need for copying between user and kernel modes, thereby leveraging the zero-copy capability of the Linux sendfile function.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data packets are copied from user mode cache to kernel mode cache for media stream delivery, then data can be sent to user terminals, but system performance consumption increases significantly

Engineering Contradiction:
Improvemedia stream delivery capabilityVSAvoidsystem performance consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent applies the copying principle by creating a shared memory space that is copied between user mode and kernel mode. This shared memory acts as a bridge where data packets are stored once and can be accessed by both modes without requiring full data copying, thus reducing the performance consumption while maintaining delivery capability.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The shared memory space serves as an intermediary between user mode cache and kernel mode cache. Instead of directly copying data between these two modes which causes high performance consumption, the shared memory mediates the data transfer, allowing efficient access by both modes with reduced system performance impact.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If more CDN node servers are configured to improve service capability, then service coverage increases, but configuration cost increases

Engineering Contradiction:
Improveservice capabilityVSAvoidconfiguration cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent changes the parameter of data storage location by introducing shared memory space. This parameter change allows a single CDN node server to achieve better service capability through improved data handling efficiency rather than adding more servers, thus reducing configuration cost while maintaining adaptability.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

By implementing shared memory copying between user and kernel modes, the patent enables a single CDN node to serve more users efficiently without needing to configure additional node servers. This reduces the overall configuration cost while maintaining service capability through better resource utilization.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12328484B2Media stream delivery method, CDN node server, CDN system, and readable storage medium
Publication Date: 2025.06.10 ZTE CORP
  • US12328484B2 patent drawing
  • US12328484B2 patent drawing
  • US12328484B2 patent drawing

AI summary

Provided are a media stream delivery method, a content delivery network (CDN) node server, a CDN system and a readable storage medium. The media stream delivery method includes: receiving a data packet of a media stream; writing the received data packet of the media stream into a shared memory; and responding to a request of a user terminal, reading the data packet of the media stream requested by the user terminal from the shared memory, and sending the data packet.