# US 10,958,875 B2 · Method and system encrypting and decrypting audio/video file

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

- Number: US 10,958,875 B2
- Document ID: US10958875B2
- Status: Granted
- Kind: B2
- Application number: 16/188,707
- Filed: 2018-11-13
- Published: 2019-08-01
- Granted: 2021-03-23
- Earliest claimed: 2018-02-01
- Assignees: Xiamen Sigmastar Technology Ltd
- Applicants: Xiamen Sigmastar Technology Ltd.
- Inventors: Lijing Chen
- Web page: https://patentgrep.com/patent/US10958875B2

## CPC

- H04N 7/1675: {Providing digital key or authorisation information for generation or regeneration of the scrambling sequence (pseudo-random number generators in general G06F7/58)}
- H04N 5/913: for scrambling {; for copy protection}
- H04N 21/63345: {by transmitting keys (key distribution for secret or secure communication H04L9/08; network support of key management H04L63/06)}
- H04N 2005/91364: {the video signal being scrambled}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encrypting and decrypting method applied to a system including at least one camera device and a hard disk video decoder includes: transmitting a handshake signal to the camera device which supports an encryption function and has selected the encryption function, wherein the handshake signal includes first identifier information uniquely corresponding to a chip of the hard disk video recorder; receiving the handshake signal; generating a key according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier information uniquely corresponding to a chip of the camera device; encrypting an audio/video file recorded by the camera device according to the key to generate an encrypted audio/video file bitstream; and receiving and decrypting the encrypted audio/video file bitstream.

## Claims

### Claim 1

A method, encrypting an audio/video file, applied to a system comprising at least one camera device and a hard disk video recorder, the method comprising:
receiving a handshake signal, which comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder;
generating a key according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device; and
encrypting an audio/video file recorded by the at least one camera device according to the key to generate an encrypted audio/video file bitstream, such that the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the at least one camera device is a camera device that supports an encryption function and has selected the encryption function.

### Claim 3 (depends on 2)

The method according to claim 2, before the step of receiving the handshake signal, the method further comprising:
the at least one camera device outputting an audio/video file bitstream to the hard disk video recorder, wherein the audio/video file bitstream outputted from the at least one camera device is embedded with the second identifier information uniquely corresponding to the second chip of the at least one camera device.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the handshake signal comprises the first identifier information of the first chip of the hard disk video recorder and a first public key of the hard disk video recorder.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the key generated by the at least one camera device is double encrypted through a private key of the at least one camera device and the first public key of the hard disk video recorder, and the double encrypted key and a second public key of the at least one camera device are together inserted in an audio/video file packet recorded by the at least one camera device.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the at least camera device is an Internet Protocol camera (IPC), and the hard disk video recorder is a network video recorder (NVR).

### Claim 7

A method, decrypting an audio/video file, applied to a system comprising at least one camera device and a hard disk video recorder, the method comprising:
sending a handshake signal to the at least one camera device, wherein the at least one camera device supports an encryption function and has selected the encryption function, and the handshake signal comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder; and
receiving and decrypting an encrypted audio/video file bitstream, wherein the encrypted audio/video file bitstream is generated according to a key generated by the at least one camera device, the key is generated according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device, and the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information.

### Claim 8 (depends on 7)

The method according to claim 7, before the step of sending the handshake signal to the at least one camera device, the method further comprising:
determining according to the second identifier information whether the at least one camera device supports the encryption function; and
when it is determined that the at least one camera device supports the encryption function, prompting a user whether to activate the encryption function, such that, after the user determines to activate the encryption function, the at least one camera device becomes a camera device that supports the encryption function and has selected the encryption function.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the handshake signal comprises the first identifier information of the first chip of the hard disk video recorder and a first public key of the hard disk video recorder.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the key generated by the at least one camera device is double encrypted by using a private key of the at least one camera device and the first public key of the hard disk video recorder, and the double encrypted key and a second public key of the at least one camera device are together inserted in an audio/video file packet recorded by the at least one camera device.

### Claim 11 (depends on 9)

The method according to claim 9, wherein after the hard disk video recorder receives the encrypted audio/video file bitstream, the hard disk video recorder decrypts the key according to a second public key of the at least one camera device and a private key of the hard disk video recorder to accordingly decrypt the audio/video file bitstream.

### Claim 12 (depends on 7)

The method according to claim 7, wherein at least camera device is an Internet Protocol camera (IPC), and the hard disk video recorder is a network video recorder (NVR).

### Claim 13

A method, encrypting and decrypting an audio/video file, applied to a system comprising at least one camera device and a hard disk video recorder, comprising:
sending a handshake signal to the at least one camera device, wherein the at least one camera device supports an encryption function and has selected the encryption function, and the handshake signal comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder;
receiving the handshake signal;
generating a key according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device;
encrypting an audio/video file recorded by the at least one camera device according to the key to generate an encrypted audio/video file bitstream, such that the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information; and
receiving and decrypting the encrypted audio/video file bitstream.

### Claim 14

A camera device, encrypting an audio/video file, the camera device performing steps of:
receiving a handshake signal, which comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder;
generating a key according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device; and
encrypting an audio/video file recorded by the at least one camera device according to the key to generate an encrypted audio/video file bitstream, such that the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information.

### Claim 15

A hard disk video recorder, decrypting an audio/video file, the hard disk video recorder performing steps of:
sending a handshake signal to the at least one camera device, wherein the at least one camera device supports an encryption function and has selected the encryption function, and the handshake signal comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder; and
receiving and decrypting an encrypted audio/video file bitstream, wherein the encrypted audio/video file bitstream is generated according to a key generated by the at least one camera device, the key is generated according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device, and the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information.

### Claim 16

A system, encrypting and decrypting an audio/video file, the system comprising a hard disk video recorder and at least one camera device connected to the hard disk video recorder, the system performing steps of:
the hard disk video recorder sending a handshake signal to the at least one camera device, wherein the at least one camera device supports an encryption function and has selected the encryption function, and the handshake signal comprises first identifier information uniquely corresponding to a first chip of the hard disk video recorder;
the at least one camera device receiving the handshake signal;
the at least one camera device generating a key according to the first identifier information of the hard disk video recorder in the handshake signal and second identifier uniquely corresponding to a second chip of the at least one camera device;
the at least one camera device encrypting an audio/video file recorded by the at least one camera device according to the key to generate an encrypted audio/video file bitstream, such that the encrypted audio/video file bitstream can be decrypted and watched uniquely only in the hard disk video recorder having the first identifier information; and
the hard disk video recorder receiving and decrypting the encrypted audio/video file bitstream.

### Claim 17 (depends on 16)

The system according to claim 16, before the step of the hard disk video recorder sending the handshake signal to the at least one camera device, the system further performs steps of:
the at least one camera device outputting an audio/video file bitstream, wherein the audio/video file bitstream outputted from the at least one camera device is embedded with the second identifier information uniquely corresponding to the second chip of the at least one camera device;
the hard drive video recorder receiving the audio/video file bitstream outputted from the at least one camera device;
determining according to the second identifier information whether the at least one camera device supports the encryption function; and
when it is determined that the at least one camera device supports the encryption function, prompting a user whether to activate the encryption function, such that, after the user determines to activate the encryption function, the at least one camera device becomes a camera device that supports the encryption function and has selected the encryption function.

### Claim 18 (depends on 16)

The system according to claim 16, wherein the handshake signal comprises the first identifier information of the first chip of the hard disk video recorder and a first public key of the hard disk video recorder.

### Claim 19 (depends on 18)

The system according to claim 18, wherein the key generated by the at least one camera device is double encrypted by using a private key of the at least one camera device and the first public key of the hard disk video recorder, and the double encrypted key and a second public key of the at least one camera device are together inserted in an audio/video file packet recorded by the at least one camera device.

### Claim 20 (depends on 19)

The system according to claim 19, wherein after the hard disk video recorder receives the encrypted audio/video file bitstream, the hard disk video recorder decrypts the key according to a second public key of the at least one camera device and a private key of the hard disk video recorder to accordingly decrypt the audio/video file bitstream.
