Summary of the invention
The objective of the invention is to address the above problem, a kind of method of DVB-H mobile phone television in streaming way reparation is provided, improved the error-resilient performance of whole application layer code stream.
Another object of the present invention is to provide a kind of system of DVB-H mobile phone television in streaming way reparation, improved the error-resilient performance of whole application layer code stream.
A further object of the present invention has been to provide a kind of mobile terminal apparatus of DVB-H mobile phone television in streaming way reparation, has improved the error-resilient performance of whole application layer code stream.
Technical scheme of the present invention is: the present invention has disclosed the method that a kind of DVB-H mobile phone television in streaming way is repaired, and comprising:
(1) portable terminal receives the DVB-H data flow, obtains the MPE-FEC data segment and does the CRC error checking;
(2) portable terminal reassembles into the MPE-FEC application data frame to the MPE-FEC data segment that receives according to the position of IP packet, and according to the result of the CRC error checking of MPE-FEC data segment error code position is carried out mark;
(3) portable terminal is put into the MPE-FEC application data frame with the MPE-FEC application data frame and is cushioned a period of time;
(4) error code position that marked according to the CRC error checking of MPE-FEC data segment of portable terminal, and the result of MPE-FEC application data frame error correction which data division is arranged in determining to cushion is to need to retransmit, have which data byte to play the error code correction effect in the decision MPE-FEC application data frame by re-transmission;
(5) the portable terminal handle needs the code stream position of data retransmission to inform remediation server, and sends the request of reparation to remediation server;
(6) the remediation server response sends reparation bag with mode of unicast to portable terminal from the reparation request of portable terminal;
(7) after portable terminal is received bit stream data bag from remediation server, those bit stream data bags are put into the corresponding position of MPE-FEC application data frame buffering, further decoding and playing after finishing forward error correction.
The method that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, in step (1), portable terminal is to obtain the MPE-FEC data segment by the filtration of Packet Identifier and section.
The method that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, in step (6), remediation server is to send to portable terminal by the cellular network down going channel in the mode of clean culture with repairing bag.
The method that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, the decisive factor of the buffer time of the buffering of the MPE-FEC application data frame in the step (3) comprises data two-way time, portable terminal implementation complexity, cost and the time delay of portable terminal and remediation server two-way communication.
The method that above-mentioned DVB-H mobile phone television in streaming way is repaired wherein, also comprises before in step (5):
In two-way time that retransmit to need under the situation less than the time that will play, portable terminal sends the request of reparation to remediation server.
The method that above-mentioned DVB-H mobile phone television in streaming way is repaired wherein, also comprises in step (7):
Come in the time that will play but repair under the also unreceived situation of bag, the bit stream data bag of repairing is sent in the processor of portable terminal, corresponding error code processing is finished by the decoder module of portable terminal.
The present invention has also disclosed the mobile terminal apparatus that a kind of DVB-H mobile phone television in streaming way is repaired, and comprising:
MPE-FEC data segment acquisition module receives the DVB-H data flow, obtains the MPE-FEC data segment;
CRC error checking module, the MPE-FEC data segment that this MPE-FEC data segment acquisition module is obtained carries out the CRC error checking;
The Frame recombination module reassembles into the MPE-FEC application data frame receiving the position of next MPE-FEC data segment according to the IP packet, and according to the CRC error checking result of MPE-FEC data segment error code position is carried out mark;
The frame data buffer module is put into the MPE-FEC application data frame with the MPE-FEC application data frame and is cushioned a period of time;
The data retransmission decision module, it is that needs retransmit which data division is arranged in the error code position that marks according to the CRC error checking and the result of MPE-FEC application data frame error correction determine to cushion, and has which data byte to play the error code correction effect by re-transmission in the MPE-FEC application data frame;
Repair request sending module, the code stream position that needs data retransmission is informed remediation server, and send the request of reparation to remediation server;
The packet receiver module receives the repair data bag that sends to portable terminal with mode of unicast from remediation server;
Forward error correction block is put into the corresponding position of MPE-FEC application data frame buffering with the repair data bag that this packet receiver module receives, and finishes forward error correction;
The decoding playing module, further decoding and broadcast after this forward error correction block is finished forward error correction.
The mobile terminal apparatus that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this MPE-FEC data segment acquisition module comprises filter element, this filter element obtains the MPE-FEC data segment by the filtration of Packet Identifier and section.
The mobile terminal apparatus that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this mobile terminal apparatus also comprises:
Time judgment module, the magnitude relationship of two-way time that judge to retransmit needs and the time that will play, the former less than the latter's situation under operation repair request sending module.
The mobile terminal apparatus that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this mobile terminal apparatus also comprises:
Bit error processing module has been come in the time that will play but has been repaired under the still unreceived situation of bag, and the bit stream data bag of receive repairing carries out error code to be handled.
The present invention has disclosed the system that a kind of DVB-H mobile phone television in streaming way is repaired again, comprising:
The DVB-H broadcasting server sends to mobile terminal apparatus to program with broadcast mode by the DVB-H radio network;
Remediation server, the reparation request of the code stream that the response mobile terminal apparatus is sent sends to mobile terminal apparatus to repair data;
Mobile terminal apparatus further comprises:
MPE-FEC data segment acquisition module receives the DVB-H data flow, obtains the MPE-FEC data segment;
CRC error checking module, the MPE-FEC data segment that this MPE-FEC data segment acquisition module is obtained carries out the CRC error checking;
The Frame recombination module reassembles into the MPE-FEC application data frame receiving the position of next MPE-FEC data segment according to the IP packet, and according to the CRC error checking result of MPE-FEC data segment error code position is carried out mark;
The frame data buffer module is put into the MPE-FEC application data frame with the MPE-FEC application data frame and is cushioned a period of time;
The data retransmission decision module, it is that needs retransmit which data division is arranged in the error code position that marks according to the CRC error checking and the result of MPE-FEC application data frame error correction determine to cushion, and has which data byte to play the error code correction effect by re-transmission in the MPE-FEC application data frame;
Repair request sending module, the code stream position that needs data retransmission is informed remediation server, and send the request of reparation to remediation server;
The packet receiver module receives the repair data bag that sends to portable terminal with mode of unicast from remediation server;
Forward error correction block is put into the corresponding position of MPE-FEC application data frame buffering with the repair data bag that this packet receiver module receives, and finishes forward error correction;
The decoding playing module, further decoding and broadcast after this forward error correction block is finished forward error correction.
The system that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, in this mobile terminal apparatus in this system,
This MPE-FEC data segment acquisition module comprises filter element, and this filter element obtains the MPE-FEC data segment by the filtration of Packet Identifier and section.
The system that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this mobile terminal apparatus also comprises:
Time judgment module, the magnitude relationship of two-way time that judge to retransmit needs and the time that will play, the former less than the latter's situation under operation repair request sending module.
The system that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this mobile terminal apparatus also comprises:
Bit error processing module has been come in the time that will play but has been repaired under the still unreceived situation of bag, and the bit stream data bag of receive repairing carries out error code to be handled.
The system that above-mentioned DVB-H mobile phone television in streaming way is repaired, wherein, this remediation server is that the reparation bag is sent to mobile terminal apparatus by the cellular network down going channel with mode of unicast.
The present invention contrasts prior art following beneficial effect: the present invention is by error condition and the location of terminal according to the code stream that receives, the code stream request of required reparation is sent to remediation server, the reparation request of the code stream that remediation server response sends from portable terminal, and repair data returned to portable terminal.The contrast prior art, owing to take to postpone to exchange for the strategy that error-resilient performance improves, application layer requires to reduce to the BER of physical layer, has also reduced merely and has reduced the extra bandwidth expense that BER is brought in the FEC mode.In addition, take DVB-H broadcasting and the parallel method of Cellular Networks clean culture can also overcome under the situation of single channel signal decay, can obtain data from the another one channel, to keep the normal play of mobile TV.Such as supposing that DVB-H broadcasting and Cellular Networks in T=T0 signal attenuation constantly, by the repeating transmission of T=T0+N in the time of second, make that mobile TV still can normal play so.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows and uses the streaming reparation to improve the overall framework of the mobile TV quality of reception in the DVB-H One-to-All Broadcast pattern of the present invention.See also Fig. 1, whole system is made up of three parts: remediation server 10, DVB-H broadcasting server 11 and portable terminal 12.DVB-H broadcasting server 11 sends to portable terminal 12 to program with broadcast mode by the DVB-H radio network.Portable terminal 12 sends to remediation server 10 to the code stream request of needs reparation according to the error condition and the location of the code stream that receives.The reparation request of the code stream that remediation server 10 response is sent from portable terminal 12 sends to portable terminal to repair data.
Fig. 2 shows the flow process of the preferred embodiment of the method that DVB-H mobile phone television in streaming way of the present invention repairs.Seeing also Fig. 2, is the detailed description to each step in the method below.
Step S100: portable terminal receives the DVB-H data flow.
The DVB-H broadcasting server sends to portable terminal to program with broadcast mode by the DVB-H radio network.
Step S101: portable terminal obtains MPE-FEC (multipleprotocol encapsulation-forward error correction) data segment from the DVB-H data flow.
In the present embodiment, portable terminal is to obtain the MPE-FEC data segment by the filtration of PID (Packet Identifier, Packet Identifier) and section (Section).
Step S102: portable terminal is finished the CRC error checking.
Step S103: portable terminal reassembles into the MPE-FEC application data frame to the MPE-FEC data segment.
Step S104: portable terminal carries out mark according to the CRC error checking result of MPE-FEC data segment to error code position.
Step S105: portable terminal is put into the MPE-FEC application data frame with the MPE-FEC application data frame and is cushioned a period of time.
The time span of buffering requires according to specific implementation and fixed, decisive factor has mobile complete cross section (UE) and remediation server (Repair Server, RS) factors such as implementation complexity, cost and time delay of the RTT of two-way communication (data come and go) time, portable terminal usually.
Step S106: portable terminal decides in the MPE-FEC application data frame buffering according to the result of error code position that error checking marked and the error correction of MPE-FEC application data frame has retransmit for which data division needs, has which data byte can be so that FEC can play the error code correction effect by retransmitting in the MPE-FEC application data frame.
In the present embodiment, suppose RS (N, K), each symbol is a byte, remediation server RS can correct (N-K)/2 byte error at most so.Therefore retransmit those bytes and can make byte error, can reduce the rate bit stream of re-transmission simultaneously as long as just can guarantee that less than (N-K)/2 channel error code can both be repaired.
Shown in figure three, particular location and number that the error checking of supposing the system by before obtained data error code in the MPE-FEC application data frame are M, and the byte error number M of passing through to calculate this row of discovery is greater than (N-K)/2, so system can only require the error code data that retransmit any M-(N-K)/2 byte.By said method, position and the byte number of error code data in the IP bag just determined, so system can clearly notify which data of retransmission module to need to retransmit.
Please be simultaneously referring to Fig. 3, the first half of Fig. 3 is the CRC error code error detection of DVB-H, and the latter half is the regrouping process of Frame, and dash area is wherein represented the error code field.The reorganization of Frame and CRC Error detection are prior aries, then are one of main points of the present invention but wherein use the Error detection result to use it for the data flow reparation.
Step S107: whether the two-way time (RTT_TIME) that judge to retransmit needs less than the time that will play (PLAYBACK_TIME), if less than would enter step S108, otherwise flow process finishes.
Step S108: the data of error code position that the CRC Error detection is definite (that is position that the minimum orientable code stream part of error code takes place) and error code location are informed remediation server and are sent the reparation request to this remediation server.
Step S109: the remediation server response sends reparation bag with mode of unicast to portable terminal from the reparation request of portable terminal.
Remediation server is will repair bag by the cellular network down going channel to send to portable terminal with mode of unicast.
Step S110: portable terminal receives the bit stream data bag from remediation server, and these bit stream data bags are put into the corresponding position of MPE-FEC application data frame buffering, finishes forward error correction.
Step S111: further decoding and broadcast after finishing forward error correction.
It should be noted that, the time that will play (PLAYBACK_TIME) come but repair the bag still unreceived situation under, the reparation bag that receives is afterwards sent in the processor of portable terminal, and the error code of corresponding forward error correction is handled and is finished by the decoder module of portable terminal.
Based on above-mentioned method, the present invention has also disclosed the system that the DVB-H mobile phone television in streaming way is repaired.Fig. 3 shows the theory structure of system, sees also Fig. 3.System mainly comprises: DVB-H broadcasting server 30, remediation server 31 and mobile terminal apparatus 32.Wherein mobile terminal apparatus comprises: MPE-FEC data segment acquisition module 320, CRC error checking module 321, Frame recombination module 322, frame data buffer module 323, data retransmission decision module 324, reparation request sending module 325, packet receiver module 326, forward error correction block 327, decoding playing module 328.
DVB-H broadcasting server 30 sends to mobile terminal apparatus 32 to program with broadcast mode by the DVB-H radio network.MPE-FEC data segment acquisition module 320 in the mobile terminal apparatus 32 receives the DVB-H data flow, obtains the MPE-FEC data segment by the interior filter element of establishing (not shown) with PID and SECTION filter type.The MPE-FEC data segment that 321 pairs of these MPE-FEC data segment acquisition modules of CRC error checking module 320 obtain carries out the CRC error checking.Reassemble into the MPE-FEC application data frame through Frame recombination module 322 receiving the position of next MPE-FEC data segment again, and error code position is carried out mark according to the CRC error checking result of MPE-FEC data segment according to the IP packet.Frame data buffer module 323 is put into the MPE-FEC application data frame with the MPE-FEC application data frame and is cushioned a period of time.It is that needs retransmit which data division is arranged in the error code position that data retransmission decision module 324 marks according to the CRC error checking and the result of MPE-FEC application data frame error correction determine to cushion, and has which data byte to play the error code correction effect by re-transmission in the MPE-FEC application data frame.Repairing 325 of request sending module needs the code stream position of data retransmission to inform remediation server 31, and sends the request of reparation to remediation server 31.
The reparation request of the code stream that remediation server 31 response mobile terminal apparatus 32 are sent sends to mobile terminal apparatus 32 with repair data with mode of unicast.Packet receiver module 326 in the mobile terminal apparatus 32 receives the repair data bag.By forward error correction block 327 packet that receives is put into the corresponding position of MPE-FEC application data frame buffering then, finish forward error correction.After finishing, forward error correction realizes further decoding and broadcast by decoding playing module 328 at last.
Time judgment module (not shown) can also be set in mobile device 32, the magnitude relationship of two-way time that judge to retransmit needs and the time that will play, the former less than the latter's situation under operation repair request sending module 325.
In another embodiment, bit error processing module (not shown) also can be set, but come under the still unreceived situation of reparation bag in the time that will play, in forward error correction block 327, do not realize the error code processing procedure, handle to carry out error code but receive the bit stream data bag of repairing by bit error processing module.
Inventive point of the present invention is: portable terminal carries out mark according to the CRC check result of MPE-FEC data segment to error code position, and which data division is that needs retransmit in determining to cushion according to the result of Error detection.After portable terminal receives packet from remediation server, these packets are put into the corresponding position of MPE-FEC application data frame buffering.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.