Video Stream Encryption Using Dual-Algorithm I-Frame Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for encrypting video streams struggle to balance security and efficiency, resulting in slow encryption speeds and inadequate protection against tampering.

Innovation Solution

A method that encrypts a video stream by using a first encryption algorithm for the data part of an I frame, further encrypting the encryption key with a second algorithm, and storing the encrypted key in the frame header, while performing hash operations on subsequent frames to ensure integrity and security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing encryption methods are used to ensure video stream security, then encryption security is improved, but encryption speed deteriorates

Engineering Contradiction:
Improveencryption securityVSAvoidencryption speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The video stream is segmented into I-frames and P-frames, with different encryption strategies applied to each type. I-frames undergo full encryption while P-frames use differential encryption based on hash values, dividing the encryption task into manageable segments that balance security and speed

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different encryption qualities are applied to different parts of the video stream. I-frames receive comprehensive encryption for maximum security, while P-frames receive localized encryption only for modified regions, optimizing the balance between security and processing efficiency

Inventive Principle:
Principle #3Local quality

2Reliability

If complex encryption methods are used to prevent tampering, then encryption security is improved, but device complexity increases

Engineering Contradiction:
Improvetamper protectionVSAvoidencryption process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Hash values of I-frames are pre-calculated and embedded into P-frames before transmission. This preliminary action enables efficient tamper detection during playback without requiring complex real-time verification mechanisms

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Hash values serve as intermediary elements that link I-frames and P-frames. These intermediaries enable tamper detection through simple comparison operations rather than complex cryptographic verification, reducing device complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12126711B2Method and device for encryption of video stream, communication equipment, and storage medium
Publication Date: 2024.10.22 SHENZHEN STREAMING VIDEO TECH
  • US12126711B2 patent drawing
  • US12126711B2 patent drawing
  • US12126711B2 patent drawing

AI summary

The present application provides a method and a device for encryption of a video stream, a communication equipment, and a storage media. The method for encryption of a video stream includes: acquiring a video stream, encrypting a data part of an I frame by using a first encryption algorithm to obtain a first encrypted data, and encrypting an encryption key of the first encrypted data by using a second encryption algorithm to obtain a second encrypted data, and storing the second encrypted data in a frame header of the I frame to obtain an encrypted I frame.