Video encryption transmission method and video encryption transmission system

By establishing a public key infrastructure root of trust between the user terminal and the front-end camera, generating key encryption keys and performing key exchanges, the problem of inability to achieve decentralized encryption and authorization in the existing technology is solved, ensuring video data security and privacy.

CN118509652BActive Publication Date: 2024-10-18E SURFING VISION TECHNOLOGY CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202410948721.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-18
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing video surveillance systems cannot achieve decentralized encryption and authorization during the encrypted transmission process. As a result, third-party platforms may obtain keys and watch encrypted videos without user authorization, making it difficult to ensure the security and privacy of video data.

Method used

By establishing a public key infrastructure root of trust between the user terminal and the front-end camera, generating a key encryption key, and performing key exchange between the user terminal and the front-end camera, ensuring that the encrypted video data is only decrypted by authorized users, decentralization is achieved. Centralized multiple encryption and authorization.

Benefits of technology

It effectively avoids the risk of unauthorized access to keys and video data by third-party platforms, ensuring the security and privacy of video data, and the user terminal has control over the video data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509652B_ABST
    Figure CN118509652B_ABST
Patent Text Reader

Abstract

The present application relates to a video encryption transmission method and a video encryption transmission system. It includes: a user terminal and a front-end camera, which generate a key encryption key based on a public key infrastructure trust root; the front-end camera determines the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and when obtaining a video acquisition request sent by the user terminal, sends the encrypted video data to the user terminal; the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video. The above scheme establishes decentralized multiple encryption and authorization licenses based on the public key infrastructure trust root. The user terminal and the front-end camera save the key encryption key instead of saving it on a third-party platform, which ensures the security and privacy of the video data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video security technology, and in particular to a video encryption transmission method and a video encryption transmission system. Background Art

[0002] GB35114-2017 is my country's technical standard for video surveillance network information security. At present, in the field of public security video surveillance, camera video security is usually implemented according to this technical standard. In order for the original video surveillance system to support GB35114-2017, it is necessary to add security functions to various modules such as front-end cameras, user terminals and video surveillance management platforms. At the same time, a special video security key service system is added to the video surveillance management platform to manage the keys in a unified manner, so as to realize the transmission of video data from the front-end camera to the video surveillance management platform and the encrypted transmission from the video surveillance management platform to the user terminal. This technical standard greatly improves the security of camera videos, but because video encryption is initiated by the video surveillance management platform and the keys are uniformly managed on the video surveillance management platform, the keys are not stored in the user terminal, so it cannot truly realize the decentralized encryption and authorization of the front-end camera. The user terminal needs to be authorized by the centralized platform to obtain the key to play the video, and the centralized platform can also directly obtain the key to watch the encrypted video without the user's authorization.

[0003] With the popularization of networked cameras in homes and industries, the problems of front-end camera video security and user video privacy protection are becoming more and more serious. The video recorded by the network camera must inevitably be transmitted through the Internet and stored in the cloud, as well as collected and presented on two terminals: the front-end camera and the user's mobile phone. In this end-to-end data link, the front-end camera can usually provide "one machine and one key" video encryption or provide video data encryption based on HTTPS (Hypertext Transfer Protocol Secure). These technologies can improve the transmission security of the front-end camera video to a certain extent. However, since the encryption is initiated by the cloud platform or the key is uniformly managed on the cloud platform, the encryption method and key distribution have problems such as low security technology. The encrypted video data can be easily cracked by a third-party platform, that is, the third-party platform can directly watch the encrypted video without user authorization. Therefore, decentralized video encryption and authorization cannot be truly realized, and it is difficult to ensure the security and privacy of video data. Therefore, how to achieve decentralized video encryption and authorization and ensure the security and privacy of video data is a problem that needs to be solved. Summary of the invention

[0004] Based on this, it is necessary to provide a video encryption transmission method and a video encryption transmission system that can realize decentralized video encryption and authorization and ensure the security and privacy of video data in response to the above technical problems.

[0005] In a first aspect, the present application provides a video encryption transmission method, the video encryption transmission method is performed by a video encryption transmission system, the video encryption transmission system user terminal and a front-end camera, the video encryption transmission method comprises:

[0006] User terminals and front-end cameras generate key encryption keys based on the public key infrastructure trust root;

[0007] The front-end camera determines encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and sends the encrypted video data to the user terminal when obtaining the video acquisition request sent by the user terminal;

[0008] The user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video.

[0009] In one embodiment, the user terminal and the front-end camera generate a key encryption key based on a public key infrastructure trust root, including:

[0010] The user terminal and the front-end camera generate a shared key using a key exchange protocol based on the public key infrastructure trust root;

[0011] The user terminal and the front-end camera generate a key encryption key according to the shared key based on a key derivation function.

[0012] In one of the embodiments, the front-end camera determines encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, including:

[0013] A video encryption key is randomly generated by the front-end camera, and a target video corresponding to the front-end camera is encrypted by the video encryption key to determine an encrypted video;

[0014] By means of the front-end camera, the video encryption key is encrypted using a key encryption key to determine a first encryption key;

[0015] The first encryption key and the encrypted video are packaged to determine encrypted video data.

[0016] In one embodiment, the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video, including:

[0017] The user terminal obtains the encrypted video data sent by the front-end camera, and determines the first encryption key and the encrypted video according to the encrypted video data;

[0018] The user terminal uses the key encryption key to decrypt the first encryption key to determine the video encryption key;

[0019] The user terminal decrypts the encrypted video according to the video encryption key to determine the target video.

[0020] In one embodiment, the video encryption transmission system further includes a third-party terminal, and the video encryption transmission method further includes:

[0021] The third-party terminal sends authorization request information to the user terminal;

[0022] After obtaining the authorization request information sent by the third-party terminal, the user terminal generates a session key, and uses the session key to encrypt the key encryption key to generate a second encryption key;

[0023] The user terminal encrypts the session key and the second encryption key using the public key in the third-party certificate, generates a third-party authorization license, and sends the third-party license to the third-party terminal;

[0024] The third-party terminal obtains the third-party authorization license and the encrypted video data sent by the front-end camera, and determines the target video according to the third-party authorization license, the encrypted video data and the private key in the third-party certificate.

[0025] In one embodiment, the third-party terminal obtains the third-party authorization license, obtains the encrypted video data sent by the front-end camera, and determines the target video according to the third-party authorization license, the encrypted video data and the private key in the third-party certificate, including:

[0026] The third-party terminal obtains the third-party authorization license, obtains the encrypted video data sent by the front-end camera, and uses the private key in the third-party certificate to decrypt the third-party authorization license to obtain the session key and the second encryption key;

[0027] The third-party terminal decrypts the second encryption key according to the session key to obtain the key encryption key;

[0028] The third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video.

[0029] In one of the embodiments, the third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video, including:

[0030] The third-party terminal determines the first encryption key and the encrypted video according to the encrypted video data;

[0031] The third-party terminal uses the key encryption key to decrypt the first encryption key to determine the video encryption key;

[0032] The third-party terminal decrypts the encrypted video according to the video encryption key to determine the target video.

[0033] In one embodiment, the video encryption transmission system further includes a service platform end, and the video encryption transmission method further includes:

[0034] The service platform establishes a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

[0035] In a second aspect, the present application also provides a video encryption transmission system, characterized in that the video encryption transmission system includes a user terminal and a front-end camera, wherein:

[0036] The front-end camera is used to generate a key encryption key based on the public key infrastructure trust root, and determine the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and when obtaining the video acquisition request sent by the user terminal, send the encrypted video data to the user terminal;

[0037] The user terminal is used to generate a key encryption key based on the public key infrastructure trust root, obtain the encrypted video data sent by the front-end camera, and decrypt the encrypted video data according to the key encryption key to determine the target video.

[0038] In one embodiment, the video encryption transmission system further includes a third-party terminal and a service platform terminal, wherein:

[0039] The third-party terminal is used to send authorization request information to the user terminal, obtain the third-party license sent by the user terminal, and obtain the encrypted video data sent by the front-end camera, and determine the target video according to the third-party authorization license, the encrypted video data and the private key in the third-party certificate;

[0040] The service platform is used to establish a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

[0041] In the above-mentioned video encryption transmission method and video encryption transmission system, the user terminal and the front-end camera generate a key encryption key based on the public key infrastructure trust root; the front-end camera determines the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and sends the encrypted video data to the user terminal when obtaining the video acquisition request sent by the user terminal; the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video. This solves the problem that when a third-party platform is used to manage video resources, the user terminal needs to obtain the key to play the video through authorization from the third-party platform, and the third-party platform can also directly obtain the key to watch the encrypted video without the user's authorization, which makes it difficult to ensure the security and privacy of the video data. The above-mentioned scheme establishes a public key infrastructure trust root between the user terminal and the front-end camera, and establishes decentralized multiple encryption and authorization licenses based on the public key infrastructure trust root. The user terminal and the front-end camera store the key encryption key instead of storing it on the third-party platform, which ensures the security and privacy of the video data. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of a flow chart of a video encryption transmission method in one embodiment;

[0043] Figure 2 A schematic diagram of a flow chart of a video encryption transmission method in another embodiment;

[0044] Figure 3 A schematic diagram of a flow chart of a video encryption transmission method in another embodiment;

[0045] Figure 4 The figure is a flowchart of a video encryption transmission method in another embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] In one embodiment, Figure 1 As shown, a video encryption transmission method is provided, which is executed by a video encryption transmission system, a video encryption transmission system user terminal and a front-end camera, and the above-mentioned video encryption transmission method includes:

[0048] S110, the user terminal and the front-end camera generate a key encryption key based on the public key infrastructure trust root.

[0049] Among them, the public key infrastructure trust root is the PKI (Public Key Infrastructure) trust root. The public key infrastructure is a collection of hardware, software, personnel, policies and procedures. The public key infrastructure trust root can be used to implement the generation, management, storage, distribution and revocation of keys and certificates based on the public key cryptographic system. The public key infrastructure is a typical cryptographic application technology. The trust root is a source that can always be trusted in the cryptographic system. The trust chain is the foundation of the public key infrastructure. In order for the certificates on the trust chain to be trusted, they must be traced back to the trust root of the trust chain.

[0050] Specifically, a public key infrastructure trust system is established between the user terminal and the front-end camera. The user terminal generates and saves a key encryption key based on the public key infrastructure trust root. At the same time, the front-end camera generates and saves a key encryption key based on the public key infrastructure trust root.

[0051] S120. The front-end camera determines encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and sends the encrypted video data to the user terminal when obtaining a video acquisition request sent by the user terminal.

[0052] The target video corresponding to the front-end camera refers to the video captured by the front-end camera and needs to be encrypted.

[0053] Specifically, the front-end camera may encrypt the target video corresponding to the front-end camera using the key encryption key to determine the encrypted video data. When a video acquisition request sent by the user terminal is obtained, the encrypted video data is sent to the user terminal.

[0054] S130. The user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video.

[0055] Specifically, after the user terminal obtains the encrypted video data sent by the front-end camera, it decrypts the encrypted video data using the stored key encryption key to determine the target video, so as to play the target video.

[0056] In the above-mentioned video encryption transmission method, the user terminal and the front-end camera generate a key encryption key based on the public key infrastructure trust root; the front-end camera determines the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and when obtaining the video acquisition request sent by the user terminal, the encrypted video data is sent to the user terminal; the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video. This solves the problem that when a third-party platform is used to manage video resources, the user terminal needs to obtain the key to play the video through authorization from the third-party platform, and the third-party platform can also directly obtain the key to watch the encrypted video without the user's authorization, making it difficult to ensure the security and privacy of the video data. The above-mentioned scheme establishes a public key infrastructure trust root between the user terminal and the front-end camera, and establishes decentralized multiple encryption and authorization licenses based on the public key infrastructure trust root. The user terminal and the front-end camera store the key encryption key instead of storing it on a third-party platform, thereby ensuring the security and privacy of the video data. In one embodiment, Figure 2 As shown, through the user terminal and the front-end camera, based on the public key infrastructure trust root, a key encryption key is generated, including:

[0057] S210, the user terminal and the front-end camera generate a shared key using a key exchange protocol based on a public key infrastructure trust root.

[0058] The key exchange protocol may be an SM2 key exchange protocol.

[0059] Specifically, the user terminal uses the SM2 key exchange protocol to generate and save the shared key based on the public key infrastructure trust root, and the front-end camera uses the SM2 key exchange protocol to generate and save the shared key based on the public key infrastructure trust root.

[0060] S220, the user terminal and the front-end camera generate a key encryption key according to the shared key based on the key derivation function.

[0061] Among them, the key derivation function is HKDF-SM3, which is the key derivation of HMAC (Hashed Message Authentication Code) based on the national encryption SM3.

[0062] Specifically, the user terminal generates and saves a key encryption key based on the shared key based on HKDF-SM3, and at the same time, the front-end camera generates and saves a key encryption key based on the shared key based on HKDF-SM3.

[0063] In the above scheme, the user and the network camera generate a shared key based on the PKI trust root and the SM2 key exchange protocol, and derive the key encryption key from the shared key based on HKDF-SM3, which can improve the security of the key encryption key.

[0064] In one embodiment, the encrypted video data is determined by a front-end camera according to a key encryption key and a target video corresponding to the front-end camera, including:

[0065] A video encryption key is randomly generated through the front-end camera, and the target video corresponding to the front-end camera is encrypted by the video encryption key to determine the encrypted video; the video encryption key is encrypted by the front-end camera using the key encryption key to determine the first encryption key; the first encryption key and the encrypted video are packaged to determine the encrypted video data.

[0066] Specifically, after the front-end camera captures the target video, a video encryption key is randomly generated, and the target video captured by the front-end camera is encrypted using the video encryption key and the SM4-CTR algorithm to determine the encrypted video. At the same time, the video encryption key is encrypted using the key encryption key, and the encrypted video encryption key is used as the first encryption key. The first encryption key and the encrypted video are packaged to determine the encrypted video data.

[0067] In the above scheme, the front-end camera can randomly generate and update the video encryption key, and encrypt the target video captured by the front-end camera through the video encryption key, thereby ensuring the security of the target video. At the same time, the video encryption key is encrypted by the key encryption key, thereby further improving the security of the target video.

[0068] In one embodiment, Figure 3 As shown, the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video, including:

[0069] S310: The user terminal obtains the encrypted video data sent by the front-end camera, and determines a first encryption key and an encrypted video according to the encrypted video data.

[0070] Specifically, the user terminal obtains the encrypted video data sent by the front-end camera, unpacks the encrypted video data based on the network protocol between the user terminal and the front-end camera, and obtains the first encryption key and the encrypted video.

[0071] S320: The user terminal decrypts the first encryption key using the key encryption key to determine the video encryption key.

[0072] Specifically, the user terminal decrypts the first encryption key using the key encryption key to obtain the video encryption key.

[0073] S330: The user terminal decrypts the encrypted video according to the video encryption key to determine the target video.

[0074] In the above scheme, the user terminal needs to decode and play the video encrypted data using the key encryption key stored by itself, which can ensure the security of video transmission and prevent the video data from being stolen and used by criminals.

[0075] In one embodiment, Figure 4 As shown, the video encryption transmission system further includes a third-party terminal, and the video encryption transmission method further includes:

[0076] S410: The third-party terminal sends authorization request information to the user terminal.

[0077] The third-party terminal refers to a client that wishes to obtain the playback permission of the target video captured by the front-end camera. The authorization request information may include the identity information of the third-party terminal and the authorization request credential.

[0078] Specifically, if the third-party terminal has a demand for playing the target video, authorization request information may be generated according to the identity information of the third-party terminal and the authorization request credential, and the authorization request information may be sent to the user terminal.

[0079] S420: After obtaining the authorization request information sent by the third-party terminal, the user terminal generates a session key, and uses the session key to encrypt the key encryption key to generate a second encryption key.

[0080] Specifically, after the user terminal obtains the authorization request information sent by the third-party terminal, it verifies the authorization request information to determine whether the authorization request voucher paid by the third-party terminal can obtain the playback permission of the target video. If the authorization request voucher paid by the third-party user can obtain the playback permission of the target video, it is determined that the authorization request information is verified successfully, and after the authorization request information is verified successfully, a random number is used to generate a session key, and the random number can be obtained by the user terminal through a random number generation device. The user terminal encrypts the key encryption key using the session key to generate a second encryption key.

[0081] S430: The user terminal encrypts the session key and the second encryption key using the public key in the third-party certificate, generates a third-party authorization license, and sends the third-party license to the third-party terminal.

[0082] Among them, the third-party certificate is a CA (Certificate Authority) certificate.

[0083] The user terminal encrypts the session key and the second encryption key using the public key in the third-party certificate, uses the encrypted session key and the second encryption key as the third-party authorization license, and sends the third-party license to the third-party terminal.

[0084] S440: The third-party terminal obtains the third-party authorization license, obtains the encrypted video data sent by the front-end camera, and determines the target video according to the third-party authorization license, the encrypted video data and the private key in the third-party certificate.

[0085] Specifically, after the third-party terminal obtains the third-party authorization license, it sends a video acquisition request to the front-end camera. After receiving the video acquisition request sent by the third-party terminal, the front-end camera sends encrypted video data to the third-party terminal. The third-party terminal receives the encrypted video data sent by the front-end camera, and decodes the encrypted video data according to the third-party authorization license and the private key in the third-party certificate to obtain and play the target video.

[0086] In the above scheme, the user terminal authorizes the third-party terminal by encapsulating the key encryption key into the third-party license, so that the user terminal has control over the video data, realizing decentralized video encryption. No third party can view the encrypted video data of the network camera without the user's authorization, further improving the security and privacy of the network camera video.

[0087] In one embodiment, the third-party terminal obtains a third-party authorization license, obtains encrypted video data sent by a front-end camera, and determines a target video according to the third-party authorization license, the encrypted video data, and a private key in a third-party certificate, including:

[0088] The third-party terminal obtains the third-party authorization license and the encrypted video data sent by the front-end camera, and uses the private key in the third-party certificate to decrypt the third-party authorization license to obtain the session key and the second encryption key; the third-party terminal decrypts the second encryption key according to the session key to obtain the key encryption key; the third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video.

[0089] It is understandable that after the third-party terminal obtains the third-party authorization license, it can obtain the key encryption key based on the third-party authorization license to decrypt the encrypted video data through the key encryption key to determine the target video. The third-party terminal can also authorize other user terminals, while ensuring the security of video data, it realizes decentralized management of video data.

[0090] In one embodiment, the third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video, including:

[0091] The third-party terminal determines the first encryption key and the encrypted video according to the encrypted video data; the third-party terminal uses the key encryption key to decrypt the first encryption key to determine the video encryption key; the third-party terminal decrypts the encrypted video according to the video encryption key to determine the target video.

[0092] Specifically, the third-party terminal unpacks the encrypted video data, determines the first encryption key and the encrypted video, decrypts the first encryption key according to the key encryption key, obtains the video encryption key, and decrypts the encrypted video according to the video encryption key to obtain and play the target video.

[0093] In the above scheme, the third-party terminal can successfully obtain the target video only after decoding the encrypted video data according to the key encryption key, thereby improving the security of the target video.

[0094] In one embodiment, the video encryption transmission system further includes a service platform end, and the above-mentioned video encryption transmission method further includes:

[0095] The service platform establishes a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

[0096] Specifically, the service platform binds the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal. During the binding process, a PKI trust root is established between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal, and a binding association relationship between the user terminal and the front-end camera is established on the service platform side.

[0097] It should be noted that encrypted video data can also be transmitted between the front-end camera and the user terminal, or between the front-end camera and the third-party terminal through the service platform. The service platform can not only successfully build a public key infrastructure trust root between the user terminal and the front-end camera, but also serve as a transmission node for the target video to ensure the stable transmission of the target video.

[0098] Exemplarily, based on the above embodiment, the video encryption transmission method includes:

[0099] The service platform binds the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal. During the binding process, a PKI trust root is established between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal, and a binding association relationship between the user terminal and the front-end camera is established on the service platform side.

[0100] The user terminal and the front-end camera use the SM2 key exchange protocol to generate a shared key based on the public key infrastructure trust root, and generate a key encryption key based on the shared key based on HKDF-SM3; the front-end camera randomly generates a video encryption key, and encrypts the target video corresponding to the front-end camera through the video encryption key to determine the encrypted video, and uses the key encryption key to encrypt the video encryption key, and uses the encrypted video encryption key as the first encryption key, and packages the first encryption key and the encrypted video to determine the encrypted video data. The shared key and the key encryption key are only stored in the front-end camera and the user terminal.

[0101] The user terminal uses a random number to generate a session key, and uses the session key to encrypt the key encryption key to generate a second encryption key, uses the public key in the third-party certificate to encrypt the session key and the second encryption key, generates a third-party authorization license, and sends the third-party authorization license to the third-party terminal. After the third-party terminal obtains the third-party authorization license, it can use the private key in the third-party certificate to decrypt the third-party authorization license, obtain the session key and the second encryption key corresponding to the third-party license, and then decrypt the second encryption key according to the session key to obtain the key encryption key, so as to decrypt the first encryption key according to the key encryption key, determine the video encryption key, and then decrypt the encrypted video based on the video encryption key to determine the target video.

[0102] In the above video encryption transmission method, the user terminal and the front-end camera generate a key encryption key based on the public key infrastructure trust root; the front-end camera determines the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and sends the encrypted video data to the user terminal when obtaining the video acquisition request sent by the user terminal; the user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video. This solves the problem that when a third-party platform is used to manage video resources, the user terminal needs to obtain the key to play the video through authorization from the third-party platform, and the third-party platform can also directly obtain the key to watch the encrypted video without the user's authorization, which makes it difficult to ensure the security and privacy of the video data. The above scheme establishes a public key infrastructure trust root between the user terminal and the front-end camera, and establishes decentralized multiple encryption and authorization licenses based on the public key infrastructure trust root. The user terminal and the front-end camera store the key encryption key instead of storing it on the third-party platform, which ensures the security and privacy of the video data. At the same time, the user terminal authorizes the third-party terminal by encapsulating the key encryption key into the third-party license, so that the user terminal has control over the video data, realizing decentralized video encryption. No third party can view the encrypted video data of the network camera without the user's authorization, further improving the security and privacy of the network camera video.

[0103] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0104] In one embodiment, a video encryption transmission system is provided, the video encryption transmission system comprising a user terminal and a front-end camera, wherein:

[0105] The front-end camera is used to generate a key encryption key based on the public key infrastructure trust root, and determine the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and when obtaining a video acquisition request sent by the user terminal, send the encrypted video data to the user terminal;

[0106] The user terminal is used to generate a key encryption key based on the public key infrastructure trust root, obtain the encrypted video data sent by the front-end camera, and decrypt the encrypted video data according to the key encryption key to determine the target video.

[0107] In one embodiment, the video encryption transmission system further includes a third-party terminal and a service platform terminal, wherein:

[0108] The third-party terminal is used to send authorization request information to the user terminal, obtain the third-party license sent by the user terminal, and obtain the encrypted video data sent by the front-end camera, and determine the target video according to the third-party authorization license, encrypted video data and the private key in the third-party certificate;

[0109] The service platform is used to establish a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0111] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0112] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A video encryption transmission method, characterized in that: The video encryption transmission method is performed by a video encryption transmission system, the video encryption transmission system includes a user terminal, a front-end camera and a third-party terminal, and the video encryption transmission method includes: User terminals and front-end cameras generate key encryption keys based on the public key infrastructure trust root; The front-end camera determines encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and sends the encrypted video data to the user terminal when obtaining the video acquisition request sent by the user terminal; The user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video; The third-party terminal sends authorization request information to the user terminal; After obtaining the authorization request information sent by the third-party terminal, the user terminal generates a session key, and uses the session key to encrypt the key encryption key to generate a second encryption key; The user terminal encrypts the session key and the second encryption key using the public key in the third-party certificate, generates a third-party authorization license, and sends the third-party license to the third-party terminal; The third-party terminal obtains the third-party authorization license, obtains the encrypted video data sent by the front-end camera, and uses the private key in the third-party certificate to decrypt the third-party authorization license to obtain the session key and the second encryption key; The third-party terminal decrypts the second encryption key according to the session key to obtain the key encryption key; The third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video.

2. The method according to claim 1, characterized in that The user terminal and front-end camera generate key encryption keys based on the public key infrastructure trust root, including: The user terminal and the front-end camera generate a shared key using a key exchange protocol based on the public key infrastructure trust root; The user terminal and the front-end camera generate a key encryption key according to the shared key based on a key derivation function.

3. The method according to claim 2, characterized in that The front-end camera determines encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, including: A video encryption key is randomly generated by the front-end camera, and a target video corresponding to the front-end camera is encrypted by the video encryption key to determine an encrypted video; By means of the front-end camera, the video encryption key is encrypted using a key encryption key to determine a first encryption key; The first encryption key and the encrypted video are packaged to determine encrypted video data.

4. The method according to claim 3, characterized in that The user terminal obtains the encrypted video data sent by the front-end camera, and decrypts the encrypted video data according to the key encryption key to determine the target video, including: The user terminal obtains the encrypted video data sent by the front-end camera, and determines the first encryption key and the encrypted video according to the encrypted video data; The user terminal uses the key encryption key to decrypt the first encryption key to determine the video encryption key; The user terminal decrypts the encrypted video according to the video encryption key to determine the target video.

5. The method according to claim 3, characterized in that: The third-party terminal decrypts the encrypted video data according to the key encryption key to determine the target video, including: The third-party terminal determines the first encryption key and the encrypted video according to the encrypted video data; The third-party terminal uses the key encryption key to decrypt the first encryption key to determine the video encryption key; The third-party terminal decrypts the encrypted video according to the video encryption key to determine the target video.

6. The method according to claim 1, characterized in that The video encryption transmission system further includes a service platform end, and the video encryption transmission method further includes: The service platform establishes a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

7. A video encryption transmission system, characterized in that: The video encryption transmission system includes a user terminal, a front-end camera and a third-party terminal, wherein: The front-end camera is used to generate a key encryption key based on the public key infrastructure trust root, and determine the encrypted video data according to the key encryption key and the target video corresponding to the front-end camera, and when obtaining the video acquisition request sent by the user terminal, send the encrypted video data to the user terminal; The user terminal is used to generate a key encryption key based on the public key infrastructure trust root, obtain the encrypted video data sent by the front-end camera, and decrypt the encrypted video data according to the key encryption key to determine the target video; The user terminal is also used to generate a session key after obtaining the authorization request information sent by the third-party terminal, and use the session key to encrypt the key encryption key to generate a second encryption key; use the public key in the third-party certificate to encrypt the session key and the second encryption key to generate a third-party authorization license, and send the third-party license to the third-party terminal; The third-party terminal is used to send authorization request information to the user terminal, obtain the third-party authorization license, and obtain the encrypted video data sent by the front-end camera, and use the private key in the third-party certificate to decrypt the third-party authorization license to obtain the session key and the second encryption key; decrypt the second encryption key according to the session key to obtain the key encryption key; decrypt the encrypted video data according to the key encryption key to determine the target video.

8. The video encryption transmission system according to claim 7, characterized in that: The video encryption transmission system also includes a third-party terminal and a service platform terminal, wherein: The third-party terminal is used to send authorization request information to the user terminal, obtain the third-party license sent by the user terminal, and obtain the encrypted video data sent by the front-end camera, and determine the target video according to the third-party authorization license, the encrypted video data and the private key in the third-party certificate; The service platform is used to establish a public key infrastructure trust root between the user terminal and the front-end camera based on the registration information of the front-end camera and the registration information of the user terminal.

Citation Information

Patent Citations

  • Video transmission method, device and system

    CN107547560A

  • Digital rights management method and system

    CN111601117A

  • Video encryption transmission method, middleware and computer readable storage medium

    CN112804560A

  • Video data encryption and decryption method and device, electronic equipment and system

    CN113301431A

  • Node authorization method, node communication method and device for privacy computing

    CN116015906A