[go: up one dir, main page]

CN108039937B - Resource optimization method and device in baseband processing and electronic equipment - Google Patents

Resource optimization method and device in baseband processing and electronic equipment Download PDF

Info

Publication number
CN108039937B
CN108039937B CN201711388819.XA CN201711388819A CN108039937B CN 108039937 B CN108039937 B CN 108039937B CN 201711388819 A CN201711388819 A CN 201711388819A CN 108039937 B CN108039937 B CN 108039937B
Authority
CN
China
Prior art keywords
data
transmitted
constellation
ram
interleaving
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
Application number
CN201711388819.XA
Other languages
Chinese (zh)
Other versions
CN108039937A (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.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN201711388819.XA priority Critical patent/CN108039937B/en
Publication of CN108039937A publication Critical patent/CN108039937A/en
Application granted granted Critical
Publication of CN108039937B publication Critical patent/CN108039937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/32Carrier systems characterised by combinations of two or more of the types covered by groups H04L27/02, H04L27/10, H04L27/18 or H04L27/26
    • H04L27/34Amplitude- and phase-modulated carrier systems, e.g. quadrature-amplitude modulated carrier systems
    • H04L27/3405Modifications of the signal space to increase the efficiency of transmission, e.g. reduction of the bit error rate, bandwidth, or average power
    • H04L27/3444Modifications of the signal space to increase the efficiency of transmission, e.g. reduction of the bit error rate, bandwidth, or average power by applying a certain rotation to regular constellations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention provides a resource optimization method, a device and electronic equipment in baseband processing, relates to the technical field of communication, and is applied to a DVB-T2 system sending end, wherein the method comprises the following steps: and acquiring data to be transmitted, writing the data to be transmitted into the RAM according to the writing rule of cell interleaving, and reading the written data to be transmitted from the RAM according to the output rule of time interleaving. The resource optimization method, the resource optimization device and the electronic equipment in the baseband processing reduce occupied RAM resources and improve the running speed of a T2 system by combining cell interleaving and time interleaving into a whole.

Description

基带处理中的资源优化方法、装置及电子设备Resource optimization method, device and electronic device in baseband processing

技术领域technical field

本发明涉及通信技术领域,尤其是涉及一种基带处理中的资源优化方法、装置及电子设备。The present invention relates to the field of communication technologies, and in particular, to a resource optimization method, device and electronic device in baseband processing.

背景技术Background technique

DVB(Digital Video Broadcasting,数字视频广播)-T2是第二代欧洲数字地面电视广播传输标准,在8MHz频谱带宽内所支持的最高TS流(Transport Stream)传输速率约50.1Mbit/s。待传输业务通过DVB-T2系统(以下简称T2系统)进行传输。DVB (Digital Video Broadcasting, Digital Video Broadcasting)-T2 is the second-generation European digital terrestrial television broadcasting transmission standard, and the highest TS stream (Transport Stream) transmission rate supported in the 8MHz spectrum bandwidth is about 50.1Mbit/s. The service to be transmitted is transmitted through the DVB-T2 system (hereinafter referred to as the T2 system).

现有技术中,在T2系统发送端中通常包含星座映射、星座旋转、信元交织、时间交织这四个连续的模块,用于对待传输数据进行基带处理。如图1所示,串并转换后的待传输数据(位宽为8)经过星座映射变成32位宽的数据流,此时如果有星座旋转,则需通过一对位宽为32、深度为Ncells的乒乓RAM(random access memory,随机存取存储器)将该数据流送入星座旋转模块,然后通过一对位宽为32、深度为(Ncells×Nfec)的乒乓RAM完成信元交织,之后再经过一对位宽为32、深度为(Ncells×Nfec)的乒乓RAM来完成时间交织,从而得到基带处理后的待传输数据。其中,待传输数据由串并变换后的多个信元构成,Ncells表示一个FEC(Forward error correction,前向纠错)块经过串并变换后对应的信元个数,Nfec表示一个信元交织模块中对应的FEC块个数。In the prior art, the transmitting end of the T2 system usually includes four consecutive modules of constellation mapping, constellation rotation, cell interleaving, and time interleaving, which are used to perform baseband processing on the data to be transmitted. As shown in Figure 1, the data to be transmitted after serial-to-parallel conversion (bit width is 8) is transformed into a 32-bit wide data stream after constellation mapping. The ping-pong RAM (random access memory, random access memory) of N cells sends the data stream into the constellation rotation module, and then completes the cell through a pair of ping-pong RAMs with a bit width of 32 and a depth of (N cells × N fec ). After interleaving, a pair of ping-pong RAMs with a bit width of 32 and a depth of (N cells ×N fec ) are used to complete time interleaving, thereby obtaining the data to be transmitted after baseband processing. Among them, the data to be transmitted is composed of a plurality of cells after serial-parallel conversion, N cells represents the number of cells corresponding to a FEC (Forward error correction) block after serial-parallel conversion, and N fec represents a signal The number of corresponding FEC blocks in the meta-interleaving module.

采用上述T2系统进行基带处理时,如果有星座旋转,则所占用的RAM资源为:(32×Ncells×2+32×Ncells×Nfec×2+32×Ncells×Nfec×2);如果没有星座旋转,则所占用的RAM资源为:(32×Ncells×Nfec×2+32×Ncells×Nfec×2)。可见采用现有的T2系统进行基带处理时占用的RAM资源较多,会导致T2系统的运行速度慢。When the above-mentioned T2 system is used for baseband processing, if there is constellation rotation, the occupied RAM resources are: (32×N cells ×2+32×N cells ×N fec ×2+32×N cells ×N fec ×2) ; If there is no constellation rotation, the occupied RAM resources are: (32×N cells ×N fec ×2+32×N cells ×N fec ×2). It can be seen that more RAM resources are occupied when the existing T2 system is used for baseband processing, which will result in a slow running speed of the T2 system.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种基带处理中的资源优化方法、装置及电子设备,以减少占用的RAM资源,提高T2系统的运行速度。In view of this, the purpose of the present invention is to provide a resource optimization method, device and electronic device in baseband processing, so as to reduce the occupied RAM resources and improve the running speed of the T2 system.

第一方面,本发明实施例提供了一种基带处理中的资源优化方法,所述方法应用在DVB-T2系统发送端中,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for resource optimization in baseband processing. The method is applied to a DVB-T2 system transmitter, and the method includes:

获取待传输数据;Get the data to be transmitted;

根据信元交织的写入规则将所述待传输数据写入RAM中;Write the data to be transmitted into the RAM according to the writing rule of the cell interleaving;

根据时间交织的输出规则将写入的待传输数据从所述RAM中读出。The written data to be transmitted is read out from the RAM according to the output rule of time interleaving.

结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述获取待传输数据,包括:In conjunction with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the acquiring the data to be transmitted includes:

接收串并转换模块输出的待传输数据;所述待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成;Receive the data to be transmitted outputted by the serial-to-parallel conversion module; the data to be transmitted is composed of cells corresponding to the serial-to-parallel conversion of a plurality of forward error correction FEC blocks;

所述方法还包括:The method also includes:

将从所述RAM中读出的待传输数据进行星座映射操作,得到与所述待传输数据对应的星座点数据。A constellation mapping operation is performed on the data to be transmitted read out from the RAM to obtain constellation point data corresponding to the data to be transmitted.

结合第一方面的第一种可能的实施方式,本发明实施例提供了第一方面的第二种可能的实施方式,其中,所述根据时间交织的输出规则将写入的待传输数据从所述RAM中读出,包括:With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides the second possible implementation manner of the first aspect, wherein the data to be written to be transmitted from the read from the RAM, including:

按照时间交织的输出规则,直接从所述RAM中读出所述待传输数据乱序后的信元。According to the output rule of time interleaving, the out-of-order cells of the data to be transmitted are directly read from the RAM.

结合第一方面的第二种可能的实施方式,本发明实施例提供了第一方面的第三种可能的实施方式,其中,所述方法还包括:In conjunction with the second possible implementation manner of the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the method further includes:

将所述星座点数据进行乒乓操作后,再进行星座旋转操作,得到星座旋转后的星座点数据。After performing a ping-pong operation on the constellation point data, a constellation rotation operation is performed to obtain the constellation point data after the constellation rotation.

结合第一方面的第一种可能的实施方式,本发明实施例提供了第一方面的第四种可能的实施方式,其中,所述根据时间交织的输出规则将写入的待传输数据从所述RAM中读出,包括:With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the data to be written to be transmitted from all read from the RAM, including:

从所述RAM中读出两路交织数据,所述两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从所述RAM中读出的所述待传输数据乱序后的信元;Read two interleaved data from the RAM, the two interleaved data are two consecutive cells before cell interleaving, and one of the interleaved data is directly read from the RAM according to the output rule of time interleaving The cell after the data to be transmitted is out of sequence;

所述星座点数据包括与所述两路交织数据对应的两路星座数据,所述方法还包括:The constellation point data includes two channels of constellation data corresponding to the two channels of interleaved data, and the method further includes:

将所述两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。Perform a constellation rotation operation on the two-way constellation data to obtain constellation point data after constellation rotation.

第二方面,本发明实施例还提供一种基带处理中的资源优化装置,所述装置应用在DVB-T2系统发送端中,所述装置包括信元交织与时间交织融合模块,所述信元交织与时间交织融合模块包括:In a second aspect, an embodiment of the present invention further provides a resource optimization device in baseband processing, the device is applied in the transmitting end of the DVB-T2 system, the device includes a cell interleaving and time interleaving fusion module, the cell The interleaving and time interleaving fusion module includes:

数据获取单元,用于获取待传输数据;a data acquisition unit, used to acquire the data to be transmitted;

写入单元,用于根据信元交织的写入规则将所述待传输数据写入RAM中;a writing unit, for writing the data to be transmitted into the RAM according to the writing rule of the cell interleaving;

读出单元,用于根据时间交织的输出规则将写入的待传输数据从所述RAM中读出。The readout unit is configured to read out the written data to be transmitted from the RAM according to the output rule of time interleaving.

结合第二方面,本发明实施例提供了第二方面的第一种可能的实施方式,其中,所述数据获取单元具体用于:In conjunction with the second aspect, the embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the data acquisition unit is specifically configured to:

接收串并转换模块输出的待传输数据;所述待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成;Receive the data to be transmitted outputted by the serial-to-parallel conversion module; the data to be transmitted is composed of cells corresponding to the serial-to-parallel conversion of a plurality of forward error correction FEC blocks;

所述装置还包括:The device also includes:

星座映射模块,用于将从所述读出单元读出的待传输数据进行星座映射操作,得到与所述待传输数据对应的星座点数据。A constellation mapping module, configured to perform a constellation mapping operation on the data to be transmitted read out from the readout unit to obtain constellation point data corresponding to the data to be transmitted.

结合第二方面的第一种可能的实施方式,本发明实施例提供了第二方面的第二种可能的实施方式,其中,所述读出单元具体用于:In conjunction with the first possible implementation manner of the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, wherein the readout unit is specifically used for:

按照时间交织的输出规则,直接从所述RAM中读出所述待传输数据乱序后的信元。According to the output rule of time interleaving, the out-of-order cells of the data to be transmitted are directly read from the RAM.

结合第二方面的第一种可能的实施方式,本发明实施例提供了第二方面的第三种可能的实施方式,其中,所述读出单元具体用于:In conjunction with the first possible implementation manner of the second aspect, the embodiment of the present invention provides a third possible implementation manner of the second aspect, wherein the readout unit is specifically used for:

从所述RAM中读出两路交织数据,所述两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从所述RAM中读出的所述待传输数据乱序后的信元;Read two interleaved data from the RAM, the two interleaved data are two consecutive cells before cell interleaving, and one of the interleaved data is directly read from the RAM according to the output rule of time interleaving The cell after the data to be transmitted is out of sequence;

所述星座点数据包括与所述两路交织数据对应的两路星座数据,所述装置还包括:The constellation point data includes two channels of constellation data corresponding to the two channels of interleaved data, and the device further includes:

星座旋转模块,用于将所述两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。The constellation rotation module is used for performing a constellation rotation operation on the two-way constellation data to obtain the constellation point data after the constellation rotation.

第三方面,本发明实施例还提供一种电子设备,包括存储器、处理器,所述存储器中存储有可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面及其任一种可能的实施方式所述的方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor implements the computer program when the processor executes the computer program. The method described in the first aspect and any possible implementation manner thereof.

本发明实施例带来了以下有益效果:The embodiments of the present invention have brought the following beneficial effects:

本发明实施例中,先获取待传输数据,然后根据信元交织的写入规则将待传输数据写入RAM中,并根据时间交织的输出规则将写入的待传输数据从RAM中读出。本实施例提供的基带处理中的资源优化方法、装置及电子设备,通过将信元交织与时间交织合二为一,在保证误码率的同时,将信元交织与时间交织所占用的RAM资源缩减为原来的一半,减少了占用的RAM资源,提高了T2系统的运行速度。In the embodiment of the present invention, the data to be transmitted is obtained first, then the data to be transmitted is written into the RAM according to the writing rules of cell interleaving, and the written data to be transmitted is read from the RAM according to the output rules of time interleaving. The resource optimization method, device, and electronic device in baseband processing provided by this embodiment combine cell interleaving and time interleaving into one, so that while ensuring the bit error rate, the RAM occupied by cell interleaving and time interleaving is reduced. The resources are reduced to half of the original, reducing the occupied RAM resources and improving the running speed of the T2 system.

本发明的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the description, claims and drawings.

为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

图1为采用现有的T2系统进行基带处理的流程示意图;Fig. 1 is the schematic flow chart of adopting the existing T2 system to carry out baseband processing;

图2为本发明实施例提供的一种基带处理中的资源优化方法的流程示意图;2 is a schematic flowchart of a resource optimization method in baseband processing provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种基带处理中的资源优化方法的流程示意图;3 is a schematic flowchart of another resource optimization method in baseband processing provided by an embodiment of the present invention;

图4为本发明实施例提供的一种基带处理中的资源优化方法中跳序写入的原理图;FIG. 4 is a schematic diagram of jump order writing in a resource optimization method in baseband processing provided by an embodiment of the present invention;

图5为本发明实施例提供的一种时间交织规则的原理图;5 is a schematic diagram of a time interleaving rule provided by an embodiment of the present invention;

图6为本发明实施例提供的另一种基带处理中的资源优化方法的流程示意图;6 is a schematic flowchart of another resource optimization method in baseband processing provided by an embodiment of the present invention;

图7为本发明实施例提供的另一种基带处理中的资源优化方法的流程示意图;7 is a schematic flowchart of another resource optimization method in baseband processing provided by an embodiment of the present invention;

图8为本发明实施例提供的一种基带处理中的资源优化装置的结构示意图;8 is a schematic structural diagram of a resource optimization apparatus in baseband processing provided by an embodiment of the present invention;

图9为本发明实施例提供的另一种基带处理中的资源优化装置的结构示意图;FIG. 9 is a schematic structural diagram of another apparatus for resource optimization in baseband processing provided by an embodiment of the present invention;

图10为本发明实施例提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

目前采用现有的T2系统进行基带处理时占用的RAM资源较多,会导致T2系统的运行速度慢。基于此,本发明实施例提供的一种基带处理中的资源优化方法、装置及电子设备,通过将信元交织与时间交织合二为一,减少占用的RAM资源,提高T2系统的运行速度。At present, when the existing T2 system is used for baseband processing, a lot of RAM resources are occupied, which will lead to a slow running speed of the T2 system. Based on this, the embodiments of the present invention provide a resource optimization method, device and electronic device in baseband processing. By combining cell interleaving and time interleaving into one, RAM resources occupied can be reduced and the running speed of the T2 system can be improved.

为便于对本实施例进行理解,首先对本发明实施例所公开的一种基带处理中的资源优化方法进行详细介绍。In order to facilitate the understanding of this embodiment, a resource optimization method in baseband processing disclosed in the embodiment of the present invention is first introduced in detail.

实施例一:Example 1:

本发明实施例提供的一种基带处理中的资源优化方法应用在DVB-T2系统发送端中,该方法通过将DVB-T2系统发送端的信元交织模块与时间交织模块合二为一,在T2系统的实现中缩小RAM的使用量。A method for resource optimization in baseband processing provided by an embodiment of the present invention is applied to the transmitting end of the DVB-T2 system. The method combines the cell interleaving module and the time interleaving module of the transmitting end of the DVB-T2 system into one. The implementation of the system shrinks the amount of RAM used.

图2为本发明实施例提供的一种基带处理中的资源优化方法的流程示意图,如图2所示,该方法包括以下几个步骤:FIG. 2 is a schematic flowchart of a resource optimization method in baseband processing provided by an embodiment of the present invention. As shown in FIG. 2 , the method includes the following steps:

步骤S201,获取待传输数据。Step S201, acquiring data to be transmitted.

待传输数据由多个信元组成,可以是星座旋转后输出的数据,还可以是串并转换后输出的数据,对此这里不做限定。The data to be transmitted is composed of a plurality of cells, which may be data output after constellation rotation, or data output after serial-parallel conversion, which is not limited here.

步骤S202,根据信元交织的写入规则将上述待传输数据写入RAM中。Step S202, the above data to be transmitted is written into the RAM according to the writing rule of the cell interleaving.

通过信元交织的写入规则在频域打乱待传输数据的写入顺序,来降低误码率。信元交织采用跳序方式写入待传输数据,具体的写入规则同对应的现有技术,这里不再赘述。Through the writing rule of cell interleaving, the writing sequence of the data to be transmitted is disrupted in the frequency domain to reduce the bit error rate. The data to be transmitted is written in the cell interleaving in a hopping manner, and the specific writing rules are the same as those in the corresponding prior art, which will not be repeated here.

步骤S203,根据时间交织的输出规则将写入的待传输数据从RAM中读出。Step S203: Read the written data to be transmitted from the RAM according to the output rule of time interleaving.

时间交织的规则是列进行出,由于信元交织和时间交织的RAM空间大小一样,原T2系统中信元交织顺序输出的数据又会顺序写入时间交织的RAM中,因此将信元交织写入的待传输数据直接按照时间交织的输出规则读出,即可获得相同的效果,在保证误码率的同时减少了占用的RAM资源,提高了T2系统的运行速度。其中,时间交织的输出规则同现有技术,这里不再赘述。The rule of time interleaving is carried out in columns. Since the RAM space size of cell interleaving and time interleaving is the same, the data output in the order of cell interleaving in the original T2 system will be sequentially written into the RAM of time interleaving, so the cell interleaving is written in The data to be transmitted is directly read out according to the output rule of time interleaving, and the same effect can be obtained, which reduces the occupied RAM resources while ensuring the bit error rate, and improves the running speed of the T2 system. The output rule of time interleaving is the same as that in the prior art, and details are not repeated here.

本发明实施例中,先获取待传输数据,然后根据信元交织的写入规则将待传输数据写入RAM中,并根据时间交织的输出规则将写入的待传输数据从RAM中读出。本实施例提供的基带处理中的资源优化方法,通过将信元交织与时间交织合二为一,在保证误码率的同时,将信元交织与时间交织所占用的RAM资源缩减为原来的一半,减少了占用的RAM资源,提高了T2系统的运行速度。In the embodiment of the present invention, the data to be transmitted is obtained first, then the data to be transmitted is written into the RAM according to the writing rules of cell interleaving, and the written data to be transmitted is read from the RAM according to the output rules of time interleaving. The resource optimization method in baseband processing provided by this embodiment, by combining cell interleaving and time interleaving into one, while ensuring the bit error rate, the RAM resources occupied by cell interleaving and time interleaving are reduced to the original one. Half, reducing the occupied RAM resources and improving the running speed of the T2 system.

图3为本发明实施例提供的另一种基带处理中的资源优化方法的流程示意图,如图3所示,该方法无星座旋转操作,包括以下几个步骤:FIG. 3 is a schematic flowchart of another resource optimization method in baseband processing provided by an embodiment of the present invention. As shown in FIG. 3 , the method has no constellation rotation operation and includes the following steps:

步骤S301,接收串并转换模块输出的待传输数据。Step S301, receiving the data to be transmitted output by the serial-parallel conversion module.

该待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成。FEC块为信道编码输出的比特流数据块,位宽为1,包括信息位和校验位。在T2系统的发送端,数据经串并转换可以但不限于变为8位宽的信元流,下面以待传输数据的位宽为8为例,进行具体说明。The data to be transmitted is composed of cells corresponding to a plurality of forward error correction FEC blocks after serial-to-parallel conversion respectively. The FEC block is a bit stream data block output by channel coding, with a bit width of 1, including information bits and check bits. At the sending end of the T2 system, the data can be converted into, but not limited to, an 8-bit wide cell stream through serial-to-parallel conversion. The following takes an example where the bit width of the data to be transmitted is 8 for specific description.

步骤S302,通过乒乓操作,按照信元交织的写入规则将上述待传输数据写入RAM中。In step S302, the above data to be transmitted is written into the RAM according to the writing rule of cell interleaving through a ping-pong operation.

上述乒乓操作指:输入数据流通过“输入数据选择单元”将数据流等时分配到两个数据缓冲模块。在第一个缓冲周期,将输入的数据流缓存到“数据缓冲模块一”;在第2个缓冲周期,通过“输入数据选择单元”的切换,将输入的数据流缓存到“数据缓冲模块二”,同时将“数据缓冲模块一”缓存的第1个周期数据通过“输出数据选择单元”的选择,送到“数据流运算处理模块”进行运算处理;在第3个缓冲周期通过“输入数据选择单元”的再次切换,将输入的数据流缓存到“数据缓冲模块一”,同时将“数据缓冲模块二”缓存的第2个周期的数据通过“输出数据选择单元”切换,送到“数据流运算处理模块”进行运算处理。如此循环。通过乒乓操作可以节约缓冲区空间,实现低速模块处理高速数据。The above-mentioned ping-pong operation refers to: the input data stream is isochronously allocated to the two data buffer modules through the "input data selection unit". In the first buffering cycle, the input data stream is buffered to the "data buffer module 1"; in the second buffering cycle, the input data stream is buffered to the "data buffer module 2" through the switching of the "input data selection unit". ", at the same time, the first cycle data buffered by "data buffer module 1" is selected by "output data selection unit" and sent to "data stream operation processing module" for operation processing; in the third buffer cycle, through "input data" Switch the selection unit again, buffer the input data stream to the "data buffer module 1", and at the same time switch the data of the second cycle buffered by the "data buffer module 2" through the "output data selection unit" and send it to the "data buffer module 2". Stream operation processing module" to perform operation processing. so cycle. The buffer space can be saved by the ping-pong operation, and the low-speed module can process high-speed data.

图4为本发明实施例提供的一种基带处理中的资源优化方法中跳序写入的原理图,每个小格代表一个信元的写入地址,图中每列仅示出5处地址的写入顺序。如图4所示,每组待传输数据写入后的行数记为Ncells,列数记为Nfec,其中,Ncells表示一个FEC块经过串并变换后对应的信元个数,Nfec表示一个信元交织模块中对应的FEC块个数。将每个FEC块对应的信元按照写入规则映射到对应的列中,具体的映射规则如下:FIG. 4 is a schematic diagram of jump order writing in a resource optimization method in baseband processing provided by an embodiment of the present invention, each small cell represents a write address of a cell, and each column in the figure only shows five addresses write order. As shown in Figure 4, the number of rows of each group of data to be transmitted is written as N cells , and the number of columns is denoted as N fec , where N cells represents the number of cells corresponding to one FEC block after serial-to-parallel transformation, N fec represents the number of corresponding FEC blocks in a cell interleaving module. The cells corresponding to each FEC block are mapped to the corresponding columns according to the writing rules. The specific mapping rules are as follows:

设并串转换输出的数据为gr,q,其中r的取值范围为0到Nfec-1;q的取值范围为0到Ncells-1;设

Figure GDA0002619571790000081
Figure GDA0002619571790000082
其中,
Figure GDA0002619571790000083
为写入的地址,则Let the data output by parallel-serial conversion be g r,q , where the value range of r is 0 to N fec -1; the value range of q is 0 to N cells -1;
Figure GDA0002619571790000081
Figure GDA0002619571790000082
in,
Figure GDA0002619571790000083
is the write address, then

Lr(q)=[L0(q)+P(r)]modNcells,其中P(r)为每列的起始偏移地址,L0(q)为无偏移下每列的对应写入地址。L r (q)=[L 0 (q)+P(r)]modN cells , where P(r) is the starting offset address of each column, and L 0 (q) is the correspondence of each column without offset write address.

首先给出L0(q)的规则。设Ncells的位宽为Nd,即Nd=[log2(Ncells)],设定一个由位宽为Nd的数据组成的数组Si,其中i=0,1,2···2Nd-1The rules for L 0 (q) are first given. Let the bit width of N cells be N d , that is, N d =[log 2 (N cells )], and set an array S i composed of data with a bit width of N d , where i=0, 1, 2·· · 2 Nd-1 .

则Si每一位的每个比特的取值规则如下:Then the value rule of each bit of each bit of S i is as follows:

Si[Nd-1]=(i mod 2);S i [N d -1]=(i mod 2);

i=0,1:i=0,1:

Si[Nd-2,Nd-3,…1,0]=0,0,…,0,0S i [N d -2,N d -3,...1,0]=0,0,...,0,0

i=2:i=2:

S2[Nd-2,Nd-3,…1,0]=0,0,…,0,1S 2 [N d -2, N d -3,...1,0]=0,0,...,0,1

2<i<2Nd2<i<2 Nd :

Si[Nd-3,Nd-4,…1,0]=Si-1[Nd-2,Nd-3,…2,1];S i [N d -3, N d -4,...1,0]=S i-1 [N d -2,N d -3,...2,1];

当Nd=11时,

Figure GDA0002619571790000091
When N d =11,
Figure GDA0002619571790000091

当Nd=12时,

Figure GDA0002619571790000092
When N d =12,
Figure GDA0002619571790000092

当Nd=13时,

Figure GDA0002619571790000093
When N d =13,
Figure GDA0002619571790000093

当Nd=14时,

Figure GDA0002619571790000094
When N d =14,
Figure GDA0002619571790000094

当Nd=15时,

Figure GDA0002619571790000095
When N d =15,
Figure GDA0002619571790000095

得到Si后,L0(q)即等于Si中抛去大于Ncells的数据,过程如下:After obtaining Si , L 0 (q) is equal to throwing away the data larger than N cells in Si. The process is as follows:

Figure GDA0002619571790000096
Figure GDA0002619571790000096

Figure GDA0002619571790000101
Figure GDA0002619571790000101

接下来给出P(r)的规则,设Qk为位宽为Ncells,取值从0到2Ncells-1的递增数组,令Qk’的数据为Qk每个数据比特倒置后的数据,则P(r)为Qk’中刨除大于Ncells的数据,过程如下:Next, the rule of P(r) is given. Let Q k be an increasing array with a bit width of N cells and values from 0 to 2 Ncells -1, and let the data of Q k ' be the inversion of each data bit of Q k data, then P(r) is the data larger than N cells in Q k ', the process is as follows:

Figure GDA0002619571790000102
Figure GDA0002619571790000102

根据上述规则将串并转换的数据存入信元交织的RAM中,RAM大小为一对位宽为8、深度为(Ncells×Nfec)的乒乓RAM。According to the above rules, the serial-to-parallel converted data is stored in the cell interleaving RAM, and the RAM size is a pair of ping-pong RAMs with a bit width of 8 and a depth of (N cells × N fec ).

步骤S303,按照时间交织的输出规则,直接从RAM中读出待传输数据乱序后的信元。Step S303, according to the output rule of time interleaving, directly read out the cells whose data to be transmitted is out of order from the RAM.

图5为本发明实施例提供的一种时间交织规则的原理图,如图5所示,时间交织的规则是列进行出,其中Nr=Ncells/5,Nc=5×NfecFIG. 5 is a schematic diagram of a time interleaving rule provided by an embodiment of the present invention. As shown in FIG. 5 , the time interleaving rule is performed in columns, where Nr=N cells /5, and Nc=5×N fec .

由于信元交织和时间交织的RAM空间大小一样,将信元交织写入的待传输数据直接按照时间交织的输出规则读出,可获得相同的效果,此时得到的这路数据为不做星座旋转时的原始数据。Since the RAM space size of cell interleaving and time interleaving is the same, the data to be transmitted written in cell interleaving can be directly read out according to the output rules of time interleaving, and the same effect can be obtained. The data obtained at this time is not constellation Raw data when rotated.

步骤S304,将上述输出的信元进行星座映射操作,得到与待传输数据对应的星座点数据。Step S304, performing a constellation mapping operation on the above output cells to obtain constellation point data corresponding to the data to be transmitted.

根据星座映射方式将输出的信元进行星座映射,映射到相应的星座点上,映射后的星座点数据的位宽为32(实部16位,虚部16位)。The output cells are constellation mapped according to the constellation mapping method, and are mapped to the corresponding constellation points. The bit width of the mapped constellation point data is 32 (16 bits for the real part and 16 bits for the imaginary part).

本实施例中,将星座映射移至时间交织之后,使得交织模块的数据位宽为8,因此图3中的上述步骤所占用的RAM资源为:(8×Ncells×Nfec×2)。而当没有星座旋转时,现有技术所占用的RAM资源为:(32×Ncells×Nfec×2+32×Ncells×Nfec×2),可见本实施例占用的RAM资源仅为现有技术的1/8,从而提高了T2系统的运行速度。In this embodiment, the constellation mapping is moved after time interleaving, so that the data bit width of the interleaving module is 8. Therefore, the RAM resources occupied by the above steps in FIG. 3 are: (8×N cells ×N fec ×2). When there is no constellation rotation, the RAM resources occupied by the prior art are: (32×N cells ×N fec ×2+32×N cells ×N fec ×2). It can be seen that the RAM resources occupied by this embodiment are only the current 1/8 of the technology, thereby improving the operating speed of the T2 system.

图6为本发明实施例提供的另一种基带处理中的资源优化方法的流程示意图,在图3的基础上,该方法增加了星座旋转操作。为了实现星座旋转,在星座旋转操作前增加了乒乓操作,如图6所示,该方法包括以下几个步骤:FIG. 6 is a schematic flowchart of another method for resource optimization in baseband processing provided by an embodiment of the present invention. On the basis of FIG. 3 , a constellation rotation operation is added to the method. In order to realize the constellation rotation, a ping-pong operation is added before the constellation rotation operation, as shown in Figure 6, the method includes the following steps:

步骤S601,接收串并转换模块输出的待传输数据。Step S601, receiving the data to be transmitted output by the serial-parallel conversion module.

步骤S602,通过乒乓操作,按照信元交织的写入规则将上述待传输数据写入RAM中。In step S602, the above data to be transmitted is written into the RAM according to the writing rule of cell interleaving through a ping-pong operation.

步骤S603,按照时间交织的输出规则,直接从RAM中读出待传输数据乱序后的信元。Step S603, according to the output rule of time interleaving, directly read out the cells whose data to be transmitted is out of order from the RAM.

步骤S604,将上述输出的信元进行星座映射操作,得到与待传输数据对应的星座点数据。Step S604, perform a constellation mapping operation on the above output cells to obtain constellation point data corresponding to the data to be transmitted.

步骤S605,将上述星座点数据进行乒乓操作后,再进行星座旋转操作,得到星座旋转后的星座点数据。Step S605, after performing a ping-pong operation on the constellation point data, and then performing a constellation rotation operation to obtain the constellation point data after the constellation rotation.

通过一对位宽为32、深度为(Ncells×Nfec)的乒乓RAM将星座点数据送入星座旋转模块进行星座旋转操作,即可得到星座旋转后的星座点数据。星座旋转为现有技术,这里不再赘述。Through a pair of ping-pong RAMs with a bit width of 32 and a depth of (N cells × N fec ), the constellation point data is sent to the constellation rotation module for constellation rotation operation, and the constellation point data after the constellation rotation can be obtained. The constellation rotation is the prior art, and details are not repeated here.

本实施例所提供的有星座旋转时的上述方法所占用的RAM资源为:(8×Ncells×Nfec×2+32×Ncells×Nfec×2)。而当有星座旋转时,现有技术所占用的RAM资源为:(32×Ncells×2+32×Ncells×Nfec×2+32×Ncells×Nfec×2),可见本实施例占用的RAM资源小于现有技术的0.625,从而提高了T2系统的运行速度。The RAM resources occupied by the above method with constellation rotation provided in this embodiment are: (8×N cells ×N fec ×2+32×N cells ×N fec ×2). When there is constellation rotation, the RAM resources occupied by the prior art are: (32×N cells ×2+32×N cells ×N fec ×2+32×N cells ×N fec ×2), which can be seen in this embodiment. The RAM resource occupied is less than 0.625 of the prior art, thereby improving the running speed of the T2 system.

为了进一步减少有星座旋转时占用的RAM资源,本发明实施例还提供了另一种基带处理中的资源优化方法,如图7所示,该方法包括以下几个步骤:In order to further reduce the RAM resources occupied when there is constellation rotation, the embodiment of the present invention also provides another resource optimization method in baseband processing. As shown in FIG. 7 , the method includes the following steps:

步骤S701,接收串并转换模块输出的待传输数据。Step S701, receiving the data to be transmitted outputted by the serial-parallel conversion module.

步骤S702,通过乒乓操作,按照信元交织的写入规则将上述待传输数据写入RAM中。In step S702, the above data to be transmitted is written into the RAM according to the writing rule of cell interleaving through a ping-pong operation.

步骤S703,从上述RAM中读出两路交织数据,该两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从RAM中读出的待传输数据乱序后的信元。Step S703, read out two-way interleaving data from the above-mentioned RAM, the two-way interleaving data are two consecutive cells before the cell interleaving, wherein the one-way interleaving data is directly read from the RAM according to the output rule of time interleaving. The cell after the data to be transmitted is out of sequence.

当使用星座旋转时,因为星座旋转操作的数据为gr,q和gr,q-1,其中q取0到Ncells-1,当q=0时,gr,q-1

Figure GDA0002619571790000121
设gr,q和gr,q-1写入信元交织模块的位置分别为
Figure GDA0002619571790000122
Figure GDA0002619571790000123
因此本实施例中,当输出
Figure GDA0002619571790000124
位置的信元时,同时将
Figure GDA0002619571790000125
位置的信元输出,即同时输出两路交织数据。通过在交织中直接输出用于星座旋转的两路交织数据,可以使星座旋转前无需进行乒乓操作,以进一步减少乒乓操作占用的RAM资源。When using constellation rotation, because the data of constellation rotation operation is gr,q and gr,q-1 , where q takes 0 to N cells -1, when q=0, gr,q-1 is
Figure GDA0002619571790000121
Suppose the positions of gr, q and gr, q-1 written into the cell interleaving module are respectively
Figure GDA0002619571790000122
and
Figure GDA0002619571790000123
Therefore, in this embodiment, when the output
Figure GDA0002619571790000124
position cell, while the
Figure GDA0002619571790000125
Position cell output, that is, output two interleaved data at the same time. By directly outputting the two-way interleaving data used for constellation rotation during interleaving, it is possible to eliminate the need to perform a ping-pong operation before the constellation rotation, so as to further reduce RAM resources occupied by the ping-pong operation.

步骤S704,将上述输出的两路交织数据进行星座映射操作,得到与待传输数据对应的两路星座数据。Step S704: Perform a constellation mapping operation on the two output channels of interleaved data to obtain two channels of constellation data corresponding to the data to be transmitted.

步骤S705,将上述两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。Step S705, performing a constellation rotation operation on the above two channels of constellation data to obtain constellation point data after constellation rotation.

星座旋转原理如下:The principle of constellation rotation is as follows:

Figure GDA0002619571790000131
Figure GDA0002619571790000131

Figure GDA0002619571790000132
Figure GDA0002619571790000132

其中,e0、eq均表示星座旋转后的信元位置;RRQD为旋转因子,取决于星座映射方式;由于星座旋转与列无关,上述步骤S703中的

Figure GDA0002619571790000133
Figure GDA0002619571790000134
在此处分别记为
Figure GDA0002619571790000135
Wherein, e 0 and e q both represent the cell position after the constellation is rotated; R RQD is the rotation factor, which depends on the constellation mapping method; since the constellation rotation is independent of the column, the above step S703
Figure GDA0002619571790000133
Figure GDA0002619571790000134
are recorded here as
Figure GDA0002619571790000135

由于步骤S703中输出的两路交织数据正好为信元交织前的连续的两个信元(当其中一个为FEC块的第一个信元时,对应的是FEC块的最后一个信元),因此此时输出的结果正好与现有技术一致。Since the two-way interleaving data output in step S703 is exactly two consecutive cells before cell interleaving (when one of them is the first cell of the FEC block, it corresponds to the last cell of the FEC block), Therefore, the output result at this time is exactly consistent with the prior art.

本实施例中,由于星座旋转的输入直接包含用于旋转的两路数据,因此无需RAM存储,即有星座旋转时,本实施例提供的方法使用的RAM资源为(8×Ncells×Nfec×2),而现有技术所占用的RAM资源为:(32×Ncells×2+32×Ncells×Nfec×2+32×Ncells×Nfec×2),可见本实施例占用的RAM资源远小于现有技术的1/8,从而提高了T2系统的运行速度。In this embodiment, since the input of constellation rotation directly includes two-way data for rotation, RAM storage is not required, that is, when there is constellation rotation, the RAM resource used by the method provided in this embodiment is (8×N cells ×N fec ×2), and the RAM resources occupied by the prior art are: (32×N cells ×2+32×N cells ×N fec ×2+32×N cells ×N fec ×2). The RAM resource is far less than 1/8 of the prior art, thereby improving the running speed of the T2 system.

实施例二:Embodiment 2:

对应上述实施例一的方法,本发明实施例还提供了一种基带处理中的资源优化装置,该装置也应用在DVB-T2系统发送端中,如图8所示,该装置包括信元交织与时间交织融合模块80,信元交织与时间交织融合模块80包括:Corresponding to the method of the first embodiment, the embodiment of the present invention further provides a resource optimization device in baseband processing, and the device is also applied to the transmitting end of the DVB-T2 system. As shown in FIG. 8 , the device includes cell interleaving. With the time interleaving and fusion module 80, the cell interleaving and time interleaving fusion module 80 includes:

数据获取单元81,用于获取待传输数据;A data acquisition unit 81 for acquiring data to be transmitted;

写入单元82,用于根据信元交织的写入规则将上述待传输数据写入RAM中;The writing unit 82 is used to write the above-mentioned data to be transmitted in the RAM according to the writing rule of the cell interleaving;

读出单元83,用于根据时间交织的输出规则将写入的待传输数据从上述RAM中读出。The readout unit 83 is configured to read out the written data to be transmitted from the RAM according to the output rule of time interleaving.

本发明实施例中,先获取待传输数据,然后根据信元交织的写入规则将待传输数据写入RAM中,并根据时间交织的输出规则将写入的待传输数据从RAM中读出。本实施例提供的基带处理中的资源优化装置,通过信元交织与时间交织融合模块80将信元交织与时间交织合二为一,在保证误码率的同时,将信元交织与时间交织所占用的RAM资源缩减为原来的一半,减少了占用的RAM资源,提高了T2系统的运行速度。In the embodiment of the present invention, the data to be transmitted is obtained first, then the data to be transmitted is written into the RAM according to the writing rules of cell interleaving, and the written data to be transmitted is read from the RAM according to the output rules of time interleaving. The resource optimization device in the baseband processing provided in this embodiment combines the cell interleaving and time interleaving into one through the cell interleaving and time interleaving fusion module 80, and combines the cell interleaving and time interleaving while ensuring the bit error rate. The occupied RAM resources are reduced to half of the original ones, which reduces the occupied RAM resources and improves the running speed of the T2 system.

图9为本发明实施例提供的另一种基带处理中的资源优化装置的结构示意图,如图9所示,上述信元交织与时间交织融合模块80与串并转换模块90连接,上述数据获取单元81具体用于:接收串并转换模块90输出的待传输数据;该待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成。FIG. 9 is a schematic structural diagram of another resource optimization apparatus in baseband processing provided by an embodiment of the present invention. As shown in FIG. 9 , the above-mentioned cell interleaving and time interleaving and fusion module 80 is connected to the serial-parallel conversion module 90, and the above-mentioned data acquisition The unit 81 is specifically configured to: receive the data to be transmitted outputted by the serial-to-parallel conversion module 90; the data to be transmitted is composed of cells corresponding to the serial-to-parallel conversion of a plurality of forward error correction FEC blocks respectively.

如图9所示,在图8的基础上,上述装置还包括:星座映射模块91,用于将读出单元83读出的待传输数据进行星座映射操作,得到与待传输数据对应的星座点数据。As shown in FIG. 9 , on the basis of FIG. 8 , the above-mentioned apparatus further includes: a constellation mapping module 91 for performing a constellation mapping operation on the data to be transmitted read out by the readout unit 83 to obtain a constellation point corresponding to the data to be transmitted data.

在一些可能的实施例中,读出单元83具体用于:按照时间交织的输出规则,直接从RAM中读出待传输数据乱序后的信元。In some possible embodiments, the readout unit 83 is specifically configured to: according to the output rule of time interleaving, directly read out the out-of-order cells of the data to be transmitted from the RAM.

在另一些可能的实施例中,读出单元83具体用于:从RAM中读出两路交织数据,该两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从RAM中读出的待传输数据乱序后的信元。此时,星座点数据包括与该两路交织数据对应的两路星座数据,如图9所示,该装置还包括:星座旋转模块92,用于将该两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。In some other possible embodiments, the readout unit 83 is specifically configured to: read out two paths of interleaved data from the RAM, where the two paths of interleaved data are two consecutive cells before the cell interleaving, and one of the interleaved data is according to The output rule of time interleaving is the cell after the data to be transmitted is read out of order directly from the RAM. At this time, the constellation point data includes two channels of constellation data corresponding to the two channels of interleaved data. As shown in FIG. 9 , the device further includes: a constellation rotation module 92 for performing a constellation rotation operation on the two channels of constellation data to obtain Constellation point data after constellation rotation.

图9中,串并转换模块90输出的数据(位宽为8),直接经过一对位宽为8深度为(Ncells×Nfec)的RAM来完成信元和时间交织(乒乓操作),之后经过星座映射模块91(位宽变为32),再经过星座旋转模块92(位宽为32),由于星座旋转模块92的输入直接包含用于旋转的两路数据,因此无需RAM存储了,因此该装置使用的RAM资源为(8×Ncells×Nfec×2)。In FIG. 9, the data (bit width is 8) output by the serial-parallel conversion module 90 directly passes through a pair of RAMs with a bit width of 8 and a depth of (N cells ×N fec ) to complete cell and time interleaving (ping-pong operation), After passing through the constellation mapping module 91 (bit width becomes 32), and then passing through the constellation rotation module 92 (bit width is 32), since the input of the constellation rotation module 92 directly contains two-way data for rotation, there is no need for RAM storage, Therefore, the RAM resource used by the device is (8×N cells ×N fec ×2).

实施例三:Embodiment three:

参见图10,本发明实施例还提供一种电子设备100,包括:处理器1001,存储器1002,总线1003和通信接口1004,所述处理器1001、通信接口1004和存储器1002通过总线1003连接;处理器1001用于执行存储器1002中存储的可执行模块,例如计算机程序。10, an embodiment of the present invention further provides an electronic device 100, including: a processor 1001, a memory 1002, a bus 1003 and a communication interface 1004, the processor 1001, the communication interface 1004 and the memory 1002 are connected through the bus 1003; processing The processor 1001 is used to execute executable modules, such as computer programs, stored in the memory 1002 .

其中,存储器1002可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口1004(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。The memory 1002 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 1004 (which may be wired or wireless), which may use the Internet, a wide area network, a local network, a metropolitan area network, and the like.

总线1003可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The bus 1003 may be an ISA bus, a PCI bus, an EISA bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one bidirectional arrow is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.

其中,存储器1002用于存储程序,所述处理器1001在接收到执行指令后,执行所述程序,前述本发明实施例任一实施例揭示的流过程定义的装置所执行的方法可以应用于处理器1001中,或者由处理器1001实现。The memory 1002 is used to store a program, and the processor 1001 executes the program after receiving the execution instruction. The method executed by the device defined by the stream process disclosed in any of the foregoing embodiments of the present invention can be applied to processing in the processor 1001, or implemented by the processor 1001.

处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DigitalSignal Processing,简称DSP)、专用集成电路(Application Specific IntegratedCircuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1002,处理器1001读取存储器1002中的信息,结合其硬件完成上述方法的步骤。The processor 1001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 1001 or an instruction in the form of software. The above-mentioned processor 1001 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP for short) , Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002, and completes the steps of the above method in combination with its hardware.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和电子设备的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the apparatus and electronic device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.

本发明实施例提供的基带处理中的资源优化装置及电子设备,与上述实施例提供的基带处理中的资源优化方法具有相同的技术特征,所以也能解决相同的技术问题,达到相同的技术效果。The resource optimization apparatus and electronic device in baseband processing provided by the embodiments of the present invention have the same technical features as the resource optimization method in baseband processing provided by the above-mentioned embodiments, so they can also solve the same technical problems and achieve the same technical effects .

附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

本发明实施例所提供的进行基带处理中的资源优化方法的计算机程序产品,包括存储了处理器可执行的非易失的程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product for performing the resource optimization method in baseband processing provided by the embodiment of the present invention includes a computer-readable storage medium storing non-volatile program code executable by the processor, and the instructions included in the program code can be used for The methods described in the foregoing method embodiments are performed. For specific implementation, reference may be made to the method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和电子设备,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method, apparatus and electronic device may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present invention, and are used to illustrate the technical solutions of the present invention, but not to limit them. The protection scope of the present invention is not limited thereto, although referring to the foregoing The embodiment has been described in detail the present invention, those of ordinary skill in the art should understand: any person skilled in the art who is familiar with the technical field within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be covered in the present invention. within the scope of protection. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1.一种基带处理中的资源优化方法,其特征在于,所述方法应用在DVB-T2系统发送端中,所述方法包括:1. A resource optimization method in baseband processing, wherein the method is applied in a DVB-T2 system transmitter, and the method comprises: 获取待传输数据;Get the data to be transmitted; 根据信元交织的写入规则将所述待传输数据写入RAM中;Write the data to be transmitted into the RAM according to the writing rule of the cell interleaving; 根据时间交织的输出规则将写入的待传输数据从所述RAM中读出;Read out the written data to be transmitted from the RAM according to the output rule of time interleaving; 将从所述RAM中读出的待传输数据进行星座映射操作,得到与所述待传输数据对应的星座点数据。A constellation mapping operation is performed on the data to be transmitted read out from the RAM to obtain constellation point data corresponding to the data to be transmitted. 2.根据权利要求1所述的方法,其特征在于,所述获取待传输数据,包括:2. The method according to claim 1, wherein the acquiring the data to be transmitted comprises: 接收串并转换模块输出的待传输数据;所述待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成。Receive the to-be-transmitted data output by the serial-to-parallel conversion module; the to-be-transmitted data is composed of corresponding cells after serial-to-parallel conversion of a plurality of forward error correction FEC blocks. 3.根据权利要求2所述的方法,其特征在于,所述根据时间交织的输出规则将写入的待传输数据从所述RAM中读出,包括:3. The method according to claim 2, wherein the data to be transmitted that is written according to the output rule of time interleaving is read out from the RAM, comprising: 按照时间交织的输出规则,直接从所述RAM中读出所述待传输数据乱序后的信元。According to the output rule of time interleaving, the out-of-order cells of the data to be transmitted are directly read from the RAM. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. The method according to claim 3, wherein the method further comprises: 将所述星座点数据进行乒乓操作后,再进行星座旋转操作,得到星座旋转后的星座点数据。After performing a ping-pong operation on the constellation point data, a constellation rotation operation is performed to obtain the constellation point data after the constellation rotation. 5.根据权利要求2所述的方法,其特征在于,所述根据时间交织的输出规则将写入的待传输数据从所述RAM中读出,包括:5. The method according to claim 2, wherein the data to be transmitted that is written according to the output rule of time interleaving is read out from the RAM, comprising: 从所述RAM中读出两路交织数据,所述两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从所述RAM中读出的所述待传输数据乱序后的信元;Read two interleaved data from the RAM, the two interleaved data are two consecutive cells before cell interleaving, and one of the interleaved data is directly read from the RAM according to the output rule of time interleaving The cell after the data to be transmitted is out of sequence; 所述星座点数据包括与所述两路交织数据对应的两路星座数据,所述方法还包括:The constellation point data includes two channels of constellation data corresponding to the two channels of interleaved data, and the method further includes: 将所述两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。Perform a constellation rotation operation on the two-way constellation data to obtain constellation point data after constellation rotation. 6.一种基带处理中的资源优化装置,其特征在于,所述装置应用在DVB-T2系统发送端中,所述装置包括信元交织与时间交织融合模块,所述信元交织与时间交织融合模块包括:6. A resource optimization device in baseband processing, wherein the device is applied in a DVB-T2 system transmitting end, and the device comprises a cell interleaving and time interleaving fusion module, the cell interleaving and time interleaving Fusion modules include: 数据获取单元,用于获取待传输数据;a data acquisition unit, used to acquire the data to be transmitted; 写入单元,用于根据信元交织的写入规则将所述待传输数据写入RAM中;a writing unit, for writing the data to be transmitted into the RAM according to the writing rule of the cell interleaving; 读出单元,用于根据时间交织的输出规则将写入的待传输数据从所述RAM中读出;a read-out unit, configured to read out the written data to be transmitted from the RAM according to the output rule of time interleaving; 星座映射模块,用于将从所述读出单元读出的待传输数据进行星座映射操作,得到与所述待传输数据对应的星座点数据。A constellation mapping module, configured to perform a constellation mapping operation on the data to be transmitted read out from the readout unit to obtain constellation point data corresponding to the data to be transmitted. 7.根据权利要求6所述的装置,其特征在于,所述数据获取单元具体用于:7. The device according to claim 6, wherein the data acquisition unit is specifically used for: 接收串并转换模块输出的待传输数据;所述待传输数据由多个前向纠错FEC块分别经串并转换后对应的信元构成。The to-be-transmitted data output by the serial-to-parallel conversion module is received; the to-be-transmitted data is composed of corresponding cells after serial-to-parallel conversion of a plurality of forward error correction FEC blocks. 8.根据权利要求7所述的装置,其特征在于,所述读出单元具体用于:8. The device according to claim 7, wherein the readout unit is specifically used for: 按照时间交织的输出规则,直接从所述RAM中读出所述待传输数据乱序后的信元。According to the output rule of time interleaving, the out-of-order cells of the data to be transmitted are directly read from the RAM. 9.根据权利要求7所述的装置,其特征在于,所述读出单元具体用于:9. The device according to claim 7, wherein the readout unit is specifically used for: 从所述RAM中读出两路交织数据,所述两路交织数据为信元交织前连续的两个信元,其中一路交织数据为按照时间交织的输出规则,直接从所述RAM中读出的所述待传输数据乱序后的信元;Read two interleaved data from the RAM, the two interleaved data are two consecutive cells before cell interleaving, and one of the interleaved data is directly read from the RAM according to the output rule of time interleaving The cell after the data to be transmitted is out of sequence; 所述星座点数据包括与所述两路交织数据对应的两路星座数据,所述装置还包括:The constellation point data includes two channels of constellation data corresponding to the two channels of interleaved data, and the device further includes: 星座旋转模块,用于将所述两路星座数据进行星座旋转操作,得到星座旋转后的星座点数据。The constellation rotation module is used for performing a constellation rotation operation on the two-way constellation data to obtain the constellation point data after the constellation rotation. 10.一种电子设备,包括存储器、处理器,所述存储器中存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述权利要求1至5中任一项所述的方法。10. An electronic device comprising a memory and a processor, wherein a computer program that can be run on the processor is stored in the memory, wherein the processor implements claim 1 when executing the computer program to the method of any one of 5.
CN201711388819.XA 2017-12-20 2017-12-20 Resource optimization method and device in baseband processing and electronic equipment Active CN108039937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711388819.XA CN108039937B (en) 2017-12-20 2017-12-20 Resource optimization method and device in baseband processing and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711388819.XA CN108039937B (en) 2017-12-20 2017-12-20 Resource optimization method and device in baseband processing and electronic equipment

Publications (2)

Publication Number Publication Date
CN108039937A CN108039937A (en) 2018-05-15
CN108039937B true CN108039937B (en) 2021-01-08

Family

ID=62100419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711388819.XA Active CN108039937B (en) 2017-12-20 2017-12-20 Resource optimization method and device in baseband processing and electronic equipment

Country Status (1)

Country Link
CN (1) CN108039937B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420233A (en) * 2008-12-17 2009-04-29 航天恒星科技有限公司 A bit interleaver and interleaving method
CN101989887A (en) * 2009-07-31 2011-03-23 清华大学 Code modulation method, demodulation and decoding method and system
CN103907326A (en) * 2011-11-10 2014-07-02 松下电器产业株式会社 Transmitting method, receiving method, transmitter and receiver
CN105359509A (en) * 2013-06-30 2016-02-24 Lg电子株式会社 Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN107276721A (en) * 2014-09-02 2017-10-20 上海数字电视国家工程研究中心有限公司 Code modulating method and information processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL2056510T3 (en) * 2007-10-30 2013-08-30 Sony Corp Data processing apparatus and method
MX366500B (en) * 2014-06-10 2019-07-11 Lg Electronics Inc Broadcast signal transmitting apparatus, broadcast signal receiving apparatus, broadcast signal transmitting method, and broadcast signal receiving method.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420233A (en) * 2008-12-17 2009-04-29 航天恒星科技有限公司 A bit interleaver and interleaving method
CN101989887A (en) * 2009-07-31 2011-03-23 清华大学 Code modulation method, demodulation and decoding method and system
CN103907326A (en) * 2011-11-10 2014-07-02 松下电器产业株式会社 Transmitting method, receiving method, transmitter and receiver
CN105359509A (en) * 2013-06-30 2016-02-24 Lg电子株式会社 Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN107276721A (en) * 2014-09-02 2017-10-20 上海数字电视国家工程研究中心有限公司 Code modulating method and information processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"DVB-T2标准的技术进展";周晓等;《电视技术》;20090517;全文 *
"DVB-T2调制器的低成本FPGA实现";陈银鹏;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20141115;正文第1.1.2、2.2.1、3.3.4节 *

Also Published As

Publication number Publication date
CN108039937A (en) 2018-05-15

Similar Documents

Publication Publication Date Title
US11936478B2 (en) Transmitter apparatus and signal processing method thereof
US8090896B2 (en) Address generation for multiple access of memory
TWI864031B (en) Methods and apparatus for error correction coding with triangular factorization of generator matrix
CN105490776B (en) Deinterleaving method and interleaver
CN104079351A (en) Method and device for transmitting visible light communication data
US8132076B1 (en) Method and apparatus for interleaving portions of a data block in a communication system
US8364916B2 (en) Method and apparatus for implementing interleaving and de-interleaving at second time
CN104753653B (en) A kind of method, apparatus and reception side apparatus of solution rate-matched
KR20220119468A (en) Decoding method, apparatus, network device and storage medium
WO2012034398A1 (en) Method and device for implementing viterbi decoding
CN112054877A (en) Data processing method and data processing device
WO2019047928A1 (en) Interleaving method and interleaving device
WO2011095115A1 (en) Method and device for de-interleaving
US8271850B2 (en) Fast low-density parity-check code encoder
CN108039937B (en) Resource optimization method and device in baseband processing and electronic equipment
CN101510817B (en) Method and apparatus for receiving mixing automatic re-transmission request
JP2014513889A (en) Apparatus and method for signal mapping / demapping in a system using a low density parity check code
US20240275409A1 (en) Data interleaving method and data interleaving apparatus
CN107251440A (en) A kind of code device and method
TWI520528B (en) Supercharged codes
US20180367754A1 (en) Matrix switcher
CN102118217B (en) A kind of method for parallel processing of rate-matched and device
CN107094050B (en) Apparatus and method for processing digital signals
CN101336517A (en) Apparatus and method for controlling interleaver/deinterleaver memory in mobile communication system
US9413491B1 (en) System and method for multiple dimension decoding and encoding a message

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
TR01 Transfer of patent right

Effective date of registration: 20250213

Address after: 100000 north of wenyuying village, Gaoliying Town, Shunyi District, Beijing

Patentee after: BEIJING SUMAVISION TECHNOLOGIES Co.,Ltd.

Country or region after: China

Address before: Building 1, 15 Kaifa Road, Shangdi Information Industry base, Haidian District, Beijing

Patentee before: BEIJING SUMAVISION TECHNOLOGIES Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right