CN111510745A - Internet video data encryption transmission method - Google Patents

Internet video data encryption transmission method Download PDF

Info

Publication number
CN111510745A
CN111510745A CN202010227367.2A CN202010227367A CN111510745A CN 111510745 A CN111510745 A CN 111510745A CN 202010227367 A CN202010227367 A CN 202010227367A CN 111510745 A CN111510745 A CN 111510745A
Authority
CN
China
Prior art keywords
data
video
data block
encryption
segmentation
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.)
Granted
Application number
CN202010227367.2A
Other languages
Chinese (zh)
Other versions
CN111510745B (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010227367.2A priority Critical patent/CN111510745B/en
Publication of CN111510745A publication Critical patent/CN111510745A/en
Application granted granted Critical
Publication of CN111510745B publication Critical patent/CN111510745B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention belongs to an internet data transmission method, and particularly relates to an internet video data encryption transmission method. It includes: step 1: setting a video streaming transmission capacity; step 2: encrypting; encrypting the video for one time; and step 3: then encrypting; carrying out secondary encryption on the video; and 4, step 4: data encapsulation; packaging the secondarily encrypted data; and 5: transmitting and decrypting; and (4) transmitting the data in the step (4) and decrypting the data at the target node. The invention has the following remarkable effects: (1) the invention achieves the aim of keeping the transmission process secret by segmenting and recombining the video. Anybody cannot normally play even if the video is obtained without knowing the video encryption method. (2) The invention ensures enough safety of the video through twice encryption. (3) The invention respectively transmits the keys encrypted twice, even if partial videos are obtained, the videos cannot be unlocked, and the safety of the videos is ensured to the maximum extent.

Description

Internet video data encryption transmission method
Technical Field
The invention belongs to an internet data transmission method, and particularly relates to an internet video data encryption transmission method.
Background
With the development of the internet, the application of internet videos is wider and wider. The internet video can be divided into a wide spread type and a limited spread type from the viewpoint of confidentiality of the internet video. The internet video of the limited transmission type, that is, the contents of the internet video are not desired to be seen by anyone except a specific crowd.
The existing internet video security mode is almost membership mode, namely, the security of the video is achieved by cutting off the way of contacting the internet video by a user. The disadvantage of this approach is that once the unique barrier is breached, the video will appear to the attacker without retention. There is therefore a great need for a method that can keep the video secret during transmission.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an internet video data encryption transmission method.
The invention is realized by the following steps: an internet video data encryption transmission method comprises the following steps:
step 1: setting video streaming capacity
Step 2: encryption
Encrypting the video for one time;
and step 3: re-encryption
Carrying out secondary encryption on the video;
and 4, step 4: data encapsulation
Packaging the secondarily encrypted data;
and 5: transmission and decryption
And (4) transmitting the data in the step (4) and decrypting the data at the target node.
The method for the encrypted transmission of the internet video data, as described above, wherein the step 1 comprises,
according to the practical situation of network communication, the minimum capacity of the network for transmitting the video stream per unit time is set, the capacity is k, and the unit of k can be kilobytes, megabytes, gigabytes or other units according to the practical situation of the network, but k is a determined number.
The method for the encrypted transmission of the internet video data, as described above, wherein the step 2 comprises,
step 2.1: generating random numbers
Generating a random number, the random number has a minimum value of 1 and a maximum value not exceeding k, and the random number is a decimal integer and is marked as aTen pieces of cloth
Step 2.2: binary conversion
The random number a generated in the step 2 is addedTen pieces of clothConverted into a binary number, the binary number being denoted as aII,aIIThe converted binary digits have n bits in total
Step 2.3: segmenting video
Each minimum video unit to be transmitted is segmented by the number of segments corresponding to the binary digit a in step 3IIThe number of bits of (a) is the same,
step 2.4: reverse order adjustment
The segmented data in step 2.3 is sorted in reverse order and then a new data block is formed.
The method for encrypting and transmitting internet video data as described above, wherein step 3 includes
Step 3.1: get system time
Taking the system time of the current moment, wherein the taken time comprises year, month, day, time, minute and second, the year is recorded by 4 bits, the month and the day are recorded by two bits, the hour is recorded by two bits for 24 hours, the minute and the second are recorded by two bits, the taken time is recorded as b, the b is a 14-bit number, and the step 3.2: calculating segmentation coefficients
The segmentation coefficient m is calculated by the following formula
m=1+b(mod3)
Where mod represents the remainder, b (mod3) represents the remainder of b divided by 3,
step 3.3: reverse order of segmentation
And (3) carrying out average segmentation on the data obtained in the step (2.4), and recombining the segmented segments according to the calculation result of the step (3.2) and the reverse order of the segmented segments to form a new data block.
The method for encrypting and transmitting internet video data as described above, wherein step 4 includes
And (3) combining the new data block obtained in the step (3.3), the system time sum of the last data block and the random number generated in the step (2.1) into new data.
The method for encrypting and transmitting internet video data as described above, wherein the step 5 includes
And (4) transmitting the encapsulated data obtained in the step (4) to a target node, firstly, resolving a segmentation coefficient m of the last data block by the target node according to the system time in the obtained current data block, carrying out segmentation and reverse order combination, then, carrying out primary decryption on the last data block, then, obtaining a data segmentation number n from a random number in the last data block, dividing the data block subjected to primary decryption into n segments, and carrying out reverse order permutation and combination to form original video data.
The invention has the following remarkable effects: (1) the invention achieves the aim of keeping the transmission process secret by segmenting and recombining the video. Anybody cannot normally play even if the video is obtained without knowing the video encryption method. (2) The invention ensures enough safety of the video through twice encryption. (3) The invention respectively transmits the keys encrypted twice, even if partial videos are obtained, the videos cannot be unlocked, and the safety of the videos is ensured to the maximum extent.
Detailed Description
An encryption transmission method for Internet video data comprises the following steps
Step 1: setting video streaming capacity
According to the practical situation of network communication, the minimum capacity of the network for transmitting the video stream per unit time is set, the capacity is k, and the unit of k can be kilobytes, megabytes, gigabytes or other units according to the practical situation of the network, but k is a determined number.
Step 2: encryption
Step 2.1: generating random numbers
Generating a random number, the random number has a minimum value of 1 and a maximum value not exceeding k, and the random number is a decimal integer and is marked as aTen pieces of cloth
E.g., k is 14 megabytes in step 1, then a random number a is generatedTen pieces of clothMay be any one of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13.
Step 2.2: binary conversion
The random number a generated in the step 2 is addedTen pieces of clothConverted into a binary number, the binary number being denoted as aII。aIIAfter conversionThe binary digits have n bits in total
For example if the random number a generated in step 2.1Ten pieces of clothIs 12, then the converted binary digit aIIThis is 1100, where n is 4.
Step 2.3: segmenting video
Each minimum video unit to be transmitted is segmented by the number of segments corresponding to the binary digit a in step 3IIThe number of bits is the same.
For example, binary digit a in step 2.2IIIs 4, then the minimum video unit is divided into 4 segments.
Step 2.4: reverse order adjustment
The segmented data in step 2.3 is sorted in reverse order and then a new data block is formed.
And step 3: multiple encryption
Step 3.1: get system time
And (3) taking the system time of the current moment, wherein the taken time comprises year, month, day, hour, minute and second, the year is recorded by 4 bits, the month and day are recorded by two bits, the hour is recorded by two bits for 24-hour system, and the minute and the second are recorded by two bits. The time taken out was denoted as b. b is a 14-bit number.
For example, assuming that the current time is 38 minutes 4 seconds at noon 12 at 24/3/2020, the value of b is 20200324123804.
Step 3.2: calculating segmentation coefficients
The segmentation coefficient m is calculated by the following formula
m=1+b(mod3)
Where mod represents the remainder, and b (mod3) represents the remainder of b divided by 3.
Step 3.3: reverse order of segmentation
And (3) carrying out average segmentation on the data obtained in the step (2.4), and recombining the segmented segments according to the calculation result of the step (3.2) and the reverse order of the segmented segments to form a new data block.
And 4, step 4: data encapsulation
And (3) combining the new data block obtained in the step (3.3), the system time sum of the last data block and the random number generated in the step (2.1) into new data.
And 5: transmission and decryption
And (4) transmitting the encapsulated data obtained in the step (4) to a target node, firstly, resolving a segmentation coefficient m of the last data block by the target node according to the system time in the obtained current data block, carrying out segmentation and reverse order combination, then, carrying out primary decryption on the last data block, then, obtaining a data segmentation number n from a random number in the last data block, dividing the data block subjected to primary decryption into n segments, and carrying out reverse order permutation and combination to form original video data.
The data block received this time can only obtain the system time of the data block received this time after the next data block is received.

Claims (6)

1. An internet video data encryption transmission method is characterized by comprising the following steps:
step 1: setting video streaming capacity
Step 2: encryption
Encrypting the video for one time;
and step 3: re-encryption
Carrying out secondary encryption on the video;
and 4, step 4: data encapsulation
Packaging the secondarily encrypted data;
and 5: transmission and decryption
And (4) transmitting the data in the step (4) and decrypting the data at the target node.
2. The internet video data encryption transmission method of claim 1, wherein: the step 1 comprises the steps of,
according to the practical situation of network communication, the minimum capacity of the network for transmitting the video stream per unit time is set, the capacity is k, and the unit of k can be kilobytes, megabytes, gigabytes or other units according to the practical situation of the network, but k is a determined number.
3. A method for the encrypted transmission of internet video data according to claim 1 or 2, characterized in that: the step 2 comprises the steps of (a) preparing,
step 2.1: generating random numbers
Generating a random number, the random number has a minimum value of 1 and a maximum value not exceeding k, and the random number is a decimal integer and is marked as aTen pieces of cloth
Step 2.2: binary conversion
The random number a generated in the step 2 is addedTen pieces of clothConverted into a binary number, the binary number being denoted as aII,aIIThe converted binary digits have n bits in total
Step 2.3: segmenting video
Each minimum video unit to be transmitted is segmented by the number of segments corresponding to the binary digit a in step 3IIThe number of bits of (a) is the same,
step 2.4: reverse order adjustment
The segmented data in step 2.3 is sorted in reverse order and then a new data block is formed.
4. A method for encrypted transmission of internet video data according to claim 3, characterized in that: the step 3 comprises
Step 3.1: get system time
Taking the system time of the current moment, wherein the taken time comprises year, month, day, hour, minute and second, the year is recorded by 4 bits, the month and day are recorded by two bits, the hour is recorded by two bits for 24 hours, the minute and the second are recorded by two bits, the taken time is recorded as b, the b is a 14-bit number,
step 3.2: calculating segmentation coefficients
The segmentation coefficient m is calculated by the following formula
m=1+b(mod3)
Where mod represents the remainder, b (mod3) represents the remainder of b divided by 3,
step 3.3: reverse order of segmentation
And (3) carrying out average segmentation on the data obtained in the step (2.4), and recombining the segmented segments according to the calculation result of the step (3.2) and the reverse order of the segmented segments to form a new data block.
5. The internet video data encryption transmission method of claim 4, wherein: the step 4 comprises
And (3) combining the new data block obtained in the step (3.3), the system time sum of the last data block and the random number generated in the step (2.1) into new data.
6. The internet video data encryption transmission method of claim 5, wherein: the step 5 comprises
And (4) transmitting the encapsulated data obtained in the step (4) to a target node, firstly, resolving a segmentation coefficient m of the last data block by the target node according to the system time in the obtained current data block, carrying out segmentation and reverse order combination, then, carrying out primary decryption on the last data block, then, obtaining a data segmentation number n from a random number in the last data block, dividing the data block subjected to primary decryption into n segments, and carrying out reverse order permutation and combination to form original video data.
CN202010227367.2A 2020-03-27 2020-03-27 Internet video data encryption transmission method Expired - Fee Related CN111510745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010227367.2A CN111510745B (en) 2020-03-27 2020-03-27 Internet video data encryption transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010227367.2A CN111510745B (en) 2020-03-27 2020-03-27 Internet video data encryption transmission method

Publications (2)

Publication Number Publication Date
CN111510745A true CN111510745A (en) 2020-08-07
CN111510745B CN111510745B (en) 2021-01-19

Family

ID=71877818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010227367.2A Expired - Fee Related CN111510745B (en) 2020-03-27 2020-03-27 Internet video data encryption transmission method

Country Status (1)

Country Link
CN (1) CN111510745B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565656A (en) * 2020-11-27 2021-03-26 Oppo广东移动通信有限公司 Video call method, device, system, electronic equipment and storage medium
CN114640867A (en) * 2022-05-20 2022-06-17 广州万协通信息技术有限公司 Video data processing method and device based on video stream authentication

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372738A (en) * 2000-04-04 2002-10-02 索尼公司 Information recording/reproducing apapratus and method
CN101621376A (en) * 2008-06-30 2010-01-06 北京中星微电子有限公司 Method, device and system for multi-level encryption and decryption
CN101682506A (en) * 2007-05-18 2010-03-24 美国唯美安视国际有限公司 System and method for defining programmable processing steps applied when protecting the data
CN102170448A (en) * 2011-05-04 2011-08-31 无锡锐视清信息技术有限公司 Copyright protection system, multimedia data transmitting and receiving equipment and method based on cloud media publishing platform
CN102752101A (en) * 2011-04-22 2012-10-24 财团法人资讯工业策进会 Hierarchical data encryption/decryption apparatus and method thereof
CN103067157A (en) * 2011-10-18 2013-04-24 美国博通公司 Secure data transfer using random ordering and random block sizing
CN103366132A (en) * 2012-03-29 2013-10-23 国际商业机器公司 Device and method for encrypting data
US20170171279A1 (en) * 2015-12-11 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and terminal for online playing video stream
CN107147616A (en) * 2017-03-31 2017-09-08 武汉斗鱼网络科技有限公司 Data ciphering method and device
CN107809436A (en) * 2017-11-10 2018-03-16 北京世纪鼎点软件有限公司 Authority discrimination method, encryption method, the apparatus and system of Internet video access
CN108668133A (en) * 2017-03-31 2018-10-16 鸿富锦精密工业(深圳)有限公司 The method and device of video-encryption and decryption
CN109067814A (en) * 2018-10-31 2018-12-21 苏州科达科技股份有限公司 Media data encryption method, system, equipment and storage medium
CN110138749A (en) * 2019-04-23 2019-08-16 华为技术有限公司 Data security protection method and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407366B (en) * 2015-12-24 2019-03-26 北京腾锐视讯科技有限公司 A kind of internet video and data file hardware encryption transmission system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1372738A (en) * 2000-04-04 2002-10-02 索尼公司 Information recording/reproducing apapratus and method
CN101682506A (en) * 2007-05-18 2010-03-24 美国唯美安视国际有限公司 System and method for defining programmable processing steps applied when protecting the data
CN101621376A (en) * 2008-06-30 2010-01-06 北京中星微电子有限公司 Method, device and system for multi-level encryption and decryption
CN102752101A (en) * 2011-04-22 2012-10-24 财团法人资讯工业策进会 Hierarchical data encryption/decryption apparatus and method thereof
CN102170448A (en) * 2011-05-04 2011-08-31 无锡锐视清信息技术有限公司 Copyright protection system, multimedia data transmitting and receiving equipment and method based on cloud media publishing platform
CN103067157A (en) * 2011-10-18 2013-04-24 美国博通公司 Secure data transfer using random ordering and random block sizing
CN103366132A (en) * 2012-03-29 2013-10-23 国际商业机器公司 Device and method for encrypting data
US20170171279A1 (en) * 2015-12-11 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and terminal for online playing video stream
CN107147616A (en) * 2017-03-31 2017-09-08 武汉斗鱼网络科技有限公司 Data ciphering method and device
CN108668133A (en) * 2017-03-31 2018-10-16 鸿富锦精密工业(深圳)有限公司 The method and device of video-encryption and decryption
CN107809436A (en) * 2017-11-10 2018-03-16 北京世纪鼎点软件有限公司 Authority discrimination method, encryption method, the apparatus and system of Internet video access
CN109067814A (en) * 2018-10-31 2018-12-21 苏州科达科技股份有限公司 Media data encryption method, system, equipment and storage medium
CN110138749A (en) * 2019-04-23 2019-08-16 华为技术有限公司 Data security protection method and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565656A (en) * 2020-11-27 2021-03-26 Oppo广东移动通信有限公司 Video call method, device, system, electronic equipment and storage medium
CN114640867A (en) * 2022-05-20 2022-06-17 广州万协通信息技术有限公司 Video data processing method and device based on video stream authentication

Also Published As

Publication number Publication date
CN111510745B (en) 2021-01-19

Similar Documents

Publication Publication Date Title
US8687800B2 (en) Encryption method for message authentication
US8755520B2 (en) Apparatus and method for generating a key for broadcast encryption
JP3901909B2 (en) ENCRYPTION DEVICE AND RECORDING MEDIUM CONTAINING PROGRAM
CN109145612B (en) Block chain-based cloud data sharing method for preventing data tampering and user collusion
EP2697931B1 (en) Qkd key management system
US5937066A (en) Two-phase cryptographic key recovery system
CN100423507C (en) VPN system based on dynamic encryption algorithm
CN111510745B (en) Internet video data encryption transmission method
US20020146118A1 (en) Method and system for selecting encryption keys from a plurality of encryption keys
US20040179682A1 (en) Computer system security via dynamic encryption
US20020015492A1 (en) Cryptographic processing apparatus, cryptographic processing method, and storage medium storing cryptographic processing program for improving security without greatly increasing hardware scale and processing time
US6640303B1 (en) System and method for encryption using transparent keys
CN107332657A (en) A kind of encryption method and system based on block chain digital signature
CN102469173A (en) IPv6 (Internet Protocol Version 6) network layer credible transmission method and system based on combined public key algorithm
CA2392077A1 (en) Generation of a mathematically constrained key using a one-way function
Saraswathi et al. A block cipher algorithm for multimedia content protection with random substitution using binary tree traversal
CN111918012A (en) Video encryption and key management method based on private block chain
CN110225028B (en) Distributed anti-counterfeiting system and method thereof
CN110098937B (en) Data block associated encryption algorithm based on timestamp
US7376232B2 (en) Computer system security via dynamic encryption
CN113840115B (en) Monitoring video data encryption transmission system and method based on block chain
CN114244635B (en) Encryption type data coding method of communication equipment
CN113312646B (en) Data encryption method based on block chain
CN112907247B (en) Block chain authorization calculation control method
Menon et al. Triple layer data hiding mechanism using cryptography and Steganography

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210119

CF01 Termination of patent right due to non-payment of annual fee