[go: up one dir, main page]

CN100574452C - A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal - Google Patents

A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal Download PDF

Info

Publication number
CN100574452C
CN100574452C CNB2007101234317A CN200710123431A CN100574452C CN 100574452 C CN100574452 C CN 100574452C CN B2007101234317 A CNB2007101234317 A CN B2007101234317A CN 200710123431 A CN200710123431 A CN 200710123431A CN 100574452 C CN100574452 C CN 100574452C
Authority
CN
China
Prior art keywords
video
audio
subframe
unit
header
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
CNB2007101234317A
Other languages
Chinese (zh)
Other versions
CN101072361A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101234317A priority Critical patent/CN100574452C/en
Publication of CN101072361A publication Critical patent/CN101072361A/en
Application granted granted Critical
Publication of CN100574452C publication Critical patent/CN100574452C/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)
  • Time-Division Multiplex Systems (AREA)

Abstract

本发明公开了一种提高移动多媒体广播终端接收性能的方法,旨在复用子帧中视频/音频段头CRC校验错误时提取各视频/音频单元数据。其要点是利用最近一次正确解析得到的视频/音频段头长度,来定位所述目标复用子帧中的视频/音频段头位置;根据最近一次正确解析得到的最后一个视频/音频单元的相对播放时间,得到所述目标复用子帧各视频/音频单元的起始播放时间。本发明方法充分利用最近一次收到并正确解析的复用帧中的下一帧参数和复用帧头长度信息,避免了终端因为复用帧头CRC校验错误而丢弃整个复用帧数据。

Figure 200710123431

The invention discloses a method for improving the receiving performance of a mobile multimedia broadcasting terminal, aiming at extracting each video/audio unit data when the CRC check error of the video/audio section header in the multiplexing subframe. The main point is to use the length of the video/audio segment header obtained by the latest correct analysis to locate the video/audio segment header position in the target multiplexing subframe; according to the relative The playing time is to obtain the starting playing time of each video/audio unit of the target multiplexing subframe. The method of the invention makes full use of the next frame parameter and the length information of the multiplexed frame header in the multiplexed frame received and analyzed correctly last time, and avoids the terminal discarding the entire multiplexed frame data due to the CRC check error of the multiplexed frame header.

Figure 200710123431

Description

一种提高移动多媒体广播终端接收性能的方法 A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal

技术领域 technical field

本发明涉及一种提高终端接收性能的方法,尤其涉及一种提高移动多媒体广播终端接收性能的方法。The invention relates to a method for improving the receiving performance of a terminal, in particular to a method for improving the receiving performance of a mobile multimedia broadcasting terminal.

背景技术 Background technique

近年来,数字移动多媒体广播技术和标准发展迅速,例如欧洲的DVB-H(Digital Video Broadcast Handheld,数字视频广播手持式接收)、美国的MediaFLO(Media Forward Link Only,媒体单一前向链路)和中国的CMMB(China Mobile Multimedia Broadcasting,移动多媒体广播)等,为其终端用户提供许多服务内容,如广告、天气预报、新闻、体育节目、综艺、多媒体广播剧、电影等节目。用户可以根据自己的爱好,选择移动多媒体广播的服务节目。In recent years, digital mobile multimedia broadcasting technology and standards have developed rapidly, such as DVB-H (Digital Video Broadcast Handheld, digital video broadcasting handheld reception) in Europe, MediaFLO (Media Forward Link Only, media single forward link) in the United States and China's CMMB (China Mobile Multimedia Broadcasting, Mobile Multimedia Broadcasting), etc., provide its end users with many services, such as advertisements, weather forecasts, news, sports programs, variety shows, multimedia radio dramas, movies and other programs. Users can choose the service programs of mobile multimedia broadcasting according to their own preferences.

在中国的CMMB标准中,移动多媒体广播采用时分方式发送多媒体广播服务。一个广播信道帧的持续时间为1秒,由40个25毫秒时隙组成。一个或多个时隙可以承载一个复用帧(Multiplexing Frame,简称MF)封装的数据。在移动多媒体广播的复用帧结构中,复用帧分为复用帧头、复用帧净荷和填充三部分,如图1所示。In China's CMMB standard, mobile multimedia broadcasting uses a time-division method to send multimedia broadcasting services. A broadcast channel frame has a duration of 1 second and consists of 40 time slots of 25 milliseconds. One or more time slots can carry data encapsulated in a multiplexing frame (Multiplexing Frame, MF for short). In the multiplexing frame structure of mobile multimedia broadcasting, the multiplexing frame is divided into three parts: the multiplexing frame header, the multiplexing frame payload and the padding, as shown in FIG. 1 .

图2示出了复用帧和复用子帧之间的关系。一个广播信道帧,如图2中的广播信道帧k,所传送的信息内容分为控制信息和业务数据。其中的控制信息用复用帧0传送,其中的业务数据用复用帧1、复用帧2、...、复用帧n传送,其中n小于40。每个业务数据复用帧的复用帧净荷均由一个或多个复用子帧组成,如图所示的复用子帧1、复用子帧2、...、复用子帧p,但最多只可以包括15个复用子帧,也即p小于等于15。每个复用子帧承载一个多媒体业务。FIG. 2 shows the relationship between multiplexed frames and multiplexed subframes. A broadcast channel frame, such as broadcast channel frame k in FIG. 2 , transmits information content divided into control information and service data. The control information is transmitted in the multiplexed frame 0, and the service data is transmitted in the multiplexed frame 1, the multiplexed frame 2, . . . , the multiplexed frame n, where n is less than 40. The multiplexed frame payload of each service data multiplexed frame consists of one or more multiplexed subframes, as shown in the figure, multiplexed subframe 1, multiplexed subframe 2, ..., multiplexed subframe p, but can only include 15 multiplexed subframes at most, that is, p is less than or equal to 15. Each multiplexing subframe carries a multimedia service.

复用帧头的结构如图3所示,其中包含了复用子帧的长度等参数。其中的“下一帧参数指示”字段指示复用帧头中是否包含有相同复用帧标识MF_ID的下一个复用帧的关键参数,‘0’表示没有,‘1’表示有。如果“下一帧参数指示”字段值为‘1’,则其中的“下一帧参数”包括了接收终端将在下一次收到的复用帧中复用帧头长度、复用子帧1(第一个复用子帧)的长度和复用子帧1的头长度。复用帧头采用32比特的CRC(CyclicRedundancy Check,循环冗余校验)进行校验。The structure of the multiplexing frame header is shown in Figure 3, which includes parameters such as the length of the multiplexing subframe. The "next frame parameter indication" field indicates whether the key parameter of the next multiplexed frame with the same multiplexed frame identifier MF_ID is included in the multiplexed frame header, '0' means no, '1' means yes. If the value of the "Next Frame Parameter Indication" field is '1', the "Next Frame Parameter" includes the multiplexing frame header length, multiplexing subframe 1 ( The length of the first multiplex subframe) and the header length of multiplex subframe 1. The multiplexing frame header adopts 32-bit CRC (Cyclic Redundancy Check, Cyclic Redundancy Check) for checking.

复用子帧的结构如图4所示,由子帧头、视频段、音频段和数据段组成。其中子帧头包括了头长度(占用8比特)、起始播放时间、视频段长度、音频段长度、数据段长度、扩展区参数等,也采用32比特CRC校验。The structure of the multiplexed subframe is shown in Figure 4, which consists of a subframe header, a video segment, an audio segment and a data segment. Wherein the subframe header includes the header length (occupies 8 bits), start playing time, video segment length, audio segment length, data segment length, extension area parameters, etc., and also adopts 32-bit CRC check.

复用子帧的视频段是由视频段头与多个视频单元组成,如图5所示。视频段头描述了每个视频单元的参数,也采用32比特CRC校验。The video segment of the multiplexed sub-frame is composed of a video segment header and a plurality of video units, as shown in FIG. 5 . The video segment header describes the parameters of each video unit, and also adopts 32-bit CRC check.

复用子帧的音频段由音频段头和多个音频单元组成,如图6所示。音频段头描述了各个音频单元的参数,也采用32比特CRC校验。The audio segment of the multiplexed subframe is composed of an audio segment header and multiple audio units, as shown in FIG. 6 . The audio segment header describes the parameters of each audio unit, and also adopts 32-bit CRC check.

如图7所示,CMMB系统中移动多媒体广播终端收到复用帧后,要进行如下几步解复用处理过程:As shown in Figure 7, after the mobile multimedia broadcasting terminal in the CMMB system receives the multiplexing frame, it needs to perform the following steps of demultiplexing processing:

步骤701:解析复用帧头,得到复用帧头长度、各种控制信息表更新序号和各复用子帧长度;Step 701: Analyze the multiplexed frame header to obtain the length of the multiplexed frame header, the update sequence number of various control information tables and the length of each multiplexed subframe;

步骤702:根据复用帧头长度和各复用子帧长度从复用帧净荷中解析出所需要的复用子帧,称之为目标复用子帧;Step 702: According to the length of the multiplexing frame header and the length of each multiplexing subframe, the required multiplexing subframe is parsed from the payload of the multiplexing frame, which is called the target multiplexing subframe;

步骤703:从目标复用子帧中解析出视频段、音频段和数据段;Step 703: Parsing out the video segment, audio segment and data segment from the target multiplexing subframe;

步骤704:从视频段、音频段和数据段中分别解析出视频单元、音频单元和数据单元的净荷,送给上层应用(例如播放器)来处理。Step 704: Parse the payloads of the video unit, audio unit and data unit from the video segment, audio segment and data segment respectively, and send them to an upper-layer application (such as a player) for processing.

CMMB系统是通过空中信道进行多媒体广播的。由于无线环境非常复杂,在广播时即便采用了性能优异的信道编码,也无法避免出现信道误码的情况。移动多媒体广播终端在对接收到的数据进行解复用处理时,涉及到视频段头和音频段头CRC校验。目前一般的做法是在视频段头和音频段头的CRC进行校验时,如果检测到CRC错误,终端就丢弃这个复用子帧的所有数据。The CMMB system broadcasts multimedia through air channels. Because the wireless environment is very complex, even if channel coding with excellent performance is adopted during broadcasting, channel bit errors cannot be avoided. When the mobile multimedia broadcasting terminal performs demultiplexing processing on the received data, it involves the CRC check of the video segment header and the audio segment header. The current general practice is to discard all data in the multiplexed subframe if a CRC error is detected when the CRC of the video segment header and the audio segment header is checked.

图8示出了现有技术中解复用处理实施例的详细流程步骤,包括:Fig. 8 shows the detailed process steps of the demultiplexing processing embodiment in the prior art, including:

步骤801:终端在进行复用帧处理时,获取复用帧头长度以及复用帧头的数据,并对复用帧头进行CRC_32校验;Step 801: when the terminal processes the multiplexed frame, obtains the length of the multiplexed frame header and the data of the multiplexed frame header, and performs a CRC_32 check on the multiplexed frame header;

步骤802:对复用帧头内的数据信息分别进行更新、保存等操作,具体包括对控制信息表更新序号进行处理如紧急广播指示,另外还保存复用帧头长度,如果有下一帧参数则缓存该参数;并获取复用帧内各复用子帧的长度;Step 802: Perform operations such as updating and saving the data information in the multiplexing frame header respectively, specifically including processing the update sequence number of the control information table, such as emergency broadcast instructions, and saving the length of the multiplexing frame header, if there is a next frame parameter Then cache the parameter; and obtain the length of each multiplexed subframe in the multiplexed frame;

步骤803:以字节为单位,在复用帧头长度、4字节CRC_32码和目标复用子帧之前各子帧长度之和的偏移值下,获取目标复用子帧的起始位置和长度,也即根据目标复用子帧的序号,以及复用帧内各复用子帧的长度,获取目标复用子帧的起始位置和长度;进而获得目标复用子帧头的长度和目标复用子帧头中的数据;Step 803: In bytes, under the offset value of the length of the multiplexing frame header, the 4-byte CRC_32 code and the sum of the lengths of the subframes before the target multiplexing subframe, obtain the starting position of the target multiplexing subframe and length, that is, according to the sequence number of the target multiplexing subframe and the length of each multiplexing subframe in the multiplexing frame, the starting position and length of the target multiplexing subframe are obtained; and then the length of the target multiplexing subframe header is obtained Multiplex the data in the subframe header with the target;

步骤804:获取目标复用子帧头中视频段、音频段和数据段的长度和起始时间;Step 804: Obtain the length and start time of the video segment, audio segment and data segment in the target multiplexing sub-frame header;

步骤805:获取视频段、音频段和数据段的段头长度,并对视频段和音频段的段头进行CRC_32校验,如果CRC_32校验正确,则转步骤806,否则转步骤807;Step 805: Obtain the header length of video segment, audio segment and data segment, and carry out CRC_32 check to the header of video segment and audio segment, if the CRC_32 check is correct, then turn to step 806, otherwise turn to step 807;

步骤806:对目标复用子帧内的视频单元和音频单元进行处理;Step 806: Process the video unit and audio unit in the target multiplexing subframe;

步骤807:丢弃这一接收到的复用帧数据。Step 807: Discard the received multiplexed frame data.

由于复用帧是以一秒为单位对业务进行复用的,因此检测到CRC错误,终端就直接丢弃整个复用的数据的操作,这相当于将一秒内所传送的所有视频数据和音频数据全部丢弃,直接造成终端的画面和声音出现严重断续。这样的处理过程就导致终端的接收对信道误码率非常敏感,抗误码率特性很差,严重降低了数据的接收效率,影响了用户音画体验的流畅程度。Since multiplexed frames are multiplexed for services in units of one second, when a CRC error is detected, the terminal directly discards the operation of the entire multiplexed data, which is equivalent to all video data and audio transmitted within one second All the data is discarded, which directly causes serious interruptions in the picture and sound of the terminal. Such a processing process makes the reception of the terminal very sensitive to the bit error rate of the channel, and the resistance to the bit error rate is poor, which seriously reduces the efficiency of data reception and affects the smoothness of the user's audio and video experience.

发明内容 Contents of the invention

本发明所要解决的技术问题是在于需要提供一种提高移动多媒体广播终端接收性能的方法,应用于终端接收到的复用子帧中视频/音频段头CRC校验错误时提取各视频/音频单元数据。The technical problem to be solved by the present invention is to provide a method for improving the receiving performance of the mobile multimedia broadcasting terminal, which is applied to extracting each video/audio unit when the CRC check error of the video/audio header in the multiplexed subframe received by the terminal data.

为了解决上述技术问题,本发明提供一种提高移动多媒体广播终端接收性能的方法,包括如下步骤:In order to solve the above-mentioned technical problems, the present invention provides a method for improving the receiving performance of a mobile multimedia broadcast terminal, comprising the following steps:

(1)所述终端对接收到的复用帧进行解析,从复用帧净荷中解析出目标复用子帧,在获得目标复用子帧中视频段段头长度和音频段段头长度之后,对所述视频段和音频段的段头进行循环冗余校验,如果校验正确则转步骤(2),否则转步骤(3);(1) The terminal parses the received multiplexing frame, and parses the target multiplexing subframe from the multiplexing frame payload, and after obtaining the length of the video segment header and the audio segment header length in the target multiplexing subframe, Carry out cyclic redundancy check to the segment header of described video segment and audio segment, if check is correct then go to step (2), otherwise go to step (3);

(2)对所述目标复用子帧内的视频单元和音频单元进行处理,得到视频段头长度和音频段头长度以及最后一个视频单元和最后一个音频单元的相对播放时间,并进行保存;(2) process the video unit and the audio unit in the multiplexing subframe of the target, obtain the relative playback time of the video segment header length and the audio segment header length and the last video unit and the last audio unit, and save;

(3)利用最近一次正确解析得到的视频/音频段头长度,来定位所述目标复用子帧中的视频/音频段头位置;(3) Utilize the length of the video/audio segment header that is correctly analyzed last time to locate the video/audio segment header position in the target multiplexing subframe;

(4)定位所述目标复用子帧的视频/音频单元,根据最近一次正确解析得到的最后一个视频/音频单元的相对播放时间,得到所述目标复用子帧各视频/音频单元的起始播放时间。(4) Locate the video/audio unit of the target multiplexed subframe, and obtain the start of each video/audio unit of the target multiplexed subframe according to the relative play time of the last video/audio unit obtained from the latest correct analysis playback start time.

上述的一种提高移动多媒体广播终端接收性能的方法,其步骤(1)中述终端在获得所述目标复用子帧之前,可以进一步包括,对于所述目标复用子帧之前收到的复用子帧中所述循环冗余校验正确的视频段/音频段段头,保存该循环冗余校验正确的视频段头长度和音频段头长度,以及最后一个视频单元和最后一个音频单元的相对播放时间。In the above-mentioned method for improving the receiving performance of a mobile multimedia broadcasting terminal, before the terminal in step (1) obtains the target multiplexing subframe, it may further include, for the multiplexing received before the target multiplexing subframe Use the cyclic redundancy check in the subframe to correct the video segment/audio segment header, save the cyclic redundancy check correct video segment header length and audio segment header length, and the relative value of the last video unit and the last audio unit play time.

上述的一种提高移动多媒体广播终端接收性能的方法,其步骤(3)包括可以,在所述目标复用子帧的子帧头结束位置,跳过最近一次正确解析得到的视频/音频段头长度加循环冗余校验码的长度,来定位所述目标复用子帧中的视频/音频段头位置。The above-mentioned method for improving the receiving performance of a mobile multimedia broadcasting terminal, the step (3) includes, at the end position of the subframe header of the target multiplexed subframe, skipping the video/audio segment header that was correctly parsed last time length plus the length of the cyclic redundancy check code to locate the video/audio segment header position in the target multiplexing subframe.

上述的一种提高移动多媒体广播终端接收性能的方法,其步骤(4)可以包括,通过所述目标复用子帧中视频单元起始码标识符,定位所述目标复用子帧的视频单元;通过所述目标复用子帧中音频单元起始码标识符,定位所述目标复用子帧的音频单元。The above-mentioned method for improving the receiving performance of a mobile multimedia broadcasting terminal, its step (4) may include, through the video unit start code identifier in the target multiplexing subframe, locating the video unit of the target multiplexing subframe ; Locate the audio unit of the target multiplexing subframe by using the audio unit start code identifier in the target multiplexing subframe.

上述的一种提高移动多媒体广播终端接收性能的方法,其步骤(4)还可以包括,所述最近一次正确解析得到的最后一个视频单元的相对播放时间,加上所述各视频单元的播放时间,得到所述各视频单元的起始播放时间;所述最近一次正确解析得到的最后一个音频单元的相对播放时间,加上所述各音频单元的播放时间,得到所述各音频单元的起始播放时间。The above-mentioned method for improving the receiving performance of a mobile multimedia broadcasting terminal, its step (4) may also include, the relative play time of the last video unit obtained by the latest correct analysis, plus the play time of each video unit , to obtain the initial playback time of each video unit; the relative playback time of the last audio unit obtained by the latest correct analysis, plus the playback time of each audio unit, to obtain the initial playback time of each audio unit play time.

本发明方法在目标视频段头和音频段头CRC校验错误时,充分利用最近一次收到并正确解析的复用帧中的下一帧参数和复用帧头长度信息,从目标复用帧中提取目标复用子帧的视频数据和音频数据。与现有技术相比,避免了终端因为复用帧头CRC校验错误而丢弃整个复用帧数据,明显提高了误码条件下终端的接收性能,改善了终端的画面和声音出现严重断续的情况。The method of the present invention makes full use of the next frame parameter and the length information of the multiplexed frame header in the multiplexed frame received and correctly parsed last time when the CRC check error of the target video segment header and the audio segment header is obtained from the target multiplexed frame. Video data and audio data of the target multiplexing subframe are extracted. Compared with the existing technology, it prevents the terminal from discarding the entire multiplexed frame data due to the CRC check error of the multiplexed frame header, significantly improves the receiving performance of the terminal under the condition of bit error, and improves the serious discontinuity of the picture and sound of the terminal Case.

附图说明 Description of drawings

图1是现有技术中复用帧实施例的结构示意图;FIG. 1 is a schematic structural diagram of an embodiment of a multiplexing frame in the prior art;

图2是现有技术中复用帧与复用子帧实施例的结构示意图;FIG. 2 is a schematic structural diagram of an embodiment of a multiplexing frame and a multiplexing subframe in the prior art;

图3是现有技术中复用帧头实施例的结构示意图;Fig. 3 is a schematic structural diagram of an embodiment of a multiplexing frame header in the prior art;

图4是现有技术中复用子帧实施例的结构示意图;FIG. 4 is a schematic structural diagram of an embodiment of multiplexing subframes in the prior art;

图5是现有技术中视频段实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of a video segment in the prior art;

图6是现有技术中音频段实施例的结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of an audio segment in the prior art;

图7是现有技术中复用帧接收处理实施例流程示意图;Fig. 7 is a schematic flow diagram of an embodiment of multiplexing frame receiving processing in the prior art;

图8是现有技术中复用帧接收处理应用实施例流程示意图;FIG. 8 is a schematic flow diagram of an application embodiment of multiplexing frame receiving and processing in the prior art;

图9是本发明方法实施例流程示意图;Fig. 9 is a schematic flow chart of a method embodiment of the present invention;

图10是本发明方法应用实施例流程示意图。Fig. 10 is a schematic flow chart of an application example of the method of the present invention.

具体实施方式 Detailed ways

以下结合附图和具体实施方式对本发明作进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

对复用子帧的结构进行分析,我们可以发现以下特点:Analyzing the structure of multiplexed subframes, we can find the following characteristics:

(A)对于一个复用帧来说,复用帧内各复用子帧的长度除了从复用帧头中获得外,还有另外一种方法也可以得到:当复用子帧的子帧头解析正确时,以字节为单位,复用子帧的长度=子帧头长度+4字节的CRC_32码+各信息段长度;(A) For a multiplexed frame, besides obtaining the length of each multiplexed subframe in the multiplexed frame from the multiplexed frame header, there is another way to obtain it: when the subframe of the multiplexed subframe When the header is parsed correctly, in bytes, the length of the multiplexed subframe=the length of the subframe header+the CRC_32 code of 4 bytes+the length of each information segment;

(B)视频/音频段头中包含的多个视频/音频单元相对播放时间,除了复用子帧头CRC正确时,根据复用子帧头中的相对播放时间为参考进行偏移外,还有另外一种方法,不依赖复用子帧头中的起始播放时间,而是通过最近一次正确解析得到的相对播放时间为参考进行偏移,而且后者也是更通用的方法。(B) The relative playback time of multiple video/audio units contained in the video/audio segment header, except that when the multiplexed subframe header CRC is correct, the relative playback time in the multiplexed subframe header is used as a reference to offset, and There is another method, which does not rely on the starting playback time in the multiplexing subframe header, but uses the relative playback time obtained from the latest correct analysis as a reference to offset, and the latter is also a more general method.

从上述对复用帧结构的分析,我们得出了这样一个结论:在终端没有切换业务的情况下,终端在进行复用帧的处理过程中,获得目标复用子帧中视频段段头长度和音频段段头长度之后,对视频段段头/音频段段头进行CRC校验错误时,可以利用最近一次正确解析得到的视频段头/音频段头长度信息,来获取目标复用子帧中的视频段头长度/音频段头长度信息。From the above analysis of the multiplexing frame structure, we have come to such a conclusion: when the terminal does not switch services, the terminal obtains the video segment header length and After the length of the audio segment header, when the CRC check error is performed on the video segment header/audio segment header, you can use the video segment header/audio segment header length information obtained from the last correct analysis to obtain the video segment in the target multiplexing subframe Header length/audio segment header length information.

因此,本发明的思路是:终端在获得目标复用子帧中视频段段头长度和音频段段头长度之后,如果对视频段段头/音频段段头进行CRC校验错误,则通过充分利用最近一次正确解析得到的视频段头/音频段头长度信息,来获取目标复用子帧中的视频段头长度/音频段头长度信息,并尽可能地从目标复用子帧中提取除相关的视频数据和音频数据。这样就避免了终端因为视频段段头/音频段段头CRC校验错误而丢弃整个复用的数据,从而造成的终端画面和声音出现严重断续,影响用户音画体验的流畅程度的问题。Therefore, the idea of the present invention is: after the terminal obtains the length of the video segment header and the length of the audio segment header in the target multiplexing subframe, if the CRC check error is performed on the video segment header/audio segment header, then by making full use of the last correct Parse the obtained video segment header/audio segment header length information to obtain the video segment header length/audio segment header length information in the target multiplexing subframe, and extract relevant video data from the target multiplexing subframe as much as possible and audio data. This prevents the terminal from discarding the entire multiplexed data due to CRC check error of the video segment header/audio segment header, resulting in severe discontinuity of the terminal screen and sound, which affects the smoothness of the user's audio and video experience.

参见图9,本发明方法实施例流程,主要包括如下步骤:Referring to Figure 9, the process flow of the method embodiment of the present invention mainly includes the following steps:

步骤901:终端在对目标复用子帧中的视频段/音频段段头进行CRC校验之前,对于之前收到的复用子帧中CRC校验正确的视频段段头/音频段段头,在视频单元和音频单元进行处理之后,保存视频段头长度和音频段头长度,以及最后一个视频单元和最后一个音频单元的相对播放时间;Step 901: Before performing CRC check on the video segment/audio segment header in the target multiplexed subframe, the terminal checks the correct video segment header/audio segment header in the previously received multiplexed subframe. After the unit and the audio unit are processed, save the length of the video segment header and the length of the audio segment header, as well as the relative playback time of the last video unit and the last audio unit;

步骤902:终端在对接收到的复用帧进行解析,获得目标复用子帧中视频段段头长度和音频段段头长度之后,对目标复用子帧的视频段和音频段的段头进行CRC_32校验,如果校验正确则转步骤903,否则转步骤913;Step 902: After the terminal analyzes the received multiplexed frame and obtains the header length of the video segment and the header length of the audio segment in the target multiplexed subframe, it performs CRC_32 check on the headers of the video segment and the audio segment of the target multiplexed subframe Check, if the check is correct, go to step 903, otherwise go to step 913;

步骤903:对目标复用子帧内的视频单元和音频单元进行处理,得到视频段头长度和音频段头长度,各视频和音频单元的长度,各视频和音频单元的相对播放时间,以及各视频和音频单元的数据信息;Step 903: Process the video unit and audio unit in the target multiplexing subframe to obtain the length of the video segment header and the length of the audio segment header, the length of each video and audio unit, the relative play time of each video and audio unit, and the length of each video segment and audio unit data information;

步骤904:保存视频段头长度和音频段头长度,以及最后一个视频单元和最后一个音频单元的相对播放时间,视频段和音频段的处理过程结束;Step 904: save the length of the video segment header and the length of the audio segment header, and the relative play time of the last video unit and the last audio unit, and the processing of the video segment and the audio segment ends;

步骤913:利用所保存的最近一次正确解析得到的视频/音频段头长度,来定位目标复用子帧中的视频/音频段头;Step 913: Utilize the length of the video/audio segment header saved by the latest correct analysis to locate the video/audio segment header in the target multiplexing subframe;

步骤914:寻找到视频单元起始码标识符/音频单元起始码标识符,定位目标复用子帧的视频/音频单元;Step 914: Find the video unit start code identifier/audio unit start code identifier, and locate the video/audio unit of the target multiplexing subframe;

步骤915:根据所保存的最近一次正确解析复用帧得到的该复用帧中复用子帧的最后一个视频/音频单元的相对播放时间进行偏移,得到目标复用子帧各视频/音频单元的起始播放时间,完成视频段和音频段的处理过程。Step 915: Offset according to the relative playback time of the last video/audio unit of the multiplexed subframe in the multiplexed frame obtained by correctly parsing the multiplexed frame last time to obtain each video/audio of the target multiplexed subframe The start playback time of the unit, and complete the processing of the video segment and audio segment.

参见图10,本发明方法应用实施例的流程,包括如下步骤:Referring to Fig. 10, the flow of the method application embodiment of the present invention includes the following steps:

步骤T01~步骤T04,与步骤801~步骤804相同;Step T01 to step T04 are the same as steps 801 to 804;

步骤T05:获取视频段、音频段和数据段的段头长度,并对视频段和音频段的段头进行CRC_32校验,如果视频段和音频段的段头CRC_32校验均正确,则转步骤T06,否则转步骤T16;Step T05: Obtain the header lengths of the video segment, audio segment, and data segment, and perform CRC_32 checks on the headers of the video segment and audio segment. If the CRC_32 checks of the video segment and audio segment are correct, then go to step T06. Otherwise go to step T16;

步骤T06:对目标复用子帧内的视频单元和音频单元进行处理,得到视频段头长度和音频段头长度,视频/音频段各单元的长度和相对播放时间,并获取各单元的数据;Step T06: Process the video unit and audio unit in the target multiplexing subframe to obtain the video segment header length and audio segment header length, the length and relative playback time of each unit of the video/audio segment, and obtain the data of each unit;

步骤T07:保存视频段头长度和音频段头长度,以及最后一个视频单元和最后一个音频单元的相对播放时间;视频段和音频段的处理过程结束;Step T07: save the length of the video segment header and the length of the audio segment header, and the relative play time of the last video unit and the last audio unit; the processing of the video segment and the audio segment ends;

步骤T16:利用最近一次正确解析得到的视频/音频段头长度,来定位当前目标复用子帧中的视频/音频段头位置;Step T16: Utilize the length of the video/audio segment header obtained from the latest correct analysis to locate the position of the video/audio segment header in the current target multiplexing subframe;

步骤T17:寻找到视频单元标识符/音频单元起始码标识符,来定位相应的视频/音频单元,从而得到各视频/音频单元的数据内容;Step T17: Find the video unit identifier/audio unit start code identifier to locate the corresponding video/audio unit, thereby obtaining the data content of each video/audio unit;

步骤T18:根据所保存的最近一次正确解析复用帧得到的该复用帧中复用子帧最后一个视频单元和最后一个音频单元的相对播放时间进行偏移,从而得到各视频/音频单元的起始播放时间,完成视频段和音频段的处理过程。Step T18: Offset the relative playback time of the last video unit and the last audio unit of the multiplexed subframe in the multiplexed frame according to the stored last correct analysis of the multiplexed frame, so as to obtain the Start playing time, complete the processing of video segment and audio segment.

步骤T16中,根据最近一次正确解析得到的视频/音频段头长度,来定位当前目标复用子帧中的视频/音频段头,具体操作是在目标复用子帧的子帧头结束位置,跳过最近一次正确解析得到的视频/音频段头长度加4字节CRC_32码的长度,将其确定为当前欲要解析的视频/音频段头位置。In step T16, locate the video/audio segment header in the current target multiplexing subframe according to the length of the video/audio segment header obtained by the latest correct analysis. The specific operation is at the end position of the subframe header of the target multiplexing subframe, Skip the video/audio segment header length obtained by the latest correct analysis plus the length of the 4-byte CRC_32 code, and determine it as the current video/audio segment header position to be parsed.

这是因为在实际的业务中,分配的带宽是一定的,视频段头和音频段头的长度变化不大,因此可以利用上一秒的视频段头和音频段头长度估计当前子帧中的视频段长度和音频段头长度。This is because in actual business, the allocated bandwidth is certain, and the lengths of video segment headers and audio segment headers do not change much. Therefore, the length of video segment headers and audio segment headers in the last second can be used to estimate the video segment in the current subframe. length and audio segment header length.

步骤T18中最后一个视频/音频单元的相对播放时间,是一个估计值,是可以依据视频/音频单元的编码规律所取的一个经验值。各视频单元的起始播放时间,等于最近一次正确解析得到的最后一个视频单元的相对播放时间点,加上各视频单元的播放时间;各音频单元的起始播放时间,等于最近一次正确解析得到的最后一个音频单元的相对播放时间点,加上各音频单元的播放时间。The relative playing time of the last video/audio unit in step T18 is an estimated value, an empirical value that can be taken according to the coding law of the video/audio unit. The starting playback time of each video unit is equal to the relative playback time point of the last video unit obtained by the latest correct analysis, plus the playback time of each video unit; the starting playback time of each audio unit is equal to the last correct analysis. The relative playback time of the last audio unit in , plus the playback time of each audio unit.

本发明中,在视频段和音频段的段头CRC_32校验错误之前,必须至少有一次视频段和音频段的段头CRC_32校验正确,来保证上述步骤T07中所进行的保存过程,来为步骤T16~步骤T18的执行提供支持。In the present invention, before the header CRC_32 of the video segment and the audio segment is checked incorrectly, the header CRC_32 of the video segment and the audio segment must be checked correctly at least once to ensure that the preservation process carried out in the above-mentioned step T07 is step T16 ~Provide support for the execution of step T18.

本发明方法在目标复用子帧中视频段头和音频段头CRC校验错误时,充分利用最近一次收到并正确解析的视频段头和音频段头长度信息对目标复用子帧中的视频单元和音频单元进行定位和解析,并采用视频单元起始码标识符和音频单元起始码标识符来分别定位视频单元和音频单元,提取相关的视频数据和音频数据,还根据最近一次收到并正确解析得到的播放时间进行偏移,得到视频单元和音频单元的播放时间,避免了终端因为复用帧头和复用子帧头CRC错误而丢弃整个复用帧数据,明显地提高误码条件下终端的接收性能,改善了终端因为复用帧头CRC校验错误时丢弃复用帧数据而导致的画面和声音出现严重断续的情况。In the method of the present invention, when the CRC check error of the video segment header and the audio segment header in the target multiplexing subframe is made full use of the video segment header and audio segment header length information received and correctly parsed last time, the video unit in the target multiplexing subframe is fully utilized. and audio unit for positioning and analysis, and use the video unit start code identifier and audio unit start code identifier to respectively locate the video unit and audio unit, extract the relevant video data and audio data, and also according to the latest received and The playing time obtained by correct analysis is offset to obtain the playing time of the video unit and the audio unit, which prevents the terminal from discarding the entire multiplexed frame data due to the CRC error of the multiplexed frame header and the multiplexed subframe header, and significantly improves the bit error condition Improve the receiving performance of the terminal, and improve the situation that the terminal discards the multiplexed frame data due to the error of the CRC check of the multiplexed frame header, which causes severe intermittent picture and sound.

当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,本领域技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围之内。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes and All deformations should fall within the scope of protection of the appended claims of the present invention.

Claims (5)

1、一种提高移动多媒体广播终端接收性能的方法,其特征在于,包括如下步骤:1. A method for improving the receiving performance of a mobile multimedia broadcasting terminal, characterized in that, comprising the steps: (1)所述终端对接收到的复用帧进行解析,从复用帧净荷中解析出目标复用子帧,在获得目标复用子帧中视频段段头长度和音频段段头长度之后,对所述视频段和音频段的段头进行循环冗余校验,如果校验正确则转步骤(2),否则转步骤(3);(1) The terminal parses the received multiplexing frame, and parses the target multiplexing subframe from the multiplexing frame payload, and after obtaining the length of the video segment header and the audio segment header length in the target multiplexing subframe, Carry out cyclic redundancy check to the segment header of described video segment and audio segment, if check is correct then go to step (2), otherwise go to step (3); (2)对所述目标复用子帧内的视频单元和音频单元进行处理,得到视频段头长度和音频段头长度以及最后一个视频单元和最后一个音频单元的相对播放时间,并进行保存;(2) process the video unit and the audio unit in the multiplexing subframe of the target, obtain the relative playback time of the video segment header length and the audio segment header length and the last video unit and the last audio unit, and save; (3)利用最近一次正确解析得到的视频/音频段头长度,来定位所述目标复用子帧中的视频/音频段头位置;(3) Utilize the length of the video/audio segment header that is correctly analyzed last time to locate the video/audio segment header position in the target multiplexing subframe; (4)定位所述目标复用子帧的视频/音频单元,根据最近一次正确解析得到的最后一个视频/音频单元的相对播放时间,得到所述目标复用子帧各视频/音频单元的起始播放时间。(4) Locate the video/audio unit of the target multiplexed subframe, and obtain the start of each video/audio unit of the target multiplexed subframe according to the relative play time of the last video/audio unit obtained from the latest correct analysis playback start time. 2、如权利要求1所述的方法,其特征在于,步骤(1)中所述终端在获得所述目标复用子帧之前,进一步包括,对于所述目标复用子帧之前收到的复用子帧中所述循环冗余校验正确的视频段/音频段段头,保存该循环冗余校验正确的视频段头长度和音频段头长度,以及最后一个视频单元和最后一个音频单元的相对播放时间。2. The method according to claim 1, wherein in step (1), before obtaining the target multiplexing subframe, the terminal further includes, for the multiplexing received before the target multiplexing subframe Use the cyclic redundancy check in the subframe to correct the video segment/audio segment header, save the cyclic redundancy check correct video segment header length and audio segment header length, and the relative value of the last video unit and the last audio unit play time. 3、如权利要求1所述的方法,其特征在于,步骤(3)包括,在所述目标复用子帧的子帧头结束位置,跳过最近一次正确解析得到的视频/音频段头长度加循环冗余校验码的长度,来定位所述目标复用子帧中的视频/音频段头位置。3. The method according to claim 1, wherein step (3) includes, at the end position of the subframe header of the target multiplexing subframe, skipping the length of the video/audio segment header obtained by the latest correct analysis The length of the cyclic redundancy check code is added to locate the video/audio segment header position in the target multiplexing subframe. 4、如权利要求1所述的方法,其特征在于,步骤(4)包括,通过所述目标复用子帧中视频单元起始码标识符,定位所述目标复用子帧的视频单元;通过所述目标复用子帧中音频单元起始码标识符,定位所述目标复用子帧的音频单元。4. The method according to claim 1, wherein step (4) comprises, through the video unit start code identifier in the target multiplexing subframe, locating the video unit of the target multiplexing subframe; The audio unit of the target multiplexing subframe is located through the audio unit start code identifier in the target multiplexing subframe. 5、如权利要求1所述的方法,其特征在于,步骤(4)包括,所述最近一次正确解析得到的最后一个视频单元的相对播放时间,加上所述各视频单元的播放时间,得到所述各视频单元的起始播放时间;所述最近一次正确解析得到的最后一个音频单元的相对播放时间,加上所述各音频单元的播放时间,得到所述各音频单元的起始播放时间。5. The method according to claim 1, wherein step (4) comprises, adding the relative playing time of the last video unit obtained by the latest correct analysis to the playing time of each video unit, to obtain The starting playing time of each video unit; the relative playing time of the last audio unit obtained by the latest correct analysis, plus the playing time of each audio unit, to obtain the starting playing time of each audio unit .
CNB2007101234317A 2007-06-22 2007-06-22 A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal Expired - Fee Related CN100574452C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101234317A CN100574452C (en) 2007-06-22 2007-06-22 A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101234317A CN100574452C (en) 2007-06-22 2007-06-22 A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal

Publications (2)

Publication Number Publication Date
CN101072361A CN101072361A (en) 2007-11-14
CN100574452C true CN100574452C (en) 2009-12-23

Family

ID=38899310

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101234317A Expired - Fee Related CN100574452C (en) 2007-06-22 2007-06-22 A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal

Country Status (1)

Country Link
CN (1) CN100574452C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207460B (en) * 2007-12-14 2011-02-02 北京创毅视讯科技有限公司 Method and terminal for receiving data in broadcasting system
CN101594188B (en) * 2009-05-12 2011-05-18 屈景明 Audio broadcast system, receiving device thereof and audio receiving processing method
CN101835051B (en) * 2010-04-20 2012-02-01 杭州国芯科技股份有限公司 Method for correcting mobile multimedia broadcasting multiplex frame head
CN101841671B (en) * 2010-05-17 2011-09-07 北京创毅视讯科技有限公司 Data receiving method and terminal in mobile multimedia broadcasting (CMMB) system
CN106686466B (en) * 2017-01-10 2020-10-23 深圳市芯睿视科技有限公司 Video data positioning method

Also Published As

Publication number Publication date
CN101072361A (en) 2007-11-14

Similar Documents

Publication Publication Date Title
CN100531401C (en) Method for improving receiving performance of mobile multimedia broadcasting terminal
US8416742B2 (en) Mobile service reception method and mobile service receiver
US9407966B2 (en) Method and apparatus for transmitting and receiving signaling information in digital broadcasting system
US20120110412A1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
US20100118760A1 (en) Method for transmitting mobile multimedia broadcast service data flow and a multiplexing frame for transmitting
CN100574452C (en) A Method for Improving Receiving Performance of Mobile Multimedia Broadcasting Terminal
CN100551077C (en) A data processing method of a mobile multimedia terminal
KR20090108677A (en) Transmission / reception system and data processing method
US20090135898A1 (en) Method and user device for receiving digital transmissions
CN101335898B (en) A demultiplexing device and method for a mobile multimedia broadcasting terminal
CN100472993C (en) A mobile multimedia terminal and method for updating ESG basic description table by the terminal
CN101453347B (en) A method for sending and receiving mobile multimedia broadcasting data
CN101102171B (en) A data processing method of a mobile multimedia terminal
CN201127093Y (en) A mobile multimedia broadcasting terminal
CN201123072Y (en) A processing system for mobile multimedia broadcasting data
CN100525250C (en) Method for realizing IP stream mode service utilizing MPE-FEC technique in T-MMB system
CN101330398B (en) A method for sending business data streams
CN100574473C (en) Method and device for receiving mobile multimedia broadcasting
US8427960B2 (en) Method and device for analyzing data
CN101005325B (en) Method for realizing advanced sending of mobile multimedia broadcast contrul list updating indication information
CN201127092Y (en) A mobile multimedia broadcasting terminal
CN201167388Y (en) A processing system for mobile broadcast data
CN100461922C (en) A mobile multimedia terminal and method for updating CSCT by the terminal
CN201114558Y (en) Service Switching Device for Mobile Multimedia Broadcasting Terminal
CN201114637Y (en) Network information table update sequence number processing device and mobile terminal

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: 20091223

Termination date: 20200622