CN103841075B - Modulate method, equipment and the system of mapping, the method and apparatus of demapping - Google Patents
Modulate method, equipment and the system of mapping, the method and apparatus of demapping Download PDFInfo
- Publication number
- CN103841075B CN103841075B CN201210471917.0A CN201210471917A CN103841075B CN 103841075 B CN103841075 B CN 103841075B CN 201210471917 A CN201210471917 A CN 201210471917A CN 103841075 B CN103841075 B CN 103841075B
- Authority
- CN
- China
- Prior art keywords
- data
- group
- mapping
- address
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
本发明实施例公开了一种调制映射的方法,包括:获取待调制数据,待调制数据包括n个调制比特;当n为偶数时,将待调制数据等分为第一组数据和第二组数据;分别将第一组数据和第二组数据作为查表地址,从第一星座图中查找出与第一组数据对应的包含I支路信号的第一向量值,以及与第二组数据对应的包含Q支路信号的第二向量值;将第一向量值与第二向量值合并,得到第一映射符号;对第一映射符号进行QAM,得到第一2nQAM调制信号;发送第一2nQAM调制信号给接收端。相应地本发明实施例还提供了一种调制设备以及调制映射系统,和一种解映射的方法及设备。本发明实施例可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。
The embodiment of the present invention discloses a modulation mapping method, including: acquiring data to be modulated, the data to be modulated includes n modulation bits; when n is an even number, dividing the data to be modulated into the first group of data and the second group Data; the first group of data and the second group of data are used as table look-up addresses respectively, and the first vector value corresponding to the first group of data containing the I branch signal is found from the first constellation diagram, and the second group The second vector value corresponding to the data includes the Q branch signal; combining the first vector value and the second vector value to obtain the first mapping symbol; performing QAM on the first mapping symbol to obtain the first 2n QAM modulation signal; Send the first 2 n QAM modulated signals to the receiving end. Correspondingly, the embodiment of the present invention also provides a modulation device, a modulation mapping system, and a demapping method and device. The embodiment of the present invention can reduce the depth of the table lookup in the process of modulation mapping and demapping, so as to save RAM resources.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种调制映射的方法、设备及系统,解映射的方法及设备。The present invention relates to the communication field, in particular to a modulation mapping method, device and system, and a demapping method and device.
背景技术Background technique
随着3G时代的到来,无线业务的数据量日益增大,有限带宽与高速增长的业务吞吐量需求之间的矛盾不断加剧,运营商希望能在有限带宽内尽可能提升业务吞吐量。运营商的一个直接应对手段就是采用更高阶的调制技术,从256正交幅度调制(QuadratureAmplitude Modulation,QAM)提升到1024QAM,甚至可以提升至更高阶的QAM。With the advent of the 3G era, the data volume of wireless services is increasing day by day, and the contradiction between limited bandwidth and high-speed growth of service throughput requirements is intensifying. Operators hope to increase service throughput as much as possible within limited bandwidth. A direct solution for operators is to adopt higher-order modulation technology, from 256 quadrature amplitude modulation (Quadrature Amplitude Modulation, QAM) to 1024QAM, and even higher-order QAM.
将一种调制方式所有可能的映射关系画到一个复平面上,就可以得到该调制方式的星座图,星座图上的单个映射符号点称之为星座点。显然,16QAM有16个星座点,256QAM有256个星座点。这样随着调制阶数的增大,需要处理的星座点随之增加。By drawing all possible mapping relationships of a modulation mode on a complex plane, the constellation diagram of the modulation mode can be obtained, and a single mapped symbol point on the constellation diagram is called a constellation point. Obviously, 16QAM has 16 constellation points, and 256QAM has 256 constellation points. In this way, as the modulation order increases, the number of constellation points to be processed increases accordingly.
现有的调制技术中,调制设备基于随机存储器(random access memory,RAM)构造一张查找表,该查找表中存储该查找表对应的调制方式中所有映射符号,调制映射过程中,以比特数据作为查表的地址,从该查找表中读出该地址对应的映射符号,该映射符号具体为一个包括实部和虚部的向量,其实部称为I支路信号,其虚部称为Q支路信号。解调设备其于RAM构造一张查找表,该查找表中存储该查找表对应的调制方式中所有映射符号对应比特数据,当解调设备接收到调制设备发射的映射符号后,进行解映射,在解映射过程中,以接收到的映射符号作为查表地址,从该查找表中读出该地址对应的比特数据。In the existing modulation technology, the modulation device constructs a lookup table based on random access memory (RAM), and the lookup table stores all mapped symbols in the modulation mode corresponding to the lookup table. During the modulation mapping process, the bit data As the address of the lookup table, read the mapping symbol corresponding to the address from the lookup table. The mapping symbol is specifically a vector including a real part and an imaginary part. The real part is called the I branch signal, and its imaginary part is called Q Tributary signal. The demodulation device constructs a lookup table in RAM, which stores bit data corresponding to all mapping symbols in the modulation mode corresponding to the lookup table. When the demodulation device receives the mapping symbols transmitted by the modulation device, it performs demapping. During the demapping process, the received mapping symbol is used as a table lookup address, and bit data corresponding to the address is read out from the lookup table.
上述技术中,无论在调制映射和解映射过程中查表的深度都为2n,其中2n为调制方式中的阶数,如256QAM中2n为256,这样在调制映射和解映射过程中耗费RAM的资源很大。In the above technology, the depth of the table lookup is 2 n no matter in the process of modulation mapping and demapping, where 2 n is the order of the modulation mode, such as 2 n is 256 in 256QAM, which consumes RAM in the process of modulation mapping and demapping The resources are huge.
发明内容Contents of the invention
本发明实施例提供了一种调制映射的方法及设备,解映射的方法及设备,可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。Embodiments of the present invention provide a method and device for modulation mapping, and a method and device for demapping, which can reduce the depth of table lookup in the process of modulation mapping and demapping, so as to save RAM resources.
本发明第一方面提供一种调制映射的方法,包括:The first aspect of the present invention provides a modulation mapping method, including:
获取待调制数据,所述待调制数据包括n个调制比特;Obtaining data to be modulated, where the data to be modulated includes n modulation bits;
当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;When n is an even number, equally dividing the data to be modulated into a first group of data and a second group of data according to a preset first division rule;
将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;Using the first set of data as a look-up table address, look up the first vector value containing the I branch signal corresponding to the first set of data from a preset first constellation diagram containing mapping symbols;
将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;Using the second set of data as a look-up table address, find a second vector value corresponding to the second set of data that includes the Q branch signal from the first constellation diagram;
将所述第一向量值与所述第二向量值合并,得到第一映射符号;combining the first vector value with the second vector value to obtain a first mapped symbol;
对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。Sending the first 2 n QAM modulated signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
在第一种可能的实现方式中,所述将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值包括:In a first possible implementation manner, the first group of data is used as a table lookup address, and the first constellation diagram corresponding to the first group of data is found from the preset first constellation diagram containing mapping symbols. The first vector values of the tributary signals include:
将所述第一组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个I支路信号中选择一个与所述第一组数据对应的I支路信号,并将所述选择的I支路信号作为第一向量值;Using the first group of data as a selection address of a multi-choice logic circuit, selecting an I branch corresponding to the first group of data from the 2n/2 I branch signals contained in the first constellation diagram Road signal, and using the selected I branch signal as the first vector value;
所述将所述第二组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第一向量值包括:Said using the second group of data as a table lookup address, and finding the first vector value corresponding to the second group of data containing the Q branch signal from the preset first constellation diagram containing the mapping symbols includes :
将所述第二组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个Q支路信号中选择一个与所述第一组数据对应的Q支路信号,并将所述选择的Q支路信号作为第二向量值。Using the second group of data as a selection address of a multi-select logic circuit, select a Q branch corresponding to the first group of data from the 2n/2 Q branch signals contained in the first constellation diagram channel signal, and use the selected Q branch signal as the second vector value.
结合第一方面或第一种可能的实现方式,第二种可能的实现方式中,获取待调制数据之后,所述方法还包括:当n为奇数时,按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据,其中,所述第三组数据包括n-t比特的陪集比特,所述第四组数据包括t比特的编码比特,所述t为大于零的整数,且t<n;With reference to the first aspect or the first possible implementation manner, in the second possible implementation manner, after obtaining the data to be modulated, the method further includes: when n is an odd number, divide the obtained data according to a preset second division rule The data to be modulated is divided into a third group of data and a fourth group of data, wherein the third group of data includes coset bits of n-t bits, the fourth group of data includes coded bits of t bits, and the t is greater than an integer of zero, and t<n;
将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号;Using the third group of data as a table look-up address, find out the second mapping symbol corresponding to the third group of data from the second constellation diagram that contains the mapping symbol set earlier; wherein, the second constellation diagram contains 2 nt regions, each of which contains 2 t mapping symbols;
将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号;Using the fourth set of data as a look-up table address, find a corrected offset vector corresponding to the fourth set of data from the area where the second mapping symbol is located in the second constellation diagram, and the corrected offset The vector contains the I branch signal and the Q branch signal;
将所述第二映射符号与所述修正偏移向量相加,得到第三映射符号;adding the second mapping symbol to the modified offset vector to obtain a third mapping symbol;
对所述第三映射符号进行正交幅度调制QAM,得到第二2nQAM调制信号;performing quadrature amplitude modulation (QAM) on the third mapped symbol to obtain a second 2 n QAM modulated signal;
发送所述第二2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。sending the second 2 n QAM modulated signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
结合第二种可能的实现方式,在第三种可能的实现方式中,所述按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据之后,所述将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号之前,所述方法还包括:With reference to the second possible implementation manner, in the third possible implementation manner, after the data to be modulated is divided into a third group of data and a fourth group of data according to a preset second division rule, the Using the fourth set of data as a look-up table address, find a corrected offset vector corresponding to the fourth set of data from the area where the second mapping symbol is located in the second constellation diagram, and the corrected offset Before the vector contains the I branch signal and the Q branch signal, the method further includes:
将所述第四组数据进行格雷编码;Gray encoding the fourth group of data;
所述将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号包括:The fourth set of data is used as a table lookup address, and the correction offset vector corresponding to the fourth set of data is found from the area where the second mapping symbol is located in the second constellation diagram, and the correction The offset vector contains the I branch signal and the Q branch signal including:
将所述格雷编码的结果作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述结果对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。The result of the gray encoding is used as a table lookup address, and the correction offset vector corresponding to the result is found from the area where the second mapping symbol is located in the second constellation diagram, and the correction offset vector includes 1 Branch signal and Q branch signal.
结合第二种可能的实现方式,在第四种可能的实现方式中,所述将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号包括:In combination with the second possible implementation, in the fourth possible implementation, the third group of data is used as a look-up table address, and the second constellation diagram containing the mapping symbols set earlier is found to be related to the The second mapping symbols corresponding to the third group of data include:
将所述第三组数据作为一个多选一的逻辑电路的选择地址,从所述第二星座图中各区域中预置的参考映射符号中选择出与所述第三组数据对应的第二映射符号。Using the third group of data as a selection address of a multiple-choice logic circuit, select the second corresponding to the third group of data from the reference mapping symbols preset in each area of the second constellation diagram. Map symbols.
本发明第二方面提供一种解映射的方法,包括:A second aspect of the present invention provides a method for demapping, including:
接收发射端发送2nQAM调制信号;The receiving and transmitting end sends 2 n QAM modulation signals;
对所述2nQAM调制信号进行解调,得到映射符号;Demodulating the 2 n QAM modulated signals to obtain mapped symbols;
当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;When the n is an even number, use the first vector of the I-branch signal included in the mapping symbol as a look-up address, and find out the I-branch signal from the preset third constellation diagram containing bit data The corresponding first set of data;
将所述映射符号包含的Q支路信号的第二向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;Using the second vector of the Q branch signal included in the mapping symbol as a table lookup address, searching for a second group of data corresponding to the Q branch signal from the third constellation diagram;
将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。Splicing the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
在第一种可能的实施方式中,当n为奇数时,对所述2nQAM调制信号进行解调,得到映射符号之后,所述方法还包括:In a first possible implementation manner, when n is an odd number, demodulate the 2n QAM modulated signal, and after obtaining the mapped symbols, the method further includes:
将所述映射符号的I支路信号和Q支路信号的低t/2位进行格雷编码得到编码比特数据;Gray coding the lower t/2 bits of the I branch signal and the Q branch signal of the mapping symbol to obtain coded bit data;
将预先设置的包含比特数据的第四星座图以所述第四星座图的区域的原点映射符号平移至所述区域预置的参考映射符号的平移轨迹进行平移;其中,所述第四星座图包含2n-t个区域,每个所述区域包含2t个映射符号,t为自然数,且t<n;The preset fourth constellation diagram containing bit data is shifted by shifting the origin mapping symbol of the region of the fourth constellation diagram to the translation track of the reference mapping symbol preset in the region; wherein, the fourth constellation diagram Contains 2 nt regions, each of which contains 2 t mapping symbols, t is a natural number, and t<n;
将所述映射符号的I支路信号和Q支路信号分别进行除t取整的除法运算,将所述除法运算的结果的I支路信号乘以N的乘法运算,并将所述乘法运算的结果和所述除法运算的Q支路信号的结果作为查表地址,从所述平移后的第四星座图中查找出陪集比特数据;其中,所述N为所述第四星座图中包含比特数据最多的一行的比特数据的数量;The I branch signal and the Q branch signal of the mapping symbol are respectively divided by t and rounded to an integer division operation, the I branch signal of the result of the division operation is multiplied by N, and the multiplication operation The result and the result of the Q branch signal of the division operation are used as a table look-up address, and the coset bit data is found from the shifted fourth constellation diagram; wherein, the N is the fourth constellation diagram The number of bit data of the row containing the most bit data;
将所述编码比特数据与所述陪集比特数据进行拼接,得到所述2nQAM调制信号对应的原始数据。Splicing the coded bit data and the coset bit data to obtain original data corresponding to the 2 n QAM modulated signal.
本发明第三方面提供一种调制设备,包括:获取单元、第一划分单元、第一查表单元、第二查表单元、合并单元、第一调制单元和第一发送单元,其中:The third aspect of the present invention provides a modulation device, including: an acquisition unit, a first division unit, a first table lookup unit, a second table lookup unit, a merging unit, a first modulation unit, and a first sending unit, wherein:
所述获取单元,用于获取待调制数据,所述待调制数据包括n个调制比特;The acquiring unit is configured to acquire data to be modulated, the data to be modulated includes n modulation bits;
所述第一划分单元,用于当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;The first division unit is configured to equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule when n is an even number;
所述第一查表单元,用于将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;The first table look-up unit is configured to use the first set of data as a table look-up address, and find the I branch corresponding to the first set of data from the preset first constellation diagram containing mapping symbols the first vector value of the signal;
所述第二查表单元,用于将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;The second table lookup unit is configured to use the second group of data as a table lookup address, and find out from the first constellation diagram a second vector corresponding to the second group of data containing the Q branch signal value;
所述合并单元,用于将所述第一向量值与所述第二向量值合并,得到第一映射符号;The merging unit is configured to combine the first vector value and the second vector value to obtain a first mapping symbol;
所述第一调制单元,用于对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;The first modulation unit is configured to perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
所述第一发送单元,用于发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The first sending unit is configured to send the first 2 n QAM modulated signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
在第一种可能的实现方式中,所述第一查表单元还用于将所述第一组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个I支路信号中选择一个与所述第一组数据对应的I支路信号,并将所述选择的I支路信号作为第一向量值;In a first possible implementation manner, the first table look-up unit is also used to use the first group of data as a selection address of a multi-select logic circuit, from the 2n/ Selecting an I branch signal corresponding to the first set of data from the two I branch signals, and using the selected I branch signal as a first vector value;
所述第二查表单元还用于将所述第二组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个Q支路信号中选择一个与所述第一组数据对应的Q支路信号,并将所述选择的Q支路信号作为第二向量值。The second table look-up unit is also used to use the second set of data as a selection address of a multi-selection logic circuit, and select one and The Q branch signal corresponding to the first group of data, and the selected Q branch signal is used as the second vector value.
结合第三方面或第一种可能的实现方式中,在第二种可能的实现方式中,所述设备还包括:With reference to the third aspect or the first possible implementation manner, in a second possible implementation manner, the device further includes:
第二划分单元,用于当n为奇数时,按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据,其中,所述第三组数据包括n-t比特的陪集比特,所述第四组数据包括t比特的编码比特,所述t为大于零的整数,且t<n;The second division unit is configured to divide the data to be modulated into a third group of data and a fourth group of data according to a preset second division rule when n is an odd number, wherein the third group of data includes n-t bits The coset bits of the fourth group of data include coded bits of t bits, the t is an integer greater than zero, and t<n;
第三查表单元,用于将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号;The third table look-up unit is used to use the third group of data as a table look-up address, and find out the second mapping symbol corresponding to the third group of data from the second constellation diagram that contains the mapping symbol that is set earlier; wherein , the second constellation diagram includes 2 nt regions, each of which includes 2 t mapping symbols;
第四查表单元,用于将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号;The fourth table look-up unit is used to use the fourth set of data as a table look-up address to find the corrected offset corresponding to the fourth set of data from the area of the second constellation where the second mapping symbol is located. A shift vector, the modified shift vector includes the I branch signal and the Q branch signal;
加法单元,用于将所述第二映射符号与所述修正偏移向量相加,得到第三映射符号;an adding unit, configured to add the second mapping symbol to the modified offset vector to obtain a third mapping symbol;
第二调制单元,用于对所述第三映射符号进行正交幅度调制QAM,得到第二2nQAM调制信号;A second modulation unit, configured to perform quadrature amplitude modulation (QAM) on the third mapped symbol to obtain a second 2 n QAM modulated signal;
第二发送单元,用于发送所述第二2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The second sending unit is configured to send the second 2 n QAM modulated signal to the receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
结合第二种可能的实现方式中,在第三种可能的实现方式中,所述设备还包括:With reference to the second possible implementation manner, in a third possible implementation manner, the device further includes:
编码单元,用于将所述第四组数据进行格雷编码;a coding unit, configured to gray code the fourth set of data;
所述第四查表单元还用于将所述格雷编码的结果作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述结果对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。The fourth table look-up unit is also used to use the result of the gray encoding as a table look-up address, and find out the corrected offset corresponding to the result from the area of the second constellation diagram where the second mapping symbol is located vector, and the modified offset vector includes the I-branch signal and the Q-branch signal.
结合第二种可能的实现方式中,在第四种可能的实现方式中,所述第三查表单元还用于将所述第三组数据作为一个多选一的逻辑电路的选择地址,从所述第二星座图中各区域中预置的参考映射符号中选择出与所述第三组数据对应的第二映射符号。In combination with the second possible implementation manner, in the fourth possible implementation manner, the third table look-up unit is also used to use the third set of data as a selection address of a multiple-choice logic circuit, from A second mapping symbol corresponding to the third group of data is selected from reference mapping symbols preset in each area of the second constellation diagram.
本发明第四方面提供的一种解调设备,包括:接收单元、解调单元、第一查表单元、第二查表单元和第一拼接单元,其中:A demodulation device provided by the fourth aspect of the present invention includes: a receiving unit, a demodulation unit, a first table lookup unit, a second table lookup unit, and a first splicing unit, wherein:
所述接收单元,用于接收发射端发送2nQAM调制信号;The receiving unit is used to receive 2 n QAM modulation signals sent by the transmitting end;
所述解调单元,用于对所述2nQAM调制信号进行解调,得到映射符号;The demodulation unit is configured to demodulate the 2 n QAM modulated signals to obtain mapped symbols;
所述第一查表单元,用于当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;The first table look-up unit is configured to use the first vector of the I-branch signal included in the mapping symbol as a table look-up address when the n is an even number, from the preset third constellation diagram containing bit data Find out the first set of data corresponding to the I branch signal;
所述第二查表单元,用于将所述映射符号包含的Q支路信号的第二向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;The second table lookup unit is configured to use the second vector of the Q branch signal included in the mapping symbol as a table lookup address, and find out the first vector corresponding to the Q branch signal from the third constellation diagram. Two sets of data;
所述第一拼接单元,用于将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The first splicing unit is configured to splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
在第一种可能的实现方式中,所述设备还包括:In a first possible implementation manner, the device further includes:
编码单元,用于当n为奇数时,将所述映射符号的I支路信号和Q支路信号的低t/2位进行格雷编码得到编码比特数据;An encoding unit, configured to gray-encode the lower t/2 bits of the I branch signal and the Q branch signal of the mapped symbol to obtain coded bit data when n is an odd number;
平移单元,用于将预先设置的包含比特数据的第四星座图以所述第四星座图的区域的原点映射符号平移至所述区域预置的参考映射符号的平移轨迹进行平移;其中,所述第四星座图包含2n-t个区域,每个所述区域包含2t个映射符号,t为自然数,且t<n;A translation unit, configured to translate the preset fourth constellation diagram containing bit data from the origin mapping symbol of the region of the fourth constellation diagram to the translation track of the preset reference mapping symbol in the region for translation; wherein, The fourth constellation diagram includes 2 nt regions, each of which includes 2 t mapping symbols, t is a natural number, and t<n;
第三查表单元,用于将所述映射符号的I支路信号和Q支路信号分别进行除t取整的除法运算,将所述除法运算的结果的I支路信号乘以N的乘法运算,并将所述乘法运算的结果和所述除法运算的Q支路信号的结果作为查表地址,从所述平移后的第四星座图中查找出陪集比特数据;其中,所述N为所述第四星座图中包含比特数据最多的一行的比特数据的数量;The third table look-up unit is used to divide the I branch signal and the Q branch signal of the mapping symbol into a division operation divided by t and round, and multiply the I branch signal of the result of the division operation by the multiplication of N operation, and use the result of the multiplication operation and the result of the Q branch signal of the division operation as a table lookup address, and find out the coset bit data from the shifted fourth constellation diagram; wherein, the N is the number of bit data in the row containing the most bit data in the fourth constellation diagram;
第二拼接单元,用于将所述编码比特数据与所述陪集比特数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The second splicing unit is configured to splice the coded bit data and the coset bit data to obtain original data corresponding to the 2 n QAM modulated signal.
本发明第五方面提供一种调制映射的系统,包括:上述调制设备和上述解调设备。A fifth aspect of the present invention provides a modulation mapping system, including: the above-mentioned modulation device and the above-mentioned demodulation device.
上述技术方案中,当待设备的数据为偶数个比特时,将所述待调制数据等分为第一组数据和第二组数据;分别将第一组数据和第二组数据作为查表地址,从从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,以及与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。这样将进行两次查表,可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the data to be equipped is an even number of bits, the data to be modulated is equally divided into the first group of data and the second group of data; respectively, the first group of data and the second group of data are used as table lookup addresses , find the first vector value corresponding to the first group of data containing the I branch signal from the preset first constellation diagram containing the mapping symbol, and the first vector value containing the Q branch signal corresponding to the second group of data The second vector value of the branch signal; combining the first vector value and the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation QAM on the first mapping symbol to obtain the first 2 n QAM modulation signal: sending the first 2 n QAM modulation signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation. In this way, the table lookup will be performed twice, which can reduce the depth of the table lookup in the process of modulation mapping and demapping, so as to save RAM resources.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明提供的一种调制映射的方法的流程示意图;Fig. 1 is a schematic flow chart of a modulation mapping method provided by the present invention;
图2是本发明提供的另一种调制映射的方法的流程示意图;FIG. 2 is a schematic flowchart of another modulation mapping method provided by the present invention;
图3是本发明实施例中的星座图的示意图;FIG. 3 is a schematic diagram of a constellation diagram in an embodiment of the present invention;
图4是本发明实施例中的另一种星座图的示意图;FIG. 4 is a schematic diagram of another constellation diagram in an embodiment of the present invention;
图5是本发明提供的一种解映射的方法的流程示意图;Fig. 5 is a schematic flow chart of a demapping method provided by the present invention;
图6是本发明提供的另一种解映射的方法的流程示意图;FIG. 6 is a schematic flowchart of another demapping method provided by the present invention;
图7是本发明提供的一种调制设备的结构示意图;Fig. 7 is a schematic structural diagram of a modulation device provided by the present invention;
图8是本发明提供的另一种调制设备的结构示意图;Fig. 8 is a schematic structural diagram of another modulation device provided by the present invention;
图9是本发明提供的一种解调设备的结构示意图;FIG. 9 is a schematic structural diagram of a demodulation device provided by the present invention;
图10本发明提供的另一种解调的结构示意图;FIG. 10 is a schematic structural diagram of another demodulation provided by the present invention;
图11是本发明提供的一种调制映射的系统的结构示意图;FIG. 11 is a schematic structural diagram of a modulation mapping system provided by the present invention;
图12是本发明提供的另一种调制设备的结构示意图;Fig. 12 is a schematic structural diagram of another modulation device provided by the present invention;
图13是本发明提供的另一种调制设备的结构示意图;Fig. 13 is a schematic structural diagram of another modulation device provided by the present invention;
图14是本发明提供的另一种解调设备的结构示意图;Fig. 14 is a schematic structural diagram of another demodulation device provided by the present invention;
图15本发明提供的另一种解调的结构示意图;Fig. 15 is a schematic structural diagram of another demodulation provided by the present invention;
图16是本发明提供的另一种调制映射的系统的结构示意图。Fig. 16 is a schematic structural diagram of another modulation mapping system provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1是本发明实施例提供的一种调制映射的方法的流程示意图,如图1所示,包括:Fig. 1 is a schematic flowchart of a modulation mapping method provided by an embodiment of the present invention, as shown in Fig. 1 , including:
101、获取待调制数据,所述待调制数据包括n个调制比特;101. Acquire data to be modulated, where the data to be modulated includes n modulation bits;
102、当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;102. When n is an even number, equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule;
103、将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;103. Using the first set of data as a table lookup address, find a first vector value including I branch signals corresponding to the first set of data from a preset first constellation diagram including mapping symbols;
104、将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;104. Using the second group of data as a table lookup address, find a second vector value corresponding to the second group of data that includes the Q branch signal from the first constellation diagram;
105、将所述第一向量值与所述第二向量值合并,得到第一映射符号;105. Combine the first vector value and the second vector value to obtain a first mapping symbol;
106、对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;106. Perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
107、发送所述第一2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。107. Send the first 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation.
当接收端接收到2nQAM调制信号就可以解调出所述待调制数据。When the receiving end receives the 2 n QAM modulated signal, it can demodulate the data to be modulated.
可选的,步骤103和步骤104所执行的时间可以不存在先后顺序,如步骤103和步骤104可以同时执行,Optionally, the execution time of step 103 and step 104 may not be sequential, for example, step 103 and step 104 may be executed at the same time,
可选的,假设待调制数据为6比特,步骤101就可以将待调制数据中的3比特划分为第一组数据,将另外3比特的数据划分为第二组数据。这样步骤103进行查表的深度就为23,而步骤104查表的深度为23。相比现有技术中查表深度26,减少了查表的深度。Optionally, assuming that the data to be modulated is 6 bits, step 101 may divide 3 bits of the data to be modulated into the first group of data, and divide the other 3 bits of data into the second group of data. In this way, the table look-up depth in step 103 is 2 3 , and the table look-up depth in step 104 is 2 3 . Compared with the table lookup depth of 2 6 in the prior art, the table lookup depth is reduced.
作为一种可选的实施方式,实现本实例的设备可以包括:As an optional implementation manner, the equipment for implementing this example may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,当待调制数据的比特数量为偶数时,将需要调制映射的数据等分为第一组数据和第二组数据,将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。这样可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of bits of the data to be modulated is an even number, the data that needs to be modulated and mapped is equally divided into the first group of data and the second group of data, and the first group of data is used as the table lookup address, from the preset Find out the first vector value containing the I branch signal corresponding to the first group of data in the first constellation diagram containing the mapping symbol, use the second group of data as the look-up table address, from the first Find out the second vector value containing the Q branch signal corresponding to the second group of data in the constellation diagram; combine the first vector value with the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal; sending the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation. In this way, the depth of the table lookup in the process of modulation mapping and demapping can be reduced, so as to save RAM resources.
图2是本发明实施例提供的另一种调制映射的方法的流程示意图,如图2所示,所述方法包括:Fig. 2 is a schematic flowchart of another modulation mapping method provided by an embodiment of the present invention. As shown in Fig. 2, the method includes:
201、获取待调制数据,所述待调制数据包括n个调制比特。201. Acquire data to be modulated, where the data to be modulated includes n modulation bits.
202、当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据。202. When n is an even number, equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule.
作为一种可选的实施方式,上述第一划分规则可以是基于第一星座图包含的映射符号中I和Q支路信号的正交特性而预先设置的。例如:例如上述第一星座图如图2所示的星座图,待调制数据包括ABCDEF这六个比特数据,这样上述第一划分规则就可以将上述数据中等间隔的比特数据如ACE分为第一组数据,将另外等间隔的比特数据BDF分为第二组数据。As an optional implementation manner, the foregoing first division rule may be preset based on the orthogonality characteristics of the I and Q branch signals in the mapping symbols included in the first constellation diagram. For example: such as the constellation diagram shown in Figure 2 for the above-mentioned first constellation diagram, the data to be modulated includes six bits of data ABCDEF, so that the above-mentioned first division rule can divide the bit data of the above-mentioned data such as ACE into the first Group data, dividing the bit data BDF at equal intervals into the second group data.
203、将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值。203. Using the first group of data as a table lookup address, look up a first vector value including I branch signals corresponding to the first group of data from a preset first constellation diagram including mapping symbols.
可选的,所述预先设置的包含映射符号的第一星座图具体可以如图3所示的星座图,座图的中星座点为映射符号,该星座图中的星座点在四个象现内呈正方形完全对称。Optionally, the preset first constellation diagram containing mapping symbols may specifically be a constellation diagram as shown in FIG. The inner square is completely symmetrical.
作为一种可选的实施方式,步骤203可以包括:As an optional implementation manner, step 203 may include:
将所述第一组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个I支路信号中选择一个与所述第一组数据对应的I支路信号,并将所述选择的I支路信号作为第一向量值。Using the first group of data as a selection address of a multi-choice logic circuit, selecting an I branch corresponding to the first group of data from the 2n/2 I branch signals contained in the first constellation diagram branch signal, and use the selected I branch signal as the first vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,步骤203查表的深度就为2n /2,具体是从2n/2个I支路信号中选择一个I支路信号。其中I支路信号具体可以为所述星座图的中横坐标的坐标值,或纵坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the table lookup in step 203 is 2 n /2 , specifically selecting an I branch from 2 n/2 I branch signals Signal. The I branch signal may specifically be the coordinate value of the abscissa or the coordinate value of the ordinate in the constellation diagram.
204、将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值。204. Using the second group of data as a table lookup address, find a second vector value corresponding to the second group of data that includes the Q branch signal from the first constellation diagram.
作为一种可选的实施方式,步骤204可以包括:As an optional implementation manner, step 204 may include:
将所述第二组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个Q支路信号中选择一个与所述第一组数据对应的Q支路信号,并将所述选择的Q支路信号作为第二向量值。Using the second group of data as a selection address of a multi-select logic circuit, select a Q branch corresponding to the first group of data from the 2n/2 Q branch signals contained in the first constellation diagram channel signal, and use the selected Q branch signal as the second vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,步骤204查表的深度就为2n /2,具体是从2n/2个Q支路信号中选择一个Q支路信号。其中,当所述I支路信号具体为所述星座图的中横坐标的坐标值,那么Q支路信号就为所述星座图中纵坐标的坐标值;当所述I支路信号具体为所述星座图的中纵坐标的坐标值,那么Q支路信号就为所述星座图中横坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the table lookup in step 204 is 2 n /2 , specifically selecting a Q branch from 2 n/2 Q branch signals Signal. Wherein, when the I branch signal is specifically the coordinate value of the abscissa in the constellation diagram, then the Q branch signal is the coordinate value of the ordinate in the constellation diagram; when the I branch signal is specifically The coordinate value of the ordinate in the constellation diagram, then the Q branch signal is the coordinate value of the abscissa in the constellation diagram.
205、将所述第一向量值与所述第二向量值合并,得到第一映射符号;205. Combine the first vector value and the second vector value to obtain a first mapping symbol;
206、对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;206. Perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
207、发送所述第一2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。207. Send the first 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation.
当接收端接收到上述2nQAM调制信号,就可以知晓该2nQAM调制信号对应的数据的比特数量是偶数还是奇数,当是偶数时,就采用偶数个比特数据对应的解调方法进行解映射,当是奇数时,就采用奇数个比特数据对应的解调的方法进行解映射。When the receiving end receives the above 2 n QAM modulation signal, it can know whether the number of bits of the data corresponding to the 2 n QAM modulation signal is even or odd. When the mapping is an odd number, the demodulation method corresponding to the odd number of bit data is used for demapping.
208、当n为奇数时,按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据,其中,所述第三组数据包括n-t比特的陪集比特,所述第四组数据包括t比特的编码比特,所述t为大于零的整数,且t<n。208. When n is an odd number, divide the data to be modulated into a third group of data and a fourth group of data according to a preset second division rule, wherein the third group of data includes coset bits of n-t bits, The fourth group of data includes coded bits of t bits, where t is an integer greater than zero, and t<n.
作为一种可选的实施方式,上述第二划分规则可以是基于本发明实施例提供的第二星座图而预先设置的,可以根据第二星座图中各区域的参考映射符号而设置的,即第二星座图中各区域的参考映射符号为同设置的第二划分规则也就不同,其中,第二星座图中每个区域的参考映射符号在每个区域中所处的公位置相同,且每个区域中只有一个参考映射符号。例如:第二星座图如图4所示,每个区域的参考映射符号为每个区域的左下角的映射称号,例如:图4中圆圈圈起来的映射符号,这样第二划分规则就可以将待调制比特数据的最低有效位(Least Significant Bit,LSB)和最高有效位(Most Significant Bit,MSB)进行划分,即可以将待调制数据的LSB的比特数据为第四组数据,即编码比特数据,将待调制数据的MSB的比特数据为第三组数据,即为陪集比特数据,这样用陪集比特数据作为查表地址,就可以第二星座图中查出第二星座图中各区域中参考映射符号中选择一个映射符号(例如,选择出图4用圆圈圈起来的映射符号),而用编码比特数据作为查表地址就上述选择出的映射符号所在区域中选择出一个非参考映射符号。As an optional implementation manner, the above-mentioned second division rule may be preset based on the second constellation diagram provided by the embodiment of the present invention, and may be set according to the reference mapping symbols of each area in the second constellation diagram, that is, The reference mapping symbols of each region in the second constellation diagram are different from the set second division rules, wherein the reference mapping symbols of each region in the second constellation diagram have the same common position in each region, and There is only one reference map symbol in each area. For example: the second constellation diagram is shown in Figure 4, and the reference mapping symbol of each region is the mapping title in the lower left corner of each region, for example: the mapping symbol circled in Figure 4, so that the second division rule can be The least significant bit (Least Significant Bit, LSB) and the most significant bit (Most Significant Bit, MSB) of the bit data to be modulated are divided, that is, the bit data of the LSB of the data to be modulated can be the fourth group of data, that is, the encoded bit data , the bit data of the MSB of the data to be modulated is the third group of data, which is the coset bit data, so that the coset bit data is used as the table lookup address, and each area in the second constellation diagram can be found in the second constellation diagram Select a mapping symbol in the reference mapping symbol (for example, select the mapping symbol circled in Figure 4), and use the encoded bit data as the look-up table address to select a non-reference mapping in the area where the above-mentioned selected mapping symbol is located symbol.
209、将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号。209. Use the third group of data as a table lookup address, and find the second mapping symbol corresponding to the third group of data from the second constellation diagram that contains the mapping symbols set earlier; wherein, the second constellation The graph contains 2 nt regions, each of which contains 2 t mapped symbols.
作为一种可选的实施方式,上述n和t可以是根据星座图不同而不同,如图4所示的星座图,图4中每个区域包含16个星座点,那么上述t就可以等于4,n等于4加上图4中区域的数量值。As an optional implementation, the above-mentioned n and t can be different according to the constellation diagram, as shown in the constellation diagram in Figure 4, each area in Figure 4 contains 16 constellation points, then the above-mentioned t can be equal to 4 , n is equal to 4 plus the number of regions in Figure 4.
作为一种可选的实施方式,步骤209可以包括:As an optional implementation manner, step 209 may include:
将所第三组数据作为一个多选一的逻辑电路的选择地址,从所述第二星座图中各区域中预置的参考映射符号中选择出与所述第三组数据对应的第二映射符号。Using the third group of data as a selection address of a multiple-choice logic circuit, selecting the second mapping corresponding to the third group of data from the reference mapping symbols preset in each area of the second constellation diagram symbol.
这样步骤209就可以是在2n-t个映射符号中查找一个映射符号,即查表的深度为2n -t。In this way, step 209 can be to search for a mapping symbol among 2 nt mapping symbols, that is, the depth of the table lookup is 2 n −t .
210、将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。210. Using the fourth set of data as a table look-up address, find a corrected offset vector corresponding to the fourth set of data from the area of the second constellation where the second mapping symbol is located, and the corrected The offset vector contains the I branch signal and the Q branch signal.
这样步骤210就可以是在2t个映射符号中查找一个映射符号,即查表的深度为2t。例如:步骤209查找出的映射符号为图4中圆圈圈起来的映射称号,那么步骤210就在该映射符号所在的区域中进行查找,从该区域中查找出一个映射符号,将查找出的映射符号作为修正偏移向量。In this way, step 210 can be to search for a mapping symbol among 2 t mapping symbols, that is, the depth of the table lookup is 2 t . For example: the mapping symbol found in step 209 is the mapping title circled in Figure 4, then step 210 searches in the area where the mapping symbol is located, finds a mapping symbol from the area, and searches the mapping sign as a correction offset vector.
作为一种可选的实施方式,在步骤208之后,在步骤210之前,所述方法还包括:As an optional implementation manner, after step 208 and before step 210, the method further includes:
将所述第四组数据进行格雷编码;Gray encoding the fourth set of data;
可选的,该实施方式中,步骤210可以包括:Optionally, in this embodiment, step 210 may include:
将所述格雷编码的结果作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述结果对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。The result of the gray encoding is used as a table lookup address, and the correction offset vector corresponding to the result is found from the area where the second mapping symbol is located in the second constellation diagram, and the correction offset vector includes 1 Branch signal and Q branch signal.
211、将所述第二映射符号与所述修正偏移向量相加,得到第三映射符号;211. Add the second mapping symbol to the modified offset vector to obtain a third mapping symbol;
212、对所述第三映射符号进行正交幅度调制QAM,得到第二2nQAM调制信号;212. Perform quadrature amplitude modulation (QAM) on the third mapped symbol to obtain a second 2 n QAM modulated signal;
213、发送所述第二2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。213. Send the second 2 n QAM modulated signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
当待调制数据的比特数量为奇数时,即上述n为奇数,在调制映射过程中,只需要对第二星座图进行一次2n-t的深度查表,和一次2t的深度查表,相比现有技术中的2n,本发明可以减少查表的深度,以节约RAM的资源。When the number of bits of the data to be modulated is an odd number, that is, the above-mentioned n is an odd number, in the modulation mapping process, only a 2 nt depth table lookup is required for the second constellation diagram, compared with a 2 t depth table lookup. 2 n in the prior art, the present invention can reduce the depth of the table lookup to save RAM resources.
作为一种可选的实施方式,实现本实例的设备可以包括:As an optional implementation manner, the equipment for implementing this example may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当待调制数据的比特数量为偶数或奇数时,可以采用不同的映射方式,且还可以减少调制映射的查表深度,还可以使解映射过程减少查表的深度,以节约RAM的资源。In the above technical solution, it can be realized that when the number of bits of the data to be modulated is even or odd, different mapping methods can be used, and the depth of the table lookup of the modulation mapping can be reduced, and the depth of the table lookup can be reduced in the demapping process. To save RAM resources.
图5是本发明实施例提供的一种解映射的方法的流程示意图,如图5所示,包括:Fig. 5 is a schematic flowchart of a demapping method provided by an embodiment of the present invention, as shown in Fig. 5 , including:
301、接收发射端发送2nQAM调制信号。301. The receiving and transmitting end sends 2 n QAM modulated signals.
302、对所述2nQAM调制信号进行解调,得到映射符号。302. Demodulate the 2 n QAM modulated signals to obtain mapped symbols.
303、当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据。303. When the n is an even number, use the first vector of the I-branch signal contained in the mapping symbol as a look-up address, and find out the I-branch signal from the preset third constellation diagram containing bit data The first set of data corresponding to the channel signal.
304、将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据。304. Using the first vector of the Q-branch signal included in the mapping symbol as a table look-up address, look up the second group of data corresponding to the Q-branch signal from the third constellation diagram.
305、将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。305. Splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
需要说明的是,本实施例提供的第三星座图,如图上面实施例提供的第一星座图是一一对应的,第一星座图中星座图表示映射符号,第一星座图所使用的查表地址为数据(例如:比特数据),使用该查表地址从第一星座图中查找出来的是一个映射符号,而第三星座图中的星座点表示数据,第三星座图所使用的查表地址为映射符号,使用该查表地址从第一星座图中查找出来的是一个数据(例如:比特数据)。第三星座图的结构可以参考第一星座图的结构(例如:图3所示)。It should be noted that, the third constellation diagram provided in this embodiment is in one-to-one correspondence with the first constellation diagram provided in the above embodiment, the constellation diagram in the first constellation diagram represents the mapping symbol, and the constellation diagram used in the first constellation diagram The table lookup address is data (for example: bit data), and what is found out from the first constellation diagram using the table lookup address is a mapping symbol, while the constellation points in the third constellation diagram represent data, and the third constellation diagram uses The table lookup address is a mapping symbol, and what is found out from the first constellation diagram by using the table lookup address is a piece of data (for example: bit data). The structure of the third constellation diagram may refer to the structure of the first constellation diagram (for example, as shown in FIG. 3 ).
可选的,假设所述第一组数据为t比特,第二组数据为n-t比特,原始数据就为n比特,这样步骤303和304分别解映射出第一组数据和第二组数据,与现有技术一次解映射出n比特数据相比,减少了查表的深度。Optionally, assuming that the first set of data is t bits, the second set of data is n-t bits, and the original data is n bits, steps 303 and 304 demap the first set of data and the second set of data respectively, and Compared with demapping n-bit data at one time in the prior art, the depth of table lookup is reduced.
作为一种可选的实施方式,实现本实例的设备可以包括:As an optional implementation manner, the equipment for implementing this example may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,接收发射端发送2nQAM调制信号,对所述2nQAM调制信号进行解调,得到映射符号;当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。这样可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, the receiving and transmitting end sends 2 n QAM modulated signals, demodulates the 2 n QAM modulated signals, and obtains a mapping symbol; when the n is an even number, the I branch signal contained in the mapping symbol The first vector of the first vector is used as the address of the look-up table, and the first group of data corresponding to the I branch signal is found from the preset third constellation diagram containing bit data; the Q branch signal contained in the mapping symbol is The first vector is used as a table lookup address, and the second group of data corresponding to the Q branch signal is found from the third constellation diagram; the first group of data and the second group of data are spliced to obtain Raw data corresponding to the 2 n QAM modulated signals. In this way, the depth of the table lookup in the demapping process can be reduced, so as to save RAM resources.
图6是本发明实施例提供的一种解映射的方法的流程示意图,如图6所示,包括:Fig. 6 is a schematic flowchart of a demapping method provided by an embodiment of the present invention, as shown in Fig. 6 , including:
401、接收发射端发送2nQAM调制信号。401. The receiving and transmitting end sends 2 n QAM modulated signals.
402、对所述2nQAM调制信号进行解调,得到映射符号。402. Demodulate the 2 n QAM modulated signals to obtain mapped symbols.
403、当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;403. When the n is an even number, use the first vector of the I-branch signal included in the mapping symbol as a table lookup address, and find out the I-branch signal from the preset third constellation diagram containing bit data The first set of data corresponding to the channel signal;
404、将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据。404. Use the first vector of the Q-branch signal included in the mapping symbol as a table look-up address, and find a second group of data corresponding to the Q-branch signal from the third constellation diagram.
可选的,当所述I支路信号对应的数据具体为所述第三星座图的中横坐标的坐标值,那么Q支路信号对应的数据就为所述第三星座图中纵坐标的坐标值;当所述I支路信号对应的数据具体为所述星座图的中纵坐标的坐标值,那么Q支路信号对应的数据就为所述星座图中横坐标的坐标值。Optionally, when the data corresponding to the I branch signal is specifically the coordinate value of the abscissa in the third constellation diagram, then the data corresponding to the Q branch signal is the coordinate value of the ordinate in the third constellation diagram. Coordinate value; when the data corresponding to the I branch signal is specifically the coordinate value of the middle ordinate in the constellation diagram, then the data corresponding to the Q branch signal is the coordinate value of the abscissa in the constellation diagram.
405、将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。405. Splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
可选的,由于映射符号的I和Q支路信号的正交特性,步骤405可以是将第一组数据和第二组数据进行轮流插入拼接,即,第一组数据为ACE时,第二组数据为BDF时,步骤405就得到一个ABCDEF的数据。Optionally, due to the orthogonality of the I and Q branch signals of the mapping symbol, step 405 may be to perform alternate insertion and splicing of the first group of data and the second group of data, that is, when the first group of data is ACE, the second group of data When the group data is BDF, in step 405, a data of ABCDEF is obtained.
406、当n为奇数时,将所述第一映射符号的I支路信号和Q支路信号的低t/2位进行格雷编码得到编码比特数据;406. When n is an odd number, gray code the lower t/2 bits of the I branch signal and the Q branch signal of the first mapped symbol to obtain coded bit data;
可选的,上述映射符号的低t/2位与编码比特数据存在差分运算关系,这样通过步骤406就可以将所述映射符号的I支路信号和Q支路信号的低两位对应的比特数据还原出来。若编码比特数据为四位比特数据,步骤406就将上述映射称号的低两位进行格雷编码得到编码比特数据。Optionally, there is a differential operation relationship between the lower t/2 bits of the above-mentioned mapping symbol and the coded bit data, so that through step 406, the bits corresponding to the lower two bits of the I branch signal and the Q branch signal of the mapping symbol can be The data is restored. If the coded bit data is four-bit data, step 406 performs Gray coding on the lower two bits of the mapping name to obtain the coded bit data.
407、将预先设置的包含比特数据的第四星座图以所述第四星座图的区域的原点映射符号平移至所述区域预置的参考映射符号的平移轨迹进行平移;其中,所述第四星座图包含2n-t个区域,每个所述区域包含2t个映射符号,t为自然数,且t<n;407. Translate the preset fourth constellation diagram containing bit data by using the origin mapping symbol of the area of the fourth constellation diagram to shift the translation trajectory of the preset reference mapping symbol in the area; wherein, the fourth The constellation diagram includes 2 nt areas, each of which includes 2 t mapping symbols, t is a natural number, and t<n;
可选的,上述第四星座图与上面实施例提供的第二星座是相对应的,两者对应的关系可以参考上述描述的第三星座图与第一星座图的对应关系。Optionally, the foregoing fourth constellation diagram corresponds to the second constellation diagram provided in the above embodiment, and for a corresponding relationship between the two, refer to the correspondence relationship between the third constellation diagram and the first constellation diagram described above.
可选的,上述以所述第四星座图的区域的原点映射符号平移至所述所述区域参考映射称号的平移轨,该区域可以是第四星座图中任一区域,因为区域在第四星座图中的位置的固定的,且每个区域的参考映射符号的位置也是固定的,这样不管哪一个区域的原点映射符号平移至该区域的参考映射称号的平移轨迹都是一样的。例如:第四星座图的结构如图4所示,图4中圆圈圈起来的映射称号为某一区域的参考映射符号,这样步骤407就以将该区域的原点映射符号平移参考映射符号的轨迹平移。上述原点映射符号为每个区域的中心点的映射符号。Optionally, the above-mentioned translation track using the origin mapping symbol of the area of the fourth constellation map to the translation track of the area reference mapping name, this area can be any area in the fourth constellation map, because the area is in the fourth The position in the constellation diagram is fixed, and the position of the reference mapping symbol of each region is also fixed, so no matter which region the origin mapping symbol is translated to the translation track of the reference mapping name of the region is the same. For example: the structure of the fourth constellation diagram is as shown in Figure 4, and the mapping title circled in Figure 4 is the reference mapping symbol of a certain area, so step 407 just shifts the track of the reference mapping symbol with the origin mapping symbol of this area panning. The above origin mapping notation is the mapping notation of the center point of each region.
408、将所述映射符号的I支路信号和Q支路信号分别进行除t取整的除法运算,将所述除法运算的结果的I支路信号乘以N的乘法运算,并将所述乘法运算的结果和所述除法运算的Q支路信号的结果作为查表地址,从所述平移后的第四星座图中查找出陪集比特数据;其中,所述N为所述第四星座图中包含比特数据最多的一行的比特数据的数量。408. Perform the division operation of dividing the I branch signal and the Q branch signal of the mapping symbol into an integer by division t, multiply the I branch signal of the result of the division operation by N, and multiply the The result of the multiplication operation and the result of the Q branch signal of the division operation are used as a table lookup address, and the coset bit data is found from the shifted fourth constellation diagram; wherein, the N is the fourth constellation The number of bit data in the row containing the most bit data in the graph.
可选的,所述查表地址具体可以为I'×N+Q',其中,I'为所述除法运算后的I支路信号,Q'为所述除法运算后Q支路信号。Optionally, the table lookup address may specifically be I'×N+Q', where I' is the I branch signal after the division operation, and Q' is the Q branch signal after the division operation.
409、将所述编码比特数据与所述陪集比特数据进行拼接,得到所述2nQAM调制信号对应的原始数据。409. Splice the coded bit data and the coset bit data to obtain original data corresponding to the 2 n QAM modulation signal.
作为一种可选的实施方式,在获取上述n时,就可以根据n的值知晓解调设备调制映射上述映射符号时所采用的星座图,2nQAM调制信号对应的的比特数量为奇数时,即n为奇数时,这样就可以通过第四星座图得知调制设备调制映射上述映射符号时,对原始数据(即,上述实施例描述的待调制数据)划分的规则,第四座图对应的第二星座图为图4所示的星座图时,解调设备就可以得知调制设备是将原始数据的LSB的比特数据划分为编码比特数据,将前面MSB的比特数据划分为陪集比特数据,如将ABCDEFG中的DEFG划分为编码比特数据,将ABC划分为陪集比特数据,这样步骤309就可以将编码比特数据拼接在陪集比特数据的后面,以得到ABCDEFG的原始数据。As an optional implementation, when the above n is acquired, the constellation diagram used by the demodulation device when modulating and mapping the above mapping symbols can be known according to the value of n, when the number of bits corresponding to the 2 n QAM modulation signal is an odd number , that is, when n is an odd number, the rules for dividing the original data (that is, the data to be modulated described in the above-mentioned embodiment) when the modulation device modulates and maps the above-mentioned mapping symbols can be known through the fourth constellation diagram, and the fourth constellation diagram corresponds to When the second constellation diagram is the constellation diagram shown in Figure 4, the demodulation device can know that the modulation device divides the bit data of the LSB of the original data into coded bit data, and divides the bit data of the previous MSB into coset bits For example, DEFG in ABCDEFG is divided into coded bit data, and ABC is divided into coset bit data, so that step 309 can splice the coded bit data behind the coset bit data to obtain the original data of ABCDEFG.
作为一种可选的实施方式,实现本实例的设备可以包括:As an optional implementation manner, the equipment for implementing this example may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当映射符号对应的的数据的比特数量为偶数或奇数时,可以采用不同的解映射方式,且还可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of data bits corresponding to the mapping symbol is even or odd, different demapping methods can be used, and the depth of table lookup in the demapping process can be reduced to save RAM resources.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至四实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例一、实施例二、实施倒三和实施例四。The following are the device embodiments of the present invention. The device embodiments of the present invention are used to execute the methods realized by the method embodiments 1 to 4 of the present invention. For the convenience of description, only the parts related to the embodiments of the present invention are shown, and the specific technical details are not disclosed. , please refer to Embodiment 1, Embodiment 2, Embodiment 3 and Embodiment 4 of the present invention.
图7是本发明实施例提供一种调制设备的结构示意图,如图7所示,包括:获取单元501、第一划分单元502、第一查表单元503、第二查表单元504、合并单元505、第一调制单元506和第一发送单元507,其中:FIG. 7 is a schematic structural diagram of a modulation device provided by an embodiment of the present invention. As shown in FIG. 7, it includes: an acquisition unit 501, a first division unit 502, a first table look-up unit 503, a second table look-up unit 504, and a combination unit 505. The first modulation unit 506 and the first sending unit 507, wherein:
获取单元501,用于获取待调制数据,所述待调制数据包括n个调制比特;An acquisition unit 501, configured to acquire data to be modulated, where the data to be modulated includes n modulation bits;
第一划分单元502,用于当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;The first division unit 502 is configured to equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule when n is an even number;
第一查表单元503,用于将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;The first table look-up unit 503 is configured to use the first set of data as a table look-up address, and find the I-branch signal corresponding to the first set of data from the preset first constellation diagram containing mapping symbols The first vector value of ;
第二查表单元504,用于将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;The second table lookup unit 504 is configured to use the second group of data as a table lookup address, and find out from the first constellation diagram the second vector value corresponding to the second group of data that includes the Q branch signal ;
合并单元505,用于将所述第一向量值与所述第二向量值合并,得到第一映射符号;A combining unit 505, configured to combine the first vector value and the second vector value to obtain a first mapping symbol;
第一调制单元506,用于对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;The first modulation unit 506 is configured to perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
第一发送单元507,用于发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The first sending unit 507 is configured to send the first 2 n QAM modulated signal to the receiving end, so that the receiving end can obtain the data to be modulated through data demodulation.
当接收端接收到2nQAM调制信号就可以解调出所述待调制数据。When the receiving end receives the 2 n QAM modulated signal, it can demodulate the data to be modulated.
可选的,假设待调制数据为6比特,步骤101就可以将待调制数据中的3比特划分为第一组数据,将另外3比特的数据划分为第二组数据。这样第一查表单元53进行查表的深度就为23,而第二查表单元54查表的深度为23。相比现有技术中查表深度26,减少了查表的深度。Optionally, assuming that the data to be modulated is 6 bits, step 101 may divide 3 bits of the data to be modulated into the first group of data, and divide the other 3 bits of data into the second group of data. In this way, the table look-up depth of the first table look-up unit 53 is 2 3 , and the table look-up depth of the second table look-up unit 54 is 2 3 . Compared with the table lookup depth of 2 6 in the prior art, the table lookup depth is reduced.
作为一种可选的实施方式,所述调制设备可以包括:As an optional implementation manner, the modulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,当待调制数据的比特数量为偶数时,将需要调制映射的数据等分为第一组数据和第二组数据,将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。这样可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of bits of the data to be modulated is an even number, the data that needs to be modulated and mapped is equally divided into the first group of data and the second group of data, and the first group of data is used as the table lookup address, from the preset Find out the first vector value containing the I branch signal corresponding to the first group of data in the first constellation diagram containing the mapping symbol, use the second group of data as the look-up table address, from the first Find out the second vector value containing the Q branch signal corresponding to the second group of data in the constellation diagram; combine the first vector value with the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal; sending the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation. In this way, the depth of the table lookup in the process of modulation mapping and demapping can be reduced, so as to save RAM resources.
图8是本发明实施例提供的另一种调制设备的结构示意图,如图8所示,包括:获取单元601、第一划分单元602、第一查表单元603、第二查表单元604、合并单元605、第一调制单元606、第一发送单元607、第二划分单元608、第三查表单元609、第四查表单元610、加法单元611、第二调制单元612和第二发送单元613,其中:FIG. 8 is a schematic structural diagram of another modulation device provided by an embodiment of the present invention. As shown in FIG. Merging unit 605, first modulation unit 606, first sending unit 607, second division unit 608, third table lookup unit 609, fourth table lookup unit 610, addition unit 611, second modulation unit 612 and second sending unit 613, of which:
获取单元601,用于获取待调制数据,所述待调制数据包括n个调制比特;An acquisition unit 601, configured to acquire data to be modulated, where the data to be modulated includes n modulation bits;
第一划分单元602,用于当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据。The first division unit 602 is configured to equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule when n is an even number.
作为一种可选的实施方式,上述第一划分规则可以是基于第一星座图包含的映射符号中I和Q支路信号的正交特性而预先设置的。例如:例如上述第一星座图如图2所示的星座图,待调制数据包括ABCDEF这六个比特数据,这样上述第一划分规则就可以将上述数据中等间隔的比特数据如ACE分为第一组数据,将另外等间隔的比特数据BDF分为第二组数据。As an optional implementation manner, the foregoing first division rule may be preset based on the orthogonality characteristics of the I and Q branch signals in the mapping symbols included in the first constellation diagram. For example: such as the constellation diagram shown in Figure 2 for the above-mentioned first constellation diagram, the data to be modulated includes six bits of data ABCDEF, so that the above-mentioned first division rule can divide the bit data of the above-mentioned data such as ACE into the first Group data, dividing the bit data BDF at equal intervals into the second group data.
第一查表单元603,用于将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值。The first table look-up unit 603 is configured to use the first set of data as a table look-up address, and find out the I-branch signal corresponding to the first set of data from the preset first constellation diagram containing mapping symbols The first vector value of .
可选的,所述预先设置的包含映射符号的第一星座图具体可以如图3所示的星座图,座图的中星座点为映射符号,该星座图中的星座点在四个象现内呈正方形完全对称。Optionally, the preset first constellation diagram containing mapping symbols may specifically be a constellation diagram as shown in FIG. The inner square is completely symmetrical.
作为一种可选的实施方式,第一查表单元603还可以用于将所述第一组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个I支路信号中选择一个与所述第一组数据对应的I支路信号,并将所述选择的I支路信号作为第一向量值。As an optional implementation, the first table look-up unit 603 can also be used to use the first group of data as the selection address of a multiple-choice logic circuit, from the 2 n/2 contained in the first constellation diagram Select an I-branch signal corresponding to the first set of data from the I-branch signals, and use the selected I-branch signal as the first vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,第一查表单元603查表的深度就为2n/2,具体是从2n/2个I支路信号中选择一个I支路信号。其中I支路信号具体可以为所述星座图的中横坐标的坐标值,或纵坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the table lookup of the first table lookup unit 603 is 2n/2 , specifically selecting from 2n/2 I branch signals An I branch signal. The I branch signal may specifically be the coordinate value of the abscissa or the coordinate value of the ordinate in the constellation diagram.
第二查表单元604,用于将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值。The second table lookup unit 604 is configured to use the second group of data as a table lookup address, and find out from the first constellation diagram the second vector value corresponding to the second group of data that includes the Q branch signal .
作为一种可选的实施方式,第二查表单元604还可以用于将所述第二组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个Q支路信号中选择一个与所述第一组数据对应的Q支路信号,并将所述选择的Q支路信号作为第二向量值。As an optional implementation, the second table look-up unit 604 can also be used to use the second set of data as a selection address of a multiple-choice logic circuit, from the 2 n/2 contained in the first constellation diagram Select a Q branch signal corresponding to the first set of data from the Q branch signals, and use the selected Q branch signal as the second vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,第二查表单元604查表的深度就为2n/2,具体是从2n/2个Q支路信号中选择一个Q支路信号。其中,当所述I支路信号具体为所述星座图的中横坐标的坐标值,那么Q支路信号就为所述星座图中纵坐标的坐标值;当所述I支路信号具体为所述星座图的中纵坐标的坐标值,那么Q支路信号就为所述星座图中横坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the second table look-up unit 604 is 2 n/2 , specifically selecting from 2 n/2 Q branch signals A Q branch signal. Wherein, when the I branch signal is specifically the coordinate value of the abscissa in the constellation diagram, then the Q branch signal is the coordinate value of the ordinate in the constellation diagram; when the I branch signal is specifically The coordinate value of the ordinate in the constellation diagram, then the Q branch signal is the coordinate value of the abscissa in the constellation diagram.
合并单元605,用于将所述第一向量值与所述第二向量值合并,得到第一映射符号;A combining unit 605, configured to combine the first vector value and the second vector value to obtain a first mapping symbol;
第一调制单元606,用于对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;The first modulation unit 606 is configured to perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
第一发送单元607,用于发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The first sending unit 607 is configured to send the first 2 n QAM modulated signal to the receiving end, so that the receiving end can obtain the data to be modulated through data demodulation.
当接收端接收到上述2nQAM调制信号,就可以知晓该2nQAM调制信号对应的数据的比特数量是偶数还是奇数,当是偶数时,就采用偶数个比特数据对应的解调方法进行解映射,当是奇数时,就采用奇数个比特数据对应的解调的方法进行解映射。When the receiving end receives the above 2 n QAM modulation signal, it can know whether the number of bits of the data corresponding to the 2 n QAM modulation signal is even or odd. When the mapping is an odd number, the demodulation method corresponding to the odd number of bit data is used for demapping.
第二划分单元608,用于当n为奇数时,按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据,其中,所述第三组数据包括n-t比特的陪集比特,所述第四组数据包括t比特的编码比特,所述t为大于零的整数,且t<n。The second division unit 608 is configured to divide the data to be modulated into a third group of data and a fourth group of data according to a preset second division rule when n is an odd number, wherein the third group of data includes n-t A coset of bits, the fourth group of data includes coded bits of t bits, where t is an integer greater than zero, and t<n.
作为一种可选的实施方式,上述第二划分规则可以是基于本发明实施例提供的第二星座图而预先设置的,可以根据第二星座图中各区域的参考映射符号而设置的,即第二星座图中各区域的参考映射符号为同设置的第二划分规则也就不同,其中,第二星座图中每个区域的参考映射符号在每个区域中所处的公位置相同,且每个区域中只有一个参考映射符号。例如:第二星座图如图4所示,每个区域的参考映射符号为每个区域的左下角的映射称号,例如:图4中圆圈圈起来的映射符号,这样第二划分规则就可以将待调制比特数据的LSB和MSB进行划分,即可以将待调制数据的LSB的比特数据为第四组数据,即编码比特数据,将待调制数据的MSB的比特数据为第三组数据,即为陪集比特数据,这样用陪集比特数据作为查表地址,就可以第二星座图中查出第二星座图中各区域中参考映射符号中选择一个映射符号(例如,选择出图4用圆圈圈起来的映射符号),而用编码比特数据作为查表地址就上述选择出的映射符号所在区域中选择出一个非参考映射符号。As an optional implementation manner, the above-mentioned second division rule may be preset based on the second constellation diagram provided by the embodiment of the present invention, and may be set according to the reference mapping symbols of each area in the second constellation diagram, that is, The reference mapping symbols of each region in the second constellation diagram are different from the set second division rules, wherein the reference mapping symbols of each region in the second constellation diagram have the same common position in each region, and There is only one reference map symbol in each area. For example: the second constellation diagram is shown in Figure 4, and the reference mapping symbol of each region is the mapping title in the lower left corner of each region, for example: the mapping symbol circled in Figure 4, so that the second division rule can be The LSB and MSB of the bit data to be modulated are divided, that is, the bit data of the LSB of the data to be modulated can be the fourth group of data, that is, the coded bit data, and the bit data of the MSB of the data to be modulated can be the third group of data, which is Coset bit data, use coset bit data as table look-up address like this, just can find out in the second constellation diagram in each area in the second constellation diagram and select a mapping symbol in the reference mapping symbol (for example, select Figure 4 with circle circled mapping symbol), and use the coded bit data as the look-up table address to select a non-reference mapping symbol in the area where the above selected mapping symbol is located.
第三查表单元609,用于将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号。The third table look-up unit 609 is configured to use the third group of data as a table look-up address, and find out the second mapping symbol corresponding to the third group of data from the second constellation diagram including the mapping symbol set earlier; Wherein, the second constellation diagram includes 2 nt regions, each of which includes 2 t mapped symbols.
作为一种可选的实施方式,上述n和t可以是根据星座图不同而不同,如图4所示的星座图,图4中每个区域包含16个星座点,那么上述t就可以等于4,n等于4加上图4中区域的数量值。As an optional implementation, the above-mentioned n and t can be different according to the constellation diagram, as shown in the constellation diagram in Figure 4, each area in Figure 4 contains 16 constellation points, then the above-mentioned t can be equal to 4 , n is equal to 4 plus the number of regions in Figure 4.
作为一种可选的实施方式,第三查表单元609还可以用于将所第三组数据作为一个多选一的逻辑电路的选择地址,从所述第二星座图中各区域中预置的参考映射符号中选择出与所述第三组数据对应的第二映射符号。As an optional implementation manner, the third table look-up unit 609 can also be used to use the third group of data as a selection address of a logic circuit for choosing one of many, and preset it from each area in the second constellation diagram Selecting a second mapping symbol corresponding to the third group of data from the reference mapping symbols of .
这样第三查表单元609就可以是在2n-t个映射符号中查找一个映射符号,即查表的深度为2n-t。In this way, the third table lookup unit 609 can look up one mapping symbol among 2 nt mapping symbols, that is, the depth of the table lookup is 2 nt .
第四查表单元610,用于将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。The fourth table look-up unit 610 is configured to use the fourth set of data as a table look-up address, and find the correction corresponding to the fourth set of data from the area of the second constellation diagram where the second mapping symbol is located. An offset vector, the modified offset vector includes the I branch signal and the Q branch signal.
这样第四查表单元610就可以是在2t个映射符号中查找一个映射符号,即查表的深度为2t。例如:第三查表单元609查找出的映射符号为图4中圆圈圈起来的映射称号,那么第四查表单元610就在该映射符号所在的区域中进行查找,从该区域中查找出一个映射符号,将查找出的映射符号作为修正偏移向量。In this way, the fourth table lookup unit 610 can look up one mapping symbol among 2 t mapping symbols, that is, the depth of the table lookup is 2 t . For example: the mapping symbol that the 3rd look-up table unit 609 finds out is the mapping title circled in Fig. 4, so the 4th look-up table unit 610 just searches in the area where this mapping symbol is located, finds out a from this area Mapping symbol, use the found mapping symbol as the correction offset vector.
作为一种可选的实施方式,所述设备还可以包括:As an optional implementation manner, the device may also include:
编码单元,用于将所述第四组数据进行格雷编码;a coding unit, configured to gray code the fourth set of data;
可选的,该实施方式中,第四查表单元610还可以用于将所述格雷编码的结果作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述结果对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。Optionally, in this embodiment, the fourth table look-up unit 610 can also be used to use the result of Gray encoding as a table look-up address to find out from the area of the second constellation where the second mapping symbol is located. A modified offset vector corresponding to the result, the modified offset vector includes the I branch signal and the Q branch signal.
加法单元611,用于将所述第二映射符号与所述修正偏移向量相加,得到第三映射符号;An adding unit 611, configured to add the second mapping symbol to the modified offset vector to obtain a third mapping symbol;
第二调制单元612,用于对所述第三映射符号进行正交幅度调制QAM,得到第二2nQAM调制信号;The second modulation unit 612 is configured to perform quadrature amplitude modulation (QAM) on the third mapped symbol to obtain a second 2 n QAM modulated signal;
第二发送单元613,用于发送所述第二2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The second sending unit 613 is configured to send the second 2 n QAM modulated signal to the receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
当待调制数据的比特数量为奇数时,即上述n为奇数,在调制映射过程中,只需要对第二星座图进行一次2n-t的深度查表,和一次2t的深度查表,相比现有技术中的2n,本发明可以减少查表的深度,以节约RAM的资源。When the number of bits of the data to be modulated is an odd number, that is, the above-mentioned n is an odd number, in the modulation mapping process, only a 2 nt depth table lookup is required for the second constellation diagram, compared with a 2 t depth table lookup. 2 n in the prior art, the present invention can reduce the depth of the table lookup to save RAM resources.
作为一种可选的实施方式,所述调制设备可以包括:As an optional implementation manner, the modulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当待调制数据的比特数量为偶数或奇数时,可以采用不同的映射方式,且还可以减少调制映射的查表深度,还可以使解映射过程减少查表的深度,以节约RAM的资源。In the above technical solution, it can be realized that when the number of bits of the data to be modulated is even or odd, different mapping methods can be used, and the depth of the table lookup of the modulation mapping can be reduced, and the depth of the table lookup can be reduced in the demapping process. To save RAM resources.
图9是本发明实施例提供的一种解调设备的结构示意图,如图9所示,包括:接收单元701、解调单元702、第一查表单元703、第二查表单元704和第一拼接单元705,其中:Fig. 9 is a schematic structural diagram of a demodulation device provided by an embodiment of the present invention. As shown in Fig. 9, it includes: a receiving unit 701, a demodulation unit 702, a first table look-up unit 703, a second table look-up unit 704, and a second table look-up unit 704. A splicing unit 705, wherein:
接收单元701,用于接收发射端发送2nQAM调制信号;The receiving unit 701 is used to receive the 2 n QAM modulated signal sent by the transmitting end;
解调单元702,用于对所述2nQAM调制信号进行解调,得到映射符号;A demodulation unit 702, configured to demodulate the 2 n QAM modulated signals to obtain mapped symbols;
第一查表单元703,用于当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;The first table look-up unit 703 is configured to use the first vector of the I-branch signal included in the mapping symbol as a table look-up address when the n is an even number, from the preset third constellation diagram containing bit data Find out the first set of data corresponding to the I branch signal;
第二查表单元704,用于将所述映射符号包含的Q支路信号的第二向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;The second table lookup unit 704 is configured to use the second vector of the Q branch signal contained in the mapping symbol as a table lookup address, and find the second vector corresponding to the Q branch signal from the third constellation diagram. group data;
第一拼接单元705,用于将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The first splicing unit 705 is configured to splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
需要说明的是,本实施例提供的第三星座图,如图上面实施例提供的第一星座图是一一对应的,第一星座图中星座图表示映射符号,第一星座图所使用的查表地址为数据(例如:比特数据),使用该查表地址从第一星座图中查找出来的是一个映射符号,而第三星座图中的星座点表示数据,第三星座图所使用的查表地址为映射符号,使用该查表地址从第一星座图中查找出来的是一个数据(例如:比特数据)。第三星座图的结构可以参考第一星座图的结构(例如:图3所示)。It should be noted that, the third constellation diagram provided in this embodiment is in one-to-one correspondence with the first constellation diagram provided in the above embodiment, the constellation diagram in the first constellation diagram represents the mapping symbol, and the constellation diagram used in the first constellation diagram The table lookup address is data (for example: bit data), and what is found out from the first constellation diagram using the table lookup address is a mapping symbol, while the constellation points in the third constellation diagram represent data, and the third constellation diagram uses The table lookup address is a mapping symbol, and what is found out from the first constellation diagram by using the table lookup address is a piece of data (for example: bit data). The structure of the third constellation diagram may refer to the structure of the first constellation diagram (for example, as shown in FIG. 3 ).
可选的,假设所述第一组数据为t比特,第二组数据为n-t比特,原始数据就为n比特,这样第一查表单元703和第二查表单元704分别解映射出第一组数据和第二组数据,与现有技术一次解映射出n比特数据相比,减少了查表的深度。Optionally, assume that the first set of data is t bits, the second set of data is n-t bits, and the original data is n bits, so that the first table lookup unit 703 and the second table lookup unit 704 demap the first table lookup unit 704 respectively. The first set of data and the second set of data reduce the depth of table lookup compared with the prior art that demaps n-bit data at a time.
作为一种可选的实施方式,所述解调设备可以包括:As an optional implementation manner, the demodulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,接收发射端发送2nQAM调制信号,对所述2nQAM调制信号进行解调,得到映射符号;当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。这样可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, the receiving and transmitting end sends 2 n QAM modulated signals, demodulates the 2 n QAM modulated signals, and obtains a mapping symbol; when the n is an even number, the I branch signal contained in the mapping symbol The first vector of the first vector is used as the address of the look-up table, and the first group of data corresponding to the I branch signal is found from the preset third constellation diagram containing bit data; the Q branch signal contained in the mapping symbol is The first vector is used as a table lookup address, and the second group of data corresponding to the Q branch signal is found from the third constellation diagram; the first group of data and the second group of data are spliced to obtain Raw data corresponding to the 2 n QAM modulated signals. In this way, the depth of the table lookup in the demapping process can be reduced, so as to save RAM resources.
图10是本发明实施例提供的另一种解调设备的结构示意图,如图10所示,包括:接收单元801、解调单元802、第一查表单元803、第二查表单元804和第一拼接单元805、编码单元806、平移单元807、第三查表单元808和第二拼接单元809,其中:FIG. 10 is a schematic structural diagram of another demodulation device provided by an embodiment of the present invention. As shown in FIG. The first splicing unit 805, the encoding unit 806, the translation unit 807, the third table look-up unit 808 and the second splicing unit 809, wherein:
接收单元801,用于接收发射端发送2nQAM调制信号;A receiving unit 801, configured to receive a 2 n QAM modulated signal sent by the transmitting end;
解调单元802,用于对所述2nQAM调制信号进行解调,得到映射符号;A demodulation unit 802, configured to demodulate the 2 n QAM modulated signals to obtain mapped symbols;
第一查表单元803,用于当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;The first table look-up unit 803 is configured to use the first vector of the I-branch signal included in the mapping symbol as a table look-up address when the n is an even number, from the preset third constellation diagram containing bit data Find out the first set of data corresponding to the I branch signal;
第二查表单元804,用于将所述映射符号包含的Q支路信号的第二向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;The second table lookup unit 804 is configured to use the second vector of the Q branch signal included in the mapping symbol as a table lookup address, and find the second vector corresponding to the Q branch signal from the third constellation diagram. group data;
可选的,当所述I支路信号对应的数据具体为所述第三星座图的中横坐标的坐标值,那么Q支路信号对应的数据就为所述第三星座图中纵坐标的坐标值;当所述I支路信号对应的数据具体为所述星座图的中纵坐标的坐标值,那么Q支路信号对应的数据就为所述星座图中横坐标的坐标值。Optionally, when the data corresponding to the I branch signal is specifically the coordinate value of the abscissa in the third constellation diagram, then the data corresponding to the Q branch signal is the coordinate value of the ordinate in the third constellation diagram. Coordinate value; when the data corresponding to the I branch signal is specifically the coordinate value of the middle ordinate in the constellation diagram, then the data corresponding to the Q branch signal is the coordinate value of the abscissa in the constellation diagram.
第一拼接单元805,用于将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The first splicing unit 805 is configured to splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
可选的,由于映射符号的I和Q支路信号的正交特性,第一拼接单元805可以是将第一组数据和第二组数据进行轮流插入拼接,即,第一组数据为ACE时,第二组数据为BDF时,第一拼接单元805就得到一个ABCDEF的数据。Optionally, due to the orthogonality of the I and Q branch signals of the mapped symbols, the first splicing unit 805 may insert and splice the first set of data and the second set of data in turn, that is, when the first set of data is an ACE , when the second group of data is BDF, the first splicing unit 805 obtains data of ABCDEF.
编码单元806,用于当n为奇数时,将所述映射符号的I支路信号和Q支路信号的低t/2位进行格雷编码得到编码比特数据.The coding unit 806 is configured to gray code the lower t/2 bits of the I branch signal and the Q branch signal of the mapping symbol to obtain coded bit data when n is an odd number.
可选的,上述映射符号的低t/2位与编码比特数据存在差分运算关系,这样通过编码单元806就可以将所述映射符号的I支路信号和Q支路信号的低两位对应的比特数据还原出来。若编码比特数据为四位比特数据,编码单元806就将上述映射称号的低两位进行格雷编码得到编码比特数据。Optionally, there is a differential operation relationship between the lower t/2 bits of the above-mentioned mapping symbol and the coded bit data, so that the encoding unit 806 can convert the corresponding two lower bits of the I branch signal and the Q branch signal of the mapping symbol The bit data is restored. If the coded bit data is four-bit data, the encoding unit 806 gray-encodes the lower two bits of the mapping name to obtain the coded bit data.
平移单元807,用于将预先设置的包含比特数据的第四星座图以所述第四星座图的区域的原点映射符号平移至所述区域预置的参考映射符号的平移轨迹进行平移;其中,所述第四星座图包含2n-t个区域,每个所述区域包含2t个映射符号,t为自然数,且t<n。The translation unit 807 is configured to translate the preset fourth constellation diagram containing bit data from the origin mapping symbol of the area of the fourth constellation diagram to the translation trajectory of the preset reference mapping symbol in the area for translation; wherein, The fourth constellation diagram includes 2 nt areas, each of which includes 2 t mapping symbols, t is a natural number, and t<n.
可选的,上述第四星座图与上面实施例提供的第二星座是相对应的,两者对应的关系可以参考上述描述的第三星座图与第一星座图的对应关系。Optionally, the foregoing fourth constellation diagram corresponds to the second constellation diagram provided in the above embodiment, and for a corresponding relationship between the two, refer to the correspondence relationship between the third constellation diagram and the first constellation diagram described above.
可选的,上述以所述第四星座图的区域的原点映射符号平移至所述所述区域参考映射称号的平移轨,该区域可以是第四星座图中任一区域,因为区域在第四星座图中的位置的固定的,且每个区域的参考映射符号的位置也是固定的,这样不管哪一个区域的原点映射符号平移至该区域的参考映射称号的平移轨迹都是一样的。例如:第四星座图的结构如图4所示,图4中圆圈圈起来的映射称号为某一区域的参考映射符号,这样平移单元807就以将该区域的原点映射符号平移参考映射符号的轨迹平移。上述原点映射符号为每个区域的中心点的映射符号。Optionally, the above-mentioned translation track using the origin mapping symbol of the area of the fourth constellation map to the translation track of the area reference mapping name, this area can be any area in the fourth constellation map, because the area is in the fourth The position in the constellation diagram is fixed, and the position of the reference mapping symbol of each region is also fixed, so no matter which region the origin mapping symbol is translated to the translation track of the reference mapping name of the region is the same. For example: the structure of the fourth constellation diagram is shown in Figure 4, and the mapping title circled in Figure 4 is the reference mapping symbol of a certain area, so the translation unit 807 will shift the origin mapping symbol of the area to the reference mapping symbol Trajectory translation. The above origin mapping notation is the mapping notation of the center point of each region.
第三查表单元808,用于将所述映射符号的I支路信号和Q支路信号分别进行除t取整的除法运算,将所述除法运算的结果的I支路信号乘以N的乘法运算,并将所述乘法运算的结果和所述除法运算的Q支路信号的结果作为查表地址,从所述平移后的第四星座图中查找出陪集比特数据;其中,所述N为所述第四星座图中包含比特数据最多的一行的比特数据的数量。The third table look-up unit 808 is used to divide the I-branch signal and the Q-branch signal of the mapping symbol into a division operation divided by t and round to an integer, and multiply the I-branch signal of the result of the division operation by N A multiplication operation, using the result of the multiplication operation and the result of the Q branch signal of the division operation as a table lookup address, and finding the coset bit data from the shifted fourth constellation diagram; wherein, the N is the number of bit data in a row containing the most bit data in the fourth constellation diagram.
可选的,所述查表地址具体可以为I'×N+Q',其中,I'为所述除法运算后的I支路信号,Q'为所述除法运算后Q支路信号。Optionally, the table lookup address may specifically be I'×N+Q', where I' is the I branch signal after the division operation, and Q' is the Q branch signal after the division operation.
第二拼接单元809,用于将所述编码比特数据与所述陪集比特数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The second splicing unit 809 is configured to splice the coded bit data and the coset bit data to obtain original data corresponding to the 2 n QAM modulated signal.
作为一种可选的实施方式,在获取上述n时,就可以根据n的值知晓解调设备调制映射上述映射符号时所采用的星座图,2nQAM调制信号对应的的比特数量为奇数时,即n为奇数时,这样就可以通过第四星座图得知调制设备调制映射上述映射符号时,对原始数据(即,上述实施例描述的待调制数据)划分的规则,第四座图对应的第二星座图为图4所示的星座图时,解调设备就可以得知调制设备是将原始数据的LSB的比特数据划分为编码比特数据,将前面MSB的比特数据划分为陪集比特数据,如将ABCDEFG中的DEFG划分为编码比特数据,将ABC划分为陪集比特数据,这样第二拼接单元809就可以将编码比特数据拼接在陪集比特数据的后面,以得到ABCDEFG的原始数据。As an optional implementation, when the above n is acquired, the constellation diagram used by the demodulation device when modulating and mapping the above mapping symbols can be known according to the value of n, when the number of bits corresponding to the 2 n QAM modulation signal is an odd number , that is, when n is an odd number, the rules for dividing the original data (that is, the data to be modulated described in the above-mentioned embodiment) when the modulation device modulates and maps the above-mentioned mapping symbols can be known through the fourth constellation diagram, and the fourth constellation diagram corresponds to When the second constellation diagram is the constellation diagram shown in Figure 4, the demodulation device can know that the modulation device divides the bit data of the LSB of the original data into coded bit data, and divides the bit data of the previous MSB into coset bits Data, such as DEFG in ABCDEFG is divided into coded bit data, and ABC is divided into coset bit data, so that the second splicing unit 809 can splice the coded bit data behind the coset bit data to obtain the original data of ABCDEFG .
作为一种可选的实施方式,所述解调设备可以包括:As an optional implementation manner, the demodulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当映射符号对应的的数据的比特数量为偶数或奇数时,可以采用不同的解映射方式,且还可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of data bits corresponding to the mapping symbol is even or odd, different demapping methods can be used, and the depth of table lookup in the demapping process can be reduced to save RAM resources.
图11是本发明实施例提供的一种调制映射的系统的结构示意图,如图11所示,包括:调制设备901和解调设备902。FIG. 11 is a schematic structural diagram of a modulation mapping system provided by an embodiment of the present invention. As shown in FIG. 11 , it includes: a modulation device 901 and a demodulation device 902 .
可选的,调制设备901可以是图7或图8所示的实施例中任一实施方式的调制设备。Optionally, the modulation device 901 may be a modulation device in any implementation manner in the embodiments shown in FIG. 7 or FIG. 8 .
如调制设备901可以包括:获取单元、第一划分单元、第一查表单元、第二查表单元、合并单元、第一调制单元和第一发送单元,其中:For example, the modulation device 901 may include: an acquisition unit, a first division unit, a first table lookup unit, a second table lookup unit, a combination unit, a first modulation unit, and a first sending unit, wherein:
所述获取单元,用于获取待调制数据,所述待调制数据包括n个调制比特;The acquiring unit is configured to acquire data to be modulated, the data to be modulated includes n modulation bits;
所述第一划分单元,用于当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;The first division unit is configured to equally divide the data to be modulated into a first group of data and a second group of data according to a preset first division rule when n is an even number;
所述第一查表单元,用于将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;The first table look-up unit is configured to use the first set of data as a table look-up address, and find the I branch corresponding to the first set of data from the preset first constellation diagram containing mapping symbols the first vector value of the signal;
所述第二查表单元,用于将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;The second table lookup unit is configured to use the second group of data as a table lookup address, and find out from the first constellation diagram a second vector corresponding to the second group of data containing the Q branch signal value;
所述合并单元,用于将所述第一向量值与所述第二向量值合并,得到第一映射符号;The merging unit is configured to combine the first vector value and the second vector value to obtain a first mapping symbol;
所述第一调制单元,用于对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;The first modulation unit is configured to perform quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
所述第一发送单元,用于发送所述第一2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The first sending unit is configured to send the first 2 n QAM modulated signal to a receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
作为一种可选的实施方式,所述调制设备具体可以是应用本发明实施例提供的调制映射的方法的任何设备,如图手机、电脑等设备。As an optional implementation manner, the modulation device may specifically be any device that applies the modulation mapping method provided in the embodiment of the present invention, such as a mobile phone, a computer, and other devices.
可选的,解调设备902可以是图9或图10所示的实施例中任一实施方式的提供的解调设备。Optionally, the demodulation device 902 may be the demodulation device provided in any implementation manner in the embodiments shown in FIG. 9 or FIG. 10 .
如解调设备902可以包括:接收单元、解调单元、第一查表单元、第二查表单元和第一拼接单元,其中:For example, the demodulation device 902 may include: a receiving unit, a demodulation unit, a first table lookup unit, a second table lookup unit, and a first splicing unit, wherein:
所述接收单元,用于接收发射端发送2nQAM调制信号;The receiving unit is used to receive 2 n QAM modulation signals sent by the transmitting end;
所述解调单元,用于对所述2nQAM调制信号进行解调,得到映射符号;The demodulation unit is configured to demodulate the 2 n QAM modulated signals to obtain mapped symbols;
所述第一查表单元,用于当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;The first table look-up unit is configured to use the first vector of the I-branch signal included in the mapping symbol as a table look-up address when the n is an even number, from the preset third constellation diagram containing bit data Find out the first set of data corresponding to the I branch signal;
所述第二查表单元,用于将所述映射符号包含的Q支路信号的第二向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;The second table lookup unit is configured to use the second vector of the Q branch signal included in the mapping symbol as a table lookup address, and find out the first vector corresponding to the Q branch signal from the third constellation diagram. Two sets of data;
所述第一拼接单元,用于将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。The first splicing unit is configured to splice the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
作为一种可选的实施方式,所述解调设备具体可以是应用本发明实施例提供的调制映射的方法的任何设备,如图手机、电脑等设备。As an optional implementation manner, the demodulation device may specifically be any device that applies the modulation mapping method provided in the embodiment of the present invention, such as a mobile phone, a computer, and other devices.
上述技术方案中,当待调制数据的比特数量为偶数时,将需要调制映射的数据等分为第一组数据和第二组数据,将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。这样可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of bits of the data to be modulated is an even number, the data that needs to be modulated and mapped is equally divided into the first group of data and the second group of data, and the first group of data is used as the table lookup address, from the preset Find out the first vector value containing the I branch signal corresponding to the first group of data in the first constellation diagram containing the mapping symbol, use the second group of data as the look-up table address, from the first Find out the second vector value containing the Q branch signal corresponding to the second group of data in the constellation diagram; combine the first vector value with the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal; sending the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation. In this way, the depth of the table lookup in the process of modulation mapping and demapping can be reduced, so as to save RAM resources.
图12是本发明实施例提供的另一种调制设备的结构示意图,如图12所示,包括:接收器101、处理器102和发射器103,其中:Fig. 12 is a schematic structural diagram of another modulation device provided by an embodiment of the present invention. As shown in Fig. 12, it includes: a receiver 101, a processor 102, and a transmitter 103, wherein:
处理器102,用于执行如下步骤:Processor 102, configured to perform the following steps:
获取待调制数据,所述待调制数据包括n个调制比特;Obtaining data to be modulated, where the data to be modulated includes n modulation bits;
当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;When n is an even number, equally dividing the data to be modulated into a first group of data and a second group of data according to a preset first division rule;
将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;Using the first set of data as a look-up table address, look up the first vector value containing the I branch signal corresponding to the first set of data from a preset first constellation diagram containing mapping symbols;
将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;Using the second set of data as a look-up table address, find a second vector value corresponding to the second set of data that includes the Q branch signal from the first constellation diagram;
将所述第一向量值与所述第二向量值合并,得到第一映射符号;combining the first vector value with the second vector value to obtain a first mapped symbol;
对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
发射器103,用于发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。The transmitter 103 is configured to send the 2 n QAM modulated signal to the receiving end so that the receiving end obtains the data to be modulated through data demodulation.
作为一种可选的实施方式,当待调制数据为其它设备发送至本实施提供的解调设备时,接收器101,用于获取其它设备发送的待调制数据,所述待调制数据包括n个调制比特。As an optional implementation, when the data to be modulated is sent by other devices to the demodulation device provided in this implementation, the receiver 101 is used to obtain the data to be modulated sent by other devices, and the data to be modulated includes n modulation bits.
当接收端接收到2nQAM调制信号就可以解调出所述待调制数据。When the receiving end receives the 2 n QAM modulated signal, it can demodulate the data to be modulated.
可选的,假设待调制数据为6比特,步骤101就可以将待调制数据中的3比特划分为第一组数据,将另外3比特的数据划分为第二组数据。这样处理器102进行两次深度为23的查表。相比现有技术中查表深度26,减少了查表的深度。Optionally, assuming that the data to be modulated is 6 bits, step 101 may divide 3 bits of the data to be modulated into the first group of data, and divide the other 3 bits of data into the second group of data. In this way, the processor 102 performs two table lookups with a depth of 23 . Compared with the table lookup depth of 2 6 in the prior art, the table lookup depth is reduced.
作为一种可选的实施方式,所述调制设备可以包括:As an optional implementation manner, the modulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,当待调制数据的比特数量为偶数时,将需要调制映射的数据等分为第一组数据和第二组数据,将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。这样可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of bits of the data to be modulated is an even number, the data that needs to be modulated and mapped is equally divided into the first group of data and the second group of data, and the first group of data is used as the table lookup address, from the preset Find out the first vector value containing the I branch signal corresponding to the first group of data in the first constellation diagram containing the mapping symbol, use the second group of data as the look-up table address, from the first Find out the second vector value containing the Q branch signal corresponding to the second group of data in the constellation diagram; combine the first vector value with the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal; sending the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation. In this way, the depth of the table lookup in the process of modulation mapping and demapping can be reduced, so as to save RAM resources.
图13是本发明实施例提供的另一种调制设备的结构示意图,如图13所示,包括:接收器111、处理器112和发射器113,其中:Fig. 13 is a schematic structural diagram of another modulation device provided by an embodiment of the present invention, as shown in Fig. 13 , including: a receiver 111, a processor 112, and a transmitter 113, wherein:
处理器112,用于执行如下步骤:Processor 112, configured to perform the following steps:
获取待调制数据,所述待调制数据包括n个调制比特;Obtaining data to be modulated, where the data to be modulated includes n modulation bits;
当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;When n is an even number, equally dividing the data to be modulated into a first group of data and a second group of data according to a preset first division rule;
将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;Using the first set of data as a look-up table address, look up the first vector value containing the I branch signal corresponding to the first set of data from a preset first constellation diagram containing mapping symbols;
将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;Using the second set of data as a look-up table address, find a second vector value corresponding to the second set of data that includes the Q branch signal from the first constellation diagram;
将所述第一向量值与所述第二向量值合并,得到第一映射符号;combining the first vector value with the second vector value to obtain a first mapped symbol;
将所述第一向量值与所述第二向量值合并,得到第一映射符号。Combining the first vector value with the second vector value to obtain a first mapped symbol.
发射器113,用于发送所述第一2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。The transmitter 113 is configured to send the first 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation.
处理器112还用于执行如下步骤:The processor 112 is also configured to perform the following steps:
当n为奇数时,按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据,其中,所述第三组数据包括n-t比特的陪集比特,所述第四组数据包括t比特的编码比特,所述t为大于零的整数,且t<n;When n is an odd number, divide the data to be modulated into a third group of data and a fourth group of data according to a preset second division rule, wherein the third group of data includes coset bits of n-t bits, the The fourth group of data includes coded bits of t bits, where t is an integer greater than zero, and t<n;
将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号;Using the third group of data as a table look-up address, find out the second mapping symbol corresponding to the third group of data from the second constellation diagram that contains the mapping symbol set earlier; wherein, the second constellation diagram includes 2 nt regions, each of which contains 2 t mapping symbols;
将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号;Using the fourth set of data as a look-up table address, find a corrected offset vector corresponding to the fourth set of data from the area where the second mapping symbol is located in the second constellation diagram, and the corrected offset The vector contains the I branch signal and the Q branch signal;
将所述第二映射符号与所述修正偏移向量相加,得到第三映射符号;adding the second mapping symbol to the modified offset vector to obtain a third mapping symbol;
对所述第三映射符号进行正交幅度调制QAM,得到第二2nQAM调制信号。Perform quadrature amplitude modulation (QAM) on the third mapped symbols to obtain second 2 n QAM modulated signals.
发射器113还用于发送所述第二2nQAM调制信号给接收端,以便所述接收端通过数据解调得到所述待调制数据。The transmitter 113 is further configured to send the second 2 n QAM modulated signal to the receiving end, so that the receiving end obtains the data to be modulated through data demodulation.
作为一种可选的实施方式,当待调制数据为其它设备发送至本实施提供的解调设备时,接收器111,用于获取其它设备发送的待调制数据,所述待调制数据包括n个调制比特。As an optional implementation, when the data to be modulated is sent to the demodulation device provided by other devices, the receiver 111 is used to obtain the data to be modulated sent by other devices, and the data to be modulated includes n modulation bits.
作为一种可选的实施方式,上述第一划分规则可以是基于第一星座图包含的映射符号中I和Q支路信号的正交特性而预先设置的。例如:例如上述第一星座图如图2所示的星座图,待调制数据包括ABCDEF这六个比特数据,这样上述第一划分规则就可以将上述数据中等间隔的比特数据如ACE分为第一组数据,将另外等间隔的比特数据BDF分为第二组数据。As an optional implementation manner, the foregoing first division rule may be preset based on the orthogonality characteristics of the I and Q branch signals in the mapping symbols included in the first constellation diagram. For example: such as the constellation diagram shown in Figure 2 for the above-mentioned first constellation diagram, the data to be modulated includes six bits of data ABCDEF, so that the above-mentioned first division rule can divide the bit data of the above-mentioned data such as ACE into the first Group data, dividing the bit data BDF at equal intervals into the second group data.
可选的,所述预先设置的包含映射符号的第一星座图具体可以如图3所示的星座图,座图的中星座点为映射符号,该星座图中的星座点在四个象现内呈正方形完全对称。Optionally, the preset first constellation diagram containing mapping symbols may specifically be a constellation diagram as shown in FIG. The inner square is completely symmetrical.
作为一种可选的实施方式,处理器112执行将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值的步骤可以包括:As an optional implementation manner, the processor 112 executes using the first group of data as a table lookup address, and finds the first constellation diagram corresponding to the first group of data from the preset first constellation diagram containing the mapping symbols. The step of the first vector value of the I branch signal may comprise:
将所述第一组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个I支路信号中选择一个与所述第一组数据对应的I支路信号,并将所述选择的I支路信号作为第一向量值。Using the first group of data as a selection address of a multi-choice logic circuit, selecting an I branch corresponding to the first group of data from the 2n/2 I branch signals contained in the first constellation diagram branch signal, and use the selected I branch signal as the first vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,处理器112查表的深度就为2n/2,具体是从2n/2个I支路信号中选择一个I支路信号。其中I支路信号具体可以为所述星座图的中横坐标的坐标值,或纵坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the table lookup of the processor 112 is 2 n/2 , specifically selecting an I branch from 2 n/2 I branch signals road signal. The I branch signal may specifically be the coordinate value of the abscissa or the coordinate value of the ordinate in the constellation diagram.
作为一种可选的实施方式,处理器112执行将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值的步骤可以包括:As an optional implementation manner, the processor 112 uses the second set of data as a table lookup address to find out from the first constellation diagram corresponding to the second set of data and includes the Q branch signal. The step of the second vector value may include:
将所述第二组数据作为一个多选的逻辑电路的选择地址,从所述第一星座图包含的2n/2个Q支路信号中选择一个与所述第一组数据对应的Q支路信号,并将所述选择的Q支路信号作为第二向量值。Using the second group of data as a selection address of a multi-select logic circuit, select a Q branch corresponding to the first group of data from the 2n/2 Q branch signals contained in the first constellation diagram channel signal, and use the selected Q branch signal as the second vector value.
可选的,假设待调制数据为比特数为n,其中n为偶数,处理器112查表的深度就为2n/2,具体是从2n/2个Q支路信号中选择一个Q支路信号。其中,当所述I支路信号具体为所述星座图的中横坐标的坐标值,那么Q支路信号就为所述星座图中纵坐标的坐标值;当所述I支路信号具体为所述星座图的中纵坐标的坐标值,那么Q支路信号就为所述星座图中横坐标的坐标值。Optionally, assuming that the number of bits of the data to be modulated is n, where n is an even number, the depth of the table lookup by the processor 112 is 2 n/2 , specifically selecting a Q branch from 2 n/2 Q branch signals road signal. Wherein, when the I branch signal is specifically the coordinate value of the abscissa in the constellation diagram, then the Q branch signal is the coordinate value of the ordinate in the constellation diagram; when the I branch signal is specifically The coordinate value of the ordinate in the constellation diagram, then the Q branch signal is the coordinate value of the abscissa in the constellation diagram.
当接收端接收到上述2nQAM调制信号,就可以知晓该2nQAM调制信号对应的数据的比特数量是偶数还是奇数,当是偶数时,就采用偶数个比特数据对应的解调方法进行解映射,当是奇数时,就采用奇数个比特数据对应的解调的方法进行解映射。When the receiving end receives the above 2 n QAM modulation signal, it can know whether the number of bits of the data corresponding to the 2 n QAM modulation signal is even or odd. When the mapping is an odd number, the demodulation method corresponding to the odd number of bit data is used for demapping.
作为一种可选的实施方式,上述第二划分规则可以是基于本发明实施例提供的第二星座图而预先设置的,可以根据第二星座图中各区域的参考映射符号而设置的,即第二星座图中各区域的参考映射符号为同设置的第二划分规则也就不同,其中,第二星座图中每个区域的参考映射符号在每个区域中所处的公位置相同,且每个区域中只有一个参考映射符号。例如:第二星座图如图4所示,每个区域的参考映射符号为每个区域的左下角的映射称号,例如:图4中圆圈圈起来的映射符号,这样第二划分规则就可以将待调制比特数据的LSB和MSB进行划分,即可以将待调制数据的LSB的比特数据为第四组数据,即编码比特数据,将待调制数据的MSB的比特数据为第三组数据,即为陪集比特数据,这样用陪集比特数据作为查表地址,就可以第二星座图中查出第二星座图中各区域中参考映射符号中选择一个映射符号(例如,选择出图4用圆圈圈起来的映射符号),而用编码比特数据作为查表地址就上述选择出的映射符号所在区域中选择出一个非参考映射符号。As an optional implementation manner, the above-mentioned second division rule may be preset based on the second constellation diagram provided by the embodiment of the present invention, and may be set according to the reference mapping symbols of each area in the second constellation diagram, that is, The reference mapping symbols of each region in the second constellation diagram are different from the set second division rules, wherein the reference mapping symbols of each region in the second constellation diagram have the same common position in each region, and There is only one reference map symbol in each area. For example: the second constellation diagram is shown in Figure 4, and the reference mapping symbol of each region is the mapping title in the lower left corner of each region, for example: the mapping symbol circled in Figure 4, so that the second division rule can be The LSB and MSB of the bit data to be modulated are divided, that is, the bit data of the LSB of the data to be modulated can be the fourth group of data, that is, the coded bit data, and the bit data of the MSB of the data to be modulated can be the third group of data, which is Coset bit data, use coset bit data as table look-up address like this, just can find out in the second constellation diagram in each area in the second constellation diagram and select a mapping symbol in the reference mapping symbol (for example, select Figure 4 with circle circled mapping symbol), and use the coded bit data as the look-up table address to select a non-reference mapping symbol in the area where the above selected mapping symbol is located.
作为一种可选的实施方式,上述n和t可以是根据星座图不同而不同,如图4所示的星座图,图4中每个区域包含16个星座点,那么上述t就可以等于4,n等于4加上图4中区域的数量值。As an optional implementation, the above-mentioned n and t can be different according to the constellation diagram, as shown in the constellation diagram in Figure 4, each area in Figure 4 contains 16 constellation points, then the above-mentioned t can be equal to 4 , n is equal to 4 plus the number of regions in Figure 4.
作为一种可选的实施方式,处理器112执行将所述第三组数据作为查表地址,从先设置的包含映射符号的第二星座图中查找出与所述第三组数据对应的第二映射符号;其中,所述第二星座图包含2n-t个区域,每个所述区域包含2t个映射符号的步骤可以包括:As an optional implementation manner, the processor 112 executes using the third group of data as a table lookup address, and finds the second constellation diagram corresponding to the third group of data from the previously set second constellation diagram containing mapping symbols. Two mapping symbols; wherein, the second constellation diagram contains 2 nt regions, and the step of each region containing 2 t mapping symbols may include:
将所第三组数据作为一个多选一的逻辑电路的选择地址,从所述第二星座图中各区域中预置的参考映射符号中选择出与所述第三组数据对应的第二映射符号。Using the third group of data as a selection address of a multiple-choice logic circuit, selecting the second mapping corresponding to the third group of data from the reference mapping symbols preset in each area of the second constellation diagram symbol.
这样处理器112就可以是在2n-t个映射符号中查找一个映射符号,即查表的深度为2n-t。In this way, the processor 112 can search for one mapping symbol among 2 nt mapping symbols, that is, the depth of the table lookup is 2 nt .
这样处理器112就可以是在2t个映射符号中查找一个映射符号,即查表的深度为2t。In this way, the processor 112 can search for one mapping symbol among 2 t mapping symbols, that is, the depth of the table lookup is 2 t .
作为一种可选的实施方式,在处理器112在执行按照预先设置的第二划分规将所述待调制数据分为第三组数据和第四组数据之后,在执行将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号的步骤之前,处理器112还可以用于执行如下步骤:As an optional implementation manner, after the processor 112 divides the data to be modulated into the third group of data and the fourth group of data according to the preset second division rule, after performing the division of the fourth group of data into The data is used as a table look-up address, and the modified offset vector corresponding to the fourth set of data is found from the area of the second constellation diagram where the second mapping symbol is located, and the modified offset vector includes the I branch signal And before the steps of the Q branch signal, the processor 112 can also be used to perform the following steps:
将所述第四组数据进行格雷编码;Gray encoding the fourth group of data;
可选的,该实施方式中,处理器112执行将所述第四组数据作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述第四组数据对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号的步骤可以包括:Optionally, in this embodiment, the processor 112 executes using the fourth group of data as a table look-up address, and finds out from the area of the second constellation diagram where the second mapping symbol is located. A modified offset vector corresponding to the data, the step of including the I branch signal and the Q branch signal may include:
将所述格雷编码的结果作为查表地址,从所述第二映射符号所在所述第二星座图的区域中查找出与所述结果对应的修正偏移向量,所述修正偏移向量包含I支路信号和Q支路信号。The result of the gray encoding is used as a table lookup address, and the correction offset vector corresponding to the result is found from the area where the second mapping symbol is located in the second constellation diagram, and the correction offset vector includes 1 Branch signal and Q branch signal.
当待调制数据的比特数量为奇数时,即上述n为奇数,在调制映射过程中,只需要对第二星座图进行一次2n-t的深度查表,和一次2t的深度查表,相比现有技术中的2n,本发明可以减少查表的深度,以节约RAM的资源。When the number of bits of the data to be modulated is an odd number, that is, the above-mentioned n is an odd number, in the modulation mapping process, only a 2 nt depth table lookup is required for the second constellation diagram, compared with a 2 t depth table lookup. 2 n in the prior art, the present invention can reduce the depth of the table lookup to save RAM resources.
作为一种可选的实施方式,所述设备还可以包括:As an optional implementation manner, the device may also include:
存储器114,用于存储处理器112执行的程序。The memory 114 is used for storing programs executed by the processor 112 .
作为一种可选的实施方式,所述调制设备可以包括:As an optional implementation manner, the modulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当待调制数据的比特数量为偶数或奇数时,可以采用不同的映射方式,且还可以减少调制映射的查表深度,还可以使解映射过程减少查表的深度,以节约RAM的资源。In the above technical solution, it can be realized that when the number of bits of the data to be modulated is even or odd, different mapping methods can be used, and the depth of the table lookup of the modulation mapping can be reduced, and the depth of the table lookup can be reduced in the demapping process. To save RAM resources.
图14是本发明实施例提供的另一种解调设备的结构示意图,如图14,所示,包括:接收器121和处理器122,其中:FIG. 14 is a schematic structural diagram of another demodulation device provided by an embodiment of the present invention. As shown in FIG. 14 , it includes: a receiver 121 and a processor 122, wherein:
接收器121,用于接收发射端发送2nQAM调制信号。The receiver 121 is configured to receive 2 n QAM modulated signals sent by the transmitting end.
处理器122用于执行如下步骤:The processor 122 is used to perform the following steps:
对所述2nQAM调制信号进行解调,得到映射符号;Demodulating the 2 n QAM modulated signals to obtain mapped symbols;
当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;When the n is an even number, use the first vector of the I-branch signal included in the mapping symbol as a look-up address, and find out the I-branch signal from the preset third constellation diagram containing bit data The corresponding first set of data;
将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;Using the first vector of the Q branch signal contained in the mapping symbol as a table lookup address, finding the second group of data corresponding to the Q branch signal from the third constellation diagram;
将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。Splicing the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
需要说明的是,本实施例提供的第三星座图,如图上面实施例提供的第一星座图是一一对应的,第一星座图中星座图表示映射符号,第一星座图所使用的查表地址为数据(例如:比特数据),使用该查表地址从第一星座图中查找出来的是一个映射符号,而第三星座图中的星座点表示数据,第三星座图所使用的查表地址为映射符号,使用该查表地址从第一星座图中查找出来的是一个数据(例如:比特数据)。第三星座图的结构可以参考第一星座图的结构(例如:图3所示)。It should be noted that, the third constellation diagram provided in this embodiment is in one-to-one correspondence with the first constellation diagram provided in the above embodiment, the constellation diagram in the first constellation diagram represents the mapping symbol, and the constellation diagram used in the first constellation diagram The table lookup address is data (for example: bit data), and what is found out from the first constellation diagram using the table lookup address is a mapping symbol, while the constellation points in the third constellation diagram represent data, and the third constellation diagram uses The table lookup address is a mapping symbol, and what is found out from the first constellation diagram by using the table lookup address is a piece of data (for example: bit data). The structure of the third constellation diagram may refer to the structure of the first constellation diagram (for example, as shown in FIG. 3 ).
可选的,假设所述第一组数据为t比特,第二组数据为n-t比特,原始数据就为n比特,这样处理器122分别解映射出第一组数据和第二组数据,与现有技术一次解映射出n比特数据相比,减少了查表的深度。Optionally, it is assumed that the first set of data is t bits, the second set of data is n-t bits, and the original data is n bits, so that the processor 122 respectively demaps the first set of data and the second set of data, and the present The depth of the look-up table is reduced compared with the technology that unmaps n-bit data at a time.
作为一种可选的实施方式,所述解调设备可以包括:As an optional implementation manner, the demodulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,接收发射端发送2nQAM调制信号,对所述2nQAM调制信号进行解调,得到映射符号;当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。这样可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, the receiving and transmitting end sends 2 n QAM modulated signals, demodulates the 2 n QAM modulated signals, and obtains a mapping symbol; when the n is an even number, the I branch signal contained in the mapping symbol The first vector of the first vector is used as the address of the look-up table, and the first group of data corresponding to the I branch signal is found from the preset third constellation diagram containing bit data; the Q branch signal contained in the mapping symbol is The first vector is used as a table lookup address, and the second group of data corresponding to the Q branch signal is found from the third constellation diagram; the first group of data and the second group of data are spliced to obtain Raw data corresponding to the 2 n QAM modulated signals. In this way, the depth of the table lookup in the demapping process can be reduced, so as to save RAM resources.
图15是本发明实施例提供的另一种解调设备的结构示意图,如图15所示,包括:接收器131和处理器132,其中:FIG. 15 is a schematic structural diagram of another demodulation device provided by an embodiment of the present invention. As shown in FIG. 15 , it includes: a receiver 131 and a processor 132, wherein:
接收器131,用于接收发射端发送2nQAM调制信号。The receiver 131 is configured to receive 2 n QAM modulated signals sent by the transmitting end.
处理器132用于执行如下步骤:The processor 132 is used to perform the following steps:
对所述2nQAM调制信号进行解调,得到映射符号;Demodulating the 2 n QAM modulated signals to obtain mapped symbols;
当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;When the n is an even number, use the first vector of the I-branch signal included in the mapping symbol as a look-up address, and find out the I-branch signal from the preset third constellation diagram containing bit data The corresponding first set of data;
将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;Using the first vector of the Q branch signal contained in the mapping symbol as a table lookup address, finding the second group of data corresponding to the Q branch signal from the third constellation diagram;
将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据;splicing the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal;
当n为奇数时将所述第一映射符号的I支路信号和Q支路信号的低t/2位进行格雷编码得到编码比特数据;When n is an odd number, gray-encode the lower t/2 bits of the I branch signal and the Q branch signal of the first mapping symbol to obtain coded bit data;
将预先设置的包含比特数据的第四星座图以所述第四星座图的区域的原点映射符号平移至所述区域预置的参考映射符号的平移轨迹进行平移;其中,所述第四星座图包含2n-t个区域,每个所述区域包含2t个映射符号,t为自然数,且t<n;The preset fourth constellation diagram containing bit data is shifted by shifting the origin mapping symbol of the region of the fourth constellation diagram to the translation track of the reference mapping symbol preset in the region; wherein, the fourth constellation diagram Contains 2 nt regions, each of which contains 2 t mapping symbols, t is a natural number, and t<n;
将所述映射符号的I支路信号和Q支路信号分别进行除t取整的除法运算,将所述除法运算的结果的I支路信号乘以N的乘法运算,并将所述乘法运算的结果和所述除法运算的Q支路信号的结果作为查表地址,从所述平移后的第四星座图中查找出陪集比特数据;其中,所述N为所述第四星座图中包含比特数据最多的一行的比特数据的数量;The I branch signal and the Q branch signal of the mapping symbol are respectively divided by t and rounded to an integer division operation, the I branch signal of the result of the division operation is multiplied by N, and the multiplication operation The result and the result of the Q branch signal of the division operation are used as a table lookup address, and the coset bit data is found from the shifted fourth constellation diagram; wherein, the N is the fourth constellation diagram The number of bit data of the row containing the most bit data;
将所述编码比特数据与所述陪集比特数据进行拼接,得到所述2nQAM调制信号对应的原始数据。Splicing the coded bit data and the coset bit data to obtain original data corresponding to the 2 n QAM modulated signal.
当n为偶数时,可选的,映射符号中I支路信号对应的数据具体为所述第三星座图的中横坐标的坐标值,那么Q支路信号对应的数据就为所述第三星座图中纵坐标的坐标值;当所述I支路信号对应的数据具体为所述星座图的中纵坐标的坐标值,那么Q支路信号对应的数据就为所述星座图中横坐标的坐标值。When n is an even number, optionally, the data corresponding to the I branch signal in the mapping symbol is specifically the coordinate value of the middle abscissa of the third constellation diagram, then the data corresponding to the Q branch signal is the third The coordinate value of the ordinate in the constellation diagram; when the data corresponding to the I branch signal is specifically the coordinate value of the middle ordinate in the constellation diagram, then the corresponding data of the Q branch signal is the abscissa in the constellation diagram coordinate value.
可选的,由于映射符号的I和Q支路信号的正交特性,处理器132可以是将第一组数据和第二组数据进行轮流插入拼接,即,第一组数据为ACE时,第二组数据为BDF时,处理器132就得到一个ABCDEF的数据。Optionally, due to the orthogonality of the I and Q branch signals of the mapping symbols, the processor 132 may insert and concatenate the first set of data and the second set of data in turn, that is, when the first set of data is ACE, the second set of data When the two sets of data are BDF, the processor 132 obtains data of ABCDEF.
当n为奇数时,可选的,上述映射符号的低t/2位与编码比特数据存在差分运算关系,这样通过处理器132就可以将所述映射符号的I支路信号和Q支路信号的低两位对应的比特数据还原出来。若编码比特数据为四位比特数据,处理器132就将上述映射称号的低两位进行格雷编码得到编码比特数据。When n is an odd number, optionally, there is a differential operation relationship between the lower t/2 bits of the above-mentioned mapping symbol and the coded bit data, so that the I branch signal and the Q branch signal of the mapping symbol can be combined by the processor 132 The bit data corresponding to the lower two bits are restored. If the coded bit data is four-bit data, the processor 132 performs gray coding on the lower two bits of the mapping name to obtain the coded bit data.
可选的,上述第四星座图与上面实施例提供的第二星座是相对应的,两者对应的关系可以参考上述描述的第三星座图与第一星座图的对应关系。Optionally, the foregoing fourth constellation diagram corresponds to the second constellation diagram provided in the above embodiment, and for a corresponding relationship between the two, refer to the correspondence relationship between the third constellation diagram and the first constellation diagram described above.
可选的,上述以所述第四星座图的区域的原点映射符号平移至所述所述区域参考映射称号的平移轨,该区域可以是第四星座图中任一区域,因为区域在第四星座图中的位置的固定的,且每个区域的参考映射符号的位置也是固定的,这样不管哪一个区域的原点映射符号平移至该区域的参考映射称号的平移轨迹都是一样的。例如:第四星座图的结构如图4所示,图4中圆圈圈起来的映射称号为某一区域的参考映射符号,这样处理器132就以将该区域的原点映射符号平移参考映射符号的轨迹平移。上述原点映射符号为每个区域的中心点的映射符号。Optionally, the above-mentioned translation track using the origin mapping symbol of the area of the fourth constellation map to the translation track of the area reference mapping name, this area can be any area in the fourth constellation map, because the area is in the fourth The position in the constellation diagram is fixed, and the position of the reference mapping symbol of each region is also fixed, so no matter which region the origin mapping symbol is translated to the translation track of the reference mapping name of the region is the same. For example: the structure of the fourth constellation diagram is as shown in Figure 4, and the mapping title circled in Figure 4 is the reference mapping symbol of a certain area, so the processor 132 will translate the reference mapping symbol by the origin mapping symbol of the area Trajectory translation. The above origin mapping notation is the mapping notation of the center point of each area.
可选的,所述查表地址具体可以为I'×N+Q',其中,I'为所述除法运算后的I支路信号,Q'为所述除法运算后Q支路信号。Optionally, the table lookup address may specifically be I'×N+Q', where I' is the I branch signal after the division operation, and Q' is the Q branch signal after the division operation.
作为一种可选的实施方式,在获取上述n时,就可以根据n的值知晓解调设备调制映射上述映射符号时所采用的星座图,2nQAM调制信号对应的的比特数量为奇数时,即n为奇数时,这样就可以通过第四星座图得知调制设备调制映射上述映射符号时,对原始数据(即,上述实施例描述的待调制数据)划分的规则,第四座图对应的第二星座图为图4所示的星座图时,解调设备就可以得知调制设备是将原始数据的LSB的比特数据划分为编码比特数据,将前面MSB的比特数据划分为陪集比特数据,如将ABCDEFG中的DEFG划分为编码比特数据,将ABC划分为陪集比特数据,这样处理器132就可以将编码比特数据拼接在陪集比特数据的后面,以得到ABCDEFG的原始数据。As an optional implementation, when the above n is acquired, the constellation diagram used by the demodulation device when modulating and mapping the above mapping symbols can be known according to the value of n, when the number of bits corresponding to the 2 n QAM modulation signal is an odd number , that is, when n is an odd number, the rules for dividing the original data (that is, the data to be modulated described in the above-mentioned embodiment) when the modulation device modulates and maps the above-mentioned mapping symbols can be known through the fourth constellation diagram, and the fourth constellation diagram corresponds to When the second constellation diagram is the constellation diagram shown in Figure 4, the demodulation device can know that the modulation device divides the bit data of the LSB of the original data into coded bit data, and divides the bit data of the previous MSB into coset bits For example, DEFG in ABCDEFG is divided into coded bit data, and ABC is divided into coset bit data, so that the processor 132 can splice the coded bit data behind the coset bit data to obtain the original data of ABCDEFG.
作为一种可选的实施方式,所述设备还可以包括:As an optional implementation manner, the device may also include:
存储器133,用于存储处理器132执行的程序。The memory 133 is used for storing programs executed by the processor 132 .
作为一种可选的实施方式,所述解调设备可以包括:As an optional implementation manner, the demodulation device may include:
手机、电脑等通信设备。Communication equipment such as mobile phones and computers.
上述技术方案中,可以实现当映射符号对应的的数据的比特数量为偶数或奇数时,可以采用不同的解映射方式,且还可以减少解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of data bits corresponding to the mapping symbol is even or odd, different demapping methods can be used, and the depth of table lookup in the demapping process can be reduced to save RAM resources.
图16是本发明实施例提供的另一种调制映射的系统的结构示意图,如图16所示,包括:调制设备141和解调设备142。FIG. 16 is a schematic structural diagram of another modulation mapping system provided by an embodiment of the present invention. As shown in FIG. 16 , it includes: a modulation device 141 and a demodulation device 142 .
可选的,调制设备141可以是图12或图13所示的实施例中任一实施方式的调制设备。Optionally, the modulation device 141 may be a modulation device in any implementation manner in the embodiments shown in FIG. 12 or FIG. 13 .
如调制设备91可以包括:接收器、处理器和发射器,其中:For example, the modulation device 91 may include: a receiver, a processor, and a transmitter, wherein:
处理器,用于执行如下步骤:A processor for performing the following steps:
获取待调制数据,所述待调制数据包括n个调制比特;Obtaining data to be modulated, where the data to be modulated includes n modulation bits;
当n为偶数时,按照预先设置的第一划分规则将所述待调制数据等分为第一组数据和第二组数据;When n is an even number, equally dividing the data to be modulated into a first group of data and a second group of data according to a preset first division rule;
将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值;Using the first set of data as a look-up table address, look up the first vector value containing the I branch signal corresponding to the first set of data from a preset first constellation diagram containing mapping symbols;
将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;Using the second set of data as a look-up table address, find a second vector value corresponding to the second set of data that includes the Q branch signal from the first constellation diagram;
将所述第一向量值与所述第二向量值合并,得到第一映射符号;combining the first vector value with the second vector value to obtain a first mapped symbol;
对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal;
发射器,用于发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。A transmitter, configured to send the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation.
当待调制数据为其它设备发送至本实施提供的解调设备时,接收器,用于获取其它设备发送的待调制数据,所述待调制数据包括n个调制比特。When the data to be modulated is sent by other devices to the demodulation device provided in this implementation, the receiver is configured to acquire the data to be modulated sent by the other device, where the data to be modulated includes n modulation bits.
可选的,解调设备142可以是图14或图15所示的实施例中任一实施方式的解调设备。Optionally, the demodulation device 142 may be a demodulation device in any implementation manner in the embodiments shown in FIG. 14 or FIG. 15 .
如解调设备142可以包括:接收器和处理器,其中:For example, the demodulation device 142 may include: a receiver and a processor, wherein:
接收器,用于接收发射端发送2nQAM调制信号。The receiver is used for receiving 2 n QAM modulation signals sent by the transmitter.
处理器用于执行如下步骤:The processor is used to perform the following steps:
对所述2nQAM调制信号进行解调,得到映射符号;Demodulating the 2 n QAM modulated signals to obtain mapped symbols;
当所述n为偶数时,将所述映射符号包含的I支路信号的第一向量作为查表地址,从预置的包含比特数据的第三星座图中查找出与所述I支路信号对应的第一组数据;When the n is an even number, use the first vector of the I-branch signal included in the mapping symbol as a look-up address, and find out the I-branch signal from the preset third constellation diagram containing bit data The corresponding first set of data;
将所述映射符号包含的Q支路信号的第一向量作为查表地址,从所述第三星座图中查找出与所述Q支路信号对应的第二组数据;Using the first vector of the Q branch signal contained in the mapping symbol as a table lookup address, finding the second group of data corresponding to the Q branch signal from the third constellation diagram;
将所述第一组数据和所述第二组数据进行拼接,得到所述2nQAM调制信号对应的原始数据。Splicing the first set of data and the second set of data to obtain original data corresponding to the 2 n QAM modulation signal.
上述技术方案中,当待调制数据的比特数量为偶数时,将需要调制映射的数据等分为第一组数据和第二组数据,将所述第一组数据作为查表地址,从预置的包含映射符号的第一星座图中查找出与所述第一组数据对应的包含I支路信号的第一向量值,将所述第二组数据作为查表地址,从所述第一星座图中查找出与所述第二组数据对应的包含Q支路信号的第二向量值;将所述第一向量值与所述第二向量值合并,得到第一映射符号;对所述第一映射符号进行正交幅度调制QAM,得到第一2nQAM调制信号;发送所述2nQAM调制信号给接收端以便所述接收端通过数据解调得到所述待调制数据。这样可以减少调制映射和解映射过程中查表的深度,以节约RAM的资源。In the above technical solution, when the number of bits of the data to be modulated is an even number, the data that needs to be modulated and mapped is equally divided into the first group of data and the second group of data, and the first group of data is used as the table lookup address, from the preset Find the first vector value containing the I branch signal corresponding to the first group of data in the first constellation diagram containing the mapping symbols, and use the second group of data as a table look-up address, from the first Find out the second vector value containing the Q branch signal corresponding to the second group of data in the constellation diagram; combine the first vector value with the second vector value to obtain the first mapping symbol; performing quadrature amplitude modulation (QAM) on the first mapped symbol to obtain a first 2 n QAM modulated signal; sending the 2 n QAM modulated signal to a receiving end so that the receiving end obtains the data to be modulated through data demodulation. In this way, the depth of the table lookup in the process of modulation mapping and demapping can be reduced, so as to save RAM resources.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random AccessMemory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210471917.0A CN103841075B (en) | 2012-11-20 | 2012-11-20 | Modulate method, equipment and the system of mapping, the method and apparatus of demapping |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210471917.0A CN103841075B (en) | 2012-11-20 | 2012-11-20 | Modulate method, equipment and the system of mapping, the method and apparatus of demapping |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103841075A CN103841075A (en) | 2014-06-04 |
| CN103841075B true CN103841075B (en) | 2017-10-17 |
Family
ID=50804211
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210471917.0A Expired - Fee Related CN103841075B (en) | 2012-11-20 | 2012-11-20 | Modulate method, equipment and the system of mapping, the method and apparatus of demapping |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103841075B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105897635B (en) * | 2016-04-06 | 2023-06-23 | 武汉芯泰科技有限公司 | A communication signal modulation method and system |
| WO2017173602A1 (en) * | 2016-04-06 | 2017-10-12 | 武汉芯泰科技有限公司 | Communication signal modulation method and system |
| CN107995140B (en) * | 2016-10-26 | 2020-12-01 | 联发科技股份有限公司 | Symbol judging method, symbol judging circuit and digital receiving circuit |
| CN108933753B (en) * | 2017-05-25 | 2019-07-19 | 深圳市中兴微电子技术有限公司 | A modulation method, device and computer storage medium |
| CN108347400B (en) * | 2017-12-22 | 2020-12-11 | 中国电子科技集团公司第二十二研究所 | Determining method, device, storage medium and electronic device for demapping output value |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1717909B (en) * | 2003-06-23 | 2011-06-15 | 徐洪锡 | A Soft Decision Method for Demodulating Square Quadrature Amplitude Modulated Signals |
| CN102404072A (en) * | 2010-09-08 | 2012-04-04 | 华为技术有限公司 | A method, device and system for sending information bits |
| CN102457289A (en) * | 2011-12-28 | 2012-05-16 | 熊猫电子集团有限公司 | Exciter setting method and exciter of shortwave four-channel diversity transmission based on space time coding |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100795226B1 (en) * | 2006-06-20 | 2008-01-17 | 강릉대학교산학협력단 | Digital signal modulation method and apparatus using triangular constellation |
-
2012
- 2012-11-20 CN CN201210471917.0A patent/CN103841075B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1717909B (en) * | 2003-06-23 | 2011-06-15 | 徐洪锡 | A Soft Decision Method for Demodulating Square Quadrature Amplitude Modulated Signals |
| CN102404072A (en) * | 2010-09-08 | 2012-04-04 | 华为技术有限公司 | A method, device and system for sending information bits |
| CN102457289A (en) * | 2011-12-28 | 2012-05-16 | 熊猫电子集团有限公司 | Exciter setting method and exciter of shortwave four-channel diversity transmission based on space time coding |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103841075A (en) | 2014-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10547486B2 (en) | Data transmission method and apparatus | |
| US9735990B2 (en) | Soft decision value generating apparatus and method of generating soft decision value | |
| CN103841075B (en) | Modulate method, equipment and the system of mapping, the method and apparatus of demapping | |
| CN112713912B (en) | Spread spectrum index modulation and demodulation communication method, transmitter, receiver and storage medium | |
| US9401833B2 (en) | Method and apparatus for transmitting/receiving signal in wireless communication system | |
| US11218355B2 (en) | Multi-dimensional signal encoding | |
| JP2005503725A (en) | Apparatus and method for calculating input softness value of channel decoder in data communication system | |
| RU2384960C2 (en) | Modulation and demodulation method, modulation device and demodulation device | |
| WO2017049646A1 (en) | Resource mapping method and apparatus | |
| US8942273B2 (en) | Communication method of relay node using non-linear hybrid network coding and device using said method | |
| US20250310173A1 (en) | Systems and Methods for Supporting Both Pulse Amplitude Modulation and Quadrature Amplitude Modulation | |
| KR101093946B1 (en) | Apparatus and method for calculating a soft value input to a channel decoder in a communication system using a hierarchical modulation method | |
| WO2018112891A1 (en) | Method and device for signal transmission, and apparatus | |
| CN111371530B (en) | Quadrature Amplitude Modulation (QAM) signal modulation and demodulation method and device | |
| KR20110137282A (en) | Soft bit generation system and method | |
| JP6132331B2 (en) | Mapping apparatus and method | |
| US11159243B2 (en) | Systems and methods for creating in a transmitter a stream of symbol frames configured for efficient processing in a receiver | |
| US20160036609A1 (en) | Method and apparatus for transmitting/receiving data in wireless communication system supporting non-binary channel code | |
| JP6849347B2 (en) | Conversion rule derivation device, communication device, conversion rule derivation provision method | |
| KR101857732B1 (en) | Data transmitting method using impedance and apparatus performing the same | |
| CN115208727A (en) | Symbol transmitting method, symbol receiving method, transmitting apparatus, receiving apparatus, and storage medium | |
| US9602326B2 (en) | Apparatus and method for transmitting signal, apparatus and method for receiving signal | |
| CN106685583B (en) | Multi-user superposition transmission method and device | |
| EP2096765A2 (en) | Max-Log MAP decision | |
| KR20070100021A (en) | Method and apparatus for adjusting the number of decoder input bits |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171017 Termination date: 20201120 |