# US 2022/0368534 A1 · Device and a method for signing a video segment comprising one or more groups of pictures

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

- Number: US 2022/0368534 A1
- Document ID: US20220368534A1
- Status: Published application
- Kind: A1
- Application number: 17/710,151
- Filed: 2022-03-31
- Published: 2022-11-17
- Earliest claimed: 2021-05-11
- Assignees: Axis AB
- Applicants: Axis AB
- Inventors: Stefan LUNDBERG; Viktor EDPALM
- Web page: https://patentgrep.com/patent/US20220368534A1

## CPC

- H04L 9/3247: {involving digital signatures}
- H04N 19/177: the unit being a group of pictures [GOP]
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04N 5/913: for scrambling {; for copy protection}
- H04N 19/114: Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames (H04N19/107 takes precedence)
- H04N 21/44209: {Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network (arrangements for maintenance or administration in data switching networks involving bandwidth and capacity management H04L41/0896)}
- H04N 21/835: Generation of protective data, e.g. certificates {(protecting software against unauthorised usage in a vending or licensing environment G06F21/10)}
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- H04N 2005/91342: {the copy protection signal being an authentication signal}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A device, and method of signing a video segment comprising one or more groups of pictures, GOPs, wherein each GOP comprises a header and one or more frames, are disclosed. For each of the one or more GOPs a GOP hash is produced and the GOP hash is digitally signed by means of a digital signature to produce a signed GOP hash. For each GOP except a last GOP of the one or more GOPs the respective signed GOP hash is saved in the header of a subsequent GOP. An additional GOP is added to the video segment after the last GOP of the one or more GOPs, wherein the additional GOP comprising a header and one or more frames. The signed GOP hash of the last GOP of the one or more GOPs is saved in the header of the additional GOP.

## Claims

### Claim 1

A method of signing a video segment comprising one or more groups of pictures, GOPs, each GOP comprising a header and one or more encoded frames, the method comprising:
for each GOP of the one or more GOPs:
producing a GOP hash; and
digitally signing the GOP hash by means of a digital signature, thereby producing a signed GOP hash;
for each GOP except a last GOP of the one or more GOPs:
saving the respective signed GOP hash in the header of a subsequent GOP;
adding an additional GOP to the video segment after the last GOP of the one or more GOPs, the additional GOP comprising a header and one or more encoded frames; and
saving the signed GOP hash of the last GOP of the one or more GOPs in the header of the additional GOP.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the additional GOP comprises an empty intra frame and zero or more empty inter frames.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the additional GOP includes information indicating that the additional GOP is a last GOP of the video segment.

### Claim 4 (depends on 1)

The method according to claim 1, wherein producing a GOP hash comprises:
for each encoded frame of the one or more encoded frames of the GOP, producing a frame hash, thereby producing one or more frame hashes; and
hashing the one or more frame hashes, thereby producing the GOP hash.

### Claim 5 (depends on 4)

The method of claim 4, wherein producing the GOP hash further comprises hashing the one or more frame hashes with metadata comprising at least one of a unique identifier of a camera capturing the video segment and a time stamp for the video segment, thereby producing the GOP hash.

### Claim 6 (depends on 4)

The method of claim 4, further comprising
concatenating the one or more frame hashes with the GOP hash, thereby producing a concatenated GOP hash, and wherein digitally signing the GOP hash further comprises signing the concatenated GOP hash by means of a digital signature, thereby producing a signed GOP hash.

### Claim 7

A non-transitory computer readable storage medium having stored thereon computer executable instructions for signing a video segment comprising one or more groups of pictures, GOPs, each GOP comprising a header and one or more encoded frame, such that when the instructions are executed on a processor the processor is configured to:
for each GOP of the one or more GOPs:
producing a GOP hash; and
digitally sign the GOP hash by means of a digital signature, thereby producing a signed GOP hash;
for each GOP except a last GOP of the one or more GOPs:
save the respective signed GOP hash in the header of a subsequent GOP;
add an additional GOP to the video segment after the last GOP of the one or more GOPs, the additional GOP comprising a header and one or more encoded frames; and
save the signed GOP hash of the last GOP of the one or more GOPs in the header of the additional GOP.

### Claim 8

A device for signing a video segment comprising one or more groups of pictures, GOPs, each GOP comprising a header and one or more encoded frames, the device comprising circuitry configured to execute:
a GOP hash producing function configured to produce a GOP hash for each GOP of the GOPs of the one or more GOPs; and
a GOP hash signing function configured to digitally sign the GOP hash for each GOP of the GOPs of the one or more GOPs, thereby producing a respective signed GOP hash for each GOP of the GOPs of the one or more GOPs;
a GOP adding function configured to add an additional GOP to the video segment after the last GOP of the one or more GOPs, the additional GOP comprising a header and one or more encoded frames; and
a signed GOP hash saving function configured to, for each GOP of the one or more GOPs, save the respective signed GOP hash in the header of a subsequent GOP, wherein the signed GOP hash for the last GOP of the one or more GOPs is saved in the header of the additional GOP.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the additional GOP comprises an empty intra frame and zero or more empty inter frames.

### Claim 10 (depends on 8)

The device according to claim 8, wherein the additional GOP includes information indicating that the additional GOP is a last GOP of the video segment.

### Claim 11 (depends on 8)

The device according to claim 8, wherein the GOP hash producing function is configured to produce a GOP hash by:
producing a frame hash for each encoded frame of the one or more encoded frames of the GOP, thereby producing one or more frame hashes; and
hashing the one or more frame hashes, thereby producing the GOP hash.

### Claim 12 (depends on 11)

The device of claim 11, wherein producing the GOP hash further comprises hashing the one or more frame hashes with metadata comprising at least one of a unique identifier of a camera capturing the video segment and a time stamp for the video segment, thereby producing the GOP hash.

### Claim 13 (depends on 11)

The device of claim 11, further comprising
concatenating the one or more frame hashes with the GOP hash, thereby producing a concatenated GOP hash, and wherein digitally signing the GOP hash further comprises signing the concatenated GOP hash by means of a digital signature, thereby producing a signed GOP hash.

### Claim 14 (depends on 7)

The non-transitory computer readable storage medium according to claim 7, wherein the additional GOP comprises an empty intra frame and zero or more empty inter frames.

### Claim 15 (depends on 7)

The non-transitory computer readable storage medium according to claim 7, wherein the additional GOP includes information indicating that the additional GOP is a last GOP of the video segment.

### Claim 16 (depends on 7)

The non-transitory computer readable storage medium according to claim 7, wherein the additional GOP includes information indicating that the additional GOP is a last GOP of the video segment.

### Claim 17 (depends on 7)

The non-transitory computer readable storage medium according to claim 7, wherein producing a GOP hash comprises:
for each encoded frame of the one or more encoded frames of the GOP, producing a frame hash, thereby producing one or more frame hashes; and
hashing the one or more frame hashes, thereby producing the GOP hash.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium according to claim 17, wherein producing the GOP hash further comprises hashing the one or more frame hashes with metadata comprising at least one of: a unique identifier of a camera capturing the video segment, and a time stamp for the video segment, thereby producing the GOP hash.

### Claim 19 (depends on 17)

The non-transitory computer readable storage medium according to claim 17, wherein the processor is further configured to:
concatenate the one or more frame hashes with the GOP hash, thereby producing a concatenated GOP hash, and
wherein digitally signing the GOP hash further comprises signing the concatenated GOP hash by means of a digital signature, thereby producing a signed GOP hash.

### Claim 20 (depends on 17)

The non-transitory computer readable storage medium according to claim 17, wherein the additional GOP comprises an empty intra frame and one or more empty inter frames.
