Media Frame Data Encryption Using Boundary Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data encryption methods for audio and video data frames are inefficient as they encrypt fixed byte segments, leaving substantial content unencrypted, thus compromising security and efficiency.
Innovation Solution
The method involves identifying data units within media frames using boundary information, encrypting only the content data within these units, and packaging the encrypted data with boundary information to form secure media packets, optimizing encryption efficiency and security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If fixed byte segments are encrypted in existing methods, then encryption coverage is improved, but encryption efficiency deteriorates due to substantial unencrypted content remaining
Solution Approach 1:
The patent segments the media frame into multiple data units, each containing boundary information and content data. This segmentation allows selective encryption of only the content data portions while leaving boundary information unencrypted, thereby improving encryption efficiency without compromising coverage of critical content.
Solution Approach 2:
The patent applies different processing quality to different parts of the data: boundary information is kept unencrypted for efficient processing and identification, while content data is encrypted for security. This local differentiation resolves the contradiction by optimizing both efficiency (unencrypted boundaries) and coverage (encrypted content).
2Reliability
If all data including boundary information is encrypted, then security is improved, but decryption complexity and time increase
Solution Approach 1:
The patent performs preliminary organization of data into structured units with identifiable boundaries before encryption. The boundary information is prepared in advance to mark content regions, allowing the decryption process to quickly locate and decrypt only the necessary content data without processing entire fixed segments, thus reducing decryption time while maintaining security.
3Ease of manufacture
If fixed byte segments are used for encryption, then implementation simplicity is improved, but data security deteriorates due to substantial unencrypted content
Solution Approach 1:
The patent divides the media frame into multiple data units with clear boundary markers. This segmentation enables the system to maintain implementation simplicity through structured formatting while significantly improving data security by ensuring that all content data across all segments is encrypted, not just fixed byte portions.
Solution Approach 2:
The patent changes the encryption parameter from fixed byte segments to variable-length content data segments identified by boundary information. This parameter change allows the system to adapt to actual content boundaries rather than arbitrary fixed positions, improving security coverage while maintaining implementation simplicity through the use of clear boundary markers.
Data Source
Figure 1~2
Figure 3~4
Figure 4
AI summary
The present disclosure, belonging to the field of communications, relates to a method and apparatus for encrypting data. The method includes: acquiring a first data unit included in a media frame to be encrypted, wherein the first data unit includes a boundary portion and a content portion, the boundary portion including boundary information for identifying a starting boundary of the first data unit, and the content portion including content data of the first data unit; encrypting the content data included in the content portion of the first data unit to acquire a second data unit, wherein a boundary portion of the second data unit includes the boundary information, and a content portion of the second data unit includes a data length of the content data and encrypted data acquired by encrypting the content data. The apparatus includes an acquiring module and an encrypting module. According to the present disclosure, security of data encryption may be improved.