CN107295366B - Method and system for scheduling and multiplexing broadcast multi-pipeline service data - Google Patents
Method and system for scheduling and multiplexing broadcast multi-pipeline service data Download PDFInfo
- Publication number
- CN107295366B CN107295366B CN201610207968.0A CN201610207968A CN107295366B CN 107295366 B CN107295366 B CN 107295366B CN 201610207968 A CN201610207968 A CN 201610207968A CN 107295366 B CN107295366 B CN 107295366B
- Authority
- CN
- China
- Prior art keywords
- data
- service
- pipeline
- frame
- baseband
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000011664 signaling Effects 0.000 claims abstract description 110
- 239000000872 buffer Substances 0.000 claims abstract description 14
- 230000003139 buffering effect Effects 0.000 claims abstract description 3
- 238000012545 processing Methods 0.000 claims description 11
- 238000013507 mapping Methods 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 13
- 238000009432 framing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 235000007682 pyridoxal 5'-phosphate Nutrition 0.000 description 9
- NGVDGCNFYWLIFO-UHFFFAOYSA-N pyridoxal 5'-phosphate Chemical compound CC1=NC=C(COP(O)(O)=O)C(C=O)=C1O NGVDGCNFYWLIFO-UHFFFAOYSA-N 0.000 description 8
- 238000004088 simulation Methods 0.000 description 8
- 238000012937 correction Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 102100038023 DNA fragmentation factor subunit beta Human genes 0.000 description 1
- 102100027617 DNA/RNA-binding protein KIN17 Human genes 0.000 description 1
- 101000950965 Homo sapiens DNA fragmentation factor subunit beta Proteins 0.000 description 1
- 101001008941 Homo sapiens DNA/RNA-binding protein KIN17 Proteins 0.000 description 1
- 208000024609 Rothmund-Thomson syndrome type 2 Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2383—Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
本发明提供一种广播多管道业务数据调度复用方法及系统。所述广播多管道业务数据调度复用方法包括:获取多管道业务数据参数和系统参数;接收各个业务管道的数据,并分别缓存到各个业务管道的缓存中;反复执行以下步骤直到各个业务管道都得到数据基带帧数目个数据基带帧;获得所述多管道业务数据参数和系统参数,形成信令帧载荷信息并封装到一个信令基带帧中,将所述信令基带帧包括信令基带帧头信息,信令帧载荷信息;将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列本发明能实现多管道业务数据通过动态调度依次形成基带帧,并映射到一个物理帧传输。
The present invention provides a method and system for scheduling and multiplexing broadcast multi-pipeline service data. The method for scheduling and multiplexing broadcast multi-pipeline service data includes: acquiring multi-pipeline service data parameters and system parameters; receiving data from each service pipe and buffering them in the buffers of each service pipe; and repeatedly performing the following steps until each service pipe is Obtain the number of data baseband frames; obtain the multi-pipeline service data parameters and system parameters, form the signaling frame load information and encapsulate it into a signaling baseband frame, and include the signaling baseband frame in the signaling baseband frame. header information, signaling frame load information; the signaling baseband frame and all the obtained data baseband frames are time-division multiplexed to form a baseband frame sequence that can be carried by one physical frame. The schedules in turn form baseband frames and map to a physical frame for transmission.
Description
技术领域technical field
本发明涉及一种数字广播电视系统领域,特别是涉及一种广播多管道业务数据调度复用方法与系统。The invention relates to the field of digital broadcasting and television systems, in particular to a method and system for scheduling and multiplexing data of broadcasting multi-pipeline services.
背景技术Background technique
随着多媒体业务和终端形态的发展,数字电视广播系统对多QoS业务的支持需求日益提高。新一代的数字电视广播系统,如欧洲DVB-T2/NGH和美国ATSC3.0数字电视系统,均采用管道化技术,实现支持一个物理帧中复用和传输不同业务数据格式和不同调制编码的业务数据。With the development of multimedia services and terminal forms, the digital TV broadcasting system has an increasing demand for supporting multiple QoS services. The new generation of digital TV broadcasting systems, such as European DVB-T2/NGH and American ATSC3.0 digital TV systems, all use pipeline technology to support multiplexing and transmission of different business data formats and different modulation and coding services in one physical frame data.
实现多管道传输需要保证复用器调度不同速率的多个管道业务数据流分别成帧,并无缝级联;从而让各个逻辑管道(PLP)承载的业务数据按照一定的顺序传输到广播调制器并采用不同的编码调制后,映射到各管道相应物理资源上发送。由于各管道业务数据是多路并行输入,而且速率各不相同。因此,将多个管道业务数据采用各自不同的数据长度分别进行成帧处理,成为了实现各个管道业务数据与物理资源的有效匹配传输的关键技术。To achieve multi-pipe transmission, it is necessary to ensure that the multiplexer schedules multiple pipeline service data streams of different rates to be framed and seamlessly cascaded; so that the service data carried by each logical pipe (PLP) can be transmitted to the broadcast modulator in a certain order. After adopting different coding and modulation, it is mapped to the corresponding physical resources of each pipeline for transmission. Because the business data of each pipeline is input in multiple ways in parallel, and the rates are different. Therefore, framing multiple pipeline service data with different data lengths has become a key technology to achieve effective matching transmission between each pipeline service data and physical resources.
鉴于此,如何找到一种方便快捷的调度处理各个管道业务数据并映射到物理帧上的技术方案就成了本领域技术人员亟待解决的问题。In view of this, how to find a convenient and quick technical solution for scheduling and processing the service data of each pipeline and mapping it to the physical frame has become an urgent problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种广播多管道业务数据调度复用方法与系统,用于解决现有技术中不同速率的多个管道业务数据流难以调度组装成物理帧的问题。In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method and system for scheduling and multiplexing broadcast multi-pipeline service data, which is used to solve the difficulty in scheduling and assembling multiple pipe service data streams of different rates in the prior art. Problems with physical frames.
为实现上述目的及其他相关目的,本发明提供一种广播多管道业务数据调度复用方法,所述广播多管道业务数据调度复用方法包括:步骤S1,获取多管道业务数据参数和系统参数,多管道业务数据参数包括业务管道的数目,各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数;根据各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数确定各个业务管道数据基带帧中承载的业务数据比特数目以及数据基带帧数目;步骤S2,接收各个业务管道数据,并分别缓存到各个业务管道的缓存中;反复执行以下步骤直到各个业务管道都得到数据基带帧数目个数据基带帧:检测各个业务管道缓存中的数据大小,确定缓存数据大小大于所述管道业务数据比特数目的业务管道;在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道,从选取的业务管道缓存中截取所述业务管道业务数据比特数目的数据,并将所截取的数据封装到一个数据基带帧中,所述数据基带帧中包括数据基带帧头信息和所截取的数据;所述数据基带帧头信息包括所述数据基带帧所属的物理帧的序号信息以及所述数据基带帧所属管道的序号信息;步骤S3,获得所述多管道业务数据参数和系统参数,形成信令帧载荷信息并封装到一个信令基带帧中,所述信令基带帧包括信令基带帧头信息和信令帧载荷信息;所述信令基带帧头信息包括所述信令基带帧所属的物理帧的序号信息;步骤S4,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列。所述信令基带帧与数据基带帧中承载的信息比特经过编码调制后映射到一个物理帧的数据区域进行传输,所述物理帧还包括物理帧头信息,所述物理帧头信息包括所述物理帧的序号信息。In order to achieve the above object and other related objects, the present invention provides a method for scheduling and multiplexing broadcast multi-pipeline service data. The method for scheduling and multiplexing broadcast multi-pipeline service data includes: step S1, acquiring multi-pipeline service data parameters and system parameters, The multi-pipeline service data parameters include the number of service pipes, the information bit length of the previous code block used for encoding each service pipe data, or the total number of pre-encoded information bits carried in a physical frame and the number of coding blocks; according to each service pipe The information bit length of the previous code block used for encoding or the total number of pre-encoded information bits carried in a physical frame and the number of encoding blocks determine the number of service data bits and the number of data baseband frames carried in each service pipeline data baseband frame. Step S2, receive each business pipeline data, and be buffered in the cache of each business pipeline respectively; Execute the following steps repeatedly until each business pipeline all obtains data baseband frame number data baseband frame: detect the data size in each business pipeline cache, Determine a service pipeline whose cached data size is greater than the number of pipeline service data bits; select a service pipeline with a cached data size greater than the number of pipeline service data bits, and intercept the service pipeline service data from the selected service pipeline cache bit number of data, and encapsulate the intercepted data into a data baseband frame, the data baseband frame includes the data baseband frame header information and the intercepted data; the data baseband frame header information includes the data baseband frame The serial number information of the physical frame to which it belongs and the serial number information of the pipeline to which the data baseband frame belongs; Step S3, obtain the multi-pipeline service data parameters and system parameters, form the signaling frame load information and encapsulate it into a signaling baseband frame, The signaling baseband frame includes the signaling baseband frame header information and the signaling frame load information; the signaling baseband frame header information includes the sequence number information of the physical frame to which the signaling baseband frame belongs; Step S4: The baseband frame and all the obtained data baseband frames are time-division multiplexed to form a sequence of baseband frames that can be carried by one physical frame. The information bits carried in the signaling baseband frame and the data baseband frame are encoded and modulated and then mapped to a data area of a physical frame for transmission. The physical frame further includes physical frame header information, and the physical frame header information includes the Sequence number information of the physical frame.
可选地,所述业务管道缓存采用FIFO缓存。Optionally, the service pipeline cache adopts FIFO cache.
可选地,在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道的具体实现包括:在缓存数据大小大于所述管道业务数据比特数目的业务管道中选择缓存数据大小最大的业务管道。Optionally, the specific implementation of selecting a service pipeline in a service pipeline whose cached data size is greater than the number of service data bits in the pipeline includes: selecting a service pipeline whose cached data size is greater than the number of service data bits in the pipeline with the largest cached data size. business pipeline.
可选地,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列的具体实现包括:按照信令基带帧在先数据基带帧在后的顺序映射到所述物理帧的数据区域;所述数据基带帧按所属管道序号及生成的先后顺序映射到所述物理帧的数据区域。Optionally, the specific implementation of segmenting the signaling baseband frame and all the obtained data baseband frames to form a baseband frame sequence that can be carried by one physical frame includes: according to the signaling baseband frame preceding the data baseband frame. The latter sequence is mapped to the data area of the physical frame; the data baseband frame is mapped to the data area of the physical frame according to the sequence number of the pipeline to which it belongs and the sequence of generation.
可选地,所述物理帧还包括填充数据和/或校验数据。Optionally, the physical frame further includes padding data and/or check data.
可选地,所述数据基带帧还包括填充数据和/或校验数据。Optionally, the data baseband frame further includes padding data and/or check data.
可选地,所述信令基带帧还包括填充数据和/或校验数据。Optionally, the signaling baseband frame further includes padding data and/or check data.
可选地,所述校验数据包括CRC校验数据。Optionally, the check data includes CRC check data.
本发明提供一种广播多管道业务数据调度复用系统,所述广播多管道业务数据调度复用方法系统包括:业务管道参数获取模块,用于获取多管道业务数据参数和系统参数,多管道业务数据参数包括业务管道的数目,各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数;根据各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数确定各个业务管道数据基带帧中承载的业务数据比特数目以及数据基带帧数目;业务数据缓存处理模块,用于接收各个业务管道数据,并分别缓存到各个业务管道的缓存中;反复执行以下步骤直到各个业务管道都得到数据基带帧数目个数据基带帧:检测各个业务管道缓存中的数据大小,确定缓存数据大小大于所述管道业务数据比特数目的业务管道;在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道,从选取的业务管道缓存中截取所述业务管道业务数据比特数目的数据,并将所截取的数据封装到一个数据基带帧中,所述数据基带帧中包括数据基带帧头信息和所截取的数据;所述数据基带帧头信息包括所述数据基带帧所属的物理帧的序号信息以及所述数据基带帧所属管道的序号信息;信令帧生成模块,用于获得所述多管道业务数据参数和系统参数,形成信令帧载荷信息并封装到一个信令基带帧中,所述信令基带帧包括信令基带帧头信息和信令帧载荷信息;所述信令基带帧头信息包括所述信令基带帧所属的物理帧的序号信息;基带帧复用模块,用于将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列。The present invention provides a system for scheduling and multiplexing broadcast multi-pipeline service data. The system for scheduling and multiplexing broadcast multi-pipeline service data includes: a service pipe parameter acquisition module for acquiring multi-pipeline service data parameters and system parameters. The data parameters include the number of service pipelines, the information bit length of the previous code block used for coding each service pipeline data, or the total number of information bits before coding and the number of coding blocks carried in a physical frame for the pipeline; The information bit length of the previous code block or the total number of information bits before encoding carried in a physical frame and the number of encoding blocks determine the number of service data bits and the number of data baseband frames carried in each service pipeline data baseband frame; service data The cache processing module is used to receive the data of each service pipeline and cache it in the cache of each service pipeline respectively; repeatedly execute the following steps until each service pipeline obtains the number of data baseband frames and the number of data baseband frames: Detect the data in the cache of each service pipeline size, determine a service pipeline whose cached data size is greater than the number of service data bits in the pipeline; select a service pipeline with a cached data size greater than the number of service data bits in the pipeline, and intercept the service pipeline from the selected service pipeline cache data of the number of service data bits, and encapsulate the intercepted data into a data baseband frame, the data baseband frame includes the data baseband frame header information and the intercepted data; the data baseband frame header information includes the data The serial number information of the physical frame to which the baseband frame belongs and the serial number information of the pipeline to which the data baseband frame belongs; the signaling frame generation module is used to obtain the multi-pipeline service data parameters and system parameters, form signaling frame load information and encapsulate it into In a signaling baseband frame, the signaling baseband frame includes signaling baseband frame header information and signaling frame load information; the signaling baseband frame header information includes sequence number information of the physical frame to which the signaling baseband frame belongs; The baseband frame multiplexing module is used for time-division multiplexing the signaling baseband frame and all the obtained data baseband frames to form a baseband frame sequence that can be carried by one physical frame.
可选地,所述业务管道缓存采用FIFO缓存。Optionally, the service pipeline cache adopts FIFO cache.
可选地,在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道的具体实现包括:在缓存数据大小大于所述管道业务数据比特数目的业务管道中选择缓存数据大小最大的业务管道。Optionally, the specific implementation of selecting a service pipeline in a service pipeline whose cached data size is greater than the number of service data bits in the pipeline includes: selecting a service pipeline whose cached data size is greater than the number of service data bits in the pipeline with the largest cached data size. business pipeline.
可选地,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列的具体实现包括:按照信令基带帧在先数据基带帧在后的顺序映射到所述物理帧的数据区域;所述数据基带帧按所属管道序号及生成的先后顺序映射到所述物理帧的数据区域。Optionally, the specific implementation of segmenting the signaling baseband frame and all the obtained data baseband frames to form a baseband frame sequence that can be carried by one physical frame includes: according to the signaling baseband frame preceding the data baseband frame. The latter sequence is mapped to the data area of the physical frame; the data baseband frame is mapped to the data area of the physical frame according to the sequence number of the pipeline to which it belongs and the sequence of generation.
可选地,所述数据基带帧还包括填充数据和/或校验数据。Optionally, the data baseband frame further includes padding data and/or check data.
可选地,所述信令基带帧还包括填充数据和/或校验数据。Optionally, the signaling baseband frame further includes padding data and/or check data.
可选地,所述校验数据包括CRC校验数据。Optionally, the check data includes CRC check data.
如上所述,本发明的一种广播多管道业务数据调度复用方法与系统,具有以下有益效果:能实现具有不同速率和不同QoS要求(调制方式、编码码率和码长)的多管道业务数据,通过动态调度,依次形成基带帧,并映射到一个物理帧传输。As described above, the method and system for scheduling and multiplexing data of broadcast multi-pipeline services of the present invention have the following beneficial effects: it can realize multi-pipeline services with different rates and different QoS requirements (modulation methods, coding rate and code length). Data, through dynamic scheduling, form baseband frames in turn, and map to a physical frame for transmission.
附图说明Description of drawings
图1显示为本发明的广播多管道业务数据调度复用方法的一实施例的流程示意图。FIG. 1 is a schematic flowchart of an embodiment of a method for scheduling and multiplexing broadcast multi-pipe service data according to the present invention.
图2显示为本发明的广播多管道业务数据调度复用系统的一实施例的模块示意图。FIG. 2 is a schematic block diagram of an embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
图3显示为本发明的广播多管道业务数据调度复用系统的另一实施例的原理示意图。FIG. 3 is a schematic diagram showing the principle of another embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
图4显示为本发明的广播多管道业务数据调度复用系统的一实施例的数据基带帧格式示意图。FIG. 4 is a schematic diagram of a data baseband frame format of an embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
图5显示为本发明的广播多管道业务数据调度复用系统的一实施例的信令基带帧格式示意图。FIG. 5 is a schematic diagram of a signaling baseband frame format according to an embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
图6显示为本发明的广播多管道业务数据调度复用系统的一实施例的基带帧复用示意图。FIG. 6 is a schematic diagram of baseband frame multiplexing according to an embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
图7显示为本发明的广播多管道业务数据调度复用系统的一实施例的管道1的FIFO读写指针变化的仿真结果示意图。FIG. 7 is a schematic diagram showing the simulation result of the change of the FIFO read/write pointer of the
图8显示为本发明的广播多管道业务数据调度复用系统的一实施例的管道2的FIFO读写指针变化的仿真结果示意图。FIG. 8 is a schematic diagram showing a simulation result of the change of the FIFO read/write pointer of the
图9显示为本发明的广播多管道业务数据调度复用系统的一实施例的2个管道FIFO读时序仿真结果示意图。FIG. 9 is a schematic diagram showing a simulation result of two pipeline FIFO read timings according to an embodiment of the broadcast multi-pipeline service data scheduling and multiplexing system of the present invention.
图10显示为本发明的广播多管道业务数据调度复用系统的一实施例的生成的一个物理帧中承载的信令基带帧和数据基带帧格式仿真结果示意图。FIG. 10 is a schematic diagram showing the simulation result of the format of the signaling baseband frame and the data baseband frame carried in a generated physical frame according to an embodiment of the broadcast multi-pipe service data scheduling and multiplexing system of the present invention.
元件标号说明Component label description
1 广播多管道业务数据调度1 Broadcast multi-pipeline service data scheduling
复用系统 multiplexing system
11 业务管道参数获取模块11 Service pipeline parameter acquisition module
12 业务数据缓存处理模块12 Business data cache processing module
13 信令帧生成模块13 Signaling frame generation module
14 基带帧复用模块14 Baseband frame multiplexing module
S1~S4 步骤S1~S4 steps
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。The embodiments of the present invention are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention.
需要说明的是,本实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the drawings provided in this embodiment are only to illustrate the basic concept of the present invention in a schematic way, so the drawings only show the components related to the present invention rather than the number, shape and the number of components in actual implementation. For dimension drawing, the type, quantity and proportion of each component can be changed at will in actual implementation, and the component layout may also be more complicated.
本发明提供一种广播多管道业务数据调度复用方法。在一个实施例中,如图1所示,所述广播多管道业务数据调度复用方法包括:The present invention provides a method for scheduling and multiplexing broadcast multi-pipeline service data. In one embodiment, as shown in FIG. 1 , the method for scheduling and multiplexing broadcast multi-pipe service data includes:
步骤S1,获取多管道业务数据参数和系统参数,多管道业务数据参数包括业务管道的数目,各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数;根据各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数确定各个业务管道数据基带帧中承载的业务数据比特数目以及数据基带帧数目。在一个实施例中,各个业务管道数据基带帧中承载的业务数据比特数目等于各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数;各个业务管道数据基带帧中承载的数据基带帧数目等于各个业务管道数据采用的编码块数。Step S1, obtain multi-pipeline service data parameters and system parameters, the multi-pipeline service data parameters include the number of service pipes, the information bit length of the previous code block used for coding each service pipe data or the pipe before coding carried in a physical frame. The total number of information bits and the number of coding blocks; the data baseband of each service pipeline is determined according to the information bit length of the previous code block used for coding each service pipeline data or the total number of information bits before coding and the number of coding blocks carried in a physical frame. The number of service data bits carried in the frame and the number of data baseband frames. In one embodiment, the number of service data bits carried in each service pipeline data baseband frame is equal to the information bit length of the previous code block used for coding each service pipeline data or the total number of information bits before the pipeline coding carried in one physical frame ; The number of data baseband frames carried in each service pipeline data baseband frame is equal to the number of coding blocks used for each service pipeline data.
步骤S2,接收各个业务管道数据,并分别缓存到各个业务管道的缓存中;反复执行以下步骤直到各个业务管道都得到数据基带帧数目个数据基带帧:检测各个业务管道缓存中的数据大小,确定缓存数据大小大于所述管道业务数据比特数目的业务管道;在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道,从选取的业务管道缓存中截取所述业务管道业务数据比特数目的数据,并将所截取的数据封装到一个数据基带帧中,所述数据基带帧中包括数据基带帧头信息和所截取的数据;所述数据基带帧头信息包括所述数据基带帧所属的物理帧的序号信息以及所述数据基带帧所属管道的序号信息。从选取的业务管道缓存中截取的数据将在所述业务管道缓存中删除或标识为无效数据。在一个实施例中,所述业务管道缓存采用FIFO缓存(简称FIFO)。FIFO是英文First InFirst Out的缩写,是一种先进先出的数据缓存器。对FIFO操作时,不会对读取的数据进行删除,但由于读写操作都是循环进行的,即旧数据会被新写入的数据覆盖,因此FIFO中数据读取必须及时,否则会导致数据因覆盖而丢失。在一个实施例中,在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道的具体实现包括:在缓存数据大小大于所述管道业务数据比特数目的业务管道中选择缓存数据大小最大的业务管道。在一个实施例中,当一个物理帧中承载的该管道编码前信息比特数目总数不等于编码前一个码块的信息比特长度整数倍时,业务数据比特数目需通过一个物理帧中承载的该管道编码前信息比特数目总数和编码块数共同决定。所述数据基带帧还包括填充数据和/或校验数据。所述校验数据包括CRC校验数据。所述业务管道的数据流包括TS(Transport Stream)流。基带帧(也称BB帧)是一个数据打包块,当TS流进入复用器之后,以固定比特大小(DFL,即DataField Length数据域长度)为基准将TS数据包进行切割。将此DFL按照协议,添加基带帧帧头BB Header字段,帧尾进行填充Padding。这样BB Header+DFL+Padding=BB Frame。这就是形成一个完整的BB帧。BB是TS数据打包的基本单位,之后再通过BCH、LDPC编码后形成前向纠错码FEC数据块。所述数据基带帧的大小是所述基本单元数所承载的数据大小的整数倍。CRC即循环冗余校验码(Cyclic Redundancy Check):是数据通信领域中最常用的一种差错校验码,其特征是信息字段和校验字段的长度可以任意选定。Step S2: Receive the data of each service pipeline and cache them in the caches of each service pipeline respectively; repeatedly perform the following steps until each service pipeline obtains the number of data baseband frames and the number of data baseband frames: detect the data size in the cache of each service pipeline, determine Cache a service pipeline whose size is greater than the number of pipeline service data bits; select a service pipeline with a cached data size greater than the number of pipeline service data bits, and intercept the service pipeline service data bits from the selected service pipeline cache number of data, and encapsulate the intercepted data into a data baseband frame, the data baseband frame includes the data baseband frame header information and the intercepted data; the data baseband frame header information includes the data baseband frame belongs to The serial number information of the physical frame and the serial number information of the pipeline to which the data baseband frame belongs. The data intercepted from the selected service pipeline cache will be deleted or marked as invalid data in the service pipeline cache. In one embodiment, the service pipeline buffer adopts a FIFO buffer (referred to as FIFO). FIFO is the abbreviation of English First InFirst Out, which is a first-in, first-out data buffer. When the FIFO is operated, the read data will not be deleted, but since the read and write operations are performed in a loop, that is, the old data will be overwritten by the newly written data, so the data in the FIFO must be read in time, otherwise it will cause Data is lost due to overwriting. In one embodiment, a specific implementation of selecting a service pipeline in a service pipeline whose cached data size is greater than the number of service data bits in the pipeline includes: selecting a cached data size in a service pipeline whose cached data size is greater than the number of service data bits in the pipeline largest business pipeline. In one embodiment, when the total number of information bits before encoding of the pipeline carried in one physical frame is not equal to an integer multiple of the length of the information bits of the previous code block, the number of service data bits needs to pass through the pipeline carried in one physical frame. The total number of information bits before encoding and the number of encoding blocks are jointly determined. The data baseband frame also includes padding data and/or check data. The check data includes CRC check data. The data stream of the service pipeline includes a TS (Transport Stream) stream. A baseband frame (also called a BB frame) is a data packing block. After the TS stream enters the multiplexer, the TS data packet is cut based on a fixed bit size (DFL, that is, DataField Length). According to the protocol, add the BB Header field of the baseband frame header to this DFL, and fill in the Padding at the end of the frame. Thus BB Header+DFL+Padding=BB Frame. This is what forms a complete BB frame. BB is the basic unit of TS data packaging, and then it is encoded by BCH and LDPC to form a forward error correction code FEC data block. The size of the data baseband frame is an integer multiple of the data size carried by the number of basic units. CRC is Cyclic Redundancy Check (Cyclic Redundancy Check): It is the most commonly used error check code in the field of data communication. It is characterized in that the length of the information field and the check field can be arbitrarily selected.
步骤S3,获得所述多管道业务数据参数和系统参数,形成信令帧载荷信息并封装到一个信令基带帧中,所述信令基带帧包括信令基带帧头信息和信令帧载荷信息;所述信令基带帧头信息包括所述信令基带帧所属的物理帧的序号信息。在一个实施例中,所述信令基带帧还包括填充数据和/或校验数据。所述校验数据包括CRC校验数据。在一个实施例中,所述系统参数包括采样周期,一个数据符号的长度,一个所述数据符号中可承载的基本单元数,一个物理帧可承载的所述数据符号的最大数,一个物理帧中承载非数据业务的所有符号的总长度。每个管道的业务数据参数包括传输业务数据的速率、调制阶数、编码码率、编码码长等。Step S3, obtain the multi-pipeline service data parameters and system parameters, form signaling frame load information and encapsulate it into a signaling baseband frame, where the signaling baseband frame includes signaling baseband frame header information and signaling frame load information ; The signaling baseband frame header information includes sequence number information of the physical frame to which the signaling baseband frame belongs. In one embodiment, the signaling baseband frame further includes padding data and/or check data. The check data includes CRC check data. In one embodiment, the system parameters include a sampling period, the length of one data symbol, the number of basic units that can be carried in one data symbol, the maximum number of the data symbols that one physical frame can carry, and one physical frame. The total length of all symbols carrying non-data traffic in . The service data parameters of each pipeline include the rate of transmitting service data, modulation order, coding rate, coding code length, and the like.
步骤S4,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列。所述信令基带帧与数据基带帧中承载的信息比特经过编码调制后映射到一个物理帧的数据区域进行传输,所述物理帧还包括物理帧头信息,所述物理帧头信息包括所述物理帧的序号信息。在一个实施例中,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列的具体实现包括:按照信令基带帧在先数据基带帧在后的顺序映射到所述物理帧的数据区域;所述数据基带帧按所属管道序号及生成的先后顺序映射到所述物理帧的数据区域。Step S4, the signaling baseband frame and all the obtained data baseband frames are time-division multiplexed to form a baseband frame sequence that can be carried by one physical frame. The information bits carried in the signaling baseband frame and the data baseband frame are encoded and modulated and then mapped to a data area of a physical frame for transmission. The physical frame further includes physical frame header information, and the physical frame header information includes the Sequence number information of the physical frame. In one embodiment, the signaling baseband frame and all the obtained data baseband frames are time-division multiplexed to form a baseband frame sequence that can be carried by one physical frame. The baseband frame is mapped to the data area of the physical frame in the following sequence; the data baseband frame is mapped to the data area of the physical frame according to the sequence number of the pipeline to which it belongs and the sequence of generation.
在一个实施例中,所述广播多管道业务数据调度复用方法包括:In one embodiment, the method for scheduling and multiplexing broadcast multi-pipe service data includes:
1,对输入的N路管道数据流(如TS流)数据分别进行FIFO缓冲(简称FIFO)处理;不同的管道有分别有一个FIFO。1. Perform FIFO buffer (referred to as FIFO) processing on the input data of N-channel pipeline data streams (such as TS streams); each pipeline has a FIFO.
2,根据各管道业务数据采用的编码前一个码块的信息比特长度确定各管道的数据基带帧中承载的业务数据比特数目其中,i=1,…,NPLP,NPLP为调度复用系统支持的输入业务管道数;2. According to the information bit length of the previous code block used for encoding the service data of each pipeline Determine the number of service data bits carried in the data baseband frame of each pipeline in, i=1,..., NPLP , where NPLP is the number of input service pipes supported by the scheduling multiplexing system;
3,根据获得的承载调度复用系统输出的基带帧的物理帧中承载的各管道的编码块数目确定一个物理帧中各管道的数据基带帧数量即i=1,…,NPLP;3. According to the obtained number of coding blocks of each pipeline carried in the physical frame of the baseband frame output by the scheduling multiplexing system Determine the number of data baseband frames for each pipeline in a physical frame which is i=1,...,N PLP ;
4,根据各管道的数据基带帧中承载的业务数据比特数目以及各管道FIFO中的数据量状态,选择某路管道FIFO,从中读取比特数据进行数据基带帧成帧操作。具体包括:4. According to the number of service data bits carried in the data baseband frame of each pipeline And the data volume status in each pipeline FIFO, select a pipeline FIFO, read from it The bit data is subjected to data baseband framing operation. Specifically include:
a)检测各管道FIFO中的数据量i=1,…,NPLP;a) Detect the amount of data in each pipeline FIFO i=1,...,N PLP ;
b)选择所有的FIFO,列出所有可能的FIFO序号集Ω,Ω∈1,…,NPLP;b) select all FIFO, list all possible FIFO sequence number sets Ω, Ω∈1,...,N PLP ;
c)选择FIFO序号集Ω中其FIFO数据量最大的FIFO,其FIFO序号为i'(i'∈Ω),其数据量为 c) Select the FIFO with the largest FIFO data volume in the FIFO sequence number set Ω, its FIFO sequence number is i'(i'∈Ω), and its data volume is
d)从第i'个FIFO中读取比特数据,进行数据基带帧成帧操作;d) read from the i'th FIFO Bit data, perform data baseband framing operation;
e)将比特数据添加数据基带帧头、填充比特、校验比特后,生成一个数据基带帧。其中数据基带帧头中至少包含识别该数据基带帧所属管道的序号i(i=1,…,NPLP)的信息PLP_ID和该数据基带帧所属物理帧的序号信息Frm_ID;e) will After adding the data baseband frame header, padding bits, and check bits to the bit data, a data baseband frame is generated. Wherein the data baseband frame header contains at least the information PLP_ID identifying the serial number i (i=1, . . . , N PLP ) of the pipeline to which the data baseband frame belongs and the serial number information Frm_ID of the physical frame to which the data baseband frame belongs;
f)重复a)到e)步。f) Repeat steps a) to e).
5,基于获得的业务数据参数和系统参数,形成信令帧载荷信息,并进行信令基带帧成帧操作;5. Based on the obtained service data parameters and system parameters, the signaling frame load information is formed, and the signaling baseband frame framing operation is performed;
6,将信令帧载荷信息添加信令基带帧头、填充比特、校验比特后,生成一个信令基带帧。其中信令基带帧头中至少包含该信令基带帧所属物理帧的序号信息Frm_ID;6. After adding the signaling frame payload information to the signaling baseband frame header, padding bits, and check bits, a signaling baseband frame is generated. Wherein the signaling baseband frame header at least contains the sequence number information Frm_ID of the physical frame to which the signaling baseband frame belongs;
7,将1个信令基带帧和个数据基带帧按照信令基带帧在先数据基带帧在后的顺序时分复用后输出。7.
本发明的广播多管道业务数据调度复用方法通过已知的多管道业务数据参数,如管道数量,每个管道业务数据的速率、前向纠错编码前一个码块的信息比特长度等,从并行输入的多路管道业务数据中,依次动态调度选择合适的管道业务数据,并根据其编码前一个码块的信息比特长度进行数据基带成帧处理;根据获得和计算的信令参数,进行信令基带成帧处理;每个信令基带帧与若干个数据基带帧复用,映射到一个物理帧传输;每个基带帧中的信令或数据比特通过一个物理层编码处理;本发明能实现具有不同速率和不同QoS要求(调制方式、编码码率和码长)的多管道业务数据,通过动态调度,依次形成基带帧,并映射到一个物理帧传输。本发明的主要目的是针对复用系统,将输入的不同速率的多个管道的输入流,按照其不同的编码信息比特长度,选择并形成数据基带帧,并与形成的信令帧复用后,以输出给后续的调制器,再经编码调制后由后者生成的物理帧传输。本发明的复用系统生成的一个信令基带帧和若干数据基带帧的承载的信息可以由一个物理帧承载传输。The method for scheduling and multiplexing the broadcast multi-pipeline service data of the present invention uses the known multi-pipeline service data parameters, such as the number of pipes, the rate of each pipe service data, the information bit length of the previous code block of forward error correction coding, etc., from In the multi-channel pipeline service data input in parallel, the appropriate pipeline service data is dynamically scheduled and selected in turn, and the data baseband framing processing is performed according to the information bit length of the previous code block. Make baseband framing processing; each signaling baseband frame is multiplexed with several data baseband frames, mapped to a physical frame for transmission; signaling or data bits in each baseband frame are processed by a physical layer encoding; the invention can realize Multi-pipeline service data with different rates and different QoS requirements (modulation mode, code rate and code length) are dynamically scheduled to form baseband frames in turn and map to a physical frame for transmission. The main purpose of the present invention is to select and form a data baseband frame according to the different bit lengths of the input streams of multiple pipelines with different rates, and multiplex the formed signaling frame with the multiplexing system. , to output to the subsequent modulator, and then transmit the physical frame generated by the latter after coding and modulation. The information carried by one signaling baseband frame and several data baseband frames generated by the multiplexing system of the present invention can be carried and transmitted by one physical frame.
本发明提供一种广播多管道业务数据调度复用系统。所述广播多管道业务数据调度复用方法可以应用如上所述的广播多管道业务数据调度复用方法。在一个实施例中,如图2所示,所述广播多管道业务数据调度复用系统1包括业务管道参数获取模块11、业务数据缓存处理模块12、信令帧生成模块13以及基带帧复用模块14。其中:The invention provides a broadcast multi-pipe service data scheduling and multiplexing system. The method for scheduling and multiplexing broadcast multi-pipeline service data may apply the above-mentioned method for scheduling and multiplexing broadcast multi-pipeline service data. In one embodiment, as shown in FIG. 2 , the broadcast multi-pipe service data scheduling and
业务管道参数获取模块11用于获取多管道业务数据参数和系统参数,多管道业务数据参数包括业务管道的数目,各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数;根据各个业务管道数据采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数以及编码块数确定各个业务管道数据基带帧中承载的业务数据比特数目以及数据基带帧数目。在一个实施例中,各个业务管道数据基带帧中承载的业务数据比特数目等于各个业务管道数据采用的编码前一个码块的信息比特长度;各个业务管道数据基带帧中承载的数据基带帧数目等于各个业务管道数据采用的编码块数。The service pipeline
业务数据缓存处理模块12与业务管道参数获取模块11相连,用于接收各个业务管道数据,并分别缓存到各个业务管道的缓存中;反复执行以下步骤直到各个业务管道都得到数据基带帧数目个数据基带帧:检测各个业务管道缓存中的数据大小,确定缓存数据大小大于所述管道业务数据比特数目的业务管道;在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道,从选取的业务管道缓存中截取所述业务管道业务数据比特数目的数据,并将所截取的数据封装到一个数据基带帧中,所述数据基带帧中包括数据基带帧头信息和所截取的数据;所述数据基带帧头信息包括所述数据基带帧所属的物理帧的序号信息以及所述数据基带帧所属管道的序号信息。在一个实施例中,所述业务管道缓存采用FIFO缓存。对FIFO操作时,不会对读取的数据进行删除,读写操作都是循环进行的,即旧数据会被新写入的数据覆盖,因此FIFO中数据读取必须及时,否则会导致数据因覆盖而丢失。在一个实施例中,在缓存数据大小大于所述管道业务数据比特数目的业务管道选取一个业务管道的具体实现包括:在缓存数据大小大于所述管道业务数据比特数目的业务管道中选择缓存数据大小最大的业务管道。所述数据基带帧还包括填充数据和/或校验数据。所述校验数据包括CRC校验数据。所述业务管道的数据流包括TS(Transport Stream)流。数据基带帧(也称DBB帧)是一个数据打包块,当TS流进入复用器之后,以固定比特大小(DFL,即Data Field Length数据域长度)为基准将TS数据包进行切割。将此DFL按照协议,添加数据基带帧帧头DBB Header字段,帧尾进行填充Padding。这样DBB Header+DFL+Padding=DBB Frame。这就是形成一个完整的DBB帧。DBB是TS数据打包的基本单位,之后再通过BCH、LDPC编码后形成前向纠错码FEC数据块。上述反复执行的步骤可以是连续执行,也可以是根据时钟信号(或指令)触发执行。CRC即循环冗余校验码(Cyclic RedundancyCheck):是数据通信领域中最常用的一种差错校验码,其特征是信息字段和校验字段的长度可以任意选定。The business data
信令帧生成模块13与业务管道参数获取模块11相连,用于获得所述多管道业务数据参数和系统参数,形成信令帧载荷信息并封装到一个信令基带帧中,所述信令基带帧包括信令基带帧头信息和信令帧载荷信息;所述信令基带帧头信息包括所述信令基带帧所属的物理帧的序号信息。在一个实施例中,所述信令基带帧还包括填充数据和/或校验数据。所述校验数据包括CRC校验数据。在一个实施例中,所述系统参数包括采样周期,一个数据符号的长度,一个所述数据符号中可承载的基本单元数,一个物理帧可承载的所述数据符号的最大数,一个物理帧中承载非数据业务的所有符号的总长度。每个管道的业务数据参数包括传输业务数据的速率、调制阶数、编码码率、编码码长等。The signaling
基带帧复用模块14与业务数据缓存处理模块12以及信令帧生成模块13相连,用于将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列。所述信令基带帧与数据基带帧中承载的信息比特经过编码调制后映射到一个物理帧的数据区域进行传输,所述物理帧还包括物理帧头信息,所述物理帧头信息包括所述物理帧的序号信息。在一个实施例中,将所述信令基带帧与得到的所有数据基带帧通过时分复用,分段构成可由一个物理帧承载的基带帧序列的具体实现包括:按照信令基带帧在先数据基带帧在后的顺序映射到所述物理帧的数据区域;所述数据基带帧按所属管道序号及生成的先后顺序映射到所述物理帧的数据区域。The baseband
在一个实施例中,所述广播多管道业务数据调度复用系统的原理如图3所示,其中:In one embodiment, the principle of the broadcast multi-pipeline service data scheduling and multiplexing system is shown in Figure 3, wherein:
管道FIF0装置对输入的N路管道数据流(如TS流)数据分别进行缓冲处理。The pipeline FIFO device respectively buffers the input data of the N channels of pipeline data streams (eg, TS streams).
业务管道参数获取装置基于获得的业务数据参数和系统参数,形成信令帧载荷信息;根据各管道业务数据采用的编码前一个码块的信息比特长度,确定各管道的数据基带帧中承载的业务数据比特数目i=1,…,NPLP,NPLP为需要传输的业务管道数;根据一个物理帧中承载的各管道的编码块数量确定一个物理帧中各管道的数据基带帧数量NDFFB。The service pipeline parameter acquisition device forms the signaling frame load information based on the obtained service data parameters and system parameters; and determines the service carried in the data baseband frame of each pipeline according to the information bit length of the previous code block used for encoding the service data of each pipeline. number of data bits i=1,..., NPLP, where NPLP is the number of service pipes to be transmitted; the number N DFFB of data baseband frames of each pipe in a physical frame is determined according to the number of coding blocks of each pipe carried in a physical frame.
数据读取控制装置根据业务管道参数获取装置计算获得的各管道的数据基带帧中承载的业务数据比特数目,以及各管道FIFO中的数据量状态,选择读取数据量超过数据基带帧中承载的业务数据比特数目且数据量最大的FIFO中的一段数据进行后续该管道数据成帧处理;所述一段数据的比特长度为该FIFO对应的管道的数据基带帧中承载的业务数据比特数目。The data reading control device selects the number of service data bits carried in the data baseband frame of each pipeline and the data volume status in each pipeline FIFO according to the service pipeline parameter acquisition device, and selects that the read data volume exceeds the data volume carried in the data baseband frame. A segment of data in the FIFO with the largest number of service data bits and the largest amount of data is subjected to subsequent pipeline data framing processing; the bit length of the segment of data is the number of service data bits carried in the data baseband frame of the pipeline corresponding to the FIFO.
数据成帧装置将从FIFO中读取的一段数据封装为数据基带帧,每个数据基带帧通过一个物理层数据编码码块传输。数据基带帧格式如图4所示。一个数据基带帧格包含数据基带帧头、填充比特、CRC校验比特,数据基带帧载荷比特,其中数据基带帧头包含识别该数据基带帧所属管道的序号i(i=1,…,NPLP)的信息PLP_ID和该数据基带帧所属物理帧的序号信息Frm_ID。The data framing device encapsulates a piece of data read from the FIFO into a data baseband frame, and each data baseband frame is transmitted through a physical layer data encoding code block. The data baseband frame format is shown in Figure 4. A data baseband frame includes the data baseband frame header, padding bits, CRC check bits, and data baseband frame load bits, wherein the data baseband frame header contains the serial number i (i=1,...,N PLP ) that identifies the pipeline to which the data baseband frame belongs. ) information PLP_ID and the sequence number information Frm_ID of the physical frame to which the data baseband frame belongs.
信令成帧装置将信令帧载荷信息封装为信令基带帧,每个信令基带帧通过一个物理层信令编码码块传输。信令基带帧的格式如图5所示。一个信令基带帧包含信令基带帧头、填充比特、CRC校验比特、信令基带帧载荷信息比特。其中信令基带帧头中至少包含该信令基带帧所属物理帧的序号信息Frm_ID。The signaling framing device encapsulates the signaling frame payload information into signaling baseband frames, and each signaling baseband frame is transmitted through a physical layer signaling encoding code block. The format of the signaling baseband frame is shown in Figure 5. A signaling baseband frame includes a signaling baseband frame header, padding bits, CRC check bits, and signaling baseband frame payload information bits. The signaling baseband frame header at least includes sequence number information Frm_ID of the physical frame to which the signaling baseband frame belongs.
基带帧复用装置将信令基带帧和数据基带帧按一定顺序和比例级联复用,一般一个物理帧承载一个信令基带帧与若干个数据基带帧,并且信令基带帧先于数据基带帧传输,数据基带帧的总数量等于一个物理帧中承载的所有管道的数据基带帧数目之和。即基带帧复用装置用于装配物理帧的数据区域,在一个实施例中,所述物理帧的数据区域中的基带帧复用数据如图6所示。物理帧中承载的基带帧中,包括首先传输的1个信令基带帧和个数据基带帧。其中所有隶属不同管道的数据基带帧根据FIFO调度的顺序依次时分复用级联,并且各数据基带帧根据其所属管道采用的编码前一个码块的信息比特长度其长度可变。The baseband frame multiplexing device cascades the signaling baseband frame and the data baseband frame in a certain order and proportion. Generally, one physical frame carries one signaling baseband frame and several data baseband frames, and the signaling baseband frame precedes the data baseband frame. For frame transmission, the total number of data baseband frames is equal to the sum of the data baseband frames of all pipes carried in a physical frame. That is, the baseband frame multiplexing apparatus is used to assemble the data area of the physical frame. In one embodiment, the baseband frame multiplexing data in the data area of the physical frame is as shown in FIG. 6 . The baseband frame carried in the physical frame includes the first signaling baseband frame and data baseband frame. All the data baseband frames belonging to different pipelines are time-division multiplexed and cascaded in sequence according to the order of FIFO scheduling, and each data baseband frame has a variable length according to the information bit length of the previous code block used by the pipeline to which it belongs.
在一个实施例中,在给定系统参数参数条件下,采用本发明的方案以2个PLP调度复用效果。假设需要传输的数据速率与系统参数如下:1,输入管道数NPLP=2;2,两路管道输入数据为突发TS包,每个突发包大小为188Byte,数据流速率分别为RTS1=2.1Mbps,RTS2=22.2Mbps;3,两路管道采用的编码前一个码块的信息比特长度或一个物理帧中承载的该管道编码前信息比特数目总数比特,i=1,2;4,根据上述业务数据参数计算并选定一组数据调度复用参数:1)管道1承载的数据基带帧数目2)管道2承载的数据基带帧数目3)确定一个物理帧中所有管道的数据基带帧数目之和5,设定其他仿真参数,如FIFO位宽8比特,FIFO深度LFIFO为1478字节,FIFO读写速率均为80MHz等。In one embodiment, under the condition of given system parameters, the scheme of the present invention is used to schedule the multiplexing effect with two PLPs. Assume that the data rate and system parameters to be transmitted are as follows: 1, the number of input pipes N PLP = 2; 2, the input data of the two pipes are burst TS packets, the size of each burst packet is 188Byte, and the data flow rate is RTS1 = 2.1Mbps, RTS2=22.2Mbps; 3, the information bit length of the previous code block used by the two pipelines or the total number of information bits before the pipeline encoding carried in one physical frame Bits, i=1, 2; 4, calculate and select a set of data scheduling multiplexing parameters according to the above service data parameters: 1) The number of data baseband frames carried by the
通过仿真结果分析,在如图7和图8中所示的仿真结果中,横坐标代表FIFO历经时间变化,用时钟数表示,纵坐标代表指针读取数据。用Pwri代表第i个FIFO的写指针变化,Prdi表示第i个FIFO的读指针变化,因为FIFO的数据结构是循环链表,用Pdiffi表示第i个FIFO的写指针值与读指针值之间的差值对FIFO深度取模的结果,即我们可以看到两个FIFO写指针值随每次突发数据包的到达,阶梯式循环增加,并且由于管道2的业务数据速率高于管道1的,故前者的FIFO写指针值单位时钟周期内的增加速度高于后者,并且与两者业务数据速率的比值正相关;另外,两个管道的FIFO读写指针值均在FIFO深度LFIFO(即1478)内数值循环递增,未发生上下溢出,Pdiff随写指针值的增加而增加,随读指针值的增加而减小,并且能保持在一定范围内有规律变动,由此表明通过调度控制,写入各FIFO的管道业务数据均被及时读出(未发生由于写覆盖导致的输入业务数据丢失)以形成数据基带帧。这是因为每个时钟CLK都检测各管道FIFO中的数据量i=1,…,NPLP当Pdiff不断增加直到后,数据读取控制装置会选择业务数据量最大的FIFO,i=1,…,NPLP,并从第i'个FIFO中读取比特数据,进行数据基带帧成帧操作;另外如图9所示的仿真结果可见2个管道的FIFO读状态在一定时钟周期内的时序,EnRd为1或2时,表示在对应的时钟周期内分别执行FIFO2或FIFO1的读操作。在对FIFO的前58次读取操作中,有5次是对管道1的FIFO的读取操作,53次为对管道2的FIFO的读取操作。并且对管道1的FIFO读取操作序号分别为11、22、34、45、57,其余对管道2的FIFO读取操作序号;最后,根据上述FIFO读取操作序号,生成了一个如图10所示的物理帧中承载的信令基带帧(SBBF)和数据基带帧(DBBF)格式。Through the analysis of the simulation results, in the simulation results shown in Figures 7 and 8, the abscissa represents the time change of the FIFO, represented by the number of clocks, and the ordinate represents the pointer read data. Use Pwri to represent the change of the write pointer of the ith FIFO, and Prdi to represent the change of the read pointer of the ith FIFO, because the data structure of the FIFO is a circular linked list, and use Pdiffi to represent the value of the write pointer of the ith FIFO and the value of the read pointer. The result of the difference modulo the FIFO depth, i.e. We can see that the value of the two FIFO write pointers increases in a stepwise cycle with the arrival of each burst data packet, and since the service data rate of
综上所述,本发明的一种广播多管道业务数据调度复用方法与系统能实现具有不同速率和不同QoS要求(调制方式、编码码率和码长)的多管道业务数据,通过动态调度,依次形成基带帧,并映射到一个物理帧传输。所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, the method and system for scheduling and multiplexing broadcast multi-pipeline service data of the present invention can realize multi-pipeline service data with different rates and different QoS requirements (modulation mode, code rate and code length). , which in turn form baseband frames and map them to a physical frame for transmission. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed in the present invention should still be covered by the claims of the present invention.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610207968.0A CN107295366B (en) | 2016-04-05 | 2016-04-05 | Method and system for scheduling and multiplexing broadcast multi-pipeline service data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610207968.0A CN107295366B (en) | 2016-04-05 | 2016-04-05 | Method and system for scheduling and multiplexing broadcast multi-pipeline service data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107295366A CN107295366A (en) | 2017-10-24 |
| CN107295366B true CN107295366B (en) | 2020-03-31 |
Family
ID=60092791
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610207968.0A Active CN107295366B (en) | 2016-04-05 | 2016-04-05 | Method and system for scheduling and multiplexing broadcast multi-pipeline service data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107295366B (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101057470A (en) * | 2004-11-16 | 2007-10-17 | 汤姆森许可贸易公司 | Method and device for carrier recovery using multiple sources |
| CN101933260A (en) * | 2008-01-29 | 2010-12-29 | 诺基亚公司 | Physical Layer and Data Link Layer Signaling in Digital Video Broadcasting Preamble |
| CN101946509A (en) * | 2007-12-12 | 2011-01-12 | Lg电子株式会社 | Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal |
| CN102860023A (en) * | 2010-02-26 | 2013-01-02 | 松下电器产业株式会社 | Transport stream packet header compression |
| CN103595499A (en) * | 2012-08-15 | 2014-02-19 | 中国科学院上海高等研究院 | Method for performing time slicing and resource mapping on type 2PLP data in NGB-W |
| CN104429088A (en) * | 2012-05-10 | 2015-03-18 | 三星电子株式会社 | Method and apparatus for transmission and reception of data streams in a digital video broadcasting system |
| CN104539440A (en) * | 2013-07-09 | 2015-04-22 | 英特尔公司 | Traffic management with ingress control |
| CN104836764A (en) * | 2014-02-10 | 2015-08-12 | 上海数字电视国家工程研究中心有限公司 | Sending method and receiving method for physical frame |
| CN104937944A (en) * | 2013-01-17 | 2015-09-23 | Lg电子株式会社 | Device for transmitting broadcast signal, device for receiving broadcast signal, method for transmitting broadcast signal, and method for receiving broadcast signal |
| CN105075208A (en) * | 2013-04-21 | 2015-11-18 | Lg电子株式会社 | Device for transmitting broadcast signal, device for receiving broadcast signal, method for transmitting broadcast signal, and method for receiving broadcast signal |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6721282B2 (en) * | 2001-01-12 | 2004-04-13 | Telecompression Technologies, Inc. | Telecommunication data compression apparatus and method |
| US8824560B2 (en) * | 2010-07-07 | 2014-09-02 | Netzyn, Inc. | Virtual frame buffer system and method |
-
2016
- 2016-04-05 CN CN201610207968.0A patent/CN107295366B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101057470A (en) * | 2004-11-16 | 2007-10-17 | 汤姆森许可贸易公司 | Method and device for carrier recovery using multiple sources |
| CN101946509A (en) * | 2007-12-12 | 2011-01-12 | Lg电子株式会社 | Apparatus for transmitting and receiving a signal and method of transmitting and receiving a signal |
| CN101933260A (en) * | 2008-01-29 | 2010-12-29 | 诺基亚公司 | Physical Layer and Data Link Layer Signaling in Digital Video Broadcasting Preamble |
| CN102860023A (en) * | 2010-02-26 | 2013-01-02 | 松下电器产业株式会社 | Transport stream packet header compression |
| CN104429088A (en) * | 2012-05-10 | 2015-03-18 | 三星电子株式会社 | Method and apparatus for transmission and reception of data streams in a digital video broadcasting system |
| CN103595499A (en) * | 2012-08-15 | 2014-02-19 | 中国科学院上海高等研究院 | Method for performing time slicing and resource mapping on type 2PLP data in NGB-W |
| CN104937944A (en) * | 2013-01-17 | 2015-09-23 | Lg电子株式会社 | Device for transmitting broadcast signal, device for receiving broadcast signal, method for transmitting broadcast signal, and method for receiving broadcast signal |
| CN105075208A (en) * | 2013-04-21 | 2015-11-18 | Lg电子株式会社 | Device for transmitting broadcast signal, device for receiving broadcast signal, method for transmitting broadcast signal, and method for receiving broadcast signal |
| CN104539440A (en) * | 2013-07-09 | 2015-04-22 | 英特尔公司 | Traffic management with ingress control |
| CN104836764A (en) * | 2014-02-10 | 2015-08-12 | 上海数字电视国家工程研究中心有限公司 | Sending method and receiving method for physical frame |
Non-Patent Citations (2)
| Title |
|---|
| Banker"s algorithm based resource allocation in next generation broadcastingwireless systems;Hongwei Wang 等;《2015 10th International Conference on Communications and Networking in China (ChinaCom)》;20150817;687-691 * |
| 一种新型的无线广播网复用技术分析;史胜西 等;《网络与通信》;20130822;55-57 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107295366A (en) | 2017-10-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110798415B (en) | Service transmission method, equipment and computer storage medium | |
| CN102667742B (en) | For the wireless electric-controlled making sheet of software-defined radio platform | |
| CN106031181A (en) | Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method, and broadcast signal receiving method | |
| CN105847873B (en) | HD video code stream and data multiplexing system and method towards monitoring application | |
| CN105393480B (en) | Apparatus and method for sending/receiving packets in multimedia communication system | |
| CN106603192B (en) | An Adaptive FEC Method Based on Media Content | |
| CN102196321A (en) | Method for transmitting 100GE (100gigabit Ethernet) data in OTN (Optical Transport Network) and data sending device | |
| CN111385058A (en) | A method and device for data transmission | |
| WO2023284563A1 (en) | Slot configuration method, slot configuration apparatus, and computer-readable storage medium | |
| CN101631327B (en) | Method for sending and receiving microwave business data, device thereof and transceiver system | |
| WO2021190310A1 (en) | Method, apparatus and device for sending oam information, and storage medium | |
| CN105827361B (en) | A FEC method based on media content | |
| CN118568042B (en) | A data processing method, a first chip, a second chip and a chip | |
| CN107295366B (en) | Method and system for scheduling and multiplexing broadcast multi-pipeline service data | |
| CN103634229B (en) | A kind of Inter-chip communication method and control device | |
| US7653860B2 (en) | Transmit driver data communication | |
| CN106603193B (en) | A FEC Method Based on Media Content | |
| CN102665104A (en) | Parallel multiplexing method and device for transport streams | |
| CN116074764B (en) | Bluetooth broadcasting system with isochronous link time diversity function | |
| CN102340453A (en) | A Scheduling Method for Variable Length Data Stream | |
| WO2021013025A1 (en) | Data receiving method and apparatus, and data sending method and apparatus | |
| CN106330629A (en) | An Ethernet interface and its data processing device and method | |
| CN104639280A (en) | Multi-channel time-division business transmission method and device | |
| CN102916910B (en) | Synchronous multiplexing method on basis of asynchronous system | |
| CN102439883B (en) | Method, system and device for transmitting synchronous digital hierarchy signals by microwave |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |