Method of hashing a video stream
AssigneeSTMicroelectronics (Grenoble 2) SAS
InventorJérôme Pierre René Chossat
Life of this patent
Estimating the term…
Abstract
In accordance with an embodiment, a video flow transmission method includes: the generating, by an image sensor, a video flow comprising first and second images; hashing, by the image sensor, a portion of the first image based on a first hashing configuration to generate a first hash value, the first hashing configuration defining first positions of pixels to be hashed; hashing, by the image sensor, a portion of the second image based on a second hashing configuration to generate a second hash value, the second hashing configuration being different from the first configuration and defining second positions of pixels to be hashed; and transmitting, by the image sensor, the first and second images, and the first and second hash values, to a second device.
Claims20
A video flow transmission method, comprising:
- generating, by an image sensor comprising an arrangement of pixels at corresponding pixel positions of a pixel array, a video flow comprising a first image and a second image, each of the first image and the second image comprising pixel data corresponding to respective pixels of the arrangement of pixels of the image sensor;
- hashing, by the image sensor, a portion of the first image based on a first hashing configuration to generate a first hash value based only on the portion of the first image, the first hashing configuration defining pixel data to be hashed corresponding to first pixel positions of the pixel array;
- hashing, by the image sensor, a portion of the second image based on a second hashing configuration different from the first hashing configuration to generate a second hash value based only on the portion of the second image, the second hashing configuration defining pixel data to be hashed corresponding to second pixel positions of the pixel array;
- and
- transmitting, by the image sensor, the first image, the second image, the first hash value and the second hash value to a second device, wherein:
- each image of the video flow comprises a plurality of data packets, each packet of the plurality of the data packets comprising a plurality of pixel data associated with the pixel data of the first image or the second image, and a size of each data packet being programmable, and each of the first hashing configuration and the second hashing configuration defines:
- a size of one or a plurality of packets of an image to be hashed and a size of one or a plurality of packets of an image not to be hashed, or
- the size of the one or the plurality of packets of the image to be hashed and the size of the one or the plurality of packets of the image not to be hashed.
A method of verifying an integrity of a video flow, comprising:
- receiving, by a processing device, the video flow comprising a first image and a second image, each of the first image and the second image comprising pixel data corresponding to respective pixels of an arrangement of pixels at corresponding positions of a pixel array of an image sensor;
- receiving, by the processing device, a first hash value associated with the first image and a second hash value associated with the second image;
- hashing, by the processing device, a portion of the first image based on a first hashing configuration to generate a further first hash value based only on the portion of the first image, the first hashing configuration defining pixel data to be hashed corresponding to first pixel positions of the pixel array;
- hashing, by the processing device, a portion of the second image based on a second hashing configuration to generate a further second hash value based only on the portion of the second image, the second hashing configuration being different from the first hashing configuration and defining pixel data to be hashed corresponding to second pixel positions of the pixel array;
- and
- verifying, by the processing device, the integrity of the video flow based on a first comparison of the first hash value with the further first hash value and on a second comparison of the second hash value with the further second hash value.
An image sensor comprising:
- a pixel array configured to capture images;
- a first processing device configured to:
- receive images captured by the pixel array,
- generate a video flow comprising at least one first image and at least one second image, and
- transmit the video flow to a second device, wherein the at least one first image and the at least one second image comprises pixel data corresponding to respective pixels of an arrangement of pixels at corresponding positions of the pixel array;
- and
- a hashing circuit, configured to:
- hash a portion of the first image based on a first hashing configuration,
- generate a first hash value based only on the portion of the first image,
- transmit the first hash value to the second device, the first hashing configuration defining pixel data to be hashed corresponding to first pixel positions of the pixel array,
- hash a portion of the second image based on a second hashing configuration,
- generate a second hash value based only on the portion of the second image, and
- transmit the second hash value to the second device, the second hashing configuration being different from the first hashing configuration and defining pixel data to be hashed corresponding to second pixel positions of the pixel array, wherein:
- each image of the video flow comprises a plurality of data packets, each packet of the plurality of the data packets comprising a plurality of pixel data associated with the pixel data of the first image or the second image, and a size of each data packet being programmable, and each of the first hashing configuration and the second hashing configuration defines:
- a size of one or a plurality of packets of an image to be hashed and a size of one or a plurality of packets of an image not to be hashed, or
- the size of the one or the plurality of packets of the image to be hashed and the size of the one or the plurality of packets of the image not to be hashed.
A system comprising:
- a first processing device configured to:
- receive a video flow comprising a first image and a second image, each image of the first image and the second image comprising pixel data corresponding to respective pixels of an arrangement of pixels at corresponding positions of a pixel array of an image sensor;
- receive a first hash value associated with the first image and a second hash value associated with the second image;
- hash a portion of the first image based on a first hashing configuration to generate a further first hash value based only on the portion of the first image, the first hashing configuration defining pixel data to be hashed corresponding to first pixel positions of the pixel array;
- hash a portion of the second image based on a second hashing configuration to generate a further second hash value based only on the portion of the second image, the second configuration being different from the first hashing configuration and defining pixel data to be hashed corresponding to second pixel positions of the pixel array;
- and
- verify an integrity of the video flow based on a first comparison of the first hash value with the further first hash value and on a second comparison of the second hash value with the further second hash value.
Dependencies are inferred from the claim text.