WO2019129116A1 - 一种视频录制方法及装置 - Google Patents

一种视频录制方法及装置 Download PDF

Info

Publication number
WO2019129116A1
WO2019129116A1 PCT/CN2018/124135 CN2018124135W WO2019129116A1 WO 2019129116 A1 WO2019129116 A1 WO 2019129116A1 CN 2018124135 W CN2018124135 W CN 2018124135W WO 2019129116 A1 WO2019129116 A1 WO 2019129116A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
data
video data
video
encrypted
Prior art date
Application number
PCT/CN2018/124135
Other languages
English (en)
French (fr)
Inventor
查克拉博蒂齐元吉
骆华敏
汪志韬
李宁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP18894655.2A priority Critical patent/EP3700222B1/en
Publication of WO2019129116A1 publication Critical patent/WO2019129116A1/zh
Priority to US16/892,033 priority patent/US11122327B2/en

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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • 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
    • H04N21/23476Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption by partially encrypting, e.g. encrypting the ending portion of a movie
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/4147PVR [Personal Video Recorder]
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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
    • 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/44008Processing 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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • H04N2005/91357Television signal processing therefor for scrambling ; for copy protection by modifying the video signal
    • H04N2005/91364Television signal processing therefor for scrambling ; for copy protection by modifying the video signal the video signal being scrambled

Definitions

  • the present application relates to the field of Digital Video Broadcasting (DVB), and in particular, to a video recording method and apparatus.
  • DVD Digital Video Broadcasting
  • the traditional digital TV set-top box allows the user to passively watch the TV program, and the user will not be able to watch it again if he does not watch the desired TV program in time.
  • PVR Personal Video Recorder
  • the PVR can record the television program onto a storage device for the user to view the recorded television program at any time.
  • FIG. 1 depicts a structure of a Digital Video Broadcasting (DVB) system in which a broadcast stream is passed through a demodulator to obtain a transport stream, and the demodulator can be a high frequency head, and the transport stream is transmitted.
  • the main control chip is used as a processor, which is mainly used to complete the demultiplexing and descrambling of the transport stream.
  • the demultiplexing and descrambling are respectively implemented by the demultiplexer and the descrambler.
  • the main control chip may further include a video decoder, an audio decoder, and an encryption engine (hereinafter also referred to as “encryption processor"), wherein the video data output by the descrambler is transmitted to the video decoder to complete video decoding, descrambling
  • the audio data output by the device is transmitted to the audio decoder to complete the audio decoding, and the data to be protected output by the descrambler, such as video data and audio data, is also encrypted by the encryption engine encryption processor and stored in the memory for video recording.
  • the video decoder, audio decoder and encryption engine can also be located outside the master chip as separate hardware modules.
  • FIG. 2 shows an implementation of a PVR applied to the above DVB system.
  • the implementation consists of two operating environments: Trusted Execution Environment (TEE) and Rich Execution Environment (REE).
  • TEE is a relatively simple and safe operating environment.
  • the software and hardware resources running in it are safe and trustworthy.
  • REE is a rich open running environment.
  • the software and hardware resources are running and open to the software, which lacks security.
  • the transport stream is separated from the program information, the audio data, and the video data by the REE side demultiplexer, and the audio data and the video data are descrambled by the TEE side descrambler to obtain the descrambled audio data and video data, and the TEE side is encrypted.
  • the processor encrypts the mixed stream composed of the program information, the descrambled audio data, and the descrambled video data to obtain ciphertext data, which is transmitted to the REE side memory for storage.
  • the TEE side decryption processor acquires the ciphertext data stored in the memory from the memory, and decrypts the ciphertext data to obtain the decrypted data, and the decrypted data is the program information.
  • the mixed data composed of the descrambled audio stream and the descrambled video stream, the TEE side demultiplexer separates the program information, the audio data, and the video data from the decrypted data, and copies the separated program information to the REE side. To achieve playback control of the recorded video.
  • the TEE side demultiplexer separates the program information from the decrypted data
  • the program information is copied to the REE side
  • the function of implementing copying in the TEE side demultiplexer is implemented by software.
  • the software may be tampered with, resulting in separate audio or video data (ie, data that needs to be protected) may be copied to the REE side, causing audio or video data to leak.
  • the embodiment of the present application provides a video recording method and device, which can enhance the security of audio and video data during video recording.
  • the application provides a video recording apparatus, including:
  • a first demultiplexer for separating program information, audio data, and video data from the transport stream
  • An identifier configured to identify the separated audio data and video data, and transmit the mixed stream to an encryption processor, where the mixed stream is composed of the program information, the identified audio data, and the identified video data;
  • the encryption processor is configured to identify audio data and video data from the mixed stream, encrypt the recognized audio data and video data to obtain encrypted audio and video data, and encrypt the audio and video data and the
  • the program information is transferred to a memory in the rich execution environment REE for storage.
  • the encryption processor can recognize the audio data and the video data in the mixed stream, thereby encrypting only the audio data and the video data in the encryption process, and
  • the program information is not encrypted, and the encrypted audio and video data and the unencrypted program information are transmitted to the REE memory for storage, so that unencrypted program information can be stored in the REE memory, and the transmission process does not cause Leakage of audio and video data.
  • the video recording device further includes:
  • a decryption processor configured to acquire stored data from the memory, and decrypt the encrypted audio and video data in the stored data to obtain decrypted audio and video data, the stored data including the program information and the encrypted sound Video data;
  • a second demultiplexer configured to demultiplex the decrypted audio and video data to obtain the output audio and video data, wherein the output audio and video data is audio and video data to be played.
  • the decryption processor is further configured to identify the encrypted audio and video data from the stored data.
  • the video recording device further includes:
  • a descrambler for receiving the separated audio and video data from the first demultiplexer, and descrambling the received audio and video data to obtain descrambled audio and video data.
  • the identifier is specifically configured to: send the descrambled audio and video data to a descrambling identifier, where the descrambling identifier is used to indicate that the descrambled audio and video data is descrambled data;
  • the encryption processor is specifically configured to: identify audio data and video data from the mixed stream according to the descrambling identifier;
  • the decryption processor is specifically configured to: identify the encrypted audio and video data from the stored data according to the descrambling identifier.
  • the identifier is further configured to separately add verification information to the separated audio data and video data;
  • the cryptographic processor is further configured to verify, according to the separated verification information added in the audio data and the video data, the integrity of the received audio data and the video data in the mixed stream;
  • the decryption processor is further configured to verify, according to the separated verification information added in the audio data and the video data, the integrity of the received audio data and the video data in the stored data.
  • the video recording apparatus further includes a parser configured to parse the program information from the stored data acquired in the memory to implement playback control of the decrypted audio data and video data.
  • the application provides a video recording method, including:
  • the recognized audio data and video data are encrypted to obtain encrypted audio and video data, and the encrypted audio and video data and the program information in the mixed stream are transmitted to a memory in the rich execution environment REE for storage.
  • the audio data and the video data can be identified in the mixed stream, and then only the audio data and the video data are encrypted in the encryption process without encrypting the program information.
  • the encrypted audio and video data and the unencrypted program information are transmitted to the REE memory for storage, so that unencrypted program information can be stored in the REE memory, and the transmission process does not cause leakage of audio and video data.
  • the recording method further includes:
  • the stored data including the program information and the encrypted audio and video data
  • the decrypted audio and video data is demultiplexed to obtain output audio and video data, wherein the output audio and video data is audio and video data to be played.
  • the video recording method before the encrypted audio and video data in the stored data is decrypted, the video recording method further includes:
  • the encrypted audio and video data is identified from the stored data.
  • the video recording method before the separated audio data and video data are identified, the video recording method further includes:
  • identifying the separated audio data and video data includes:
  • the descrambled identifier is used to indicate that the descrambled audio and video data is descrambled data
  • identifying audio data and video data from the hybrid stream includes:
  • identifying the encrypted audio and video data from the stored data includes:
  • the encrypted audio and video data is identified from the stored data based on the descrambling identifier.
  • the video recording method before the encrypted audio data and the video data are encrypted, the video recording method further includes:
  • the video recording method further includes:
  • the integrity of the audio data and the video data in the stored data is verified based on the separated verification information added in the audio data and the video data.
  • FIG. 1 is a structural diagram of a digital video broadcast DVB provided by the present application.
  • FIG. 2 is a flow chart of implementing a personal video recording PVR provided by the present application
  • FIG. 3 is a structural diagram of a video recording apparatus according to an embodiment of the present application.
  • FIG. 4 is a flowchart of still implementing a personal video recording PVR according to an embodiment of the present application
  • FIG. 5 is a flowchart of a video recording method according to an embodiment of the present application.
  • the present application provides a video recording method and apparatus for solving the problem of leakage of audio and video data in the prior art.
  • the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and the repeated description is not repeated.
  • the DVB system may be a set top box system, and of course other digital broadcast systems, which are not limited in this application.
  • FIG. 3 is a video recording apparatus 300 for use in a DVB system provided by the present application.
  • FIG. 4 is provided in the video recording apparatus 300. The signal flow diagram of each component when interacting in REE and TEE, therefore, can be seen in conjunction with FIG. 4 when understanding the functions of the components in the video recording device 300.
  • the video recording device 300 includes:
  • a first demultiplexer 301 configured to separate program information, audio data, and video data from the transport stream;
  • the program information is used to provide auxiliary information to the media content in the transport stream to obtain content of a channel
  • the program information may include channel information, program type, program time, program source, and the like.
  • a descrambler 302 configured to descramble the received audio data and video data to obtain descrambled audio data and video data;
  • the descrambled audio and video data is clear stream data to be protected.
  • the identifier 303 is configured to identify the descrambled audio data and the video data, and transmit the mixed stream composed of the identified audio data, the identified video data, and the program information to the encryption processor 304;
  • the encryption processor 304 is configured to identify the audio data and the video data from the mixed stream, encrypt the recognized audio data and the video data to obtain the encrypted audio and video data, and encrypt the audio and video data and the program information.
  • the storage data is transferred to the memory 305 in the rich execution environment REE for storage.
  • the encrypted audio and video data and program information are represented by the stored data in FIG.
  • the encryption processor 304 acts as an encryption engine and is hardware logic for providing a data encryption service, which may be a coprocessor integrated on the processor, or may be a hardware encryption card, since the encryption processor 304 passes through the hardware.
  • a logical implementation which transmits encrypted audio and video data and program information to the REE memory 305 without data leakage; likewise, the decryption processor 306 mentioned below serves as a decryption engine for providing data decryption services.
  • Hardware logic which can be a coprocessor integrated on the processor or a hardware decryption card. It should be noted that the encryption processor 304 and the decryption processor 306 may be an integrated hardware logic with encryption and decryption functions.
  • the memory 305 may be built in the video recording device 300 or may be located outside the video recording device 300.
  • the recording device 300 can also perform playback of the audio and video data stored in the memory 305.
  • the recording device 300 further includes:
  • the decryption processor 306 is configured to obtain, from the memory 305, the stored data composed of the encrypted audio and video data and the program information, identify the encrypted audio and video data from the stored data, and use the encrypted audio and video data. Decrypting to obtain decrypted audio and video data;
  • the second demultiplexer 307 is configured to demultiplex the decrypted audio and video data to obtain the output audio data and video data, where the demodulated output audio and video data is the audio and video data to be played. ;
  • the second demultiplexer 307 and the first demultiplexer 301 may be the same demultiplexer.
  • the parser 308 is configured to parse the program information from the stored data acquired in the memory 305 to implement playback control of the decrypted audio data and video data.
  • the identifier 303 can specifically implement the above functions as follows:
  • the identifier 303 adds the separated audio data and the video data to the descrambling identifier, and the descrambling identifier is used to indicate that the separated audio data and the video data are descrambled data.
  • the descrambling identifier can be set to “0”. Or "1".
  • the encryption processor 304 can identify the audio data and the video data from the hybrid stream based on the descrambling identifier.
  • the decryption processor 306 can identify the encrypted audio and video data from the stored data based on the descrambling identifier.
  • the identifier 303 is further configured to add verification information to the separated audio data and video data.
  • the verification information may be a cyclic redundancy check CRC, a parity check, etc., and the present application does not specifically limit the check information.
  • the encryption processor 304 is further configured to verify the integrity of the audio data and the video data in the received mixed stream according to the verification information added in the audio data and the video data, and when the integrity verification is passed, the encryption processor is indicated.
  • the audio data and video data in the mixed stream received by 304 are not tampered with during transmission, and the encryption processor 304 can perform further encryption operations.
  • the integrity verification fails, the audio data in the mixed stream received by the encryption processor 304 is indicated. And video data may be modified during transmission.
  • the decryption processor 306 is further configured to verify the integrity of the audio data and the video data in the received storage data according to the verification information added in the audio data and the video data, and when the integrity verification is passed, indicate the decryption processor.
  • the audio data and the video data in the stored data received by the 306 are not tampered with, and the decryption processor 306 can perform a further decryption operation.
  • the integrity verification fails, it indicates that the audio data and the video data in the stored data received by the decryption processor 304 may be modified.
  • the recorded data can only be stored on the REE side, and therefore, the memory 305 is located at the REE, except that the memory 305 is located on the REE side, the first multiplexer 301 and the parsing
  • the 308 is also located on the REE side; the descrambler 302, the identifier 303, the cryptographic processor 304, the decryption processor 306, and the second demultiplexer 307 are located on the TEE side.
  • the first demultiplexer 301 and the second demultiplexer 307 are the same demultiplexer, then the first demultiplexer 301 or the second demultiplexer 307 can work both at the TEE and at the same time. REE.
  • the encryption processor can recognize the audio data and the video data in the mixed stream, and thus only the audio data and the video data in the encryption process. Encryption is performed without encrypting the program information, and the encrypted audio and video data and the unencrypted program information are transmitted to the REE memory for storage, so that unencrypted program information can be stored in the REE memory, and the transmission is performed. The process does not cause leakage of audio and video data.
  • FIG. 5 is a schematic flowchart of a video recording method 500 according to an embodiment of the present disclosure. Specifically, the method includes:
  • S502. De-scramble the separated audio data and video data to obtain descrambled audio and video data.
  • the descrambled audio and video data is marked with a descrambling identifier, and the descrambled identifier is used to indicate that the descrambled audio and video data is descrambled data.
  • audio data and video data can be identified from the hybrid stream based on the descrambling identifier.
  • S505. Encrypt the identified audio data and video data to obtain the encrypted audio and video data, and transmit the encrypted audio and video data and the program information in the mixed stream to a REE memory for storage.
  • the video recording method further includes:
  • the encrypted audio and video data may be identified from the stored data according to the descrambling identifier, and the non-audio video data, such as the program information, may be discarded.
  • the output audio and video data is audio and video data to be played.
  • program information stored in the memory in the REE can be parsed by other components, such as a parser, in the REE to implement playback control of the output audio data and video data.
  • a security check mechanism may be introduced. Specifically, before the recognized audio data and video data are encrypted in the step S505, The above video recording method also includes:
  • the integrity verification When the integrity verification is passed, it indicates that the audio data and the video data in the mixed stream have not been tampered with during the transmission, so that further encryption operations can be performed.
  • the video recording method further includes:
  • the integrity verification When the integrity verification is passed, it indicates that the audio data and the video data in the stored data have not been tampered with, and further decryption operations can be performed.
  • the audio data and the video data can be identified in the mixed stream, and then only the audio data and the video data are encrypted in the encryption process, and
  • the program information is encrypted, and the encrypted audio and video data and the unencrypted program information are transmitted to the REE memory for storage, so that unencrypted program information can be stored in the REE memory, and the transmission process does not cause sound. Leakage of video data.
  • the unit and method processes of the examples described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. The skilled person can use different methods for each particular application to implement the described functionality.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner.
  • multiple units or components may be combined or integrated into another system, or some steps may be omitted or not performed.
  • the coupling or direct coupling or communication connection of the various units to each other may be through some interfaces, which may be in electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and may be located in one place or on multiple network elements.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

本申请公开了一种视频录制装置和视频录制方法,该视频录制装置包括:第一解复用器,用于从传输流中分离出节目信息、音频数据和视频数据;标识器,用于将分离出的音频数据和视频数据进行标识,并且将混合流传输至加密处理器,其中,该混合流由该节目信息、标识后的音频数据和标识后的视频数据组成;该加密处理器,用于从该混合流中识别出音频数据和视频数据,对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和该节目信息传输至富执行环境REE中存储器进行存储,以实现视频录制。

Description

一种视频录制方法及装置
本申请要求于2017年12月29日提交中国国家知识产权局、申请号为201711490252.7、申请名称为“一种视频录制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数字视频广播(Digital Video Broadcasting,DVB)领域,尤其涉及一种视频录制方法及装置。
背景技术
传统的数字电视机顶盒支持用户被动的观看电视节目,用户如果没有及时的收看所需的电视节目,将无法重新观看。为解决上述问题,个人视频录制(Personal Video recorder,PVR)应运而生。具体地,PVR可以将电视节目录制到存储设备上,以供用户在任意时间观看录制好的电视节目。
图1描述了一种数字视频广播(Digital Video Broadcasting,DVB)系统的结构,在该DVB系统中,广播流经过解调器得到传输流,该解调器可以为高频头,该传输流传输至主控芯片,主控芯片作为一种处理器,其主要用于完成对传输流解复用和解扰的作用,如图1,解复用和解扰分别由解复用器和解扰器实现,主控芯片中还可以包括视频解码器、音频解码器和加密引擎(下文也称作“加密处理器”),其中,解扰器输出的视频数据传输至视频解码器以完成视频解码,解扰器输出的音频数据传输至音频解码器以完成音频解码,解扰器输出的需要保护的数据,比如视频数据和音频数据,还需经加密引擎加密处理器加密后存储至存储器,以实现视频录制。显然地,视频解码器、音频解码器和加密引擎也可作为独立的硬件模块位于主控芯片之外。
图2给出了应用于上述DVB系统中的一种PVR的实现方案,该实现方案由可信执行环境(Trusted Execution Environment,TEE)和富执行环境(Rich Execution Environment,REE)两个运行环境组成,其中,TEE是一个相对简单的安全运行环境,运行其中的软件和硬件资源安全可信,REE是一个丰富的开放运行环境,运行其中的软件和硬件资源较多且对软件开放,缺乏安全。在该实现方案中,传输流经过REE侧解复用器分离出节目信息、音频数据和视频数据,音频数据和视频数据经过TEE侧解扰器得到解扰的音频数据和视频数据,TEE侧加密处理器对由节目信息、解扰的音频数据和解扰的视频数据组成的混合流进行加密以得到密文数据,该密文数据被传输至REE侧存储器进行存储。在对存储的数据进行回放时,TEE侧解密处理器从该存储器中获取存储器中存储的密文数据,并且对该密文数据进行解密以获得解密后的数据,解密后的数据为由节目信息、解扰的音频流和解扰的视频流组成的混合数据,TEE侧解复用器从解密后的数据中分离出节目信息、音频数据和视频数据,并且将分离出的节目信息拷贝至REE侧以实现对录制的视频的播放控制。
在上述实现方案中,TEE侧解复用器从解密后的数据中分离出节目信息之后,将该节目信息拷贝至REE侧,由于TEE侧解复用器中实现拷贝的功能由软件实现,在利用软件 来实现拷贝的过程中,软件可能被篡改,导致分离出的音频或视频数据(即需要保护的数据)可能会被拷贝至REE侧,造成音频或视频数据泄露。
发明内容
本申请实施例提供视频录制方法及装置,能够增强视频录制过程中音视频数据的安全性。
第一方面,本申请提供一种视频录制装置,包括:
第一解复用器,用于从传输流中分离出节目信息、音频数据和视频数据;
标识器,用于将分离出的音频数据和视频数据进行标识,并且将混合流传输至加密处理器,该混合流由该节目信息、标识后的音频数据和标识后的视频数据组成;
该加密处理器,用于从该混合流中识别出音频数据和视频数据,对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和该节目信息传输至富执行环境REE中存储器进行存储。
由于该标识器对分离出的音频数据和视频数据进行标识,因而该加密处理器可以在混合流中识别出音频数据和视频数据,进而在加密过程中只对音频数据和视频数据进行加密,而不对节目信息进行加密,将加密后的音视频数据和未经加密的节目信息传输至REE中存储器进行存储,这样可以实现在REE存储器中存储未经加密的节目信息,并且该传输过程不会造成音视频数据的泄露。
在一种可能的实现中,该视频录制装置还包括:
解密处理器,用于从该存储器中获取存储数据,并且对该存储数据中加密后的音视频数据进行解密以得到解密后的音视频数据,该存储数据包括包括该节目信息和加密后的音视频数据;
第二解复用器,用于将解密后的音视频数据进行解复用以得到输出的音视频数据,其中,该输出的音视频数据为待播放的音视频数据。
在一种可能的实现中,该解密处理器,还用于从该存储数据中识别出加密后的音视频数据。
在一种可能的实现中,该视频录制装置还包括:
解扰器,用于从第一解复用器中接收分离出的音视频数据,并且对接收的音视频数据进行解扰以得到解扰后的音视频数据。
相应地,该标识器具体用于:将所述解扰后的音视频数据打上解扰标识,该解扰标识用于指示所述解扰后的音视频数据为解扰后的数据;
相应地,该加密处理器具体用于:根据该解扰标识从该混合流中识别出音频数据和视频数据;
相应地,该解密处理器具体用于:根据该解扰标识从该存储数据中识别出加密后的音视频数据。
在一种可能的实现中,该标识器,还用于对分离出的音频数据和视频数据分别添加校验信息;
该加密处理器,还用于根据分离出的音频数据和视频数据中所添加的校验信息验证接收的该混合流中音频数据和视频数据的完整性通过;
该解密处理器,还用于根据分离出的音频数据和视频数据中所添加的校验信息验证接收的该存储数据中音频数据和视频数据的完整性通过。
通过引入上述验证机制可以进一步保证音视频数据在传输和存储过程中的安全性。
在一种可能的实现方式中,该视频录制装置还包括解析器,用于从该存储器中获取的存储数据中解析出节目信息,以实现对解密后的音频数据和视频数据的播放控制
第二方面,本申请提供一种视频录制方法,包括:
从传输流中分离出节目信息、音频数据和视频数据;
将分离出的音频数据和视频数据进行标识;
从混合流中识别出该音频数据和该视频数据,该混合流由该节目信息、标识后的音频数据和标识后的视频数据组成;
对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和该混合流中节目信息传输至富执行环境REE中存储器进行存储。
由于对分离出的音频数据和视频数据进行标识,因而可以在混合流中识别出音频数据和视频数据,进而在加密过程中只对音频数据和视频数据进行加密,而不对节目信息进行加密,将加密后的音视频数据和未经加密的节目信息传输至REE中存储器进行存储,这样可以实现在REE存储器中存储未经加密的节目信息,并且该传输过程不会造成音视频数据的泄露。
在一种可能的实现中,该录制方法还包括:
从该存储器中获取存储数据,该存储数据包括该节目信息和加密后的音视频数据;
将该存储数据中加密后的音视频数据进行解密以得到解密后的音视频数据;
将解密后的音视频数据进行解复用以得到输出的音视频数据,其中,该输出的音视频数据为待播放的音视频数据。
在一种可能的实现中,在将该存储数据中加密后的音视频数据进行解密之前,该视频录制方法还包括:
从该存储数据中识别出加密后的音视频数据。
在一种可能的实现中,在将分离出的音频数据和视频数据进行标识之前,该视频录制方法还包括:
将分离出的音频数据和视频数据进行解扰以得到解扰后的音视频数据;
相应地,将分离出的音频数据和视频数据进行标识包括:
将解扰后的音视频数据打上解扰标识,该解扰标识用于指示解扰后的音视频数据为解扰后的数据;
相应地,从该混合流中识别出音频数据和视频数据包括:
根据该解扰标识从该混合流中识别出音频数据和视频数据;
相应地,从该存储数据中识别出加密后的音视频数据包括:
根据该解扰标识从该存储数据中识别出加密后的音视频数据。
在一种可能的实现中,在对识别出的音频数据和视频数据进行加密之前,该视频录制方法还包括:
对分离出的音频数据和视频数据分别添加校验信息;
根据分离出的音频数据和视频数据中所添加的校验信息验证该混合流中音频数据和视频数据的完整性通过;
相应地,在将该存储数据中加密后的音视频数据进行解密之前,该视频录制方法还包括:
根据分离出的音频数据和视频数据中所添加的校验信息验证该存储数据中音频数据和视频数据的完整性通过。
通过引入上述验证机制可以进一步保证音视频数据在传输和存储过程中的安全性。
附图说明
图1为本申请提供的数字视频广播DVB结构图;
图2为本申请提供的一种个人视频录制PVR的实现流程;
图3为本申请实施例提供的一种视频录制装置结构图;
图4为本申请实施例提供的又一种个人视频录制PVR的实现流程;
图5为本申请实施例提供的一种视频录制方法的流程图。
具体实施方式
了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。
本申请提供一种视频录制方法及装置,用以解决现有技术中音视频数据存在泄露的问题。其中,方法和装置是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。
本申请中结合图1中数字视频广播(Digital Video Broadcasting,DVB)系统描述各个实施例。典型地,DVB系统可以是机顶盒系统,当然也可以是其他的数字广播系统,本申请对此不做限制。
图3为本申请提供的应用于DVB系统中的视频录制装置300,为更清楚的描述该视频录制装置300中各个组件的功能以及各组件之间的交互,图4提供了视频录制装置300中各组件在REE和TEE中进行交互时的信号流图,因此,在理解该视频录制装置300中各组件功能时可以结合图4来看。
具体地,该视频录制装置300包括:
第一解复用器301,用于从传输流中分离出节目信息、音频数据和视频数据;
其中,节目信息用于给传输流中的媒体内容提供辅助信息,以便得到一个频道的内容,节目信息可以包括频道信息、节目种类、节目时间、节目来源等。
解扰器302,用于将接收的音频数据和视频数据进行解扰以得到解扰后的音频数据和视频数据;
其中,解扰后的音视频数据为待保护的清流数据。
标识器303,用于将解扰后的音频数据和视频数据进行标识,并且将由标识后的音频数据、标识后的视频数据和节目信息组成的混合流传输至加密处理器304;
加密处理器304,用于从混合流中识别音频数据和视频数据,对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和该节目信息作为存储数据传输至富执行环境REE中存储器305进行存储。为方便描述,在图4中用存储数据表示加密后的音视频数据和节目信息。
本申请中,加密处理器304作为加密引擎,是用于提供数据加密服务的硬件逻辑,其可以是集成在处理器上的协处理器,也可以是硬件加密卡,由于加密处理器304通过硬件逻辑实现,其将加密后的音视频数据和节目信息传输至REE中存储器305不会出现数据泄露;同样地,下文中提到的解密处理器306作为解密引擎,是用于提供数据解密服务的硬件逻辑,其可以是集成在处理器上的协处理器,也可以是硬件解密卡。需要说明的是,加密处理器304和解密处理器306可以是一个集成的具有加解密功能的硬件逻辑。
需要说明的是,该存储器305可以内置于该视频录制装置300,也可以位于视频录制装置300之外。
在一个实施例中,该录制装置300还可以实现对存储在存储器305中的音视频数据进行回放,具体地,该录制装置300还包括:
解密处理器306,用于从存储器305中获取由加密后的音视频数据和该节目信息组成的存储数据,从该存储数据中识别出加密后的音视频数据,并且对加密后的音视频数据进行解密以得到解密后的音视频数据;
第二解复用器307,用于将解密后的音视频数据进行解复用以得到输出的音频数据和视频数据,其中,解复用得到的输出的音视频数据为待播放的音视频数据;
需要说明的是,第二解复用器307和第一解复用器301可以是同一个解复用器。
解析器308,用于从存储器305中获取的存储数据中解析出节目信息,以实现对解密后的音频数据和视频数据的播放控制。
在一个实施例中,标识器303可以具体如下实现上述功能:
标识器303将分离出的音频数据和视频数据打上解扰标识,该解扰标识用于指示分离出的音频数据和视频数据为解扰后的数据,比如,解扰标识可以设置为“0”或“1”。
相应地,加密处理器304可以根据该解扰标识从该混合流中识别出音频数据和视频数据。
同样地,解密处理器306可以根据该解扰标识从存储数据中识别出加密后的音视频数据。
在一个实施例中,标识器303还用于对分离出的音频数据和视频数据添加校验信息。该校验信息可以是循环冗余检验CRC、奇偶检验等,本申请对于校验信息不做具体限定。
相应地,加密处理器304还用于根据音频数据和视频数据中所添加的校验信息验证接收的混合流中音频数据和视频数据的完整性,在完整性验证通过时,则表明加密处理器304接收的混合流中音频数据和视频数据在传输过程中没有被篡改,加密处理器304可以执行进一步的加密操作,在完整性验证失败时,则表明加密处理器304接收的混合流中音频数据和视频数据在传输过程中可能被修改。
同样地,解密处理器306还用于根据音频数据和视频数据中所添加的校验信息验证接收的存储数据中音频数据和视频数据的完整性,在完整性验证通过时,则表明解密处理器306接收的存储数据中音频数据和视频数据没有被篡改,解密处理器306可以执行进一步的解密操作,在完整性验证失败时,则表明解密处理器304接收的存储数据中音频数据和视频数据可能被修改。
通过引入上述验证机制可以进一步保证音视频数据在传输和存储过程中的安全性。
在上述录制装置300中,由于可信执行环境TEE中不包含文件系统,录制数据只能存储在REE侧,因此,存储器305位于REE,除了存储器305位于REE侧,第一复用器301和解析器308也位于REE侧;解扰器302、标识器303、加密处理器304、解密处理器306和第二解复用器307则位于TEE侧。在第一解复用器301和第二解复用器307为同一个解复用器时,则第一解复用器301或第二解复用器307既可以工作在TEE又可以工作在REE。
在上述实施例中,由于标识器对分离出的音频数据和视频数据进行标识,因而加密处理器可以在混合流中识别出音频数据和视频数据,进而在加密过程中只对音频数据和视频数据进行加密,而不对节目信息进行加密,将加密后的音视频数据和未经加密的节目信息传输至REE中存储器进行存储,这样可以实现在REE存储器中存储未经加密的节目信息,并且该传输过程不会造成音视频数据的泄露。
基于上述描述,图5为本申请实施例提供的一种视频录制方法500所对应的流程示意图,具体地,该方法包括:
S501、从传输流中分离出节目信息、音频数据和视频数据;
S502、将分离出的音频数据和视频数据进行解扰以得到解扰后的音视频数据;
S503、将解扰后的音频数据和视频数据进行标识;
具体地,将解扰后的音视频数据打上解扰标识,该解扰标识用于指示解扰后的音视频数据为解扰后的数据。
S504、从混合流中识别出音频数据和视频数据,该混合流由该节目信息、标识后的音频数据和标识后的视频数据组成;
具体地,可以根据解扰标识从该混合流中识别出音频数据和视频数据。
S505、对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和该混合流中节目信息传输至REE中存储器进行存储。
在一个实施例中,在将加密后的音视频数据和该混合流中节目信息存储至REE中存储器之后,还可以对存储的音视频数据进行回放,因此,上述视频录制方法还包括:
S506、从该存储器中获取存储数据,该存储数据包括包括该节目信息和加密后的音视频数据;
S507、从该存储数据中识别出加密后的音视频数据;
具体地,可以根据上述解扰标识从存储数据中识别出加密后的音视频数据,对于非音视频数据,比如该节目信息,可以进行丢弃。
S508、将识别出的加密后的音视频数据进行解密以得到解密后的音视频数据;
S509、将解密后的音视频数据进行解复用以得到输出的音视频数据。
其中,输出的音视频数据为待播放的音视频数据。
进一步,REE中存储器存储的节目信息可以在REE中被其他组件,比如解析器,解析出来以实现对输出的音频数据和视频数据的播放控制。
在一个实施例中,为进一步保证音视频数据在传输和存储过程中的安全性,可以引入安全校验机制,具体地,在上述S505步骤中对识别出的音频数据和视频数据进行加密之前,上述视频录制方法还包括:
S510、对分离出的音频数据和视频数据分别添加校验信息;
S511、根据分离出的音频数据和视频数据中所添加的校验信息验证上述混合流中音频数据和视频数据的完整性通过。
在完整性验证通过时,则表明混合流中音频数据和视频数据在传输过程中没有被篡改,因此可以执行进一步的加密操作。
类似地,在上述S508步骤中将存储数据中加密后的音视频数据进行解密之前,上述视频录制方法还包括:
S512、根据分离出的音频数据和视频数据中所添加的校验信息验证该存储数据中音频数据和视频数据的完整性通过。
在完整性验证通过时,则表明存储数据中音频数据和视频数据没有被篡改,可以执行进一步的解密操作。
通过引入上述验证机制可以进一步保证音视频数据在传输和存储过程中的安全性。
在上述实施例中,由于对分离出的音频数据和视频数据进行标识,因而可以在混合流中识别出音频数据和视频数据,进而在加密过程中只对音频数据和视频数据进行加密,而不对节目信息进行加密,将加密后的音视频数据和未经加密的节目信息传输至REE中存储器进行存储,这样可以实现在REE存储器中存储未经加密的节目信息,并且该传输过程不会造成音视频数据的泄露。
本申请实施例描述的各示例的单元及方法过程,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法 来实现所描述的功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个系统,或一些步骤可以忽略,或不执行。此外,各个单元相互之间的耦合或直接耦合或通信连接可以是通过一些接口实现,这些可以是电性、机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,既可以位于一个地方,也可以分布到多个网络单元上。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。

Claims (11)

  1. 一种视频录制装置,其特征在于,包括:
    第一解复用器,用于从传输流中分离出节目信息、音频数据和视频数据;
    标识器,用于将分离出的音频数据和视频数据进行标识,并且将混合流传输至加密处理器,所述混合流由所述节目信息、标识后的音频数据和标识后的视频数据组成;
    所述加密处理器,用于从所述混合流中识别出所述音频数据和所述视频数据,对识别出的音频数据和视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和所述节目信息传输至富执行环境REE中存储器进行存储。
  2. 如权利要求1所述的装置,其特征在于,还包括:
    解密处理器,用于从所述存储器中获取存储数据,并且对所述存储数据中加密后的音视频数据进行解密以得到解密后的音视频数据,所述存储数据包括包括所述节目信息和所述加密后的音视频数据;
    第二解复用器,用于将解密后的音视频数据进行解复用以得到输出的音视频数据。
  3. 如权利要求2所述的装置,其特征在于,
    所述解密处理器,还用于从所述存储数据中识别出加密后的音视频数据。
  4. 如权利要求2或3所述的装置,其特征在于,还包括:
    解扰器,用于从第一解复用器中接收分离出的音视频数据,并且对接收的音视频数据进行解扰以得到解扰后的音视频数据;
    所述标识器具体用于:
    将所述解扰后的音视频数据打上解扰标识,所述解扰标识用于指示所述解扰后的音视频数据为解扰后的数据;
    所述加密处理器具体用于:
    根据所述解扰标识从所述混合流中识别出所述音频数据和所述视频数据;
    所述解密处理器具体用于:
    根据所述解扰标识从所述存储数据中识别出加密后的音视频数据。
  5. 如权利要求2-4任一所述的装置,其特征在于,
    所述标识器,还用于对分离出的音频数据和视频数据分别添加校验信息;
    所述加密处理器,还用于根据所述分离出的音频数据和视频数据中所添加的校验信息验证接收的所述混合流中音频数据和视频数据的完整性通过;
    所述解密处理器,还用于根据所述分离出的音频数据和视频数据中所添加的校验信息验证接收的所述存储数据中音频数据和视频数据的完整性通过。
  6. 一种视频录制方法,其特征在于,包括:
    从传输流中分离出节目信息、音频数据和视频数据;
    将分离出的音频数据和视频数据进行标识;
    从混合流中识别出所述音频数据和所述视频数据,所述混合流由所述节目信息、标识后的音频数据和标识后的视频数据组成;
    对识别出的所述音频数据和所述视频数据进行加密以得到加密后的音视频数据,并且将加密后的音视频数据和所述混合流中节目信息传输至富执行环境REE中存储器进 行存储。
  7. 如权利要求6所述的方法,其特征在于,还包括:
    从所述存储器中获取存储数据,所述存储数据包括包括所述节目信息和所述加密后的音视频数据;
    将所述存储数据中加密后的音视频数据进行解密以得到解密后的音视频数据;
    将所述解密后的音视频数据进行解复用以得到输出的音视频数据。
  8. 如权利要求7所述的方法,其特征在于,所述将所述存储数据中加密后的音视频数据进行解密之前,所述方法还包括:
    从所述存储数据中识别出加密后的音视频数据。
  9. 如权利要求8所述的方法,其特征在于,所述将分离出的音频数据和视频数据进行标识之前,所述方法还包括:
    将所述分离出的音频数据和视频数据进行解扰以得到解扰后的音视频数据;
    所述将分离出的音频数据和视频数据进行标识包括:
    将所述解扰后的音视频数据打上解扰标识,所述解扰标识用于指示所述解扰后的音视频数据为解扰后的数据;
    所述从混合流中识别出所述音频数据和所述视频数据包括:
    根据所述解扰标识从所述混合流中识别出所述音频数据和所述视频数据;
    所述从所述存储数据中识别出加密后的音视频数据包括:
    根据所述解扰标识从所述存储数据中识别出加密后的音视频数据。
  10. 如权利要求7-9任一所述的方法,其特征在于,所述对识别出的所述音频数据和所述视频数据进行加密之前,还包括:
    对所述分离出的音频数据和视频数据分别添加校验信息;
    根据所述分离出的音频数据和视频数据中所添加的校验信息验证所述混合流中音频数据和视频数据的完整性通过;
    所述将所述存储数据中加密后的音视频数据进行解密之前,还包括:
    根据所述分离出的音频数据和视频数据中所添加的校验信息验证所述存储数据中音频数据和视频数据的完整性通过。
  11. 如权利要求2所述的装置或如权利要求7所述的方法,其特征在于,所述输出的音视频数据为待播放的音视频数据。
PCT/CN2018/124135 2017-12-29 2018-12-27 一种视频录制方法及装置 WO2019129116A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18894655.2A EP3700222B1 (en) 2017-12-29 2018-12-27 Video recording method and device
US16/892,033 US11122327B2 (en) 2017-12-29 2020-06-03 Video recording method and video recording apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711490252.7 2017-12-29
CN201711490252.7A CN109996020B (zh) 2017-12-29 2017-12-29 一种视频录制方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/892,033 Continuation US11122327B2 (en) 2017-12-29 2020-06-03 Video recording method and video recording apparatus

Publications (1)

Publication Number Publication Date
WO2019129116A1 true WO2019129116A1 (zh) 2019-07-04

Family

ID=67063165

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124135 WO2019129116A1 (zh) 2017-12-29 2018-12-27 一种视频录制方法及装置

Country Status (4)

Country Link
US (1) US11122327B2 (zh)
EP (1) EP3700222B1 (zh)
CN (1) CN109996020B (zh)
WO (1) WO2019129116A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697744A (zh) * 2020-12-28 2022-07-01 海能达通信股份有限公司 一种视频数据处理方法及相关装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757176B (zh) * 2020-06-11 2021-11-30 青岛海信传媒网络技术有限公司 流媒体文件安全播放方法及显示设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030002577A1 (en) * 2001-06-29 2003-01-02 Pinder Howard G. In a subscriber network receiving digital packets and transmitting digital packets below a predetermined maximum bit rate
US20050047404A1 (en) * 2003-08-27 2005-03-03 Seo-Kyu Kim Method, apparatus and computer program for processing multimedia data signals
CN201450545U (zh) * 2008-12-16 2010-05-05 深圳市同洲电子股份有限公司 一种数字电视接收终端及时分解复用/解扰装置
US7895616B2 (en) * 2001-06-06 2011-02-22 Sony Corporation Reconstitution of program streams split across multiple packet identifiers
CN103686333A (zh) * 2013-12-19 2014-03-26 深圳市九洲电器有限公司 一种音视频保护方法及音视频终端
CN106101754A (zh) * 2016-06-21 2016-11-09 深圳创维数字技术有限公司 一种保护数据传输流的方法及装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754651A (en) * 1996-05-31 1998-05-19 Thomson Consumer Electronics, Inc. Processing and storage of digital data and program specific information
GB0225339D0 (en) 2002-10-31 2002-12-11 Trevor Burke Technology Ltd Method and apparatus for programme generation and classification
MXPA02000078A (es) 2000-04-25 2003-07-21 Hughes Electronics Corp Sistema registrador de video digital.
JP3656248B2 (ja) * 2001-10-09 2005-06-08 ソニー株式会社 ビデオ信号記録装置および方法、ビデオ信号再生装置および方法、記録媒体、プログラム、並びにデータ構造
US8565578B2 (en) 2001-12-06 2013-10-22 Harold J. Plourde, Jr. Dividing and managing time-shift buffering into program specific segments based on defined durations
US7962011B2 (en) 2001-12-06 2011-06-14 Plourde Jr Harold J Controlling substantially constant buffer capacity for personal video recording with consistent user interface of available disk space
JP2003199009A (ja) * 2001-12-26 2003-07-11 Toshiba Corp 蓄積型放送受信装置および方法
US8181205B2 (en) 2002-09-24 2012-05-15 Russ Samuel H PVR channel and PVR IPG information
US7734155B2 (en) 2003-12-08 2010-06-08 Sony Corporation Multimedia home network computer
US7882436B2 (en) 2004-03-10 2011-02-01 Trevor Burke Technology Limited Distribution of video data
JP4438527B2 (ja) * 2004-06-18 2010-03-24 ソニー株式会社 情報管理方法、情報再生装置および情報管理装置
KR100552486B1 (ko) 2004-06-22 2006-02-15 삼성전자주식회사 녹화 상태 표시 장치 및 방법
CN101478544B (zh) * 2009-01-15 2012-01-11 中兴通讯股份有限公司 一种多媒体广播多重加解密的实现方法和装置
CN102164303B (zh) * 2010-02-24 2016-06-22 中兴通讯股份有限公司 视频版权保护方法、系统及视频发布方实体
CN103686214B (zh) * 2013-12-30 2017-09-05 深圳Tcl新技术有限公司 电视节目加密及播放加密电视节目的方法、前端及终端
CN105681882B (zh) * 2016-01-04 2019-04-19 华为技术有限公司 控制视频输出的方法及其装置、控制电路
GB2561367A (en) * 2017-04-11 2018-10-17 Sony Corp Receiving audio and/or video content

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7895616B2 (en) * 2001-06-06 2011-02-22 Sony Corporation Reconstitution of program streams split across multiple packet identifiers
US20030002577A1 (en) * 2001-06-29 2003-01-02 Pinder Howard G. In a subscriber network receiving digital packets and transmitting digital packets below a predetermined maximum bit rate
US20050047404A1 (en) * 2003-08-27 2005-03-03 Seo-Kyu Kim Method, apparatus and computer program for processing multimedia data signals
CN201450545U (zh) * 2008-12-16 2010-05-05 深圳市同洲电子股份有限公司 一种数字电视接收终端及时分解复用/解扰装置
CN103686333A (zh) * 2013-12-19 2014-03-26 深圳市九洲电器有限公司 一种音视频保护方法及音视频终端
CN106101754A (zh) * 2016-06-21 2016-11-09 深圳创维数字技术有限公司 一种保护数据传输流的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3700222A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697744A (zh) * 2020-12-28 2022-07-01 海能达通信股份有限公司 一种视频数据处理方法及相关装置
CN114697744B (zh) * 2020-12-28 2023-12-19 海能达通信股份有限公司 一种视频数据处理方法及相关装置

Also Published As

Publication number Publication date
CN109996020B (zh) 2021-08-13
EP3700222A1 (en) 2020-08-26
EP3700222A4 (en) 2020-08-26
US20200296447A1 (en) 2020-09-17
EP3700222B1 (en) 2023-01-25
US11122327B2 (en) 2021-09-14
CN109996020A (zh) 2019-07-09

Similar Documents

Publication Publication Date Title
JP4698106B2 (ja) 送信された情報をコピー保護するシステム及び方法
US8130965B2 (en) Retrieval and transfer of encrypted hard drive content from DVR set-top boxes to a content transcription device
CA2577633C (en) Utilization of encrypted hard drive content by one dvr set-top box when recorded by another
US8601590B2 (en) Content distribution system
JP3651732B2 (ja) 再生装置
JP4746725B1 (ja) コンテンツ受信装置、コンテンツ再生装置、コンテンツ受信再生装置、コンテンツ受信方法、及びプログラム
JP2005244992A (ja) 暗号化された放送データのための制限受信機能と複製防止機能とを備える装置及び方法
JP2003008566A (ja) 通信ネットワーク内で対称鍵を管理する処理及び、この処理を実行する装置
WO2012139481A1 (zh) 一种基于条件接收技术的终端
US20100008502A1 (en) Content distribution system, content reception terminal, content distribution method and processing method performed when viewing streaming contents
TW518567B (en) Information outputting apparatus and information outputting method, information recording apparatus and information recording method, information outputting recording system and information recording medium
US11122327B2 (en) Video recording method and video recording apparatus
US20090190753A1 (en) Recording apparatus and recording method
US20130276150A1 (en) Output Control Method
JP4299801B2 (ja) データ伝送方法および電子機器
JPH11331803A (ja) 暗号化方法、暗号化装置、およびデジタルコンテンツ再生装置
JP4422437B2 (ja) ライセンス情報送信装置およびライセンス情報受信装置
JP5361031B2 (ja) 暗号認証処理方法及び装置
JP2006293642A (ja) 通信システム、通信装置、制御方法及びプログラム
JP5039769B2 (ja) コンテンツ送受信システム、コンテンツ送信装置、およびコンテンツ送信方法
JP2008165975A (ja) デジタル放送信号記録再生装置およびデジタル放送信号記録再生方法
KR101852999B1 (ko) 방송 수신 장치, 방송 수신 장치의 동작 방법, 제한 수신 모듈 및 제한 수신 모듈의 동작 방법
KR100959708B1 (ko) 트릭 모드 재생 방법, 트릭 모드 전송 스트림 생성 방법및 트릭 모드 재생 시스템
JP4747202B2 (ja) デジタル信号出力装置およびデジタル信号出力方法
JP4751953B2 (ja) デジタル信号出力装置およびデジタル信号出力方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18894655

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018894655

Country of ref document: EP

Effective date: 20200518

NENP Non-entry into the national phase

Ref country code: DE