# US 2015/0030154 A1 · Method and system for scrambling and descrambling a digital image

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0030154 A1
- Document ID: US20150030154A1
- Status: Published application
- Kind: A1
- Application number: 14/383,310
- Filed: 2012-03-19
- Published: 2015-01-29
- Earliest claimed: 2012-03-19
- Assignees: Nagravision S.A.
- Applicants: Nagravision S.A.
- Inventors: Pierre Sarda; Minh-Son Tran; Thierry Dagaeff
- Web page: https://patentgrep.com/patent/US20150030154A1

## CPC

- H04L 9/0816: {Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use}
- G09C 5/00: Ciphering apparatus or methods not provided for in the preceding groups, e.g. involving the concealment or deformation of graphic data such as designs, written or printed messages
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04N 1/448: {Rendering the image unintelligible, e.g. scrambling}
- H04N 1/4486: {using digital data encryption}
- H04N 21/2347: involving video stream encryption
- H04N 21/4408: involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network
- H04N 21/4621: {Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen (arrangements for using the results of monitoring on user's side in broadcast systems H04H60/65; flow control in packet networks H04L47/10)}
- H04N 21/4623: Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message] {(arrangements for conditional access to broadcast information or to broadcast-related services H04H60/14)}
- H04N 21/8153: {comprising still images, e.g. texture, background image}
- H04L 2209/24: Key scheduling, i.e. generating round keys or sub-keys for block encryption
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention refers to a method for scrambling an original digital image into a scrambled image and for descrambling the scrambled image into a reconstructed image. The method firstly comprises a scrambling operation for substituting a plurality of original coefficients by dummy coefficients, while safeguarding the coding format, and for storing the substituted original coefficients with their respective position, as original data into at least two control objects, each control object corresponding to a specific degradation level of the original image. This method secondly comprises a descrambling operation for receiving the scrambled image and at least a part of said control objects, and for using original data derived from a selection of at least one of said control objects, performed on the basis of a user access condition, to obtain the reconstructed image by putting back the original coefficients instead of said dummy coefficients thanks to their respective position.

## Claims

### Claim 1

A method for scrambling an original digital image into a scrambled image and for descrambling the scrambled image into a reconstructed image, said original image being defined, according to a coding format, by a set of orderly original coefficients which refer to coding elements arranged in blocks with in this image and/or to parameters of said coding format within a conversion table, the method comprising a scrambling operation and a descrambling operation;
the scrambling operation comprising the steps of:
substituting a plurality of said original coefficients by dummy coefficients of the same nature so as to safeguard said coding format; and
storing the substituted original coefficients with their respective position, as original data into at least two control objects, each control object corresponding to a specific degradation level of the original image;
the descrambling operation comprising the steps of:
receiving the scrambled image and at least a part of said control objects; and
using original data derived from a selection of at least one of said control objects, performed on the basis of a user access condition, for obtaining the reconstructed image by putting back the original coefficients instead of said dummy coefficients, by means of their respective position.

### Claim 2 (depends on 1)

The method of claim 1, wherein the control object/objects received during the descrambling operation derive from said selection.

### Claim 3 (depends on 1)

The method of claim 1, wherein said selection is performed during the descrambling operation, after having received all the control objects generated during the scrambling operation.

### Claim 4 (depends on 1)

The method of claim 1, wherein original data stored in the control object corresponding to the higher level of degradation is formed by a subset of the original data stored in a control object corresponding to a lower level of degradation.

### Claim 5 (depends on 1)

The method of claim 1, wherein each control object comprises at least partly different original data, the selection of the control object according to the user access condition involves the selection of the control object/objects corresponding to a higher level of degradation.

### Claim 6 (depends on 1)

The method of claim 1, wherein each control object is encrypted during the scrambling operation with a key and wherein the descrambling operation comprises an additional step for decrypting said control object.

### Claim 7 (depends on 6)

The method of claim 6, wherein said key is unique for each control object and is identified by a key identifier which corresponds to the unique identifier ID of the control object encrypted with this key.

### Claim 8 (depends on 7)

The method of claim 7, wherein the keys are organized in a hierarchical manner according to the level of degradation, so that the access to one of said keys gives access to the keys corresponding to a control object of higher level of degradation.

### Claim 9 (depends on 8)

Method of claim 8, wherein the key of a level of degradation is obtained by a hash function of the key related to the lower level of degradation.

### Claim 10 (depends on 1)

The method of claim 1, wherein said coding format is JPEG compression format and said coefficients refer to DC and/or AC coefficients or to coefficients of a quantization table.

### Claim 11 (depends on 10)

The method of claim 10, wherein the scrambling operation further comprises the steps of:
calculating, at each time an original DC coefficient has been substituted, a compensated DC coefficient for a compensated block defined as being the block that follows that where the original DC coefficient has been substituted, to avoid any drift effect on the original DC coefficients of the following blocks due to their dependence;
substituting the original DC coefficient of the compensated block, by said compensated DC coefficient; and
storing the original DC coefficient of the compensated block, together with its position within the original image, as additional original data into one of said control objects.

### Claim 12 (depends on 11)

The method of claim 11, wherein said compensated coefficient is calculated on the basis of the difference between the dummy value of the dummy coefficient and the corresponding original value of the substituted original DC coefficient.

### Claim 13 (depends on 11)

The method of claim 11, wherein the original DC coefficients are coded according to a Variable Length Coding, the substituting step selects the length of the dummy coefficient as the same as the length of the substituted original coefficient.

### Claim 14 (depends on 11)

The method of claim 11, wherein the original DC coefficients are coded according to a Variable Length Coding, in the case where the length of the dummy coefficient or the compensated coefficient is different than the length of the original coefficient, the method comprises the steps of:
extracting at least one original AC coefficient following said original DC coefficient; and
determining at least one fake AC coefficient so that the sum of the lengths of the original DC coefficient and the original AC coefficient is the same as the sum of the lengths of the fake AC coefficient and the dummy coefficient or the compensated coefficient, while taking into account that said fake AC coefficient is compatible with the coding format of the image.

### Claim 15 (depends on 11)

The method of claim 11, wherein said dummy coefficients and/or said compensated coefficients are syntactically and semantically compliant with said coding format.

### Claim 16

A system for scrambling an original digital image into a scrambled image, said original image being defined, according to a coding format, by a set of orderly original coefficients which refer to coding elements positioned in blocks within this image and/or to parameters of said coding format within a conversion table, the system comprising a scrambler which is able, on the one hand, to substitute a plurality of original coefficients by dummy coefficients of the same nature to safeguard said coding format and, on the other hand, to generate at least two control objects, each control object corresponding to a specific degradation level of the original image and each control object comprising, as original data, the substituted original coefficients with their respective position.

### Claim 17

A system for descrambling a scrambled image, compliant with a coding format, into a scalable reconstructed image having the same coding format, each image being defined by a set of orderly coefficients which refer to coding elements within this image, and/or to parameters of said coding format within a conversion table, the system comprising:
an input interface for receiving the scrambled image and original data extracted from an original image from which the scrambled image was generated;
a descrambler for generating said reconstructed image by processing at least one control object, among at least two control objects wherein said original data has been stored in a form of 2-tuples, each 2-tuple comprising an original coefficient and its position, for substituting dummy data of the scrambled image by the original coefficients thanks to their respective position; and
an output interface for outputting the reconstructed image.

### Claim 18 (depends on 17)

The system for descrambling a scrambled image according to claim 17, further comprising:
an identification unit to identify a user accessing the scrambled image and; and
an access condition unit to determine the user access conditions of said identified user.
