[go: up one dir, main page]

CN101312531B - Stream service transmission method in broadcast system and stream media frame encapsulation device - Google Patents

Stream service transmission method in broadcast system and stream media frame encapsulation device Download PDF

Info

Publication number
CN101312531B
CN101312531B CN 200710167245 CN200710167245A CN101312531B CN 101312531 B CN101312531 B CN 101312531B CN 200710167245 CN200710167245 CN 200710167245 CN 200710167245 A CN200710167245 A CN 200710167245A CN 101312531 B CN101312531 B CN 101312531B
Authority
CN
China
Prior art keywords
streaming media
frame
information
data packet
flow
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.)
Expired - Fee Related
Application number
CN 200710167245
Other languages
Chinese (zh)
Other versions
CN101312531A (en
Inventor
张辉
王西强
郭洛玮
邹畅捷
吕义柱
李慧镝
王志飞
谭靖
张晓伟
黄月生
魏英钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innofidei Technology Co Ltd
Original Assignee
Innofidei Technology 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 Innofidei Technology Co Ltd filed Critical Innofidei Technology Co Ltd
Priority to CN 200710167245 priority Critical patent/CN101312531B/en
Publication of CN101312531A publication Critical patent/CN101312531A/en
Application granted granted Critical
Publication of CN101312531B publication Critical patent/CN101312531B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a flow media service transmission method and a corresponding flow media frame packaging device, applied in a broadcast system, belonging to the broadcast system technical field. The flow media service transmission method comprises steps that: the flow media frame packaging device at the network side of a broadcast system packages the flow media data packet according to its intrinsic data format, adds the frame head information to generate a flow media frame, and transmits the flow media frame via a broadcast network to a wireless terminal. The invention can keep the intrinsic format of a flow media data packet and adopts the package method of small data packet to be transmitted by a flow media frame method, thereby reading the data correctly and effectively and improving the utilization of channel resource. The invention is adaptive to the transmission of flow media data of various formats, having simple technique system and better expansibility. The invention is compatible with the prior IPTV and 3G application and can share technique platforms.

Description

Streaming media service transmission method in a kind of broadcast system and Streaming Media frame encapsulation device
Technical field
The present invention relates to radio transmission technical field, relate in particular to streaming media service transmission method and Streaming Media frame encapsulation device in a kind of broadcast system.
Background technology
The transmission demand that has a large amount of audio, video datas in digital television broadcasting, mobile multimedia technical field, for example live game coverage in real time, online film are looked broadcast, rolling news report etc.Stream media technology becomes a kind of important technical of audio frequency and video technology because of its characteristics of playing in real time.
In the existing broadcast system, adopt multiplex mode transmission tone video data usually, broadcast channel frame is made of a plurality of multiplexed frames, and each multiplexed frame is made up of multiplexing packet header, one or more multiplexed sub frame and filling again.As shown in Figure 1, each multiplexed sub frame is made up of sub-packet header, video-frequency band, audio section and data segment again, wherein, comprises some control informations again and keep the position in sub-packet header.Usually, 1 multiplexed sub frame is 1 second data code flow of 1 cover video-audio program, and wherein, the video code flow size is 384kbit, and the audio code stream size is 64kbit.
Based on existing multiplexed frame structure, need disassemble refitting usually for stream medium data, the reference format of flow media data packet is transformed.For example, for RTP (RTP, Real-timeTransport Protocol) in the Streaming Media processing mode of form, usually original RTP encapsulation format of need dismantling, be reassembled into existing multiplexed frame payload, wherein, multiplexing is carried out correspondingly with RTP bag, and there is transformational relation in a load form.For the audio, video data of other form, for example the stream medium data of forms such as WINDOWS Streaming Media wmv or asf after need transforming equally, encapsulates framing again, and processing mode then is not quite similar.
When in broadcast system, the streaming media service data being transmitted, need transform, destroy intrinsic data format, on the one hand, additionally increase processing procedure at the broadcast transmission end to the stream medium data of various standards; On the other hand, also need also can increase the processing time simultaneously, cause added burden, increase the technical sophistication degree of terminal itself to terminal to the stream medium data reduction of resetting at receiving terminal.
For example, in the prior art, adopt the video coding of H264 and the audio coding of AAC, the audio, video data in each second is packed, in header packet information, add H264 frame and AAC frame relative position and the information such as relative time in whole bag.By CRC header packet information is protected.Its subject matter is, if crc error appears in the data in packet header, then lose the audio, video data of whole bag, and only stipulated the audio frequency and video form of the propagation that allows in its multiplexing standard, lack extensibility, can not be suitable for the stream medium data of multiple audio frequency and video form.
Simultaneously, based on multiplexed frame shown in Figure 1, also there is following major defect:
(1) because each multiplexed sub frame packet is excessive; only designed CRC check in each audio frequency, video, data segment header; not protection to the payload part of looking audio frequency; after occurring error code or packet loss in the data transmission procedure; can influence the decoding of whole packet; serious mosaic effect occurs, influence normal rating and experience.If make mistakes in packet header, need lose whole video section, audio section.
(2) multiplexed frame has carried out conversion process to the RTP packet, can not support the CA scrambling design based on RTP effectively, makes CA scrambling and descrambling become very complicated.
Therefore, fast-developing and constantly evolution along with technology in the broadcast system, a kind of compatibility of needs is higher, autgmentability is better, easy unified transmission of flow media data technology, to be suitable for the broadcast transmitted of multiple stream medium data, make in the broadcast system that data transmission quality is higher, guarantee that data correctly and efficient, have more versatility and be with good expansibility, to adapt to the evolution development of mobile multimedia broadcast system.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of streaming media service transmission method and Streaming Media frame (A/V Stream Packet) wrapper in the broadcast system are provided, with simple and easy to do uniform way, realize the transmission of stream media data service in the broadcast system, so that reduce the complexity of transmission technology in the streaming media service data transmission technology, compatible multiple streaming media data stream, has very strong expandability.
The invention provides the streaming media service transmission method in a kind of broadcast system, comprising:
The broadcast system network side encapsulates by himself inherent data form flow media data packet and generates the Streaming Media frame, and after writing frame head information, more described Streaming Media frame is transferred to wireless terminal by radio network.
Further, in writing frame head information step, length information and target port information are write in the described frame head, described length information is the information that is used to indicate this Streaming Media frame length; Described target port information is the parameter that is used to distinguish different programs, and its different parameters value is indicated corresponding program number.
Further, in the step that writes frame head information, further also with verification with write in the described frame head information, described verification and be to judge the information that stream medium data is whether correct according to flow media data packet content being used to of generating.
Further; in the step that writes frame head information; further also the described length information and the target port information that write are carried out the Viterbi coding, and generate the reservation position, form the frame head information that has applied the Viterbi coding protection by described length information, target port information and reservation position.
Further, earlier described length information and described target port information are carried out the Viterbi coding, and generate the reservation position, in the step that writes frame head information, further, again the length information behind the Viterbi coding, target port information, reservation position are added in the frame head information as a whole.
Further, described flow media data packet is a realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
Further, described flow media data packet is come the flow media data packet since one or more audio/video coders.
The present invention also provides the Streaming Media frame encapsulation device that is used for the Streaming Media transmission in a kind of broadcast system, comprising:
The flow media data packet receiver module is used for the receiving stream media packet and described flow media data packet is sent into Streaming Media frame generation module;
Streaming Media frame generation module generates the Streaming Media frame with the described flow media data packet encapsulation that receives, and writes frame head information in the frame head of Streaming Media frame;
Streaming Media frame output module is used for exporting the Streaming Media frame that described Streaming Media frame generation module is produced to modulator.
Further, described Streaming Media frame generation module adds the frame head information in the Streaming Media frame, comprises length information and target port information, wherein:
Described length information is the information that is used to indicate this Streaming Media frame length;
Described target port information is the parameter that is used to distinguish different programs, and its different parameters value is indicated corresponding program number.
Further, described Streaming Media frame generation module adds the frame head information in the Streaming Media frame, further comprise verification and, described verification and be the information of judging that stream medium data is whether correct of being used to according to the generation of flow media data packet content.
Further; when described Streaming Media frame generation module adds frame head information in the Streaming Media frame; further also the described length information and the target port information that have write are carried out the Viterbi coding; and generate the reservation position, form the frame head information that has applied the Viterbi coding protection by described length information, target port information and reservation position.
Further, in the frame head information in the described Streaming Media frame generation module adding Streaming Media frame, also carry out the Viterbi coding according to described length information and described target port information, and generation keeps the position, further, again the length information behind the Viterbi coding, target port information, reservation position are added in the frame head information as a whole.
Further, the described flow media data packet of flow media data packet receiver module reception is realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
Further, described Streaming Media frame encapsulation device is from one or more audio/video coder receiving stream media packets.
Technical solutions according to the invention, the intrinsic form of maintenance streaming media service packet is encapsulated as the Streaming Media frame with described flow media data packet and carries out radio transmission.Can obtain following technique effect compared to existing technology:
(1) adopt Streaming Media frame mode to encapsulate, it is a kind of packaged type of small data packets, with less 1 to 2Kbps (as 1.5Kbps) packaged type, replace the big code stream encapsulation format of 64Kbps, the error rate of assurance data and Block Error Rate are in the scope that the mobile multi-media broadcasting service performance allows, can guarantee data correctly, read efficiently, improve the quality of reception of Mobile Multimedia Broadcasting CMMB system mobile phone television services and other audio frequency and video business.
(2) Streaming Media frame packaged type is that the intrinsic form of flow media data packet that keeps the network real-time Transmission carries out professional transmission, can improve utilization rate of channel resources;
(3) the technology of the present invention system is simple, and is good to the extensibility of business, efficiently adapts to industrialization; Can realize that compatible and possible technology platform is shared with present IPTV and the application of 3G from now on.
Description of drawings
Fig. 1 is a kind of broadcasting multiplex frame structure schematic diagram of the prior art;
Fig. 2 is a kind of hardware block diagram that is used for the streaming media service encapsulated delivery of the embodiment of the invention;
Fig. 3 is the structural representation of the Streaming Media frame encapsulation device of the embodiment of the invention;
Fig. 4 is the structural representation that does not apply the Streaming Media frame of Viterbi coding in the embodiment of the invention;
Fig. 5 is the structural representation that has applied the Streaming Media frame of Viterbi coding in the embodiment of the invention;
Fig. 6 is the another kind of structural representation that has applied the Streaming Media frame of Viterbi coding in the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
China Mobile multimedia broadcasting (CMMB) system is a kind of wireless broadcast system that can realize broadcasting to portable terminal multi-medium datas such as various audio frequency and video, text, figure.Current existence if want to satisfy this demand, just certainly leads to the problem of the real-time Transmission that how to realize a large amount of audio, video datas to the demand of real-time audio and video broadcasting.Streaming Media just is being widely used as a kind of technology that solves the broadcast of enforcement audio frequency and video and is coming.
The present invention is directed to when streaming media service transmits in the existing broadcast system, multiple technologies mix, lack unified standard, poor for applicability, extended capability does not cause shortcomings such as error of transmission by force and easily, a kind of streaming media service transmission method in the China Mobile multimedia broadcasting system (CMMB) has been proposed, simultaneously, propose a kind of Streaming Media frame encapsulation device that is used to realize the streaming media service encapsulated delivery, be used to realize the purpose of real time flow medium business data transmission.
Main innovate point of the present invention is, when carrying out the streaming media service transfer of data, do not change the intrinsic reference format of streaming media service data self, the flow media data packet that i.e. not convection current media encoders is exported is made amendment, the data format that keeps himself, directly put into the Streaming Media frame, all streaming media service are all carried out broadcast transmitted with the Streaming Media frame pattern with the intrinsic form of flow media data packet self.
As shown in Figure 2, provided the broadcast system block diagram of a kind of radio transmission in the specific embodiment of the invention.Among Fig. 2, comprise audio/video coder, Streaming Media frame encapsulation device, modulator, transmitter, wherein:
Described audio/video coder is mainly used in audio, video data is encoded, with simulation/or the audio, video data conversion of numeral after, be output as the audio, video data bag of corresponding encoded form, and be sent to the Streaming Media frame encapsulation device.For the streaming media service transmission, then export the flow media data packet of corresponding form.
For example, if this audio/video coder is the RTP encoder, then exportable RTP wraps (RTP Packet), has wherein sealed the stream medium data of RTP form; If this audio/video coder is the WMV encoder, then exportable WINDOWS Streaming Media WMV wraps, and has wherein sealed the stream medium data of WMV form.This audio/video coder also can be other form encoder, and export the audio, video data bag of other form, for example forms such as RM, RSTP, ASF, FLV according to concrete service needed.This audio/video coder can be multi-functional audio/video coder, and promptly encoder can be exported the flow media data packet of multiple form as required, also can dispose a plurality of own coding devices, and each encoder is exported a kind of flow media data packet of form.
Described Streaming Media frame encapsulation device is used for the flow media data packet that receives from audio/video coder is carried out encapsulation process, generates the Streaming Media frame, adds the associated frame header in frame head, and this Streaming Media frame is sent to modulator.
As shown in Figure 3, described wrapper comprises:
The flow media data packet receiver module is used for the receiving stream media packet and described flow media data packet is sent into Streaming Media frame generation module;
Streaming Media frame generation module generates the Streaming Media frame with the described flow media data packet encapsulation that receives, and writes frame head information in frame head;
Streaming Media frame output module is used for exporting the Streaming Media frame that described Streaming Media frame generation module is produced to modulator.
Described Streaming Media frame generation module is when writing frame head information in the frame head of Streaming Media frame; need write length (Length), target port (Dst Port) information; also can write verification and (CheckSum) in case of necessity; under the situation that applies the Viterbi coding protection, also need to write reservation position (Reserved).
As shown in Figure 4, shown a kind of improved Streaming Media frame encapsulating structure schematic diagram in the embodiment of the invention.At first, for audio frequency and video initial data (Video/Audio Raw Data), can be by the streaming media service data format of audio/video coder, by audio/video coder audio, video data is encoded, be output as the streaming media service packet of standard, audio, video data is sealed by the RTP encoder as load and is generated the RTP bag, and adds time stamp (Time Stamp), synchronisation source information such as (Sync Source) in the RTP bag, all information is all pressed the RTP standard by the RTP encoder and is determined, need not change; For the rtp streaming media data,, export the Streaming Media frame encapsulation device to herein, by being output as the RTP packet behind the audio/video coder coding.
Afterwards, the described Streaming Media frame generation module of Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with the RTP bag, also write frame head information in frame head, described frame head information comprises length (Length), target port (Dst Port), verification and (CheckSum).Wherein:
Described length information is used to indicate the length information of this Streaming Media frame;
Described target port is the parameter that is used to distinguish different programs.For example, can target port be set to indicate the information of program, can be set to 8000 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 1; Can be set to 8004 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 2;
Described verification and, be the information that is used to judge that stream medium data is whether correct, calculate according to the stream medium data content and generate.After terminal receives the Streaming Media frame, can be earlier according to the stream medium data content come calculation check and, and data segment compares therewith, if inconsistent then abandon use to frame.
In addition, in frame head, also comprise a frame beginning flag position usually, for example be set to A6 F0C3 B2 among Fig. 4, be used to indicate the start bit of this frame, be convenient to terminal and search reception.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
Streaming media service data for WMV form or other form, can be with reference to the processing mode of RTP form, that is: need not to change flow media data packet, after the flow media data packet of audio/video coder output directly sealed, add and generate the Streaming Media frame behind the respective frame header and carry out modulation transmissions and get final product.
Described modulator is used for delivering to the radio receiving terminal that described transmitter sends to broadcast system to after modulating from the Streaming Media frame of Streaming Media frame encapsulation device reception, realizes the radio transmission of streaming media service data in the broadcast system.
For receiving terminal, can take corresponding receive mode according to different terminals and operating system, the receiving stream media frame, and from the Streaming Media frame, extract the streaming media service packet, can play.When having saved because of the broadcast system network side to the streaming media service data encapsulation the extra processing that increases of the various modifications of making.
As shown in Figure 5; the described Streaming Media frame generation module of described Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with the RTP bag; also in frame head, write frame head information; described frame head information comprises length (Length), target port (Dst Port), verification and (CheckSum); also can apply the Viterbi coding protection, and generate the corresponding position that keeps the described length (Length) in the frame head, target port (Dst Port).Formed together with keeping position 18Bytes frame head information together, a verification and a part that (CheckSum) then takies 2Bytes configuration frame header separately.Wherein, described reservation position, in the frame head information that applies Viterbi (Viterbi) coding, the reservation position information that expression is generated when described length information, described target port information are carried out the Viterbi coding, when broadcast singal is bad, if terminal is when receiving described length information, described target port information errors, can utilize to keep position information and recover, and recovers correct described length information, described target port information;
Above-mentioned frame head information can be to guaranteeing the important parameter of transmission quality after adding Viterbi (Viterbi) coding protection, and length information, described target port information are carried out better protection as described, improve the transmission of flow media data reliability.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
As shown in Figure 6; the described Streaming Media frame generation module of described Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with the RTP bag; also in frame head, write frame head information, wherein comprise frame head information that has applied the Viterbi coding protection and the frame head information that does not apply the Viterbi coding protection in the frame head.
Described frame head information comprises two groups of information, and one group is the frame head information (18bytes) that applies Viterbi (Viterbi) coding, and one group is the frame head information (6bytes) that does not apply the Viterbi coding.
In applying Viterbi (Viterbi) information encoded, comprising: length (Length), target port (Dst Port), reservation position (Reserved);
In not applying Viterbi (Viterbi) information encoded, comprising: length (Length), target port (Dst Port), verification and (CheckSum).
Why above-mentioned frame head information is divided into two groups; provide to a kind of right to choose of whether selecting Viterbi (Viterbi) coding protection of receiving terminal; if thinking, terminal just receives when needing Viterbi (Viterbi) protection since the 5th Bytes; otherwise; when not needing Viterbi (Viterbi) protection, just receive since the 23rd Bytes.After adding Viterbi (Viterbi) coding protection, can be to guaranteeing the important parameter of transmission quality, length information, described target port information are carried out better protection as described, improve the transmission of flow media data reliability.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
Below, in conjunction with broadcast system shown in Figure 2, be example, and specify streaming media service transmission method among three embodiment of the present invention respectively in conjunction with Fig. 4,5,6 with the streaming media service transfer of data of RTP form.
Among first, second, third embodiment of the present invention, under the constant prerequisite of RTP (or other stream media protocol) pack arrangement that keeps the carrying audio, video data, having designed a kind of brand-new Streaming Media frame seal structure, is least unit transmission stream media service data with the Streaming Media frame.Further, for the important information in the Streaming Media frame, can use convolution code protection.
First embodiment:
As shown in Figure 4, shown a kind of improved Streaming Media frame encapsulating structure schematic diagram in the embodiment of the invention.The implementation step of encapsulated delivery is described below in conjunction with Fig. 4:
At first, for audio frequency and video initial data (Video/Audio Raw Data), can be by the streaming media service data format of audio/video coder, by audio/video coder audio, video data is encoded, be output as the streaming media service packet of standard, audio, video data is sealed by the RTP encoder as load and is generated the RTP bag, and adds time stamp (Time Stamp), synchronisation source information such as (Sync Source) in the RTP bag, all information is all pressed the RTP standard by the RTP encoder and is determined, need not change; For the rtp streaming media data,, export the Streaming Media frame encapsulation device to herein, by being output as the RTP packet behind the audio/video coder coding.
Afterwards, the Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with RTP bag, also writes frame head information in frame head, and described frame head information comprises length (Length), target port (Dst Port), verification and (CheckSum).Wherein:
Described length information is used to indicate the length information of this Streaming Media frame;
Described target port is the parameter that is used to distinguish different programs.For example, can target port be set to indicate the information of program, can be set to 8000 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 1; Can be set to 8004 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 2;
Described verification and, be the information that is used to judge that stream medium data is whether correct, calculate according to the stream medium data content and generate.After terminal receives the Streaming Media frame, can be earlier according to the stream medium data content come calculation check and, and data segment compares therewith, if inconsistent then abandon use to frame.
In addition, in frame head, also comprise a frame beginning flag position usually, for example be set to A6 F0C3 B2 among Fig. 4, be used to indicate the start bit of this frame, be convenient to terminal and search reception.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
Second embodiment:
As shown in Figure 5, shown a kind of improved Streaming Media frame encapsulating structure schematic diagram in the embodiment of the invention, wherein frame head information applied the Viterbi coding protection, the implementation step of encapsulated delivery has been described below in conjunction with Fig. 5:
At first, for audio frequency and video initial data (Video/Audio Raw Data), can be by the streaming media service data format of audio/video coder, by audio/video coder audio, video data is encoded, be output as the streaming media service packet of standard, audio, video data is sealed by the RTP encoder as load and is generated the RTP bag, and adds time stamp (Time Stamp), synchronisation source information such as (Sync Source) in the RTP bag, all information is all pressed the RTP standard by the RTP encoder and is determined, need not change; For the rtp streaming media data,, export the Streaming Media frame encapsulation device to herein, by being output as the RTP packet behind the audio/video coder coding.
Afterwards, the Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with the RTP bag, also in frame head, write frame head information, described frame head information comprises length (Length), target port (Dst Port), keeps position (Reserved), verification and (CheckSum), wherein, described length (Length) and target port (Dst Port) have been applied Viterbi (Viterbi) coding, formed together with keeping position 18Bytes frame head information together, a verification and a part that (CheckSum) then takies 2Bytes configuration frame header separately.Wherein:
Described length information is used to indicate the length information of this Streaming Media frame;
Described target port is the parameter that is used to distinguish different programs.For example, can target port be set to indicate the information of program, can be set to 8000 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 1; Can be set to 8004 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 2;
Described reservation position, in the frame head information that applies Viterbi (Viterbi) coding, the reservation position information that expression is generated when described length information, described target port information are carried out the Viterbi coding, when broadcast singal is bad, if terminal is when receiving described length information, described target port information errors, can utilize reservation position information to recover, recover correct described length information, described target port information;
Described verification and, be the information that is used to judge that stream medium data is whether correct, calculate according to the stream medium data content and generate.After terminal receives the Streaming Media frame, can be earlier according to the stream medium data content come calculation check and, and data segment compares therewith, if inconsistent then abandon use to frame.
Above-mentioned frame head information can be to guaranteeing the important parameter of transmission quality after adding Viterbi (Viterbi) coding protection, and length information, described target port information are carried out better protection as described, improve the transmission of flow media data reliability.
In addition, in frame head, also comprise a frame beginning flag position usually, for example be set to A6 F0C3 B2 among Fig. 5, be used to indicate the start bit of this frame, be convenient to terminal and search reception.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
The 3rd embodiment:
As shown in Figure 6; shown the improved Streaming Media frame of another in embodiment of the invention encapsulating structure schematic diagram; wherein comprise frame head information that has applied the Viterbi coding protection and the frame head information that does not apply the Viterbi coding protection in the frame head, the implementation step of encapsulated delivery be described below in conjunction with Fig. 6:
At first, for audio frequency and video initial data (Video/Audio Raw Data), can be by the streaming media service data format of audio/video coder, by audio/video coder audio, video data is encoded, be output as the streaming media service packet of standard, audio, video data is sealed by the RTP encoder as load and is generated the RTP bag, and adds time stamp (Time Stamp), synchronisation source information such as (Sync Source) in the RTP bag, all information is all pressed the RTP standard by the RTP encoder and is determined, need not change; For the rtp streaming media data,, export the Streaming Media frame encapsulation device to herein, by being output as the RTP packet behind the audio/video coder coding.
Afterwards, the Streaming Media frame encapsulation device is encapsulated as the Streaming Media frame with the RTP bag, also in frame head, write frame head information, described frame head information comprises two groups of information, one group is the frame head information (18bytes) that applies Viterbi (Viterbi) coding, and one group is the frame head information (6bytes) that does not apply the Viterbi coding.
In applying Viterbi (Viterbi) information encoded, comprising: length (Length), target port (Dst Port), reservation position (Reserved);
In not applying Viterbi (Viterbi) information encoded, comprising: length (Length), target port (Dst Port), verification and (CheckSum).
Wherein:
Described length information is used to indicate the length information of this Streaming Media frame;
Described target port is the parameter that is used to distinguish different programs.For example, can target port be set to indicate the information of program, can be set to 8000 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 1; Can be set to 8004 by target port, what represent to carry in this Streaming Media frame is the stream medium data that is used for program 2;
Described reservation position, in applying Viterbi (Viterbi) information encoded, the reservation position information that expression is generated when described length information, described target port information are carried out the Viterbi coding, when broadcast singal is bad, if terminal is when receiving described length information, described target port information errors, can utilize reservation position information to recover, recover correct described length information, described target port information;
Described verification and, be the information that is used to judge that stream medium data is whether correct, calculate according to the stream medium data content and generate.After terminal receives the Streaming Media frame, can be earlier according to the stream medium data content come calculation check and, and data segment compares therewith, if inconsistent then abandon use to frame.
Why above-mentioned frame head information is divided into two groups; provide to a kind of right to choose of whether selecting Viterbi (Viterbi) coding protection of receiving terminal; if thinking, terminal just receives when needing Viterbi (Viterbi) protection since the 5th Bytes; otherwise; when not needing Viterbi (Viterbi) protection, just receive since the 23rd Bytes.After adding Viterbi (Viterbi) coding protection, can be to guaranteeing the important parameter of transmission quality, length information, described target port information are carried out better protection as described, improve the transmission of flow media data reliability.
In addition, in frame head, also comprise a frame beginning flag position usually, for example be set to A6 F0C3 B2 among Fig. 5, be used to indicate the start bit of this frame, be convenient to terminal and search reception.
After the encapsulation of Streaming Media frame encapsulation device generates the Streaming Media frame, the Streaming Media frame is sent to modulator, after modulators modulate, be sent to reflector and radio to each wireless terminal.
In the frame structure shown in above-mentioned Fig. 4,5,6, when being the rtp streaming media data for the input source of audio frequency and video, the scrambling source when carrying out scrambling also is RTP, still RTP encapsulation format after the scrambling.Simultaneously, because the multimedia player in the general portable terminal is all supported to the reading and playing of rtp streaming, so needn't change the packing forms of RTP.
With reference to the Streaming Media frame structure shown in above-mentioned Fig. 4,5,6, also can be to the corresponding encapsulation process of the audio, video data of other form, during specific implementation, the packet that the RTP shown in Fig. 5 can be guaranteed replacement into the corresponding data form gets final product, and need not packet is transformed or special setting.For example, for the audio, video data of WMV form, directly the RTP bag is replaced with the WMV bag and get final product.
Among the embodiment shown in above-mentioned Fig. 4,5,6, in the information source scheme of audio frequency and video, the audio frequency and video packed data does not change this RTP and wraps intrinsic encapsulation format with the form output of RTP bag when being packaged into the Streaming Media frame, owing to do not change the RTP bag, can support the CA scrambling effectively.
In Mobile Multimedia Broadcasting CMMB system, use the Streaming Media frame encapsulation and transmission method in the embodiment of the invention, can obtain following technique effect compared to existing technology:
(1) adopt Streaming Media frame mode to carry out encapsulated delivery, it is a kind of packaged type of small data packets, with less 1 to 2Kbps (as 1.5Kbps) packaged type, replace the big code stream encapsulation format of 64Kbps, the error rate of assurance data and Block Error Rate are in the scope that the mobile multi-media broadcasting service performance allows, can guarantee data correctly, read efficiently, improve the quality of reception of CMMB mobile phone TV services and other audio frequency and video business.
(2) Streaming Media frame encapsulated delivery is that the stream media format with the network real-time Transmission is the bottom of professional transmission, can improve utilization rate of channel resources;
(3) technical system is simple, and is good to the extensibility of business, efficiently adapts to industrialization; Can realize that compatible and possible technology platform is shared with present IPTV and the application of 3G from now on.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (16)

1. the streaming media service transmission method in the broadcast system is characterized in that:
The broadcast system network side encapsulates by himself inherent data form flow media data packet and generates the Streaming Media frame, and after writing frame head information, more described Streaming Media frame is transferred to wireless terminal by radio network;
In writing frame head information step, length information and target port information are write in the described frame head, wherein:
Described length information is the information that is used to indicate this Streaming Media frame length;
Described target port information is the parameter that is used to distinguish different programs, and its different parameters value is indicated corresponding program number.
2. flow-medium transmission method as claimed in claim 1 is characterized in that:
In the step that writes frame head information, further also with verification with write in the described frame head information, described verification and be to judge the information that stream medium data is whether correct according to flow media data packet content being used to of generating.
3. flow-medium transmission method as claimed in claim 1 or 2 is characterized in that:
In the step that writes frame head information; further also the described length information and the target port information that write are carried out the Viterbi coding; and generate the reservation position, form the frame head information that has applied the Viterbi coding protection by described length information, target port information and reservation position.
4. flow-medium transmission method as claimed in claim 3 is characterized in that:
Described flow media data packet is a realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
5. streaming media service transmission method as claimed in claim 4 is characterized in that:
Described flow media data packet is come the flow media data packet since one or more audio/video coders.
6. flow-medium transmission method as claimed in claim 1 or 2 is characterized in that:
Earlier described length information and described target port information are carried out the Viterbi coding, and generation keeps the position, in the step that writes frame head information, further, again the length information behind the Viterbi coding, target port information, reservation position are added in the frame head information as a whole.
7. flow-medium transmission method as claimed in claim 6 is characterized in that:
Described flow media data packet is a realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
8. streaming media service transmission method as claimed in claim 7 is characterized in that:
Described flow media data packet is come the flow media data packet since one or more audio/video coders.
9. be used for the Streaming Media frame encapsulation device that Streaming Media transmits in a broadcast system, it is characterized in that, comprising:
The flow media data packet receiver module is used for the receiving stream media packet and described flow media data packet is sent into Streaming Media frame generation module;
Streaming Media frame generation module generates the Streaming Media frame with the described flow media data packet encapsulation that receives, and writes frame head information in the frame head of Streaming Media frame; Described frame head information comprises length information and target port information, and wherein: described length information is the information that is used to indicate this Streaming Media frame length; Described target port information is the parameter that is used to distinguish different programs, and its different parameters value is indicated corresponding program number;
Streaming Media frame output module is used for exporting the Streaming Media frame that described Streaming Media frame generation module is produced to modulator.
10. Streaming Media frame encapsulation device as claimed in claim 9 is characterized in that:
Described Streaming Media frame generation module adds the frame head information in the Streaming Media frame, further comprise verification and, described verification and be the information of judging that stream medium data is whether correct of being used to according to the generation of flow media data packet content.
11. Streaming Media frame encapsulation device as claimed in claim 9 is characterized in that:
When described Streaming Media frame generation module adds frame head information in the Streaming Media frame; further also the described length information and the target port information that have write are carried out the Viterbi coding; and generate the reservation position, form the frame head information that has applied the Viterbi coding protection by described length information, target port information and reservation position.
12. Streaming Media frame encapsulation device as claimed in claim 11 is characterized in that:
The described flow media data packet that the flow media data packet receiver module receives is a realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
13. Streaming Media frame encapsulation device as claimed in claim 12 is characterized in that:
The described flow media data packet that the flow media data packet receiver module receives is come the flow media data packet since one or more audio/video coders.
14. Streaming Media frame encapsulation device as claimed in claim 9 is characterized in that:
In the frame head information in the described Streaming Media frame generation module adding Streaming Media frame, also carry out the Viterbi coding according to described length information and described target port information, and generation keeps the position, further, again the length information behind the Viterbi coding, target port information, reservation position are added in the frame head information as a whole.
15. Streaming Media frame encapsulation device as claimed in claim 14 is characterized in that:
The described flow media data packet that the flow media data packet receiver module receives is realtime transmission protocol RTP bag or WINDOWS Streaming Media WMV bag.
16. Streaming Media frame encapsulation device as claimed in claim 15 is characterized in that:
Described Streaming Media frame encapsulation device is from one or more audio/video coder receiving stream media packets.
CN 200710167245 2007-11-02 2007-11-02 Stream service transmission method in broadcast system and stream media frame encapsulation device Expired - Fee Related CN101312531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710167245 CN101312531B (en) 2007-11-02 2007-11-02 Stream service transmission method in broadcast system and stream media frame encapsulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710167245 CN101312531B (en) 2007-11-02 2007-11-02 Stream service transmission method in broadcast system and stream media frame encapsulation device

Publications (2)

Publication Number Publication Date
CN101312531A CN101312531A (en) 2008-11-26
CN101312531B true CN101312531B (en) 2010-11-17

Family

ID=40100927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710167245 Expired - Fee Related CN101312531B (en) 2007-11-02 2007-11-02 Stream service transmission method in broadcast system and stream media frame encapsulation device

Country Status (1)

Country Link
CN (1) CN101312531B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103004189B (en) * 2010-07-15 2015-11-25 联发科技(新加坡)私人有限公司 The method for searching of the FLASH video tab in bit stream and search device thereof
CN104079949B (en) * 2014-06-26 2017-06-16 北京世纪鼎点软件有限公司 Towards the data encapsulation method and apparatus and system of the scene adaptive of multi-screen
CN106060061B (en) * 2016-06-22 2019-02-22 新奥特(北京)视频技术有限公司 A kind of implementation method and device of Streaming Media interaction
CN106878171B (en) * 2016-12-30 2020-03-13 晶赞广告(上海)有限公司 Streaming data processing method and device for multiple data sources
CN114666309B (en) * 2022-03-23 2024-12-31 中磊电子(苏州)有限公司 Streaming media processing method, transmission device and receiving device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN1777274A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Streaming media content protection method based on motion audio and video standard file format
CN1853350A (en) * 2003-11-24 2006-10-25 威盛电子股份有限公司 Joint Viterbi/Turbo Decoder for Mobile Communication Systems
CN1859299A (en) * 2006-01-05 2006-11-08 华为技术有限公司 Stream medium server and stream medium transmitting and storaging method
CN1949876A (en) * 2006-11-21 2007-04-18 华为技术有限公司 Method and system for supporting media data of multi-coding formats
CN1972439A (en) * 2006-12-08 2007-05-30 清华大学深圳研究生院 Wireless video on-demand system, method and AVI file analysis, fluidizing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN1853350A (en) * 2003-11-24 2006-10-25 威盛电子股份有限公司 Joint Viterbi/Turbo Decoder for Mobile Communication Systems
CN1777274A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Streaming media content protection method based on motion audio and video standard file format
CN1859299A (en) * 2006-01-05 2006-11-08 华为技术有限公司 Stream medium server and stream medium transmitting and storaging method
CN1949876A (en) * 2006-11-21 2007-04-18 华为技术有限公司 Method and system for supporting media data of multi-coding formats
CN1972439A (en) * 2006-12-08 2007-05-30 清华大学深圳研究生院 Wireless video on-demand system, method and AVI file analysis, fluidizing method

Also Published As

Publication number Publication date
CN101312531A (en) 2008-11-26

Similar Documents

Publication Publication Date Title
CN101222290B (en) Data transmission method, emission system and terminal in broadcasting system
US11178436B2 (en) Broadcast signal transmission device, broadcast signal reception device, broadcast signal transmission method, and broadcast signal reception method
RU2369040C2 (en) Buffering during data streaming
CN101102282A (en) A transmission and receiving method for data broadcast service
CN101159579B (en) Method and terminal of receiving network transport protocol based stream media data
CN101350768B (en) Method for conveying IP packet in broadcast network
CN101202920B (en) Data sending, transmission method, launching system and terminal in broadcast system
CN101146212B (en) Stream media encapsulation and unpacking method and system for video order network
CN101312531B (en) Stream service transmission method in broadcast system and stream media frame encapsulation device
CN1972453B (en) A data flow packaging method of mobile multimedia broadcasting system
CN1972454A (en) Mobile multimedia broadcasting real-time traffic flow packaging method
CN101150383A (en) IP data transmission method
CN1972408A (en) A data transmission method for mobile multimedia broadcasting system
CN102098542A (en) Multi-media data transmission method, system and device
WO2008022499A1 (en) A packetting method of a mobile multimedia broadcasting real-time strame
CN101729887A (en) Data transmission method and data transmission device of digital broadcasting system
CN100579222C (en) Transmission method and emission system for data broadcasting service data in broadcasting system
CN101179735A (en) Packaging method of multimedia broadcasting system media data flow
CN101159667B (en) Method of performing packet compression to packet data of mobile multimedia broadcasting system
CN1976495A (en) Mobile multimedia broadcasting control information and media information specification transmitting method
CN103024369B (en) Transmitting terminal, terminal, the system and method for hierarchical coding multiplexing
CN101426005A (en) IP data packet packaging, sending and receiving method for wireless broadcast system
CN1960520B (en) Method for transferring auxiliary data in mobile multimedia broadcasting
CN101207460B (en) Method and terminal for receiving data in broadcasting system
CN101198068A (en) Auxiliary data encapsulation method for media data flow of multimedia broadcasting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101117

Termination date: 20171102