CN108777803A - Broadcasting and TV cloud platform video stream processing method, device, equipment and medium - Google Patents
Broadcasting and TV cloud platform video stream processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN108777803A CN108777803A CN201810568340.2A CN201810568340A CN108777803A CN 108777803 A CN108777803 A CN 108777803A CN 201810568340 A CN201810568340 A CN 201810568340A CN 108777803 A CN108777803 A CN 108777803A
- Authority
- CN
- China
- Prior art keywords
- data block
- encrypted
- video stream
- broadcasting
- cloud platform
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 39
- 230000015654 memory Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 16
- 230000014509 gene expression Effects 0.000 claims description 5
- 230000011218 segmentation Effects 0.000 claims description 5
- 238000013481 data capture Methods 0.000 claims description 3
- 230000009545 invasion Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 102100037060 Forkhead box protein D3 Human genes 0.000 description 1
- 101001029308 Homo sapiens Forkhead box protein D3 Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2347—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
- H04N21/23476—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption by partially encrypting, e.g. encrypting the ending portion of a movie
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Power Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Broadcasting and TV cloud platform video stream processing method, device, equipment and medium provided by the invention, belong to technical field of video processing.The broadcasting and TV cloud platform video stream processing method by pending video stream data by being divided into multiple data blocks;The multiple data partial data block in the block is chosen as be-encrypted data block according to preset rules;Each be-encrypted data block is encrypted;The data block of unencryption in encrypted data block and multiple data blocks is subjected to distributed high in the clouds storage, the storage order of wherein encrypted data block and the data block of unencryption is different from the sequence of positions in pending video flowing, to under the environment that broadcasting and TV cloud platform opens, so that criminal is although all video stream data blocks being stored on Cloud Server can be read, but which data block belongs to same file and by what kind of sequence composition this document on earth, illegal invasion person is unable to find out, thereby reduce the risk that the new media news video of broadcasting and TV cloud platform is distorted by illegal person.
Description
Technical field
The present invention relates to technical field of video processing, in particular to broadcasting and TV cloud platform video stream processing method, dress
It sets, equipment and medium.
Background technology
Broadcasting and TV new media news video has the characteristics that magnanimity, official's property, public character, opening, program request convenience, it
Have become the public, enterprises and institutions obtain the important evidence of government's relevant information.But the new media based on Internet regards
For frequency stream in transmission process, it is highly susceptible to the attack that domestic and international hostile hacker distorts normal signal, once broadcast,
By the image of serious damage Party and government.However or existing is to use conventional information encryption mechanism, but to massive video stream
Data integrally encrypt excessively complexity, can seriously affect the system performance of video render, to greatly limit regarding for the method
Frequency flow data scale and scalability;It is to monitor electromagnetic environment security protection TEMPEST technologies using transient electromagnetic impulse ejection.
But the theory and technology method of TEMPEST lays particular emphasis on solution electronic equipment and is formed at work based on electromagnetic compatibility EMC
Electronic information leakage, some important contents are reduced out after intercepting and capturing to prevent electromagnetic information, but for massive video stream, this
The treatment effeciency of method can substantially reduce.
Invention content
Broadcasting and TV cloud platform video stream processing method, device, equipment and medium provided in an embodiment of the present invention can solve existing
There is the technical problem that the risk that the existing video in technology is distorted by illegal person is larger.
In a first aspect, a kind of broadcasting and TV cloud platform video stream processing method provided in an embodiment of the present invention, including will be pending
Video stream data is divided into multiple data blocks;It is used as and is waited for according to the multiple data of preset rules selection partial data block in the block
Encrypted data chunk;Each be-encrypted data block is encrypted;It will be in encrypted data block and the multiple data block
The data block of unencryption carries out distributed high in the clouds storage, wherein the encrypted data block and the data block of the unencryption
Storage order is different from the sequence of positions in the pending video flowing.
With reference to first aspect, a kind of embodiment of first aspect, it is described that each be-encrypted data block is carried out
Encryption, including:Obtain sequence of positions number of each data block in the pending video stream data;Based on classics
Each be-encrypted data block is encrypted in Rinjdael algorithms, generates the first ciphertext;The multiple data block is distinguished
MD5 operations are carried out, the globally unique identifier of each data block is generated;It is numbered based on the sequence of positions, is described globally unique
The serial number gencration of identifier and the be-encrypted data block reconstructs file;Based on the classics Rinjdael algorithms to the reconstruct
File is encrypted, and generates the second ciphertext.
With reference to first aspect, described by encrypted data block and described in the another embodiment of first aspect
The data block of unencryption carries out distributed high in the clouds storage in multiple data blocks, wherein the encrypted data block and it is described not plus
The storage order of close data block is different from the sequence of positions in the pending video flowing, including:To the sequence of positions
Number, the globally unique identifier and the multiple data block are upset, and the target for recording the data block being disturbed is compiled
Number;By corresponding to encrypted data block first ciphertext and second ciphertext and the multiple data block in not plus
Sequence of positions number and the target designation corresponding to close data block are stored.
With reference to first aspect, in the another embodiment of first aspect, the overall situation of each data block of generation is only
One identifier, including:Enable D ← (D A) ∪ A ', the D indicate the pending video stream data, the A indicate described k it is first
Element one-dimension array, set of the A ' expressions to the A Jing Guo encrypted data block, the D A expression unencryption data
The set of block then carries out MD5 operations to the arbitrary data block in the D, generates MD5 (di), by the MD5 (di) it is used as di
Title and globally unique identifier gi, wherein the diIndicate i-th of data block in the D.
With reference to first aspect, described to each be-encrypted data block in the another embodiment of first aspect
It is encrypted, generates the first ciphertext, including:The key K that length is 128 is generated based on classical Rinjdael algorithms;Pass through institute
It states key K the K be-encrypted data blocks are encrypted respectively, generates the K the first ciphertextsWherein,
It is describedIndicate that the ai in the one-dimension array A is encrypted.
Second aspect, broadcasting and TV cloud platform video stream processing method provided in an embodiment of the present invention, including:It is wide described in obtaining
The data block of unencryption in encrypted data block and the multiple data block that electric cloud platform video stream processing method is stored
And storage order;The encrypted data block is decrypted, the plaintext corresponding to each encrypted data block is obtained;
According to the storage order, the sequence of positions of the plaintext and the data block of unencryption in the multiple data block is reset, is obtained
Video stream data to be played.
The third aspect, broadcasting and TV cloud platform apparatus for processing video stream provided in an embodiment of the present invention, including data segmentation module,
For pending video stream data to be divided into multiple data blocks;Data decimation module, described in being chosen according to preset rules
Multiple data partial data blocks in the block are as be-encrypted data block;Data encryption module, for each number to be encrypted
It is encrypted according to block;Memory module, for by the data block of unencryption in encrypted data block and the multiple data block into
Row distribution high in the clouds storage, wherein the storage order of the encrypted data block and the data block of the unencryption with described
Sequence of positions in pending video flowing is different.
Fourth aspect, broadcasting and TV cloud platform apparatus for processing video stream provided in an embodiment of the present invention, including:Data acquisition list
Member, for obtaining the encrypted data block and the multiple data that the broadcasting and TV cloud platform video stream processing method is stored
The data block and storage order of unencryption in block;Data decryption unit, for the encrypted data block to be decrypted,
Obtain the plaintext corresponding to each encrypted data block;Data generating unit, for according to the storage order, described in rearrangement
In plain text with the sequence of positions of the data block of unencryption in the multiple data block, video stream data to be played is obtained.
5th aspect, a kind of electronic equipment provided in an embodiment of the present invention, including:It memory, processor and is stored in
In the memory and the computer program that can run on the processor, which is characterized in that described in the processor executes
It is realized when computer program as described in any one of first aspect the step of broadcasting and TV cloud platform video stream processing method;Alternatively, described
Processor is realized as described in second aspect when executing the computer program the step of broadcasting and TV cloud platform video stream processing method.
6th aspect, a kind of storage medium provided in an embodiment of the present invention are stored with instruction on the storage medium, work as institute
Instruction is stated when running on computers so that the computer executes such as first aspect any one of them broadcasting and TV cloud platform video
Method for stream processing;Or the computer is made to execute the step of the broadcasting and TV cloud platform video stream processing method as described in second aspect
Suddenly.
Compared with prior art, broadcasting and TV cloud platform video stream processing method provided in an embodiment of the present invention, device, equipment and
The advantageous effect of medium is:By the way that pending video stream data is divided into multiple data blocks;Described in being chosen according to preset rules
Multiple data partial data blocks in the block are as be-encrypted data block;Each be-encrypted data block is encrypted;It will add
The data block of unencryption carries out distributed high in the clouds storage in data block and the multiple data block after close, wherein after the encryption
Data block and the unencryption data block storage order it is different from the sequence of positions in the pending video flowing, from
And in the environment of network opening so that criminal is although all massive video streams being stored on Cloud Server can be read
Data block, but which data block belongs to same file and by what kind of sequence composition this document on earth, and illegal invasion person is had no way of
Know, thereby reduces the risk that the new media news video of broadcasting and TV cloud platform is distorted by illegal person.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart for the broadcasting and TV cloud platform video stream processing method that first embodiment of the invention provides;
Fig. 2 is the high-level schematic functional block diagram for the broadcasting and TV cloud platform apparatus for processing video stream that second embodiment of the invention provides;
Fig. 3 is the flow chart for the broadcasting and TV cloud platform video stream processing method that third embodiment of the invention provides;
Fig. 4 is the high-level schematic functional block diagram for the broadcasting and TV cloud platform apparatus for processing video stream that fourth embodiment of the invention provides;
Fig. 5 is the schematic diagram for a kind of electronic equipment that fifth embodiment of the invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.Therefore,
The detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below
It encloses, but is merely representative of the selected embodiment of the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
There is the every other embodiment obtained under the premise of making creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Below in conjunction with the accompanying drawings, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
First embodiment
Referring to Fig. 1, being the flow chart of broadcasting and TV cloud platform video stream processing method provided in an embodiment of the present invention.Below will
Detailed process shown in FIG. 1 is described in detail.
Pending video stream data is divided into multiple data blocks by step S101.
Wherein, the pending video stream data distributed storage is in cloud HDFS.
As an implementation, the pending video stream data is divided into multiple data blocks according to default size,
The number of the multiple data block is denoted as N.For example, the size of the pending video stream data D is size, and according to mKB
It is split, then block count N=|size/m|。
Optionally, it is d to enable the data block after segmentation1,d2,...,dn, and remember di(di∈ D) sequence of positions in original
Number is denoted as oi。
Optionally, before step S101, further include:
Original video flow data is compressed, using compressed video stream data as pending video stream data.
Step S102 chooses the multiple data partial data block in the block as be-encrypted data according to preset rules
Block.
Wherein, the quantity of the partial data block is less than the quantity corresponding to the multiple data block.
Continue for by taking previous example as an example, such as the quantity of partial data block is k, then the k is less than piecemeal sum N.
As an implementation, the multiple data partial data block in the block is randomly selected as be-encrypted data
Block.Such as, the random number for generating encrypted data block, the number are denoted as k, and the k is greater than or equal to zero, and less than described
The summation N of multiple data blocks;The one-dimension array A for regenerating the k element, enables A={ a1,a2,...,ak, wherein aiIt takes
The random integers of [0, N] indicate that the sequence of positions by encrypted data block in the pending video flowing is numbered;It is then described
K number is the be-encrypted data block according to block.
Each be-encrypted data block is encrypted in step S103.
As an implementation, sequence of positions of each data block in the pending video stream data is obtained to compile
Number;Each be-encrypted data block is encrypted based on classical Rinjdael algorithms, generates the first ciphertext;To the multiple
Data block carries out MD5 operations respectively, generates the globally unique identifier of each data block;Based on sequence of positions number, institute
State the serial number gencration reconstruct file of globally unique identifier and the be-encrypted data block;Based on the classics Rinjdael algorithms
The reconstruct file is encrypted, the second ciphertext is generated.
Continue for by taking previous example as an example, specifically, first obtains each data block in the pending video stream data
Middle sequence of positions number oi, it is then based on classical Rinjdael algorithms and generates the key K that length is 128;Pass through the key K
The K be-encrypted data blocks are encrypted respectively, generate the K the first ciphertextsWherein, described
Indicate a in the one-dimension array AiIt is encrypted.Then D ← (D A) ∪ A ' are enabled again, and the A ' expressions are to the number in the A
According to the data after being encrypted, the D A indicate unencryption data block, then in the D arbitrary data block carry out MD5
Operation generates MD5 (di), by MD5 (di) it is used as diTitle and globally unique identifier gi, wherein the diIt indicates in the D
I-th of data block.Then again by oi、giCorrespondence stored with the credible trees of Merkle, while with the be-encrypted data block
Serial number generate reconstruct file f together, and the f is encrypted using classics Rinjdael algorithms, the second ciphertext E of generationK(f)。
Wherein, the oi、giCorrespondence refer to the oiThat indicate is the sequence of i-th of data block, the giIt indicates
Be globally unique identifier of i-th of data block after MD5 operations.
The data block of unencryption in encrypted data block and the multiple data block is carried out distributed cloud by step S104
End storage, wherein the storage order of the encrypted data block and the data block of the unencryption in the pending video
Sequence of positions in stream is different.
Wherein, the storage order refers to the sequence of all data block in storage in deposit cloud HDFS, and not with institute
The sequence of positions stated in pending video flowing is identical.The sequence of positions refer to each data block at the beginning, come pending
Priority position relationship in video flowing.
As an implementation, to sequence of positions number, the globally unique identifier and the multiple number
Upset according to block, records the target designation for the data block being disturbed;Described first corresponding to encrypted data block is close
In literary and described second ciphertext and the multiple data block corresponding to the data block of unencryption the sequence of positions number and
The target designation is stored.
Can also be before encryption to multiple numbers wherein it is possible to be to carry out upsetting storage after encryption to each data block
Upset according to block, then data block to be encrypted is being chosen, in short, those skilled in the art can select according to demand
It takes, here, being not especially limited.
For example, first generating the random number i between 1-N, completed to o using random scrambling linear congruential methodi、giAnd video flowing
Data block diFalse links, the number of genesis sequence garbled data block, that is, the target designation X for the data block being disturbedi.Then
By the ciphertext E of fK(f)、Xi、And D A be uploaded to broadcast television cloud center and stored, with ensure data safety and
Reliability.
Broadcasting and TV cloud platform video stream processing method provided in this embodiment is more by the way that pending video stream data to be divided into
A data block;The multiple data partial data block in the block is chosen as be-encrypted data block according to preset rules;To each
The be-encrypted data block is encrypted;The data block of unencryption in encrypted data block and the multiple data block is carried out
Distributed high in the clouds storage, wherein the storage order of the encrypted data block and the data block of the unencryption is waited for described
The sequence of positions handled in video flowing is different, in the environment of network opening so that criminal is although institute can be read
There is the massive video flow data block being stored on Cloud Server, but which data block belongs to same file and by what kind of on earth
Sequence composition this document, illegal invasion person are unable to find out, and the new media news video for thereby reducing broadcasting and TV cloud platform is illegal
The risk that person distorts.
Second embodiment
Corresponding to the broadcasting and TV cloud platform video stream processing method in first embodiment, Fig. 2 shows use first embodiment
Shown in the one-to-one broadcasting and TV cloud platform apparatus for processing video stream of broadcasting and TV cloud platform video stream processing method.As shown in Fig. 2, institute
It includes data segmentation module 410, data decimation module 420, data encryption module to state broadcasting and TV cloud platform apparatus for processing video stream 400
430 and memory module 440 realization function step corresponding with first embodiment it is poly- correspond, to avoid repeating, this implementation
Example is not described in detail one by one.
Data segmentation module 410, for pending video stream data to be divided into multiple data blocks.
As an implementation, the data segmentation module 410 is used for the pending video stream data according to pre-
If size is divided into multiple data blocks.
Data decimation module 420, for choosing the multiple data partial data block conduct in the block according to preset rules
Be-encrypted data block.
As an implementation, the data decimation module 420 is for randomly selecting the multiple data portion in the block
Divided data block is as be-encrypted data block, and specifically, the random number for generating encrypted data block, the number is denoted as k, institute
It states k and is greater than or equal to zero, and less than or equal to the summation N of the multiple data block;The one-dimension array A of the k element is generated,
Enable A={ a1,a2,...,ak, wherein aiTake the random integers of [0, N], indicate will be encrypted data block corresponding to described in
Sequence of positions is numbered;Using the k number according to block as be-encrypted data block.
Data encryption module 430, for each be-encrypted data block to be encrypted.
As an implementation, the data encryption module 430 pending is regarded for obtaining each data block described
Sequence of positions number in frequency flow data;Each be-encrypted data block is encrypted based on classical Rinjdael algorithms,
Generate the first ciphertext;MD5 operations are carried out respectively to the multiple data block, generate the globally unique identifier of each data block;
Serial number gencration based on sequence of positions number, the globally unique identifier and the be-encrypted data block reconstructs file;
The reconstruct file is encrypted based on the classics Rinjdael algorithms, generates the second ciphertext EK(f)。
Wherein, the globally unique identifier of each data block of generation, including:Enable D ← (D A) ∪ A ', the D tables
Show that the pending video stream data, the A indicate the one-dimension array of the k element, the A ' expressions are to the A by adding
The set of close data block, the D A indicate unencryption data block set, then to the arbitrary data block in the D into
Row MD5 operations generate MD5 (di), by the MD5 (di) it is used as diTitle and globally unique identifier gi, wherein the diTable
Show i-th of data block in the D.
Described is encrypted each be-encrypted data block, generates the first ciphertext, including:Based on classics
Rinjdael algorithms generate the key K that length is 128;By the key K respectively to the K be-encrypted data blocks
It is encrypted, generates the K the first ciphertextsWherein, describedIndicate a in the one-dimension array AiAdded
It is close.
Memory module 440, for carrying out the data block of unencryption in encrypted data block and the multiple data block
Distributed high in the clouds storage, wherein the storage order of the encrypted data block and the data block of the unencryption is waited for described
The sequence of positions handled in video flowing is different.
As an implementation, the memory module 440 is used for sequence of positions number, the globally unique mark
Know symbol and the multiple data block is upset, records the target designation for the data block being disturbed;By encrypted data block
In corresponding first ciphertext and second ciphertext and the multiple data block corresponding to the data block of unencryption
The sequence of positions number and the target designation are stored.
3rd embodiment
Referring to Fig. 3, being the flow chart of broadcasting and TV cloud platform video stream processing method provided in an embodiment of the present invention, this method
Applied to user terminal.Detailed process shown in Fig. 3 will be described in detail below.
Step S201 obtains the encrypted data block that is stored of broadcasting and TV cloud platform video stream processing method and the multiple
The data block and storage order of unencryption in data block.
The encrypted number stored by obtaining the broadcasting and TV cloud platform video stream processing method that first embodiment is provided
According to the data block and storage order of unencryption in block and the multiple data block, to realize the decrypting process of video flowing.
As an implementation, continue for by taking the example of first embodiment as an example, E is downloaded from cloud storage endK(f)、And di。
The encrypted data block is decrypted in step S202, obtains corresponding to each encrypted data block
In plain text.
As an implementation, to the E corresponding to the encrypted data blockK(f) it is decrypted, to be reconstructed
File f is obtaining o by reconstructing file fi、giCorrespondence and encrypted data block number ai(i∈[0,k]).Then
Again to the first ciphertextIt is decrypted, to obtain aiPlaintext.
Step S203 resets the data of the plaintext and unencryption in the multiple data block according to the storage order
The sequence of positions of block obtains video stream data to be played.
In the present embodiment, according to oi、giCorrespondence and encrypted data block number ai(i ∈ [0, k]), weight
The sequence of positions for arranging the plaintext and the data block of unencryption in the multiple data block obtains video stream data to be played.From
And it allows users to play out based on obtained video stream data to be played.
The present embodiment by broadcasting and TV cloud platform video stream processing methods, provided by elder generation from first embodiment is obtained
The data of unencryption in encrypted data block and the multiple data block that broadcasting and TV cloud platform video stream processing method is stored
Then block and storage order are decrypted the encrypted data block, obtain corresponding to each encrypted data block
Plaintext reset the position of the plaintext and the data block of unencryption in the multiple data block finally according to the storage order
Sequence is set, video stream data to be played is obtained, is enabled a user to based on the encrypted video file of legal means parsing,
So that user can be normally carried out broadcasting, and avoids criminal and all be stored in Cloud Server although can read
On massive video flow data block, but on earth which data block belong to same file and by what kind of sequence composition this document,
Illegal invasion person is unable to find out, and further reduced the risk that the new media news video of broadcasting and TV cloud platform is distorted by illegal person.
Fourth embodiment
Corresponding to the broadcasting and TV cloud platform video stream processing method in 3rd embodiment, Fig. 4 is shown using 3rd embodiment
Shown in the one-to-one broadcasting and TV cloud platform apparatus for processing video stream of broadcasting and TV cloud platform video stream processing method.As shown in figure 4, institute
It includes that data capture unit 510, data decryption unit 520 and data generate list to state broadcasting and TV cloud platform apparatus for processing video stream 500
The realization function step corresponding with 3rd embodiment of member 530 is poly- to be corresponded, and to avoid repeating, the present embodiment is not detailed one by one
It states.
Data capture unit 510, the encrypted data stored for obtaining broadcasting and TV cloud platform video stream processing method
The data block and storage order of unencryption in block and the multiple data block.
Data decryption unit 520 obtains each encrypted data for the encrypted data block to be decrypted
Plaintext corresponding to block.
Data generating unit 530, for according to the storage order, reset the plaintext in the multiple data block not
The sequence of positions of encrypted data block obtains video stream data to be played.
5th embodiment
As shown in figure 5, being the schematic diagram of electronic equipment 300.The electronic equipment 300 includes memory 302, processor
304 and it is stored in the computer program 303 that can be run in the memory 302 and on the processor 304, the calculating
The broadcasting and TV cloud platform video stream processing method in first embodiment is realized when machine program 303 is executed by processor 304, to keep away
Exempt to repeat, details are not described herein again.Alternatively, being realized described in 3rd embodiment when the computer program 303 is executed by processor 304
The function of each step in broadcasting and TV cloud platform video stream processing method, to avoid repeating, details are not described herein again.Alternatively, the calculating
Realized when machine program 303 is executed by processor 304 described in second embodiment each model in broadcasting and TV cloud platform apparatus for processing video stream/
The function of unit, to avoid repeating, details are not described herein again.Alternatively, real when the computer program 303 is executed by processor 304
The function of each model/unit in broadcasting and TV cloud platform apparatus for processing video stream described in existing fourth embodiment, to avoid repeating, herein not
It repeats again.
Illustratively, computer program 303 can be divided into one or more module/units, one or more mould
Block/unit is stored in memory 302, and is executed by processor 304, to complete the present invention.One or more module/units
Can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 303
Implementation procedure in electronic equipment 300.For example, computer program 303 can be divided into the data in second embodiment point
Cut module 410, data decimation module 420, data encryption module 430 and memory module 440, the concrete function such as first of each module
Described in embodiment or second embodiment, do not repeat one by one herein.
Electronic equipment 300 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
Wherein, memory 302 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-
Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory,
EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory,
EEPROM) etc..Wherein, memory 302 is for storing program, and the processor 304 is after receiving and executing instruction, described in execution
The method of program, the flow definition that aforementioned any embodiment of the embodiment of the present invention discloses can be applied in processor 304, or
It is realized by processor 304.
Processor 304 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 304 can
To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), special integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..
It is understood that structure shown in fig. 5 is only a kind of structural schematic diagram of electronic equipment 300, electronic equipment 300
Can also include than more or fewer components shown in Fig. 5.Hardware, software or its group may be used in each component shown in Fig. 5
It closes and realizes.
Sixth embodiment
The embodiment of the present invention also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists
Realize that the broadcasting and TV cloud platform in first embodiment regards when being run on computer, when the computer program is executed by processor
Frequency method for stream processing, to avoid repeating, details are not described herein again.Alternatively, the computer program realizes when being executed by processor
The function of each step in broadcasting and TV cloud platform video stream processing method described in three embodiments, to avoid repeating, details are not described herein again.Or
Person realizes each in broadcasting and TV cloud platform apparatus for processing video stream described in second embodiment when the computer program is executed by processor
The function of model/unit, to avoid repeating, details are not described herein again.Alternatively, the computer program is realized when being executed by processor
The function of each model/unit in broadcasting and TV cloud platform apparatus for processing video stream described in fourth embodiment, to avoid repeating, herein no longer
It repeats.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair
Bright technical solution can be expressed in the form of software products, which can be stored in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) method that executes each implement scene of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and is explained.
Claims (10)
1. a kind of broadcasting and TV cloud platform video stream processing method, which is characterized in that including:
Pending video stream data is divided into multiple data blocks;
The multiple data partial data block in the block is chosen as be-encrypted data block according to preset rules;
Each be-encrypted data block is encrypted;
The data block of unencryption in encrypted data block and the multiple data block is subjected to distributed high in the clouds storage, wherein institute
Storage order and the position in the pending video flowing for stating encrypted data block and the data block of the unencryption are suitable
Sequence is different.
2. according to the method described in claim 1, it is characterized in that, described add each be-encrypted data block
It is close, including:
Obtain sequence of positions number of each data block in the pending video stream data;
Each be-encrypted data block is encrypted based on classical Rinjdael algorithms, generates the first ciphertext;
MD5 operations are carried out respectively to the multiple data block, generate the globally unique identifier of each data block;
Serial number gencration based on sequence of positions number, the globally unique identifier and the be-encrypted data block reconstructs text
Part;
The reconstruct file is encrypted based on the classics Rinjdael algorithms, generates the second ciphertext.
3. according to the method described in claim 2, it is characterized in that, described by encrypted data block and the multiple data
The data block of unencryption carries out distributed high in the clouds storage in block, wherein the data of the encrypted data block and the unencryption
The storage order of block is different from the sequence of positions in the pending video flowing, including:
Sequence of positions number, the globally unique identifier and the multiple data block are upset, record is beaten
The target designation of random data block;
By corresponding to encrypted data block first ciphertext and second ciphertext and the multiple data block in not
Sequence of positions number and the target designation corresponding to encrypted data block are stored.
4. according to the method described in claim 2, it is characterized in that, the globally unique identifier of each data block of generation
Symbol, including:
D ← (D A) ∪ A ', the D is enabled to indicate that the pending video stream data, the A indicate a dimension of the k element
Group, set of the A ' expressions to the A Jing Guo encrypted data block, the D A indicate unencryption data block set, then
MD5 operations are carried out to the arbitrary data block in the D, generate MD5 (di), by the MD5 (di) it is used as diTitle and the overall situation
Unique identifier gi, wherein the diIndicate i-th of data block in the D.
5. according to the method described in claim 4, it is characterized in that, described add each be-encrypted data block
It is close, the first ciphertext is generated, including:
The key K that length is 128 is generated based on classical Rinjdael algorithms;
The K be-encrypted data blocks are encrypted respectively by the key K, generate the K the first ciphertextsWherein, describedIndicate a in the one-dimension array AiIt is encrypted.
6. a kind of broadcasting and TV cloud platform video stream processing method, which is characterized in that including:
Broadcasting and TV cloud platform video stream processing method of the acquisition as described in claim 1-5 any one is stored encrypted
The data block and storage order of unencryption in data block and the multiple data block;
The encrypted data block is decrypted, the plaintext corresponding to each encrypted data block is obtained;
According to the storage order, the sequence of positions of the plaintext and the data block of unencryption in the multiple data block is reset,
Obtain video stream data to be played.
7. a kind of broadcasting and TV cloud platform apparatus for processing video stream, which is characterized in that including:
Data segmentation module, for pending video stream data to be divided into multiple data blocks;
Data decimation module, for choosing the multiple data partial data block in the block as number to be encrypted according to preset rules
According to block;
Data encryption module, for each be-encrypted data block to be encrypted;
Memory module, for the data block of unencryption in encrypted data block and the multiple data block to be carried out distributed cloud
End storage, wherein the storage order of the encrypted data block and the data block of the unencryption in the pending video
Sequence of positions in stream is different.
8. a kind of broadcasting and TV cloud platform apparatus for processing video stream, which is characterized in that including:
Data capture unit, for obtaining the broadcasting and TV cloud platform video stream processing method as described in claim 1-5 any one
The data block and storage order of unencryption in the encrypted data block and the multiple data block that are stored;
It is right to obtain each encrypted data block institute for the encrypted data block to be decrypted for data decryption unit
The plaintext answered;
Data generating unit, for according to the storage order, resetting the plaintext and unencryption in the multiple data block
The sequence of positions of data block obtains video stream data to be played.
9. a kind of electronic equipment, which is characterized in that including:It memory, processor and is stored in the memory and can be
The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program
The step of any one of claim 1 to 5 broadcasting and TV cloud platform video stream processing method;Alternatively, described in the processor execution
The step of broadcasting and TV cloud platform video stream processing method as claimed in claim 6 is realized when computer program.
10. a kind of storage medium, which is characterized in that instruction is stored on the storage medium, when described instruction on computers
When operation so that the computer executes broadcasting and TV cloud platform video stream processing method as described in any one in claim 1-5;
Or the step of making the computer execute broadcasting and TV cloud platform video stream processing method as claimed in claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810568340.2A CN108777803A (en) | 2018-06-05 | 2018-06-05 | Broadcasting and TV cloud platform video stream processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810568340.2A CN108777803A (en) | 2018-06-05 | 2018-06-05 | Broadcasting and TV cloud platform video stream processing method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108777803A true CN108777803A (en) | 2018-11-09 |
Family
ID=64024765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810568340.2A Pending CN108777803A (en) | 2018-06-05 | 2018-06-05 | Broadcasting and TV cloud platform video stream processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108777803A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035327A (en) * | 2019-04-17 | 2019-07-19 | 深圳市摩天之星企业管理有限公司 | A kind of safe playback method |
CN113727146A (en) * | 2021-08-30 | 2021-11-30 | 四川师范大学 | Cloud television video stream processing device and method based on block chain |
CN114285562A (en) * | 2021-12-27 | 2022-04-05 | 元心信息科技集团有限公司 | Data encryption method and device |
CN115225933A (en) * | 2022-07-18 | 2022-10-21 | 北京国盛华兴科技有限公司 | Encryption method and decryption method of video file, server and terminal equipment |
CN115310636A (en) * | 2022-09-05 | 2022-11-08 | 郑州华隆机械制造有限公司 | Press machine cloud data intelligent monitoring, analyzing and processing platform and method |
CN115802106A (en) * | 2022-11-15 | 2023-03-14 | 上海游密信息科技有限公司 | Video encryption transmission method and device, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100094957A1 (en) * | 2008-10-15 | 2010-04-15 | Patentvc Ltd. | Methods and systems for fast segment reconstruction |
CN101854241A (en) * | 2009-03-30 | 2010-10-06 | 上海聚力传媒技术有限公司 | Method and device for verifying data block transmitted in network |
CN102624708A (en) * | 2012-02-23 | 2012-08-01 | 浙江工商大学 | Efficient data encryption, updating and access control method for cloud storage |
CN103457727A (en) * | 2012-05-29 | 2013-12-18 | 华为技术有限公司 | Method, device and system for processing media data |
US20140136856A1 (en) * | 2005-02-02 | 2014-05-15 | Insyde Software Corp. | System and method for updating firmware |
US20160192194A1 (en) * | 2014-12-29 | 2016-06-30 | Gongming Yang | Secure way to build internet credit system and protect private information |
CN106156653A (en) * | 2016-07-05 | 2016-11-23 | 浪潮(北京)电子信息产业有限公司 | A kind of method and system of data storage |
CN106462605A (en) * | 2014-05-13 | 2017-02-22 | 云聚公司 | Distributed secure data storage and transmission of streaming media content |
CN107220559A (en) * | 2017-06-11 | 2017-09-29 | 南京安链数据科技有限公司 | A kind of encryption storage method for that can not tamper with a document |
CN107609416A (en) * | 2017-09-11 | 2018-01-19 | 浙江志诚软件有限公司 | Safe encryption method, system, computer installation and the computer-readable recording medium of user data |
-
2018
- 2018-06-05 CN CN201810568340.2A patent/CN108777803A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140136856A1 (en) * | 2005-02-02 | 2014-05-15 | Insyde Software Corp. | System and method for updating firmware |
US20100094957A1 (en) * | 2008-10-15 | 2010-04-15 | Patentvc Ltd. | Methods and systems for fast segment reconstruction |
CN101854241A (en) * | 2009-03-30 | 2010-10-06 | 上海聚力传媒技术有限公司 | Method and device for verifying data block transmitted in network |
CN102624708A (en) * | 2012-02-23 | 2012-08-01 | 浙江工商大学 | Efficient data encryption, updating and access control method for cloud storage |
CN103457727A (en) * | 2012-05-29 | 2013-12-18 | 华为技术有限公司 | Method, device and system for processing media data |
CN106462605A (en) * | 2014-05-13 | 2017-02-22 | 云聚公司 | Distributed secure data storage and transmission of streaming media content |
US20160192194A1 (en) * | 2014-12-29 | 2016-06-30 | Gongming Yang | Secure way to build internet credit system and protect private information |
CN106156653A (en) * | 2016-07-05 | 2016-11-23 | 浪潮(北京)电子信息产业有限公司 | A kind of method and system of data storage |
CN107220559A (en) * | 2017-06-11 | 2017-09-29 | 南京安链数据科技有限公司 | A kind of encryption storage method for that can not tamper with a document |
CN107609416A (en) * | 2017-09-11 | 2018-01-19 | 浙江志诚软件有限公司 | Safe encryption method, system, computer installation and the computer-readable recording medium of user data |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035327A (en) * | 2019-04-17 | 2019-07-19 | 深圳市摩天之星企业管理有限公司 | A kind of safe playback method |
CN110035327B (en) * | 2019-04-17 | 2020-07-17 | 深圳市摩天之星企业管理有限公司 | Safe playing method |
CN113727146A (en) * | 2021-08-30 | 2021-11-30 | 四川师范大学 | Cloud television video stream processing device and method based on block chain |
CN113727146B (en) * | 2021-08-30 | 2023-08-22 | 四川师范大学 | Cloud television video stream processing device and method based on block chain |
CN114285562A (en) * | 2021-12-27 | 2022-04-05 | 元心信息科技集团有限公司 | Data encryption method and device |
CN114285562B (en) * | 2021-12-27 | 2023-05-09 | 元心信息科技集团有限公司 | Data encryption method and device |
CN115225933A (en) * | 2022-07-18 | 2022-10-21 | 北京国盛华兴科技有限公司 | Encryption method and decryption method of video file, server and terminal equipment |
CN115225933B (en) * | 2022-07-18 | 2024-07-09 | 北京国盛华兴科技有限公司 | Video file encryption method, video file decryption method, server and terminal equipment |
CN115310636A (en) * | 2022-09-05 | 2022-11-08 | 郑州华隆机械制造有限公司 | Press machine cloud data intelligent monitoring, analyzing and processing platform and method |
CN115310636B (en) * | 2022-09-05 | 2023-06-02 | 郑州华隆机械制造有限公司 | Intelligent monitoring, analyzing and processing platform and method for cloud data of press equipment |
CN115802106A (en) * | 2022-11-15 | 2023-03-14 | 上海游密信息科技有限公司 | Video encryption transmission method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108777803A (en) | Broadcasting and TV cloud platform video stream processing method, device, equipment and medium | |
US9838198B2 (en) | Splitting S-boxes in a white-box implementation to resist attacks | |
EP3099002A1 (en) | Diversifying control flow of white-box implementation | |
CN106888081B (en) | Wide coding of intermediate values within white-box implementations | |
CN107370595A (en) | One kind is based on fine-grained ciphertext access control method | |
EP2892175B1 (en) | Secure software components anti-reverse-engineering by table interleaving | |
Abdul Hussien et al. | [Retracted] A Secure Environment Using a New Lightweight AES Encryption Algorithm for E‐Commerce Websites | |
US9363244B2 (en) | Realizing authorization via incorrect functional behavior of a white-box implementation | |
CN105721134B (en) | It is realized using the single whitepack with multiple external encodes | |
EP3068067B1 (en) | Implementing padding in a white-box implementation | |
CN116488814A (en) | FPGA-based data encryption secure computing method | |
EP3413509B1 (en) | Cmac computation using white-box implementations with external encodings | |
EP2940917A1 (en) | Behavioral fingerprint in a white-box implementation | |
WO2019025181A1 (en) | Method to secure a software code performing accesses to look-up tables | |
Damghani et al. | Security improvement of Common Scrambling Algorithm (CSA) using the encryption extension technique | |
CN111737689A (en) | Data processing method, processor, electronic device, storage medium, and program product | |
EP2940919B1 (en) | Realizing authorization via incorrect functional behavior of a white-box implementation | |
CN117979051B (en) | Audio anti-counterfeiting method, equipment and medium | |
Lundin et al. | Using guesswork as a measure for confidentiality of selectively encrypted messages | |
CN116318686B (en) | Data encryption transmission method and device, electronic equipment and storage medium | |
CN117061128B (en) | Verification method and device for data replacement, storage medium and electronic equipment | |
Azharudheen et al. | Analyze the New Data Protection Mechanism to Maximize Data Availability without Having Compromise Data Privacy | |
Zhuang et al. | DeepContract: Controllable Authorization of Deep Learning Models | |
CN117424702A (en) | Traitor tracing revocation method for preventing instrument test data malicious encryptor attack | |
Hussain et al. | 1. Department of Computer science, College of Education for Pure Science, University of Basra, Iraq 2. Department of Mathematics, College of Education for Pure Science, University of Basra, Iraq |
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: 20181109 |
|
RJ01 | Rejection of invention patent application after publication |