Method and apparatus for controlling access to surveillance video
AssigneeXiaomi Inc.
InventorsWei Wang, Bo Zhang, Ziguang Gao, Mingjun Yin
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for controlling access to a surveillance video are provided. The method includes: acquiring from a user account a view request for viewing a surveillance video file, the view request including authorization information of the user account; performing an identity authentication on the user account according to the authorization information; and allowing a user with the user account to view the surveillance video file when the identity authentication is passed. The present disclosure is used to prohibit freely viewing the surveillance video file.
Claims7
A method for controlling access to a surveillance video, comprising:
- acquiring from a user account a view request for viewing a surveillance video file, the view request comprising authorization information of the user account;
- performing an identity authentication on the user account according to the authorization information;
- allowing a user with the user account to view the surveillance video file when the identity authentication is passed;
- and
- performing a privacy protection operation on the surveillance video file uploaded from a camera device;
- wherein said performing a privacy protection operation on the surveillance video file uploaded from a camera device comprises at least one of the following operations:
- setting an attribute of the surveillance video file to be hidden;
- and
- encrypting the surveillance video file;
- wherein said encrypting the surveillance video file comprises:
- acquiring a file key used for encrypting the surveillance video file;
- encrypting the surveillance video file based on the file key;
- wherein when the surveillance video file is encrypted, the method further comprises:
- acquiring a user private key of a preset user account;
- generating a user public key of the preset user account according to the file key and the user private key of the preset user account;
- and
- sending the user public key to a corresponding preset user account, such that the preset user account generates a file key of the surveillance video file according to the user public key and the user private key.
An apparatus for controlling access to a surveillance video, comprising:
- one or more hardware processors;
- a memory;
- and
- one or more modules stored in the memory and being configured to be executed by the one or more hardware processors, the one or more modules having the following functions:
- acquiring from a user account a view request for viewing a surveillance video file, the view request comprising authorization information of the user account;
- performing an identity authentication on the user account according to the authorization information;
- allowing a user with the user account to view the surveillance video file when the identity authentication is passed;
- and
- performing a privacy protection operation on the surveillance video file uploaded from a camera device;
- wherein said performing a privacy protection operation on the surveillance video file uploaded from a camera device comprises at least one of the following operations:
- setting an attribute of the surveillance video file to be hidden;
- and
- encrypting the surveillance video file;
- wherein said encrypting the surveillance video file comprises:
- acquiring a file key used for encrypting the surveillance video file;
- encrypting the surveillance video file based on the file key;
- wherein when the surveillance video file is encrypted, the one or more modules further have the following functions:
- acquiring a user private key of a preset user account;
- generating a user public key of the preset user account according to the file key and the user private key of the preset user account;
- and
- sending the user public key to a corresponding preset user account, such that the preset user account generates a file key of the surveillance video file according to the user public key and the user private key.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by one or more hardware processors of an apparatus, cause the apparatus to perform:
- acquiring from a user account a view request for viewing a surveillance video file, the view request comprising authorization information of the user account;
- performing an identity authentication on the user account according to the authorization information;
- allowing a user with the user account to view the surveillance video file when the identity authentication is passed;
- and
- performing a privacy protection operation on the surveillance video file uploaded from a camera device;
- wherein said performing a privacy protection operation on the surveillance video file uploaded from a camera device comprises at least one of the following operations:
- setting an attribute of the surveillance video file to be hidden;
- and
- encrypting the surveillance video file;
- wherein said encrypting the surveillance video file comprises:
- acquiring a file key used for encrypting the surveillance video file;
- encrypting the surveillance video file based on the file key;
- wherein when the surveillance video file is encrypted, the instructions further cause the apparatus to perform:
- acquiring a user private key of a preset user account;
- generating a user public key of the preset user account according to the file key and the user private key of the preset user account;
- and
- sending the user public key to a corresponding preset user account, such that the preset user account generates a file key of the surveillance video file according to the user public key and the user private key.
Dependencies are inferred from the claim text.