CN105915493A - Audio and video real-time transmission method and device and audio and video real-time playing method and device - Google Patents

Audio and video real-time transmission method and device and audio and video real-time playing method and device Download PDF

Info

Publication number
CN105915493A
CN105915493A CN201510886024.6A CN201510886024A CN105915493A CN 105915493 A CN105915493 A CN 105915493A CN 201510886024 A CN201510886024 A CN 201510886024A CN 105915493 A CN105915493 A CN 105915493A
Authority
CN
China
Prior art keywords
program
video
primary flow
specific information
audio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510886024.6A
Other languages
Chinese (zh)
Inventor
郑吉剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510886024.6A priority Critical patent/CN105915493A/en
Priority to PCT/CN2016/096990 priority patent/WO2017092434A1/en
Publication of CN105915493A publication Critical patent/CN105915493A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • 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 or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • H04N21/23476Processing 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
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2368Multiplexing of audio and video streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides an audio and video real-time transmission method comprising the steps that grouped original video stream and grouped original audio stream are multiplexed and then stored as program slices; program specific information is encrypted and stored as program specific information slices; and the program specific information and program slices are transmitted. The embodiment of the invention also provides the audio and video real-time transmission method and an audio and video real-time playing method and device. The computation burden of encryption and decryption in the prior art can be reduced by the audio and video real-time transmission method and device and the audio and video real-time playing method and device.

Description

Audio frequency and video live transmission method and device, audio frequency and video real time playing method and device
Technical field
The present embodiments relate to technical field of audio/video, particularly relate to a kind of audio frequency and video live transmission method And device, audio frequency and video real time playing method and device.
Background technology
HLS (HTTP Live Streaming) agreement is that Apple develops, and is used in network direct broadcasting With the extension http protocol in program request scene, this agreement uses transmission stream (Transport Stream, TS) Mode encapsulation of data.Each transmission stream carries the data such as video (Video), audio frequency (Audio) Information, and carry Program Association Table (Program Association Table, PAT), program map The stream index information such as table (Program Map Table, PMT).
Supporting in HLS protocol to be encrypted the section of transmission stream, encipherment scheme of the prior art is right Each section will be encrypted, and therefore the operand of this cipher mode is relatively big, and receiving terminal is in deciphering luck Calculation amount also can increase accordingly.Thus, the encipherment scheme of prior art, if to ensure the quality of transmission, Need single hardware enciphering and deciphering device support, or require that CPU has stronger disposal ability.
Summary of the invention
The embodiment of the present invention provides a kind of audio frequency and video live transmission method and device, audio frequency and video real-time play side Method and device, the technical problem excessive in order to solve the operand encrypting in prior art and decipher.
The embodiment of the present invention provides a kind of audio frequency and video live transmission method, including:
Program section will be stored as after the video primary flow of packet and the audio frequency primary flow multiplexing of packet;
Program Specific Information is encrypted, and is stored as Program Specific Information section;
Transmit described Program Specific Information and the section of described program.
Further, described be encrypted Program Specific Information includes Program Association Table and program map Table is encrypted.
Further, described by storage after the video primary flow of packet and the audio frequency primary flow multiplexing of packet Also include before step for program section:
Video primary flow and audio frequency primary flow are packaged as respectively video primary flow and the audio frequency of packet of packet The step of primary flow.
Further, the described video being packaged as respectively being grouped by video primary flow and audio frequency primary flow is original Also include before the step of the audio frequency primary flow of stream and packet:
Video data and video data are separately encoded and are formed described video primary flow and described audio frequency is original The step of stream.
The present invention also provides for a kind of audio frequency and video real time playing method, including:
Download the Program Specific Information section after encryption;
Decipher the section of the Program Specific Information after described encryption, the Program Specific Information after being deciphered;
Program downloading is cut into slices, and resolves the section of described program according to the Program Specific Information after described deciphering.
Further, after described encryption Program Specific Information section include encryption after Program Association Table and Program Map Table after encryption.
Further, the Program Specific Information section after the described encryption of described deciphering includes: add described in deciphering Program Association Table after close and the Program Map Table after encryption.
The present invention provides a kind of audio frequency and video real-time Transmission device, including:
Encrypting module, for being encrypted Program Specific Information, and is stored as Program Specific Information section;
Multiplexer, for being stored as after the video primary flow of packet and the audio frequency primary flow multiplexing of packet Program is cut into slices;
Transport module, is used for transmitting described Program Specific Information and the section of described program.
Further, described be encrypted Program Specific Information includes Program Association Table and program map Table is encrypted.
Further, video packetizer and audio packet device are also included:
Described video packetizer, for being packaged as the video primary flow of packet by video primary flow;
Described audio packet device, for being packaged as the audio frequency primary flow of packet by audio frequency primary flow.
Further, video encoder and audio coder are also included:
Described video encoder, for forming described video primary flow by video data encoding;
Described audio coder, for forming described audio frequency primary flow by audio data coding.
The present invention provides a kind of audio frequency and video real-time play device, including:
First download module, the Program Specific Information section after downloading encryption;
Deciphering module, the Program Specific Information section after deciphering described encryption, the joint after being deciphered Mesh customizing messages;
Second download module, cuts into slices for program downloading, and according to the Program Specific Information after described deciphering Resolve the section of described program.
Further, after described encryption Program Specific Information section include encryption after Program Association Table and Program Map Table after encryption.
Further, after described deciphering module is additionally operable to the Program Association Table after deciphering described encryption and encryption Program Map Table.
The audio frequency and video live transmission method of embodiment of the present invention offer and device, audio frequency and video real time playing method And device, it is not necessary to each section is encrypted and deciphers, the encryption of transmission ends can be reduced simultaneously Operand, and reduce the deciphering operand of receiving terminal.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the form schematic diagram of the section transmitting stream in prior art;
Fig. 2 is the form signal of the program section of the embodiment of the present invention a kind of audio frequency and video live transmission method Figure;
Fig. 3 is the lattice of the Program Specific Information section of the embodiment of the present invention a kind of audio frequency and video live transmission method Formula schematic diagram;
Fig. 4 is the composition signal of the bag of the section of the embodiment of the present invention a kind of audio frequency and video live transmission method;
Fig. 5 is the flow chart of the embodiment of the present invention a kind of audio frequency and video live transmission method;
Fig. 6 is the flow chart of the embodiment of the present invention a kind of audio frequency and video real time playing method;
Fig. 7 is the structural representation of the embodiment of the present invention a kind of audio frequency and video real-time Transmission device;
Fig. 8 is the structural representation of the embodiment of the present invention a kind of audio frequency and video real-time play device.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
For better illustrating technical scheme and produced beneficial effect, the present invention of the embodiment of the present invention To first introduce the form of the section transmitting stream in prior art.
Fig. 1 is the form schematic diagram of the section transmitting stream in prior art.
Transmission stream is the encapsulation format of hierarchical, needs first to find Program Association Table, to obtain in transmission stream The quantity of Program Map Table, obtains the quantity of program in transmission stream with this, and each of which opens Program Map Table A corresponding program, then obtains the video bag indications (Packet of program further according to Program Map Table Identification, PID) and audio pack indications.
According to the regulation of HLS protocol, long program is generally cut out when being divided into multiple a length of 10 The section of second.Therefore, transmitting the section of stream in prior art, user receives transmission stream at any time for convenience And ensure the audio, video data in section not by bootlegging broadcasting, transmission ends is periodically by Program Association Table and joint Mesh mapping table is inserted in the section of transmission stream, and is encrypted each section;Thus cause The section of transmission stream of the prior art includes that more than at least two encrypted Program Association Tables and program reflect Firing table, receiving terminal is receiving all programs pass needed also exist for after receiving section in cutting into slices each Connection table and Program Map Table are decrypted.
Such as, in Fig. 1, a program is cut into n section, and user A can be from Program Association Table Receiving at 1, user B can receive at Program Association Table n, to find Program Map Table nearby, from And facilitate live;Due to transmission ends in transmitting procedure to Program Association Table 1 to n and Program Map Table 1 to n is all encrypted, and therefore receiving terminal is receiving Program Association Table 1 to n and the joint of encryption Mesh mapping table 1 to n is also required for being decrypted.Therefore, during prior art significantly increases transmission stream Redundant data.
The present inventor, in finding in each section after long-time research, is not required to week The insertion Program Association Table of phase property and Program Map Table, and only need Program Association Table and Program Map Table Individually pack and encrypt, it is possible to reaching both can keep and transmission stream compatibility of the prior art, again simultaneously Reduce the effect of the redundant data transmitted in stream.
Hereinafter the form that the present invention is transmitted the section of stream is illustrated.
Fig. 2 is the form signal of the program section of the embodiment of the present invention a kind of audio frequency and video live transmission method Figure.
Transmission stream in the embodiment of the present invention is a kind of stream based on bag, if each group of transmission stream is divided into Dry section, it should be noted that the form that illustrate only a section in Fig. 3, the form of other section In fact similar with the section form in Fig. 2.
Program section in the embodiment of the present invention includes 1, wraps 2 ... bag n-1, bag n, and each Program section does not the most include Program Association Table and Program Map Table.
Fig. 3 is the lattice of the Program Specific Information section of the embodiment of the present invention a kind of audio frequency and video live transmission method Formula schematic diagram.
In the present embodiment Program Specific Information section only include encryption after Program Association Table and program reflect Firing table the two Program Specific Information, and do not comprise video data and voice data.Program Specific Information is cut Sheet can be stored as the file of the entitled init.ts of file.
Fig. 4 is the composition signal of the bag of the section of the embodiment of the present invention a kind of audio frequency and video live transmission method Figure.
Section shown in the present embodiment can be Program Specific Information section can also be program section, Each section all includes that packet header and data, each bag are 188 bytes or 204 bytes, wherein 204 The bag of individual byte is that the CRC check data adding 16 bytes after the bag of 188 bytes are formed.
Packet header can also include that extend uses district certainly, and packet header length accounts for 4 bytes, from using district and bag Data account for 184 bytes altogether.Packet header includes sync byte, transmission error code designator, PU Payload Unit Start indicator, transmission preferences, bag identifier, transmission scrambling control, self adaptation district control and count continuously Number device 8 part composition.
Wherein it is possible to by the automatic correlation properties of the bit string of sync byte, the bag limit in detection data stream System, sets up bag and synchronizes;Transmission error code designator, when having referred to indelible error code, uses error code school Positive decoder can represent the error code of 1, but cannot correct this error code;PU Payload Unit start indicator, Represent whether this bag exists the start information determined;Transmission preferences is with then giving bag allocation priority;Bao Biao Show that identifier value is determined by user, by decoder according to the different primary flow (Elementary of bag indications difference Stream, ES) bag, to rebuild primary flow;Transmission scrambling control may be used to indicate whether bag content adds Disturb;Self adaptation district controls to be intended to indicate that whether self adaptation district, generally represents with 2, such as " 01 " Indicate useful information, but without self adaptation district, " 10 " indicate without useful information, and have self adaptation district, " 11 " Indicating useful information and have self adaptation district, " 00 " indicates without definition;Continuous counter can be to bag indications Transmitting sequential counting, according to the reading of continuous counter, receiving terminal can decide whether packet loss and bag Transmit sequence error.Sum it up, packet header has synchronization, identification, error detection and encryption function to transmission stream.
Additionally, bag indications is the unique recognition marks in transmission stream, the data content in bag is to be marked by bag Show that symbol determines.If the bag indications in the packet header of a bag in a transmission stream is 0, then this bag Data content be exactly Program Association Table, if not 0, it is simply that video data, voice data, program Mapping table, or other types data.
Fig. 5 is the flow chart of the embodiment of the present invention a kind of audio frequency and video live transmission method.
The real-time Transmission of audio frequency and video includes the real-time Transmission to video data and the real-time biography to voice data Defeated, it is therefore desirable to video primary flow and audio frequency primary flow to be packaged as the video primary flow of packet respectively and divides The audio frequency primary flow of group;Then by after the video primary flow of packet, and the audio frequency primary flow multiplexing of packet It is stored as program section;In addition, the present embodiment also needs to divide Program Association Table and Program Map Table Pack after not being encrypted, specific as follows:
Specifically comprising the following steps that of the packing of the video primary flow of packet
S101: video data encoding is formed video primary flow (Elementary Stream, ES);
Video primary flow is the original base code stream exported by encoder, comprises only necessary to decoder, And the information being close with original image.Video primary flow after coding can be MPEG-2 or MPEG-4 Form, it is also possible to being H.264 form or extended formatting, this is not construed as limiting by the present invention.
S102: video primary flow is packaged as packet video primary flow (Packet Elemental Stream, PES);
The video primary flow of packet, is to exist, mainly at video primary flow with the data packet form of segmentation On added the descriptive information to Frame such as timestamp, the video primary flow of packet provide standard packet header and Packaging method, and the time tag of decoding is provided.
Specifically comprising the following steps that of the packing of the audio frequency primary flow of packet
S201: audio data coding is formed audio frequency primary flow;
If digital audio and video signals directly transmits not compressedly, it will take great bandwidth, because of This needs to use audio compression techniques to process voice data, could effectively transmit voice data. Audio coding mode in this step can be MPEG-1 audio coding, it is also possible to be MPEG-2 AAC (Advanced Audio Coding) encodes, and this is not construed as limiting by the present invention.
S202: video primary flow is packaged as the audio frequency primary flow of packet.
202 audio frequency primary flow sections of being divided into of audio packet device or packing in groups, and add corresponding Header file is packed into the audio frequency primary flow of packet, can be discontinuous between bag and the bag of audio frequency primary flow 's.
After the audio frequency primary flow of the video primary flow of packet, packet of having packed, enter step S300;
S300: program section will be stored as after the video primary flow of packet and the audio frequency primary flow multiplexing of packet.
S400 is the packing of Program Specific Information section, particularly as follows: Program Specific Information is encrypted, And it is stored as Program Specific Information section.Program Specific Information is encrypted include Program Association Table and Program Map Table is encrypted.
Finally enter step S500: transmission Program Specific Information and program are cut into slices.
Fig. 6 is the flow chart of the embodiment of the present invention a kind of audio frequency and video real time playing method.
S301: download the Program Specific Information section after encryption;Program Specific Information section bag after encryption Include the Program Association Table after encryption and the Program Map Table after encryption.
S302: decipher the section of the Program Specific Information after described encryption, the specific letter of program after being deciphered Breath;Specifically, the Program Specific Information section after deciphering encryption includes: the program after deciphering encryption closes Program Map Table after connection table and encryption.
S303: program downloading is cut into slices, and resolves described program according to the Program Specific Information after described deciphering Section.Resolving particularly as follows:
First, Program Association Table is resolved, to obtain the bag indications of Program Map Table;In the present embodiment First resolving bag indications is the Program Association Table of 0, to obtain the bag indications of Program Map Table.
Then, according to the bag indications searching programs mapping table of mapping table;In the present embodiment, program reflects The quantity of firing table is equal to the quantity of program.
Secondly, according to bag indications and the bag indications of voice data of Program Map Table search video data; In the present embodiment, the bag indications of search video data and the bag indications of voice data are contemplated to obtain Take video data and voice data.
Finally, according to bag indications and the bag indications of voice data of video data, resolve video data And voice data.
Above-mentioned resolving is to be completed by receiving terminal, and receiving terminal is usually consumption electronic products, Ke Yiwei Intelligent television, Set Top Box, projector, video player, personal computer, smart mobile phone, flat board electricity Brain etc..
Fig. 7 is the structural representation of the embodiment of the present invention a kind of audio frequency and video real-time Transmission device.
The audio frequency and video real-time Transmission device 10 of the embodiment of the present invention includes: video encoder 101, audio frequency are compiled Code device 201, video packetizer 102, audio packet device 202, multiplexer 300, encrypting module 400, And transport module 500.
Video data and voice data owing to collecting are analog data, it is therefore desirable to be sampled, Quantify and compressed encoding forms video primary flow and audio frequency primary flow, video primary flow and audio frequency primary flow are The continuous bit stream of not segmentation.
Video encoder 101 for forming video primary flow by video data encoding.In the present embodiment, Video primary flow includes multiple access unit, and each accesses the coded data that unit is piece image.This The Video coding mode of invention can use transition coding, entropy code, Motion estimation and compensation, or Person is that hybrid coding mode encodes, and this is not construed as limiting by the present invention.
Audio coder 201 for being separately encoded formation audio frequency primary flow by voice data.At the present embodiment In, if digital audio and video signals directly transmits not compressedly, it will take great bandwidth, because of This needs to use audio compression techniques to process voice data, could effectively transmit voice data. Digital Audio Compression Coding is on the premise of ensureing that signal does not produces distortion in terms of audition, to voice data Signal carries out the biggest compression.Digital Audio Compression Coding is taked to remove existence of redundant in acoustical signal Method realize.The audio coding mode of the present invention can be waveform coding, parameter coding, or mixed Compiling in collaboration with code, this is not construed as limiting by the present invention.
Video packetizer 102 for being packaged as the video primary flow of packet by video primary flow.In details of the words, 102 video primary flow sections of being divided into of video packetizer or packing in groups, and add corresponding head literary composition Part is packed into the video primary flow of packet, can be discontinuous between bag and the bag of video primary flow.
Audio packet device 202 for being packaged as the audio frequency primary flow of packet by audio frequency primary flow.In details of the words, 202 audio frequency primary flow sections of being divided into of audio packet device or packing in groups, and add corresponding head literary composition Part is packed into the audio frequency primary flow of packet, can be discontinuous between bag and the bag of audio frequency primary flow.
Multiplexer 300 is for storing after the video primary flow of packet and the audio frequency primary flow multiplexing of packet Cut into slices for program, and transmission Program Specific Information and program are cut into slices.In the present embodiment, multiplexer 300 When transmission by Program Association Table, Program Map Table, the video primary flow of packet, and the audio frequency of packet Primary flow is packaged into the section that regular length is 188 bytes.
Encrypting module 400 is for being encrypted Program Specific Information, and is stored as Program Specific Information and cuts Sheet.Program Specific Information is encrypted by the present embodiment, including to Program Association Table and Program Map Table Encryption.
Transport module 500 is used for transmitting Program Specific Information and program section.
The above-mentioned audio frequency and video real-time Transmission device 100 that the embodiment of the present invention provides can have in actual applications Body is applied in electronic equipment, can pass through hardware processor (hardware processor) and realize phase Closing functional module, this electronic equipment is usually all kinds of video server.
Fig. 8 is the structural representation of the embodiment of the present invention a kind of audio frequency and video real-time play device.
Embodiment of the present invention one audio frequency and video real-time play device 400 includes the first download module 401, solves Close module 402, and the second download module 403.
The Program Specific Information section after downloading encryption of first download module 401;Program after encryption Customizing messages section includes the Program Association Table after encryption and the Program Map Table after encryption.
The deciphering module 402 Program Specific Information section after deciphering encryption, the program after being deciphered Customizing messages;Owing to the Program Specific Information section after encryption includes the Program Association Table after encryption and encryption After Program Map Table, therefore deciphering module 402 be additionally operable to deciphering encryption after Program Association Table and encryption After Program Map Table.
Second download module 403 is cut into slices for program downloading, and according to the Program Specific Information solution after deciphering Analysis program section.
By the technique scheme of the embodiment of the present invention, it is not necessary to periodically insert Program Association Table and Program Map Table, and only need Program Association Table and Program Map Table individually pack and encrypt, it is possible to Reach both can keep and transmission stream compatibility of the prior art, reduce the redundant data in transmission stream the most simultaneously Effect.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. an audio frequency and video live transmission method, it is characterised in that including:
Program section will be stored as after the video primary flow of packet and the audio frequency primary flow multiplexing of packet;
Program Specific Information is encrypted, and is stored as Program Specific Information section;
Transmit described Program Specific Information and the section of described program.
Method the most according to claim 1, it is characterised in that
Described be encrypted Program Specific Information includes: encrypt Program Association Table and Program Map Table.
Method the most according to claim 2, it is characterised in that the described video primary flow by packet And also include before being stored as the step of program section after the audio frequency primary flow multiplexing of packet:
Video primary flow and audio frequency primary flow are packaged as respectively video primary flow and the audio frequency of packet of packet The step of primary flow.
Method the most according to claim 3, it is characterised in that described by video primary flow and audio frequency Also wrap before the step of the audio frequency primary flow that primary flow is packaged as video primary flow and the packet being grouped respectively Include:
Video data and video data are separately encoded and are formed described video primary flow and described audio frequency is original The step of stream.
5. an audio frequency and video real time playing method, it is characterised in that including:
Download the Program Specific Information section after encryption;
Decipher the section of the Program Specific Information after described encryption, the Program Specific Information after being deciphered;
Program downloading is cut into slices, and resolves the section of described program according to the Program Specific Information after described deciphering.
Method the most according to claim 5, it is characterised in that
Program Specific Information section after described encryption includes the Program Association Table after encryption and the joint after encryption Mesh mapping table.
Method the most according to claim 6, it is characterised in that the joint after the described encryption of described deciphering The section of mesh customizing messages includes:
Decipher the Program Association Table after described encryption and the Program Map Table after encryption.
8. an audio frequency and video real-time Transmission device, it is characterised in that including:
Encrypting module, for being encrypted Program Specific Information, and is stored as Program Specific Information section;
Multiplexer, for being stored as after the video primary flow of packet and the audio frequency primary flow multiplexing of packet Program is cut into slices;
Transport module, is used for transmitting described Program Specific Information and the section of described program.
Device the most according to claim 8, it is characterised in that
Described be encrypted Program Specific Information includes: encrypt Program Association Table and Program Map Table.
Device the most according to claim 9, it is characterised in that also include video packetizer and sound Frequently burster:
Described video packetizer, for being packaged as the video primary flow of packet by video primary flow;
Described audio packet device, for being packaged as the audio frequency primary flow of packet by audio frequency primary flow.
11. devices according to claim 10, it is characterised in that also include video encoder and sound Frequently encoder:
Described video encoder, for forming described video primary flow by video data encoding;
Described audio coder, for forming described audio frequency primary flow by audio data coding.
12. 1 kinds of audio frequency and video real-time play devices, it is characterised in that including:
First download module, the Program Specific Information section after downloading encryption;
Deciphering module, the Program Specific Information section after deciphering described encryption, the joint after being deciphered Mesh customizing messages;
Second download module, cuts into slices for program downloading, and according to the Program Specific Information after described deciphering Resolve the section of described program.
13. devices according to claim 12, it is characterised in that
Program Specific Information section after described encryption includes: after Program Association Table after encryption and encryption Program Map Table.
14. devices according to claim 13, it is characterised in that described deciphering module is additionally operable to solve Program Association Table after close described encryption and the Program Map Table after encryption.
CN201510886024.6A 2015-12-03 2015-12-03 Audio and video real-time transmission method and device and audio and video real-time playing method and device Pending CN105915493A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510886024.6A CN105915493A (en) 2015-12-03 2015-12-03 Audio and video real-time transmission method and device and audio and video real-time playing method and device
PCT/CN2016/096990 WO2017092434A1 (en) 2015-12-03 2016-08-26 Method and device for audio/video real-time transmission, method and device for audio/video real-time playback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510886024.6A CN105915493A (en) 2015-12-03 2015-12-03 Audio and video real-time transmission method and device and audio and video real-time playing method and device

Publications (1)

Publication Number Publication Date
CN105915493A true CN105915493A (en) 2016-08-31

Family

ID=56744049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510886024.6A Pending CN105915493A (en) 2015-12-03 2015-12-03 Audio and video real-time transmission method and device and audio and video real-time playing method and device

Country Status (2)

Country Link
CN (1) CN105915493A (en)
WO (1) WO2017092434A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342098A (en) * 2017-07-20 2017-11-10 青岛海信电器股份有限公司 Audio frequency playing method and device
CN109561345A (en) * 2018-12-14 2019-04-02 上海文广科技(集团)有限公司 Digital movie packaging method based on AVS+ coded format
CN110809191A (en) * 2019-10-08 2020-02-18 烽火通信科技股份有限公司 Video tamper-proofing method and system based on index verification and real-time package conversion
CN111885412A (en) * 2020-07-06 2020-11-03 深圳市宝泽科技有限公司 HDMI signal screen transmission method and wireless screen transmission device
CN112954673A (en) * 2021-02-03 2021-06-11 深圳市长丰影像器材有限公司 Encryption method for wireless microphone channel

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449349B (en) * 2020-10-30 2023-07-25 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN114640866B (en) * 2022-05-18 2022-08-16 电子科技大学成都学院 Multichannel encryption method, device and system based on random dynamics
CN115412741A (en) * 2022-08-31 2022-11-29 北京奇艺世纪科技有限公司 Data packaging method, data analyzing method, data packaging device, data analyzing device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623327A (en) * 2002-01-02 2005-06-01 索尼电子有限公司 Partial encryption and PID mapping
CN101360226A (en) * 2007-12-14 2009-02-04 华亚微电子(上海)有限公司 Transmission control method of digital television transmission stream and apparatus thereof
CN102547401A (en) * 2010-12-28 2012-07-04 索尼公司 On-demand switched content encryption
CN104918108A (en) * 2015-06-09 2015-09-16 烽火通信科技股份有限公司 Video accurate positioning device and method based on HLS (HTTP Live Streaming) protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2034729A2 (en) * 2007-06-21 2009-03-11 Panasonic Corporation Transmitting apparatus, receiving apparatus, and transmitting and receiving apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623327A (en) * 2002-01-02 2005-06-01 索尼电子有限公司 Partial encryption and PID mapping
CN101360226A (en) * 2007-12-14 2009-02-04 华亚微电子(上海)有限公司 Transmission control method of digital television transmission stream and apparatus thereof
CN102547401A (en) * 2010-12-28 2012-07-04 索尼公司 On-demand switched content encryption
CN104918108A (en) * 2015-06-09 2015-09-16 烽火通信科技股份有限公司 Video accurate positioning device and method based on HLS (HTTP Live Streaming) protocol

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342098A (en) * 2017-07-20 2017-11-10 青岛海信电器股份有限公司 Audio frequency playing method and device
CN107342098B (en) * 2017-07-20 2019-11-26 青岛海信电器股份有限公司 Audio frequency playing method and device
CN109561345A (en) * 2018-12-14 2019-04-02 上海文广科技(集团)有限公司 Digital movie packaging method based on AVS+ coded format
CN109561345B (en) * 2018-12-14 2021-08-03 上海文广科技(集团)有限公司 Digital movie packaging method based on AVS + coding format
CN110809191A (en) * 2019-10-08 2020-02-18 烽火通信科技股份有限公司 Video tamper-proofing method and system based on index verification and real-time package conversion
CN110809191B (en) * 2019-10-08 2022-01-07 烽火通信科技股份有限公司 Video tamper-proofing method and system based on index verification and real-time package conversion
CN111885412A (en) * 2020-07-06 2020-11-03 深圳市宝泽科技有限公司 HDMI signal screen transmission method and wireless screen transmission device
CN111885412B (en) * 2020-07-06 2022-08-09 深圳市宝泽科技有限公司 HDMI signal screen transmission method and wireless screen transmission device
CN112954673A (en) * 2021-02-03 2021-06-11 深圳市长丰影像器材有限公司 Encryption method for wireless microphone channel
CN112954673B (en) * 2021-02-03 2023-08-01 深圳市长丰影像器材有限公司 Encryption method for wireless microphone channel

Also Published As

Publication number Publication date
WO2017092434A1 (en) 2017-06-08

Similar Documents

Publication Publication Date Title
CN105915493A (en) Audio and video real-time transmission method and device and audio and video real-time playing method and device
KR101973544B1 (en) Method and apparatus for transmitting/receiving hybrid media content in a multimedia system
CA2904115C (en) Transmission apparatus, transmission method, reception apparatus, and reception method
CN105230006B (en) Store method, reproducting method, save set and transcriber
RU2492587C2 (en) Apparatus and method for storing and reading file, having media data storage and metadata storage
CN109413447B (en) ISO-BMFF event box bearer in MPEG-2 transport stream
US12010362B2 (en) Systems and methods for protecting elementary bitstreams incorporating independently encoded tiles
CN105144724A (en) Transmission method
CN107005732A (en) Sending method, method of reseptance, dispensing device and reception device
KR20130035155A (en) Method and apparatus for transmitting and receiving content
JP2009505515A (en) Protecting basic stream content
JP7074178B2 (en) Transmitter, transmit method, receiver and receive method
JP2007060286A (en) Content-editing device and reproducing device thereof
MXPA06003801A (en) Container format for multimedia presentations.
CN105379290A (en) Transmission method, reception method, transmitter apparatus, and receiver apparatus
CN105393547A (en) Transmission method, reception method, transmission device, and reception device
US20180302674A1 (en) File generating method and file generating apparatus
CN102984548A (en) 3D video coding transmission method and apparatus
CN105916011A (en) Video real-time playing method and device
CN105898353A (en) Real-time audio and video transmission method and device, transmission stream packaging method and multiplexer
KR20150000844A (en) Method and apparatus for converting a content in a multimedia system
KR20110117568A (en) Method and apparatus for transmitting/receiving service discovery information in a multimedia transmission system
CN118471236A (en) Audio encoding and decoding method, device, equipment and medium
JP2006135569A (en) Data distributing method and information processing apparatus
CN113873275A (en) Video media data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831