CN112714358A - Video streaming media encryption and decryption transmission method and system - Google Patents

Video streaming media encryption and decryption transmission method and system Download PDF

Info

Publication number
CN112714358A
CN112714358A CN202011594259.5A CN202011594259A CN112714358A CN 112714358 A CN112714358 A CN 112714358A CN 202011594259 A CN202011594259 A CN 202011594259A CN 112714358 A CN112714358 A CN 112714358A
Authority
CN
China
Prior art keywords
video stream
encryption
decryption
video
streaming media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011594259.5A
Other languages
Chinese (zh)
Inventor
袁成
陈潇
张福轩
文涛
崔新友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Fiberhome Fuhua Electric Co ltd
Original Assignee
Wuhan Fiberhome Fuhua Electric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Fiberhome Fuhua Electric Co ltd filed Critical Wuhan Fiberhome Fuhua Electric Co ltd
Priority to CN202011594259.5A priority Critical patent/CN112714358A/en
Publication of CN112714358A publication Critical patent/CN112714358A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network

Abstract

The invention relates to the field of data encryption, in particular to a video streaming media encryption and decryption transmission method and a system, which are different in that the method comprises the following steps: step 1: acquiring real-time video stream data by a front-end IP digital camera; step 2: generating a random number key by a video stream encryption device through a random function; and step 3: acquiring the real-time video stream data through a network, and carrying out video stream encryption processing to obtain encrypted video stream data; and 4, step 4: acquiring an encryption key of the video stream encryption device by a video stream decryption device; and 5: and acquiring the encrypted video stream data through a network, and performing video stream decryption processing to obtain decrypted video stream data. The invention effectively improves the transmission safety of the video stream in the network on the premise of ensuring the real-time property of the video stream transmission.

Description

Video streaming media encryption and decryption transmission method and system
Technical Field
The present invention relates to the field of data encryption, and in particular, to a method and a system for encrypting and decrypting transmission of video streaming media.
Background
With the development of the internet, the information transmitted by the internet is more and more, and the information not only comprises text, but also comprises pictures, audio, video and other multimedia information. Especially in the security field, the transmission of video stream by adopting a real-time transmission protocol is the current mainstream scheme and is widely used. However, the real-time transport protocol only provides functions of transmission, monitoring, recovery, synchronization and the like of video streams, and does not guarantee the security of transmitted data. The security field has higher and higher requirements on data security, and the requirement of a user on encrypting video stream data is more and more common.
In view of the above, it is an urgent need in the art to provide a method and system for encrypting and decrypting transmission of video streaming media.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a video streaming media encryption and decryption transmission method and system, which effectively improve the transmission security of video streaming in a network on the premise of ensuring the real-time property of video streaming transmission.
In order to solve the technical problems, the technical scheme of the invention is as follows: a video stream media encryption and decryption transmission method and system are different in that the method comprises the following steps:
step 1: acquiring real-time video stream data by a front-end IP digital camera;
step 2: generating a random number key by a video stream encryption device through a random function;
and step 3: acquiring the real-time video stream data through a network, and carrying out video stream encryption processing to obtain encrypted video stream data;
and 4, step 4: acquiring an encryption key of the video stream encryption device by a video stream decryption device;
and 5: and acquiring the encrypted video stream data through a network, and performing video stream decryption processing to obtain decrypted video stream data.
According to the scheme, in the step 2, the video stream encryption device randomly generates a 256-bit secret key.
According to the scheme, in the step 3, the real-time video stream data of the IP digital camera is obtained through an rtsp protocol.
According to the scheme, the video stream encryption device performs XOR operation on the real-time video stream data and the secret key to perform video stream encryption processing.
According to the scheme, in the step 4, the video stream decryption device communicates with the video stream encryption device through a TCP/IP protocol.
According to the scheme, the video stream decryption device sends a key obtaining request to the video stream encryption device through a private communication protocol, so that the encryption key of the video stream encryption device is obtained.
According to the above scheme, in step 5, the video stream decryption device sends a request for obtaining the video stream to the video stream encryption device through the private communication protocol, so as to obtain the encrypted video stream data of the video stream encryption device.
According to the scheme, the video stream decryption device performs the video stream decryption processing by performing exclusive or operation on the acquired encrypted video stream data and the acquired encryption key.
A system for carrying out video stream media encryption and decryption transmission according to the scheme is characterized in that: the device comprises an IP digital camera, a video stream encryption device and a video stream decryption device, wherein the devices are in data connection by adopting an Ethernet, the IP digital camera is used for acquiring real-time video stream data, the video stream encryption device is used for video stream encryption processing, and the video stream decryption device is used for video stream decryption processing.
According to the scheme, the IP digital camera is front-end equipment, the video stream encryption device is local equipment arranged at the end part of the IP digital camera, and the video stream decryption device is equipment arranged at a user end.
Compared with the prior art, the invention has the beneficial characteristics that: according to the invention, the local video stream encryption device is deployed at the IP digital camera head end, the real-time data stream of the camera is obtained through the video stream encryption device, and the encryption processing is carried out to form the encrypted video stream. The remote video stream decryption device is deployed at the user side, the key and the encrypted video stream sent by the video stream encryption device are obtained through the video stream decryption device, the encrypted video stream is decrypted at the user side to form a decrypted video stream, and then services such as video real-time preview and storage of the user side are performed.
Drawings
FIG. 1 is a block diagram of an embodiment of the present invention;
FIG. 2 is a flow chart of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Many aspects of the invention are better understood with reference to the following drawings. The components in the drawings are not necessarily to scale. Instead, emphasis is placed upon clearly illustrating the components of the present invention. Moreover, in the several views of the drawings, like reference numerals designate corresponding parts.
The word "exemplary" or "illustrative" as used herein means serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" or "illustrative" is not necessarily to be construed as preferred or advantageous over other embodiments. All of the embodiments described below are exemplary embodiments provided to enable persons skilled in the art to make and use the examples of the disclosure and are not intended to limit the scope of the disclosure, which is defined by the claims. In other instances, well-known features and methods are described in detail so as not to obscure the invention. For purposes of the description herein, the terms "upper," "lower," "left," "right," "front," "rear," "vertical," "horizontal," and derivatives thereof shall relate to the invention as oriented in fig. 1. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description. It is also to be understood that the specific devices and processes illustrated in the attached drawings, and described in the following specification are simply exemplary embodiments of the inventive concepts defined in the appended claims. Hence, specific dimensions and other physical characteristics relating to the embodiments disclosed herein are not to be considered as limiting, unless the claims expressly state otherwise.
Referring to fig. 1 and fig. 2, the technical solution of the encryption and decryption transmission method and system for video streaming media of the present invention is as follows:
s1: the video stream encryption and decryption system consists of a front-end IP digital camera, a video stream encryption device and a video stream decryption device, and all the devices are in data connection by adopting Ethernet;
s2: the video stream encryption device generates a 256-bit random number key through a random function, acquires real-time video stream data of the IP digital camera through a network, performs exclusive OR operation on the real-time video stream data and the key, and performs video stream encryption processing to obtain encrypted video stream data.
In further detail, the step S2 includes the steps of:
s21: the video stream encryption device randomly generates a secret key secretekey of 256 bits;
s22: acquiring real-time video stream data SrcStream of a front-end IP digital camera through an rtsp protocol;
s23: the encrypted video stream data DescStream is obtained by carrying out XOR operation on the real-time video stream data SrcStream and a secret key SecretKey.
S3: the video stream decryption device communicates with the video stream encryption device through a TCP/IP protocol to obtain an encryption key of the video stream encryption device, obtains encrypted video stream data DescStream of the video stream encryption device through a network, and performs video stream decryption processing by performing exclusive OR operation on the encrypted video stream data DescStream and the key SecretKey to obtain decrypted video stream data.
In further detail, the step S3 includes the steps of:
s31: establishing TCP connection with a video encryption device through a TCP/IP protocol;
s32: sending a key obtaining request to a video stream encryption device through a private communication protocol so as to obtain a video stream encryption key SecretKey of the video stream encryption device;
s33: sending a request for acquiring the video stream to a video stream encryption device through a private communication protocol so as to acquire encrypted video stream data DescStream of the video stream encryption device;
s34: and carrying out XOR operation on the acquired encrypted video stream data DescStream and the acquired encryption key SecretKey to carry out video stream decryption processing, thereby obtaining decrypted video stream data.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A video stream media encryption and decryption transmission method is characterized by comprising the following steps:
step 1: acquiring real-time video stream data by a front-end IP digital camera;
step 2: generating a random number key by a video stream encryption device through a random function;
and step 3: acquiring the real-time video stream data through a network, and carrying out video stream encryption processing to obtain encrypted video stream data;
and 4, step 4: acquiring an encryption key of the video stream encryption device by a video stream decryption device;
and 5: and acquiring the encrypted video stream data through a network, and performing video stream decryption processing to obtain decrypted video stream data.
2. The video streaming media encryption and decryption transmission method according to claim 1, wherein: in the step 2, the video stream encryption device randomly generates a 256-bit key.
3. The video streaming media encryption and decryption transmission method according to claim 1, wherein: and in the step 3, acquiring real-time video stream data of the IP digital camera through an rtsp protocol.
4. The video streaming media encryption and decryption transmission method according to claim 3, wherein: the video stream encryption device performs XOR operation on the real-time video stream data and the secret key to perform video stream encryption processing.
5. The video streaming media encryption and decryption transmission method according to claim 1, wherein: in the step 4, the video stream decryption device communicates with the video stream encryption device through a TCP/IP protocol.
6. The video streaming media encryption and decryption transmission method according to claim 5, wherein: the video stream decryption device sends a key obtaining request to the video stream encryption device through a private communication protocol, so that an encryption key of the video stream encryption device is obtained.
7. The video streaming media encryption and decryption transmission method according to claim 1, wherein: in the step 5, the video stream decryption device sends a request for obtaining the video stream to the video stream encryption device through the private communication protocol, so as to obtain the encrypted video stream data of the video stream encryption device.
8. The video streaming media encryption and decryption transmission method of claim 7, wherein: the video stream decryption device performs video stream decryption processing by performing exclusive or operation on the acquired encrypted video stream data and the acquired encryption key.
9. System for video streaming media encryption/decryption transmission according to the method of any of claims 1 to 8, characterized in that: the device comprises an IP digital camera, a video stream encryption device and a video stream decryption device, wherein the devices are in data connection by adopting an Ethernet, the IP digital camera is used for acquiring real-time video stream data, the video stream encryption device is used for video stream encryption processing, and the video stream decryption device is used for video stream decryption processing.
10. The system for encrypting and decrypting the transmission of the video streaming media according to claim 9, wherein: the IP digital camera is front-end equipment, the video stream encryption device is local equipment arranged at the end part of the IP digital camera, and the video stream decryption device is equipment arranged at a user end.
CN202011594259.5A 2020-12-29 2020-12-29 Video streaming media encryption and decryption transmission method and system Pending CN112714358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011594259.5A CN112714358A (en) 2020-12-29 2020-12-29 Video streaming media encryption and decryption transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011594259.5A CN112714358A (en) 2020-12-29 2020-12-29 Video streaming media encryption and decryption transmission method and system

Publications (1)

Publication Number Publication Date
CN112714358A true CN112714358A (en) 2021-04-27

Family

ID=75546278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011594259.5A Pending CN112714358A (en) 2020-12-29 2020-12-29 Video streaming media encryption and decryption transmission method and system

Country Status (1)

Country Link
CN (1) CN112714358A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116405734A (en) * 2023-06-08 2023-07-07 深圳奥联信息安全技术有限公司 Data transmission method and system for ensuring data security

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330353A (en) * 2008-08-04 2008-12-24 福建师范大学 Remote video wireless transmission system
CN102625148A (en) * 2004-04-06 2012-08-01 奎瑞欧数据有限责任公司 Process and system for the secure broadcasting of protected audiovisual streams to a dynamic group of receivers
US20140064485A1 (en) * 2011-06-23 2014-03-06 Bby Solutions, Inc. Method for real-time compositing of encrypted video streams without decryption
CN105120200A (en) * 2015-09-02 2015-12-02 山东省计算中心(国家超级计算济南中心) Video communication method for Internet of Things medical system based on customized light-udp protocol
CN108199824A (en) * 2018-01-18 2018-06-22 黑龙江大学 Video encryption method and video flowing method for safety monitoring based on AES-CTR and chaos algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625148A (en) * 2004-04-06 2012-08-01 奎瑞欧数据有限责任公司 Process and system for the secure broadcasting of protected audiovisual streams to a dynamic group of receivers
CN101330353A (en) * 2008-08-04 2008-12-24 福建师范大学 Remote video wireless transmission system
US20140064485A1 (en) * 2011-06-23 2014-03-06 Bby Solutions, Inc. Method for real-time compositing of encrypted video streams without decryption
CN105120200A (en) * 2015-09-02 2015-12-02 山东省计算中心(国家超级计算济南中心) Video communication method for Internet of Things medical system based on customized light-udp protocol
CN108199824A (en) * 2018-01-18 2018-06-22 黑龙江大学 Video encryption method and video flowing method for safety monitoring based on AES-CTR and chaos algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116405734A (en) * 2023-06-08 2023-07-07 深圳奥联信息安全技术有限公司 Data transmission method and system for ensuring data security
CN116405734B (en) * 2023-06-08 2023-08-25 深圳奥联信息安全技术有限公司 Data transmission method and system for ensuring data security

Similar Documents

Publication Publication Date Title
CN107277456B (en) Safe video monitoring system based on Android equipment
CN109218825B (en) Video encryption system
JP6921075B2 (en) Secure hierarchical encryption of data streams
CN107343179B (en) A kind of encryption of video information and video terminal safety certifying method
CN109151508B (en) Video encryption method
US9438415B2 (en) Method and system for securing communication on a home gateway in an IP content streaming system
CN101448130B (en) Method, system and device for protecting data encryption in monitoring system
US20080063195A1 (en) Method and system for encrypting or decrypting wmv streaming media
CN107483505B (en) Method and system for protecting user privacy in video chat
CN106657110B (en) Encryption transmission method and device for streaming data
JP2010505284A (en) Method and network device for handling nested internet protocol security tunnels
CN109743170B (en) Method and device for logging in streaming media and encrypting data transmission
CN102571790B (en) A kind of method and apparatus of the encrypted transmission for realize target file
CN103024476B (en) DTV gateway equipment and the method for content safety protection
CN104519013A (en) Method and system for ensuring security of media stream, and device
CN107579903B (en) Picture message secure transmission method and system based on mobile device
WO2010133056A1 (en) Method and system for wireless data transmission
CN107995160A (en) A kind of JSON data packet encrypting and decrypting methods based on high in the clouds management and control
US20150199498A1 (en) Flexible and efficient signaling and carriage of authorization acquisition information for dynamic adaptive streaming
Manupriya et al. V⊕ SEE: Video secret sharing encryption technique
CN112714358A (en) Video streaming media encryption and decryption transmission method and system
Rajan et al. Security and privacy for real time video streaming using hierarchical inner product encryption based publish-subscribe architecture
CN105306902A (en) 4G network based end-to-end high-definition video safe transmission system and method
US20170331798A1 (en) Encrypted-bypass webrtc-based voice and/or video communication method
CN102843335B (en) The processing method of streaming medium content and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427

RJ01 Rejection of invention patent application after publication