Media data encryption, and media data playback
AssigneeUnilumin Group Co., Ltd
InventorsFeng Qi, Chengzhi Yu
Life of this patent
Estimating the term…
Abstract
A method of encrypting media data includes: obtaining the media data and one or more structure parameters of a display screen of a data playback device; constructing a data arrangement table based on the structure parameters; performing a data rearrangement operation on the data arrangement table to obtain position rearrangement index data, where the position rearrangement index data represents a mapping relationship between a logical position of each of pixels of the display screen and a physical position of the each of pixels; and performing pixel rearrangement encryption on each of one or more image frames of the media data based on the position rearrangement index data, to obtain encrypted media data.
Claims12
A method of encrypting media data, comprising:
- obtaining the media data and one or more structure parameters of a display screen of a data playback device;
- constructing a data arrangement table based on the structure parameters;
- performing a data rearrangement operation on the data arrangement table to obtain position rearrangement index data, wherein the position rearrangement index data represents a mapping relationship between a logical position of each of pixels of the display screen and a physical position of the each of pixels;
- performing pixel rearrangement encryption on each of one or more image frames of the media data based on the position rearrangement index data, to obtain encrypted media data;
- and wherein the structure parameters indicate that the display screen comprises a plurality of display modules each comprising ones of the pixels defining a module lattice scale;
- the position rearrangement index data comprises module-level position rearrangement index data for each of the display modules;
- and the performing of the pixel rearrangement encryption on each of the image frames comprises:
- dividing the each of the image frames into image blocks each having a size proportional to the module lattice scale and corresponding to one of the display modules;
- obtaining module-level pixel rearrangement encryption results respectively for the image blocks by:
- performing a pixel rearrangement operation on each of the image blocks, based on the module-level position rearrangement index data, to obtain one of module-level pixel rearrangement encryption results for the each of the image blocks;
- and collecting module-level pixel rearrangement encryption results to obtain a part of the encrypted media data corresponding to the each of the image frames.
A computer device, comprising:
- one or more processors;
- and a memory storing computer instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
- obtaining the media data and one or more structure parameters of a display screen of a data playback device;
- constructing a data arrangement table based on the structure parameters;
- performing a data rearrangement operation on the data arrangement table to obtain position rearrangement index data, wherein the position rearrangement index data represents a mapping relationship between a logical position of each of pixels of the display screen and a physical position of the each of pixels;
- performing pixel rearrangement encryption on each of one or more image frames of the media data based on the position rearrangement index data, to obtain encrypted media data;
- and wherein the structure parameters indicate that the display screen comprises a plurality of cabinets, each of the cabinets comprising a plurality of display modules arranged in an array, each of the display modules comprising ones of the pixels defining a module lattice scale;
- the position rearrangement index data comprises:
- module-level position rearrangement index data for each of the display modules, cabinet-level position rearrangement index data for each of the cabinets, and screen-level position rearrangement index data;
- and the performing of the pixel rearrangement encryption on each of the image frames based on the position rearrangement index data to obtain the encrypted media data comprises:
- obtaining screen-level pixel rearrangement encryption results respectively for the image frames by:
- for each of the image frames, dividing the each of the image frames into image blocks each having a size proportional to the module lattice scale and corresponding to one of the display modules;
- obtaining module-level pixel rearrangement encryption results respectively for the image blocks by performing a pixel rearrangement operation on each of the image blocks, based on the module-level position rearrangement index data, to obtain one of the module-level pixel rearrangement encryption results for the each of the image blocks;
- obtain cabinet-level pixel rearrangement encryption results respectively for the cabinets by:
- for each of the cabinets, performing a module rearrangement operation on one of the module-level pixel rearrangement encryption results corresponding to the each of the cabinets, based on the cabinet-level position rearrangement index data, to obtain one of the cabinet-level pixel rearrangement encryption results;
- and performing a cabinet rearrangement operation on the cabinet-level pixel rearrangement encryption results, based on the screen-level position rearrangement index data, to obtain one of the screen-level pixel rearrangement encryption results;
- and collecting the screen-level pixel rearrangement encryption results to obtain the encrypted media data.
Dependencies are inferred from the claim text.