CN107769863A - A kind of modulator approach and device based on the multidirectional probability mapping of two-way - Google Patents
A kind of modulator approach and device based on the multidirectional probability mapping of two-way Download PDFInfo
- Publication number
- CN107769863A CN107769863A CN201711052107.0A CN201711052107A CN107769863A CN 107769863 A CN107769863 A CN 107769863A CN 201711052107 A CN201711052107 A CN 201711052107A CN 107769863 A CN107769863 A CN 107769863A
- Authority
- CN
- China
- Prior art keywords
- mapping
- signal
- signals
- probability
- way
- 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.)
- Granted
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 326
- 238000000034 method Methods 0.000 claims abstract description 71
- 238000006243 chemical reaction Methods 0.000 claims abstract description 23
- 238000004891 communication Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 14
- 230000011664 signaling Effects 0.000 claims 6
- 238000000151 deposition Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 abstract description 101
- 238000013461 design Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 23
- 238000012545 processing Methods 0.000 description 15
- 239000011159 matrix material Substances 0.000 description 14
- 230000003287 optical effect Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 239000013307 optical fiber Substances 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B14/00—Transmission systems not characterised by the medium used for transmission
- H04B14/02—Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
- H04B14/023—Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse amplitude modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/516—Details of coding or modulation
- H04B10/524—Pulse modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B14/00—Transmission systems not characterised by the medium used for transmission
- H04B14/02—Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
- H04B14/026—Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse time characteristics modulation, e.g. width, position, interval
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0071—Use of interleaving
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
本发明实施例提供了一种基于双路多向概率映射的调制方法及装置,方法包括:对待调制信号进行串并转换生成六路子信号,对其中四路子信号进行概率映射,得到映射信号集合,根据第一星座图,确定与映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,根据第二星座图,确定与映射信号集合中的后两路映射信号、六路子信号中除四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,根据幅度映射结果和位置映射结果,获得APPM信号。本实施例可以将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图获得APPM信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。
An embodiment of the present invention provides a modulation method and device based on two-way multi-directional probability mapping. The method includes: performing serial-to-parallel conversion on the signal to be modulated to generate six sub-signals, performing probability mapping on four of the sub-signals to obtain a set of mapped signals, According to the first constellation diagram, determine the amplitude mapping results corresponding to the signal values at each moment of the first two mapping signals in the mapping signal set, and determine the following two mapping signals in the mapping signal set, according to the second constellation diagram. According to the position mapping results corresponding to the signal values of the two sub-signals except the four sub-signals at each moment in the six sub-signals, the APPM signal is obtained according to the amplitude mapping results and the position mapping results. In this embodiment, the signal to be modulated can be mapped into mapped signals with different probabilities, and then the APPM signal can be obtained according to the first constellation diagram and the second constellation diagram, without the need to design a complicated constellation diagram, and the complexity of signal modulation can be reduced.
Description
技术领域technical field
本发明涉及信号调制技术领域,特别是涉及一种基于双路多向概率映射的调制方法、装置、电子设备及计算机可读存储介质。The present invention relates to the technical field of signal modulation, in particular to a modulation method, device, electronic equipment and computer-readable storage medium based on two-way multi-directional probability mapping.
背景技术Background technique
随着互联网产业的大规模普及,以及人们对信息资源需求的不断膨胀,为了提升光通信系统的传输性能,在信号被发送之前,需要对待发送的信号进行调制。通常,可以将待调制信号映射到坐标系上以离散点的形式表示,这些离散点称为星座点,包含这些星座点的坐标系称为星座图。With the large-scale popularization of the Internet industry and the continuous expansion of people's demand for information resources, in order to improve the transmission performance of the optical communication system, it is necessary to modulate the signal to be sent before the signal is sent. Usually, the signal to be modulated can be mapped to a coordinate system and expressed in the form of discrete points, these discrete points are called constellation points, and the coordinate system including these constellation points is called a constellation diagram.
现有技术中采用APPM(Pulse Amplitude and Pulse Position Modulation,脉冲幅度和位置调制)。APPM可以将信号的幅度和位置分别映射到星座图中,根据幅度映射结果和位置映射结果,生成APPM信号。现有的信号调制方法中,由于待调制信号通常为等概率的比特流,为了降低传输信号时的发射功率,需要设计不等间隔的星座图,以实现星座图中的星座点达到预期的最佳分布。而设计不等间隔的星座图需要较复杂的算法,进而导致信号调制的复杂度较高。APPM (Pulse Amplitude and Pulse Position Modulation, pulse amplitude and position modulation) is adopted in the prior art. APPM can map the amplitude and position of the signal to the constellation diagram respectively, and generate the APPM signal according to the amplitude mapping result and the position mapping result. In the existing signal modulation methods, since the signal to be modulated is usually a bit stream with equal probability, in order to reduce the transmission power when transmitting the signal, it is necessary to design a constellation diagram with unequal intervals, so as to realize that the constellation points in the constellation diagram reach the expected maximum good distribution. However, designing constellation diagrams with unequal intervals requires more complex algorithms, which in turn leads to higher complexity of signal modulation.
发明内容Contents of the invention
本发明实施例的目的在于提供一种基于双路多向概率映射的调制方法、装置、电子设备及计算机可读存储介质,可以降低信号调制的复杂度。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a modulation method, device, electronic equipment and computer-readable storage medium based on two-way multi-directional probability mapping, which can reduce the complexity of signal modulation. The specific technical scheme is as follows:
第一方面,本发明实施例提供了一种基于双路多向概率映射的调制方法,所述方法包括:In the first aspect, an embodiment of the present invention provides a modulation method based on two-way multi-directional probability mapping, the method comprising:
获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;Obtaining a signal to be modulated, performing serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;respectively performing probability mapping on four of the six sub-signals according to preset mapping rules to obtain a mapped signal set including four mapped signals;
根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;According to the first constellation diagram, determine the amplitude mapping result corresponding to the signal value at each moment of the first two mapping signals in the mapping signal set, wherein the first constellation diagram records the signal value and amplitude of the mapping signal Mapping relationship: according to the second constellation diagram, determine the positions corresponding to the signal values at each moment of the last two mapping signals in the mapping signal set and the two sub-signals of the six sub-signals except the four sub-signals The mapping result, wherein the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal;
根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。Pulse amplitude and position modulation APPM is performed according to the amplitude mapping result and the position mapping result at each moment to obtain an APPM signal corresponding to the signal to be modulated.
可选的,所述根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合,包括:Optionally, performing probability mapping on four of the six sub-signals according to a preset mapping rule to obtain a set of mapped signals including four mapped signals, including:
分别对六路所述子信号中的四路子信号进行第一交织处理,得到包含四路交织信号的交织信号集合;respectively performing first interleaving processing on four sub-signals among the six sub-signals to obtain an interleaved signal set including four interleaved signals;
根据预设的映射规则分别对所述交织信号集合中的四路交织信号进行概率映射,得到包含四路概率信号的概率信号集合;respectively performing probability mapping on the four-way interleaving signals in the interleaving signal set according to preset mapping rules, to obtain a probability signal set including four-way probability signals;
分别对所述概率信号集合中的四路概率信号进行第二交织处理,得到包含四路映射信号的映射信号集合。Perform second interleaving processing on the four channels of probability signals in the probability signal set respectively to obtain a mapped signal set including four channels of mapped signals.
可选的,所述根据预设的映射规则分别对所述交织信号集合中的四路交织信号进行概率映射,包括:Optionally, the probabilistic mapping of the four-way interleaved signals in the interleaved signal set according to a preset mapping rule includes:
分别对所述交织信号集合中的第一路交织信号和第三路交织信号进行第一概率映射;respectively performing first probability mapping on the first interleaved signal and the third interleaved signal in the set of interleaved signals;
分别对所述交织信号集合中的第二路交织信号和第四路交织信号进行第二概率映射。Perform second probability mapping on the second path of interleaved signals and the fourth path of interleaved signals in the set of interleaved signals respectively.
可选的,所述根据第二星座图,确定与所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,包括:Optionally, according to the second constellation diagram, determining the signal at each moment of the last two mapping signals in the mapping signal set and the two sub-signals of the six sub-signals except the four sub-signals The location mapping result corresponding to the value, including:
根据第二星座图,确定与所述映射信号集合中的后两路映射信号的每一时刻的信号值对应的子星座;According to the second constellation diagram, determine the sub-constellation corresponding to the signal value at each moment of the last two mapping signals in the mapping signal set;
在确定的子星座中,根据六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值,确定每一时刻的位置映射结果。In the determined sub-constellation, according to the signal values at each moment of two sub-signals of the six sub-signals except the four sub-signals, the position mapping result at each time is determined.
可选的,所述第一星座图中包含四个信号幅度;Optionally, the first constellation diagram includes four signal amplitudes;
所述第二星座图包括四个子星座,每一所述子星座包括四个信号位置。The second constellation diagram includes four sub-constellations, each of which includes four signal positions.
可选的,所述方法还包括:Optionally, the method also includes:
获取目标APPM信号;Obtain target APPM signal;
对所述目标APPM信号进行解调,得到每一时刻的幅度映射结果和位置映射结果;Demodulating the target APPM signal to obtain an amplitude mapping result and a position mapping result at each moment;
根据所述第一星座图,获得与该时刻的幅度映射结果对应的包含两路幅度信号的幅度信号集合;根据所述第二星座图,获得与该时刻的位置映射结果对应的包含四路位置信号的位置信号集合;According to the first constellation diagram, obtain an amplitude signal set including two-way amplitude signals corresponding to the amplitude mapping result at this moment; according to the second constellation diagram, obtain a four-way position corresponding to the position mapping result at this moment signal set of position signals;
根据所述映射规则分别对所述幅度信号集合中的两路幅度信号和所述位置信号集合中的前两路位置信号进行逆概率映射,得到四路解调子信号;performing inverse probability mapping on the two amplitude signals in the amplitude signal set and the first two position signals in the position signal set respectively according to the mapping rules to obtain four demodulated sub-signals;
对得到的四路解调子信号和所述位置信号集合中的后两路位置信号进行并串转换,得到与所述目标APPM信号对应的解调信号。Parallel-serial conversion is performed on the obtained four demodulated sub-signals and the last two position signals in the position signal set to obtain a demodulated signal corresponding to the target APPM signal.
第二方面,本发明实施例提供了基于双路多向概率映射的调制方装置,所述装置包括:In the second aspect, an embodiment of the present invention provides a modulation device based on two-way multi-directional probability mapping, and the device includes:
转换模块,用于获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;A conversion module, configured to obtain a signal to be modulated, and perform serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
映射模块,用于根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;A mapping module, configured to perform probability mapping on four of the six sub-signals according to preset mapping rules to obtain a set of mapped signals including four mapped signals;
确定模块,用于根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;The determination module is configured to determine the amplitude mapping results corresponding to the signal values at each moment of the first two mapping signals in the mapping signal set according to the first constellation diagram, wherein the first constellation diagram records the mapping signal The mapping relationship between the signal value and the amplitude; according to the second constellation diagram, determine the last two mapping signals in the mapping signal set, and the two sub-signals of the six sub-signals except the four sub-signals at each moment The position mapping result corresponding to the signal value, wherein the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal;
调制模块,用于根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。The modulation module is configured to perform pulse amplitude and position modulation APPM according to the amplitude mapping result and the position mapping result at each moment, so as to obtain an APPM signal corresponding to the signal to be modulated.
可选的,所述映射模块,包括:Optionally, the mapping module includes:
第一交织子模块,用于分别对六路所述子信号中的四路子信号进行第一交织处理,得到包含四路交织信号的交织信号集合;The first interleaving sub-module is configured to respectively perform first interleaving processing on four sub-signals among the six sub-signals to obtain an interleaved signal set including four interleaved signals;
映射子模块,用于根据预设的映射规则分别对所述交织信号集合中的四路交织信号进行概率映射,得到包含四路概率信号的概率信号集合;The mapping sub-module is configured to perform probability mapping on the four interleaved signals in the interleaved signal set according to preset mapping rules to obtain a probability signal set including four probability signals;
第二交织子模块,用于分别对所述概率信号集合中的四路概率信号进行第二交织处理,得到包含四路映射信号的映射信号集合。The second interleaving sub-module is configured to respectively perform second interleaving processing on the four channels of probability signals in the probability signal set to obtain a mapped signal set including four channels of mapped signals.
可选的,所述映射子模块,具体用于分别对所述交织信号集合中的第一路交织信号和第三路交织信号进行第一概率映射;Optionally, the mapping submodule is specifically configured to respectively perform first probability mapping on the first interleaved signal and the third interleaved signal in the interleaved signal set;
分别对所述交织信号集合中的第二路交织信号和第四路交织信号进行第二概率映射。Perform second probability mapping on the second path of interleaved signals and the fourth path of interleaved signals in the set of interleaved signals respectively.
可选的,所述确定模块,具体用于根据第二星座图,确定与所述映射信号集合中的后两路映射信号的每一时刻的信号值对应的子星座;Optionally, the determining module is specifically configured to determine the sub-constellation corresponding to the signal value at each moment of the last two mapping signals in the mapping signal set according to the second constellation diagram;
在确定的子星座中,根据六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值,确定每一时刻的位置映射结果。In the determined sub-constellation, according to the signal values at each moment of two sub-signals of the six sub-signals except the four sub-signals, the position mapping result at each time is determined.
可选的,所述第一星座图中包含四个信号幅度;Optionally, the first constellation diagram includes four signal amplitudes;
所述第二星座图包括四个子星座,每一所述子星座包括四个信号位置。The second constellation diagram includes four sub-constellations, each of which includes four signal positions.
可选的,所述装置还包括:Optionally, the device also includes:
解码模块,用于获取目标APPM信号;A decoding module, configured to obtain a target APPM signal;
对所述目标APPM信号进行解调,得到每一时刻的幅度映射结果和位置映射结果;Demodulating the target APPM signal to obtain an amplitude mapping result and a position mapping result at each moment;
根据所述第一星座图,获得与该时刻的幅度映射结果对应的包含两路幅度信号的幅度信号集合;根据所述第二星座图,获得与该时刻的位置映射结果对应的包含四路位置信号的位置信号集合;According to the first constellation diagram, obtain an amplitude signal set including two-way amplitude signals corresponding to the amplitude mapping result at this moment; according to the second constellation diagram, obtain a four-way position corresponding to the position mapping result at this moment signal set of position signals;
根据所述映射规则分别对所述幅度信号集合中的两路幅度信号和所述位置信号集合中的前两路位置信号进行逆概率映射,得到四路解调子信号;performing inverse probability mapping on the two amplitude signals in the amplitude signal set and the first two position signals in the position signal set respectively according to the mapping rules to obtain four demodulated sub-signals;
对得到的四路解调子信号和所述位置信号集合中的后两路位置信号进行并串转换,得到与所述目标APPM信号对应的解调信号。Parallel-serial conversion is performed on the obtained four demodulated sub-signals and the last two position signals in the position signal set to obtain a demodulated signal corresponding to the target APPM signal.
第三方面,本发明实施例还提供了一种电子设备,该电子设备包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In the third aspect, the embodiment of the present invention also provides an electronic device, the electronic device includes: a processor, a communication interface, a memory, and a communication bus, wherein, the processor, the communication interface, and the memory complete mutual communication through the communication bus;
存储器,用于存放计算机程序;memory for storing computer programs;
处理器,用于执行存储器上所存放的程序时,实现本发明实施例所提供的基于双路多向概率映射的调制方法的步骤。The processor is configured to implement the steps of the modulation method based on the two-way multi-directional probability mapping provided by the embodiment of the present invention when executing the program stored in the memory.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例所提供的基于双路多向概率映射的调制方法的步骤。In the fourth aspect, the embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program based on the present invention is implemented. Steps in the modulation method for a two-way multidirectional probability map.
本发明实施例提供的一种基于双路多向概率映射的调制方法、装置、电子设备及计算机可读存储介质。上述方法包括:对待调制信号进行串并转换生成六路并行的子信号,根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合,根据第一星座图,确定与映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,根据第二星座图,确定与映射信号集合中的后两路映射信号、六路子信号中除四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,根据每一时刻的幅度映射结果和位置映射结果进行APPM调制,获得与待调制信号对应的APPM信号。基于预设的映射规则,可以将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图获得APPM信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。Embodiments of the present invention provide a two-way multi-directional probability mapping-based modulation method, device, electronic equipment, and computer-readable storage medium. The above method includes: performing serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals, respectively performing probability mapping on four of the six sub-signals according to preset mapping rules, to obtain a mapped signal set including four mapped signals , according to the first constellation diagram, determine the amplitude mapping results corresponding to the signal values of the first two mapping signals in the mapping signal set at each moment, and determine the latter two mapping signals in the mapping signal set according to the second constellation diagram 1. The position mapping results corresponding to the signal values of the two sub-signals of the six sub-signals except the four sub-signals at each moment, and perform APPM modulation according to the amplitude mapping results and position mapping results at each moment, and obtain the signal corresponding to the signal to be modulated APPM signal. Based on the preset mapping rules, the signal to be modulated can be mapped into mapped signals with different probabilities, and then the APPM signal can be obtained according to the first constellation diagram and the second constellation diagram, without the need to design complex constellation diagrams, which can reduce the complexity of signal modulation . Of course, implementing any product or method of the present invention does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明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 flow chart of a modulation method based on two-way multi-directional probability mapping provided by an embodiment of the present invention;
图2为本发明实施例提供的一种基于双路多向概率映射APPM调制的系统框图;FIG. 2 is a system block diagram based on two-way multi-directional probability map APPM modulation provided by an embodiment of the present invention;
图3为本发明实施例提供的一种第一星座图的示意图;FIG. 3 is a schematic diagram of a first constellation diagram provided by an embodiment of the present invention;
图4为本发明实施例提供的一种第二星座图的示意图;FIG. 4 is a schematic diagram of a second constellation diagram provided by an embodiment of the present invention;
图5为本发明实施例提供的一种通信系统的原理图;FIG. 5 is a schematic diagram of a communication system provided by an embodiment of the present invention;
图6为本发明实施例提供的一种基于双路多向概率映射的调制装置的结构图;FIG. 6 is a structural diagram of a modulation device based on two-way multi-directional probability mapping provided by an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的结构图。FIG. 7 is a structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种基于双路多向概率映射的调制方法、装置、电子设备及计算机可读存储介质,上述方法可以应用于对信号进行调制的终端(以下简称为终端)。终端可以基于预设的映射规则,将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图可以获得APPM(Pulse Amplitude and Pulse Position Modulation,称为脉冲幅度和位置调制)信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。The embodiment of the present invention discloses a modulation method, device, electronic equipment, and computer-readable storage medium based on two-way multi-directional probability mapping. The above method can be applied to a terminal that modulates a signal (hereinafter referred to as a terminal). Based on the preset mapping rules, the terminal can map the signal to be modulated into mapped signals with different probabilities, and then obtain APPM (Pulse Amplitude and Pulse Position Modulation, called pulse amplitude and position modulation) according to the first constellation diagram and the second constellation diagram. ) signal, there is no need to design a complex constellation diagram, which can reduce the complexity of signal modulation.
参见图1,图1为本发明实施例提供的一种基于双路多向概率映射的调制方法的流程图,包括:Referring to FIG. 1, FIG. 1 is a flow chart of a modulation method based on two-way multi-directional probability mapping provided by an embodiment of the present invention, including:
S101:获取待调制信号,对待调制信号进行串并转换生成六路并行的子信号。S101: Obtain a signal to be modulated, and perform serial-to-parallel conversion on the signal to be modulated to generate six channels of parallel sub-signals.
一种实现方式中,待调制信号可以是二进制比特流(以下简称为比特流),终端每次获取的待调制信号可以是一帧比特流。串并转换是指把一帧连续的比特流转换为表示相同信息的并行的多路比特流的过程。终端可以将待调制信号进行串并转换,得到六路并行的比特流(即子信号)。其中,终端可以利用移位寄存器完成串并转换。In an implementation manner, the signal to be modulated may be a binary bit stream (hereinafter referred to as the bit stream for short), and the signal to be modulated each time acquired by the terminal may be a frame of bit stream. Serial-to-parallel conversion refers to the process of converting a frame of continuous bit streams into parallel multiple bit streams representing the same information. The terminal can perform serial-to-parallel conversion on the signal to be modulated to obtain six parallel bit streams (ie, sub-signals). Wherein, the terminal can use the shift register to complete the serial-to-parallel conversion.
具体的,参见图2,图2为本发明实施例提供的一种基于双路多向概率映射APPM调制的系统框图。可以看出,一帧比特流经过串并转换后生成六路并行的比特流。终端可以将每一路的比特流转换为矩阵的形式,其中,每个矩阵包含多个向量单元。Specifically, refer to FIG. 2 . FIG. 2 is a system block diagram of APPM modulation based on two-way multi-directional probability mapping provided by an embodiment of the present invention. It can be seen that six channels of parallel bit streams are generated after serial-to-parallel conversion of one frame of bit stream. The terminal can convert the bit stream of each channel into a matrix form, where each matrix includes multiple vector units.
因此,终端每次处理的一帧比特流的大小S可以用公式(1)计算:Therefore, the size S of a frame of bit stream processed by the terminal each time can be calculated by formula (1):
S=K*L*4+N*L*2 (1)S=K*L*4+N*L*2 (1)
其中,终端可以将四路中的每一路比特流转换为K*L的矩阵,K表示该矩阵中每一个向量单元包含的比特数,L表示该矩阵中向量单元的个数。终端可以将其他两路中的每一路比特流转换成N*L的矩阵,N表示该矩阵中每一个向量单元包含的比特数,L表示该矩阵中向量单元的个数,其中,K<L。Wherein, the terminal can convert each of the four bit streams into a K*L matrix, where K represents the number of bits contained in each vector unit in the matrix, and L represents the number of vector units in the matrix. The terminal can convert each of the other two bit streams into an N*L matrix, where N represents the number of bits contained in each vector unit in the matrix, and L represents the number of vector units in the matrix, where K<L .
S102:根据预设的映射规则分别对六路子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合。S102: Probabilistically map the four sub-signals of the six sub-signals according to a preset mapping rule to obtain a mapped signal set including the four mapped signals.
一种实现方式中,终端可以根据同一映射规则分别对六路子信号中的四路子信号进行概率映射,也可以根据不同的映射规则分别对六路子信号中四路子信号进行概率映射。其中,概率映射的指通过预设的映射规则,使等概率的子信号映射为不等概率的映射信号。具体的,对包含0和1的概率相等的比特流进行概率映射后,得到的映射信号中的0和1的概率不相等。终端可以分别上述四路子信号进行概率映射,使得到的每一路映射信号中的0的概率大于1的概率。具体的,终端如何对上述四路子信号进行概率映射,将在后面实施例详细介绍。In an implementation manner, the terminal may respectively perform probability mapping on four of the six sub-signals according to the same mapping rule, or may perform probability mapping on four of the six sub-signals according to different mapping rules. Wherein, probability mapping refers to mapping sub-signals with equal probability to mapped signals with unequal probability through preset mapping rules. Specifically, after probability mapping is performed on bit streams containing 0 and 1 with equal probabilities, the probabilities of 0 and 1 in the obtained mapped signal are not equal. The terminal may perform probability mapping on the four channels of sub-signals, so that the probability of 0 in each of the obtained mapped signals is greater than the probability of 1. Specifically, how the terminal performs probability mapping on the above four channels of sub-signals will be described in detail in the following embodiments.
其中,终端在对四路子信号进行概率映射的过程中,还可以对四路子信号进行交织处理。具体的,终端根据预设的映射规则分别对六路子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合的步骤,可以包括:Wherein, during the process of performing probability mapping on the four sub-signals, the terminal may also perform interleaving processing on the four sub-signals. Specifically, the terminal performs probability mapping on four sub-signals among the six sub-signals according to a preset mapping rule, and obtains a set of mapped signals including four mapped signals, which may include:
A1:分别对六路子信号中的四路子信号进行第一交织处理,得到包含四路交织信号的交织信号集合。A1: Perform first interleaving processing on four sub-signals among the six sub-signals to obtain an interleaved signal set including four interleaved signals.
一种实现方式中,终端可以首先分别对上述四路比特流进行第一交织处理,使该四路比特流的比特值的顺序重新进行排列,得到四路交织后的比特流(即四路交织信号,分别对应图2中的m1、m2、m3和m4)。第一交织处理是针对有记忆信道而提出的,通过将信道中的突发错误在时间上扩散,而转化为随机的错误,以此提升编码的健壮性,从而降低误码率。In one implementation manner, the terminal may firstly perform the first interleaving process on the above-mentioned four-way bit streams, so that the order of the bit values of the four-way bit streams is rearranged to obtain the four-way interleaved bit streams (that is, the four-way interleaved signals, respectively corresponding to m 1 , m 2 , m 3 and m 4 in Fig. 2). The first interleaving process is proposed for a channel with memory, and converts burst errors in the channel into random errors by spreading them in time, so as to improve the robustness of coding and reduce the bit error rate.
实际应用中,第一交织处理有多种实现方式,可以是规则交织,也可以是不规则交织,还可以是随机交织。本发明实施例对具体的第一交织处理的实现方式不做限定。In practical applications, there are many ways to implement the first interleaving process, which may be regular interleaving, irregular interleaving, or random interleaving. The embodiment of the present invention does not limit a specific implementation manner of the first interleaving process.
本实施例以终端对某一路比特流进行第一交织处理为例进行说明,对其他三路比特流进行第一交织处理的过程与之类似。具体的,终端对第一路比特流进行第一交织处理的过程可以包括:将第一路比特流按行转换成第一矩阵,第一矩阵的每行元素表示第一路比特流中前后相邻的比特值;按列从头到尾读取第一矩阵中的各个元素,得到第一路交织后的比特流(即第一路交织信号)。In this embodiment, the terminal performs first interleaving processing on a certain bit stream as an example for illustration, and the process of performing first interleaving processing on other three bit streams is similar. Specifically, the process that the terminal performs the first interleaving process on the first bit stream may include: converting the first bit stream into a first matrix row by row, and each row element of the first matrix represents the preceding and following phases in the first bit stream adjacent bit values; each element in the first matrix is read column by column from beginning to end to obtain the first interleaved bit stream (that is, the first interleaved signal).
示例性的,第一路比特流可以为1,2,3,4,5,6,7,8,9,10,11,12。首先,终端可以将第一路比特流按行转换成的第一矩阵,如表1所示,第一矩阵的每行元素表示第一路比特流中前后相邻的比特值,然后按列从头到尾读取第一矩阵中的各个元素,得到第一路交织后的比特流,即第一路交织信号。可以得到:1,4,7,10,2,5,8,11,3,6,9,12。Exemplarily, the first bit stream may be 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. First, the terminal can convert the first bit stream into the first matrix row by row, as shown in Table 1, each row element of the first matrix represents the adjacent bit values in the first bit stream, and then start from the beginning by column Each element in the first matrix is read at the end to obtain the first interleaved bit stream, that is, the first interleaved signal. You can get: 1, 4, 7, 10, 2, 5, 8, 11, 3, 6, 9, 12.
表1Table 1
可以看出,本实施例提供了一种简单高效的第一交织处理方法,能够将上述四路中每一路的比特流中前后相关的比特值,以间隔固定分散开,即使在信号的传输过程中遇到突发的状况,在接收端解码时也会将错误分散开,从而避免了无法解码的情况,提升了编码的健壮性,降低了误码率。It can be seen that this embodiment provides a simple and efficient first interleaving processing method, which can disperse the front and rear related bit values in the bit streams of each of the above four channels at fixed intervals, even in the signal transmission process In the case of unexpected situations, the errors will also be dispersed when decoding at the receiving end, thereby avoiding the situation that cannot be decoded, improving the robustness of the encoding, and reducing the bit error rate.
A2:根据预设的映射规则分别对交织信号集合中的四路交织信号进行概率映射,得到包含四路概率信号的概率信号集合。A2: Probabilistic mapping is performed on the four interleaved signals in the interleaved signal set according to preset mapping rules to obtain a probability signal set including four probabilistic signals.
一种实现方式中,预设的映射规则可以是技术人员针对每一路交织信号预先设定的。其中,各路的映射规则可以相同,也可以不相同。In an implementation manner, the preset mapping rule may be preset by a technician for each interleaved signal. Wherein, the mapping rules of each channel may be the same or different.
优选的,终端可以分别对交织信号集合中的第一路交织信号和第一路交织信号进行第一概率映射,分别对交织信号集合中的第二路交织信号和第四路交织信号进行第二概率映射。Preferably, the terminal may respectively perform the first probability mapping on the first interleaved signal and the first interleaved signal in the interleaved signal set, and perform the second probability mapping on the second interleaved signal and the fourth interleaved signal in the interleaved signal set respectively. probability map.
本实施例中,以终端对第一路交织信号进行第一概率映射、对第二路交织信号进行第二概率映射为例进行说明。终端对第三路交织信号进行第一概率映射的方法,可以参考终端对第一路交织信号进行第一概率映射的方法。终端对第四路交织信号进行第二概率映射的方法,可以参考终端对第一路交织信号进行第一概率映射的方法。In this embodiment, the terminal performs the first probability mapping on the first path of interleaved signals and performs the second probability mapping on the second path of interleaved signals as an example for description. For the method for the terminal to perform the first probability mapping on the third interleaved signal, refer to the method for the terminal to perform the first probability mapping on the first interleaved signal. For the method for the terminal to perform the second probability mapping on the fourth interleaved signal, refer to the method for the terminal to perform the first probability mapping on the first interleaved signal.
示例性的,终端对第一路交织信号进行第一概率映射的步骤如下:Exemplarily, the steps for the terminal to perform the first probability mapping on the first interleaved signal are as follows:
终端可以用mi1、mi2分别表示第一路交织信号的第i个向量单元中第一概率映射前的第一个比特和第二个比特。终端可以用ci1、ci2、ci3、ci4分别表示第一概率映射后第i个向量单元中的第一个到第四个比特。当ci1、ci2、ci3、ci4有多种组合时,针对mi1、mi2,终端可以从上述多种组合中等概率随机地选择一个组合进行映射。具体的,第一概率映射的映射规则可以如表2所示:The terminal may use m i1 and m i2 to represent the first bit and the second bit before the first probability mapping in the ith vector unit of the first interleaved signal respectively. The terminal may use c i1 , c i2 , c i3 , and c i4 to respectively represent the first to fourth bits in the i-th vector unit after the first probability mapping. When there are multiple combinations of c i1 , c i2 , c i3 , and c i4 , for m i1 and m i2 , the terminal may randomly select a combination from the above multiple combinations with medium probability for mapping. Specifically, the mapping rules of the first probability mapping may be shown in Table 2:
表2Table 2
终端对第二路交织信号进行第二概率映射的步骤,与对第一路交织信号进行第一概率映射的步骤相同,区别在于的概率映射的映射规则不同。具体的,第二概率映射的映射规则可以如表3所示:The step of the terminal performing the second probability mapping on the second interleaved signal is the same as the step of performing the first probability mapping on the first interleaved signal, except that the probability mapping rules are different. Specifically, the mapping rules of the second probability mapping may be as shown in Table 3:
表3table 3
需要说明的是,第一概率映射和第二概率映射所采用的具体映射规则并不仅限于上述两种方式。It should be noted that the specific mapping rules adopted by the first probability mapping and the second probability mapping are not limited to the above two manners.
可以看出,终端对第一路交织信号进行第一概率映射后,0和1概率分别为73.2%和26.8%。终端对第二路交织信号进行第二概率映射后,0和1概率分别为61.9%和38.1%。两路映射信号组合后c1′c2′的概率如表4所示:It can be seen that after the terminal performs the first probability mapping on the first interleaved signal, the probabilities of 0 and 1 are 73.2% and 26.8% respectively. After the terminal performs the second probability mapping on the second interleaved signal, the probabilities of 0 and 1 are 61.9% and 38.1%, respectively. The probability of c 1 'c 2 ' after the combination of the two mapping signals is shown in Table 4:
表4Table 4
对应图2中可以看出,四路映射信号分别为c1′、c2′、c3′和c4′。前两路映射信号c1′c2′出现11的概率最小为10.2%,出现00的概率最小为45.3%。而信号值为11的信号的能量高,信号值为00的信号的能量低。因此,终端得到的映射信号中能量较低的信号的概率高于能量较高的信号的概率,可以降低信号的平均功率。Corresponding to FIG. 2, it can be seen that the four mapping signals are c 1 ′, c 2 ′, c 3 ′, and c 4 ′, respectively. The minimum probability of occurrence of 11 in the first two mapping signals c 1 'c 2 ' is 10.2%, and the minimum probability of occurrence of 00 is 45.3%. A signal with a signal value of 11 has high energy, and a signal with a signal value of 00 has low energy. Therefore, in the mapped signals obtained by the terminal, the probability of a signal with lower energy is higher than that of a signal with higher energy, which can reduce the average power of the signal.
参见图2,终端可以分别对交织信号集合中的四路交织信号进行概率映射后,获得包含四路概率信号(分别对应图2中的c1、c2、c3和c4)的概率信号集合。Referring to Figure 2, the terminal can respectively perform probability mapping on the four interleaved signals in the interleaved signal set, and obtain probability signals containing four probability signals (corresponding to c 1 , c 2 , c 3 and c 4 in Figure 2 respectively) gather.
A3:分别对概率信号集合中的四路概率信号进行第二交织处理,获得包含四路映射信号的映射信号集合。A3: Perform a second interleaving process on the four probability signals in the probability signal set respectively to obtain a mapped signal set including the four mapped signals.
一种实现方式中,第二交织处理的实现方式可以与上述第一交织处理的实现方式相同,也可以与上述第一交织处理的实现方式不同。具体的,终端分别对概率信号集合中的四路概率信号进行第二交织处理的方法可以参考上述A1步骤,在此不再赘述。In an implementation manner, an implementation manner of the second interleaving process may be the same as that of the foregoing first interleaving process, or may be different from that of the foregoing first interleaving process. Specifically, the method for the terminal to respectively perform the second interleaving processing on the four channels of probability signals in the probability signal set may refer to the above-mentioned step A1, which will not be repeated here.
在图2中,终端可以分别对概率信号集合中的四路概率信号进行第二交织处理,获得包含四路映射信号(分别对应图2中的c1′、c2′、c3′和c4′)的映射信号集合。In Figure 2, the terminal can respectively perform the second interleaving process on the four channels of probability signals in the probability signal set to obtain four channels of mapping signals (corresponding to c 1 ′, c 2 ′, c 3 ′ and c 4 ') mapping signal set.
由上述可见,本发明实施例中,终端可以根据最终要生成的APPM信号,设计不同的映射规则。每一路都可以采用定制化的映射规则,可以实现每一路的映射信号按照期望的概率分布,以更好的匹配传输信道,提高信号传输性能。It can be seen from the above that in the embodiment of the present invention, the terminal may design different mapping rules according to the APPM signal to be finally generated. Each channel can adopt customized mapping rules, which can realize the mapping signal of each channel according to the expected probability distribution, so as to better match the transmission channel and improve the signal transmission performance.
S103:根据第一星座图,确定与映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果;根据第二星座图,确定映射信号集合中的后两路映射信号、六路子信号中除四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果。S103: According to the first constellation diagram, determine the amplitude mapping results corresponding to the signal values of the first two mapping signals in the mapping signal set at each moment; according to the second constellation diagram, determine the last two mapping signals in the mapping signal set . The position mapping results corresponding to the signal values at each moment of the two sub-signals except the four sub-signals among the six sub-signals.
一种实现方式中,终端可以根据第一星座图,确定与映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果(图2中的幅度映射)。终端可以根据第二星座图,确定映射信号集合中的后两路映射信号、六路子信号中除四路子信号以外的两路子信号(以下可以分别称为第五路子信号和第六路子信号)的每一时刻的信号值对应的位置映射结果(图2中的位置映射)。其中,第一星座图记录了映射信号的信号值与幅度的映射关系,第二星座图记录了映射信号的信号值与位置的映射关系。In an implementation manner, the terminal may determine the amplitude mapping result (amplitude mapping in FIG. 2 ) corresponding to the signal value at each moment of the first two mapped signals in the mapped signal set according to the first constellation diagram. The terminal may determine, according to the second constellation diagram, the following two mapping signals in the mapping signal set, and the two sub-signals except the four sub-signals among the six sub-signals (hereinafter referred to as the fifth sub-signal and the sixth sub-signal respectively). The position mapping result corresponding to the signal value at each moment (the position mapping in Figure 2). Wherein, the first constellation diagram records the mapping relationship between the signal value and the amplitude of the mapped signal, and the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal.
具体的,参见图3,图3为本发明实施例提供的一种第一星座图的示意图。Specifically, refer to FIG. 3 , which is a schematic diagram of a first constellation diagram provided by an embodiment of the present invention.
第一星座图中映射信号的信号值与幅度的映射关系可以用公式(2)表示:The mapping relationship between the signal value and the amplitude of the mapped signal in the first constellation diagram can be expressed by formula (2):
其中,Amp表示映射到第一星座图中的幅度,1′表示某一时刻第一路映射信号,c2′表示该时刻第二路映射信号。可以看出,第一星座图中包含1,2,3,4共4个信号的幅度,c1′c2′有00,01,10,11共4种取值。c1′c2′取值为00时对应的幅度为1,c1′c2′取值为01时对应的幅度为2,c1′c2′取值为10时对应的幅度为3,c1′c2′取值为11时对应的幅度为4。Wherein, Amp represents the amplitude mapped to the first constellation diagram, 1 ′ represents the first mapped signal at a certain moment, and c 2 ′ represents the second mapped signal at this moment. It can be seen that the first constellation diagram contains four signal amplitudes of 1, 2, 3, and 4, and c 1 'c 2 ' has four values of 00, 01, 10, and 11. When the value of c 1 ′c 2 ′ is 00, the corresponding amplitude is 1; when the value of c 1 ′c 2 ′ is 01, the corresponding amplitude is 2; when the value of c 1 ′c 2 ′ is 10, the corresponding amplitude is 3 , when the value of c 1 'c 2 ' is 11, the corresponding magnitude is 4.
终端可以根据第一星座图中映射信号的信号值与幅度的映射关系,将每一时刻映射信号集合中的前两路映射信号,映射到第一星座图中的4个幅度中的一个幅度,得到该时刻的幅度映射结果。The terminal may map the first two mapped signals in the set of mapped signals at each moment to one of the four amplitudes in the first constellation according to the mapping relationship between the signal value and the amplitude of the mapped signal in the first constellation, Get the amplitude mapping result at this moment.
图4为本发明实施例提供的一种第二星座图的示意图。Fig. 4 is a schematic diagram of a second constellation diagram provided by an embodiment of the present invention.
一种实现方式中,第二星座图可以包括4个子星座,每一子星座内包括4个信号位置。如图4所示,图4中的每一列的4个位置可以为一个子星座,也可以是每一行的4个位置为一个子星座,还可以根据其他的分配方式划分子星座。终端可以根据第二星座图,获得与映射信号集合中的后两路映射信号的每一时刻的信号值对应的子星座,在获得的子星座中,根据第五路子信号和第六路子信号的每一时刻的信号值,获得每一时刻的位置映射结果。In an implementation manner, the second constellation diagram may include 4 sub-constellations, and each sub-constellation includes 4 signal positions. As shown in FIG. 4 , the 4 positions in each column in FIG. 4 may be a sub-constellation, or the 4 positions in each row may be a sub-constellation, and the sub-constellation may also be divided according to other allocation methods. The terminal may obtain the sub-constellation corresponding to the signal values at each moment of the last two mapped signals in the mapped signal set according to the second constellation diagram, and in the obtained sub-constellation, according to the fifth-channel sub-signal and the sixth-channel sub-signal The signal value at each moment, and the position mapping result at each moment is obtained.
优选的,第二星座图中映射信号集合中的后两路映射信号与子星座的对应关系可以用公式(3)表示:Preferably, the correspondence between the last two mapped signals in the set of mapped signals in the second constellation diagram and the sub-constellation can be represented by formula (3):
其中,终端可以将每一列的4个位置划分为一个子星座。Pos表示映射到第二星座图中的位置,c3′表示某一时刻第三路映射信号,c4′表示该时刻第四路映射信号。c3′c4′=00时,对应第一子星座,其中,第一子星座包括0,1,2,3共4个位置;c3′c4′=01时,对应第二子星座,其中,第二子星座包括4,5,6,7共4个位置;c3′c4′=10时,对应第三子星座,其中,第三子星座包括8,9,10,11共4个位置;c3′c4′=11时,对应第四子星座,其中,第四子星座包括12,12,14,15共4个位置。具体的,终端确定了子星座后,可以根据c5′c6′在每一子星座的4个位置中确定一个位置,作为位置映射结果。其中,c5′表示该时刻第五路子信号,c6′表示该时刻第六路子信号。Wherein, the terminal may divide the 4 positions in each column into a sub-constellation. Pos represents the position mapped to the second constellation diagram, c 3 ′ represents the third mapped signal at a certain moment, and c 4 ′ represents the fourth mapped signal at this moment. When c 3 ′c 4 ′=00, it corresponds to the first sub-constellation, where the first sub-constellation includes 4 positions of 0, 1, 2, and 3; when c 3 ′c 4 ′=01, it corresponds to the second sub-constellation , where the second sub-constellation includes 4, 5, 6, and 7 positions; when c 3 ′c 4 ′=10, it corresponds to the third sub-constellation, wherein the third sub-constellation includes 8, 9, 10, 11 There are 4 positions in total; when c 3 ′c 4 ′=11, it corresponds to the fourth sub-constellation, wherein the fourth sub-constellation includes 4 positions of 12, 12, 14, and 15. Specifically, after determining the sub-constellation, the terminal may determine a position among the 4 positions of each sub-constellation according to c 5 ′c 6 ′, as a position mapping result. Wherein, c 5 ′ represents the fifth sub-signal at this time, and c 6 ′ represents the sixth sub-signal at this time.
由于终端并没有对第五路子信号和第六路子信号进行概率映射,因此,第五路子信号和第六路子信号均可以为等概率的比特流。终端可以根据预设的分配方式,根据c5′c6′,在每一子星座的4个位置中确定一个位置。具体的,以在第一子星座中确定一个位置为例进行说明,在其他三个子星座中确定一个位置的情况与之类似。终端可以根据公式(4)在第一子星座中确定一个位置:Since the terminal does not perform probability mapping on the fifth sub-signal and the sixth sub-signal, both the fifth sub-signal and the sixth sub-signal may be bit streams with equal probability. The terminal can determine a position among the 4 positions of each sub-constellation according to c 5 ′c 6 ′ according to a preset allocation manner. Specifically, an example of determining a position in the first sub-constellation is used for illustration, and the situation of determining a position in the other three sub-constellations is similar. The terminal can determine a position in the first sub-constellation according to formula (4):
其中,Pos1表示第一子星座中的一个位置。需要说明的是,本发明实施例仅以公式(4)为例进行说明,实际应用中,并不限于终端采用上述公式在子星座中来确定一个位置。Wherein, Pos1 represents a position in the first sub-constellation. It should be noted that the embodiment of the present invention only uses the formula (4) as an example for illustration, and in practical application, it is not limited to the terminal using the above formula to determine a position in the sub-constellation.
由上述可以看出,根据本发明实施例提供的方法,不需要设计复杂的不等间隔的星座图,终端可以直接根据第一星座图和第二星座图,获得APPM信号,降低了信号调制的复杂度。It can be seen from the above that, according to the method provided by the embodiment of the present invention, there is no need to design complex constellation diagrams with unequal intervals, and the terminal can directly obtain the APPM signal according to the first constellation diagram and the second constellation diagram, which reduces the complexity of signal modulation. the complexity.
S104:根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,获得与待调制信号对应的APPM信号。S104: Perform pulse amplitude and position modulation APPM according to the amplitude mapping result and position mapping result at each moment, to obtain an APPM signal corresponding to the signal to be modulated.
一种实现方式中,终端可以根据每一时刻的幅度映射结果和位置映射结果进行APPM(图2中的4*16APPM调制)调制,获得与待调制信号对应的APPM信号。针对每一时刻的幅度映射结果和位置映射结果,终端可以生成一个包含16个位置的APPM信号。终端可以根据该时刻的位置映射结果,确定该APPM信号的16个位置中带有幅度信息的一个位置,且该位置的幅度为该时刻的幅度映射结果。In an implementation manner, the terminal may perform APPM (4*16 APPM modulation in FIG. 2 ) modulation according to the amplitude mapping result and the position mapping result at each moment to obtain an APPM signal corresponding to the signal to be modulated. For the amplitude mapping result and position mapping result at each moment, the terminal can generate an APPM signal including 16 positions. The terminal can determine a position with amplitude information among the 16 positions of the APPM signal according to the position mapping result at this time, and the amplitude of this position is the amplitude mapping result at this time.
示例性的,终端可以确定出某一时刻的待调制信号的幅度映射结果为3,位置映射结果为10。此时,终端可以生成一个在第11个位置的幅度为3的APPM信号。Exemplarily, the terminal may determine that the amplitude mapping result of the signal to be modulated at a certain moment is 3, and the position mapping result is 10. At this time, the terminal may generate an APPM signal with an amplitude of 3 at the eleventh position.
在本发明实施例中,还提供了一种APPM信号的解码方法。具体的,处理步骤包括:In an embodiment of the present invention, a decoding method of an APPM signal is also provided. Specifically, the processing steps include:
获取目标APPM信号,对目标APPM信号进行解调,得到每一时刻的幅度映射结果和位置映射结果。根据第一星座图,获得与该时刻的幅度映射结果对应的包含两路幅度信号的幅度信号集合;根据第二星座图,获得与该时刻的位置映射结果对应的包含四路位置信号的位置信号集合。根据映射规则分别对幅度信号集合中的两路幅度信号和位置信号集合中的前两路位置信号进行逆概率映射,得到四路解调信号。对得到的四路解调信号和位置信号集合中的后两路位置信号进行并串转换,得到与目标APPM信号对应的解调信号。Obtain the target APPM signal, demodulate the target APPM signal, and obtain the amplitude mapping result and position mapping result at each moment. According to the first constellation diagram, a set of amplitude signals including two-way amplitude signals corresponding to the amplitude mapping result at this moment is obtained; according to the second constellation diagram, a position signal including four-way position signals corresponding to the position mapping result at this moment is obtained gather. According to the mapping rules, inverse probability mapping is performed on the two amplitude signals in the amplitude signal set and the first two position signals in the position signal set to obtain four demodulated signals. Parallel-serial conversion is performed on the obtained four demodulated signals and the last two position signals in the position signal set to obtain demodulated signals corresponding to the target APPM signal.
一种实现方式中,终端可以对获取的APPM信号进行解调,得到每一时刻的APPM信号对应的幅度信息和位置信息。由于接收到的APPM信号的幅度为模拟值,且通常接收到的信号会受到干扰,因此,终端可以根据该时刻APPM信号中的16个位置中幅度最大的位置获得位置信息,然后根据公式(5)获得该位置的幅度信息,完成APPM幅度信息和位置信息的确认。In an implementation manner, the terminal may demodulate the acquired APPM signal to obtain amplitude information and position information corresponding to the APPM signal at each moment. Since the amplitude of the received APPM signal is an analog value, and usually the received signal will be interfered, the terminal can obtain the position information according to the position with the largest amplitude among the 16 positions in the APPM signal at this moment, and then according to the formula (5 ) to obtain the amplitude information of the position, and complete the confirmation of the APPM amplitude information and position information.
其中,amp1表示终端接收到的APPM信号中的16个位置的幅度中最大的幅度。根据amp1的值所处的不同范围,终端可以确定出该APPM信号对应到第一星座图中的Amp,进而可以根据确定出的Amp,基于公式(2)的映射关系确定出表示幅度信息的前两路比特流。Wherein, amp1 represents the largest amplitude among the amplitudes of 16 positions in the APPM signal received by the terminal. According to the different ranges of the value of amp1, the terminal can determine that the APPM signal corresponds to Amp in the first constellation diagram, and then can determine the preceding Amp representing the amplitude information based on the mapping relationship of formula (2) according to the determined Amp. Two bit streams.
然后,终端可以根据确定出amp1所在的位置,根据公式(3)确定出第三路和第四路比特流,进而可以根据上述在子星座中确定一个位置的步骤中所使用的预设的分配方式,确定出第五路比特流和第六路比特流。终端可以将确定出的六路并行的比特流按照从第一路到第六路的顺序排序成一路,进行并串转换,输出一路串行的比特流数据,至此完成解码。Then, the terminal can determine the third and fourth bit streams according to the determined position of amp1 according to the formula (3), and then can use the preset allocation used in the above step of determining a position in the sub-constellation way to determine the fifth bit stream and the sixth bit stream. The terminal can sort the determined six channels of parallel bit streams into one channel in the order from the first channel to the sixth channel, perform parallel-to-serial conversion, and output one channel of serial bit stream data, thus completing the decoding.
如图5所示,为本发明实施例提供的通信系统的原理图。可以将本发明实施例应用于通信系统中的发射端,发射端首先对一路二进制比特流进行串并转化,得到六路并行的比特流,然后,将六路并行的比特流概率整形编码处理以及4*16APPM调制,得到APPM信号,进而,APPM信号经由光纤链路被发送到接收端。其中,光衰减器用于改变光功率。As shown in FIG. 5 , it is a schematic diagram of a communication system provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the transmitting end in the communication system. The transmitting end first performs serial-to-parallel conversion on one binary bit stream to obtain six parallel bit streams, and then processes the six parallel bit streams with probabilistic shaping encoding and 4* 16APPM modulation to obtain an APPM signal, and then, the APPM signal is sent to the receiving end via an optical fiber link. Among them, the optical attenuator is used to change the optical power.
在通信系统中的接收端,首先,利用预放大器调整光功率,并利用光带通滤波器从被噪声拓宽的频谱中过滤出有效带宽,然后,利用低通滤波器过滤有效带宽中基带以外的噪声,将探测得到的数据信号送入解码电路执行解码,其中,解码过程是编码过程的逆过程,主要由概率整形译码和4*16APPM解调单元组成,最后,将解码后的数据信号进行并串转换,得到二进制比特流。At the receiving end in the communication system, firstly, use the pre-amplifier to adjust the optical power, and use the optical band-pass filter to filter out the effective bandwidth from the spectrum broadened by the noise, and then use the low-pass filter to filter out the baseband in the effective bandwidth Noise, the detected data signal is sent to the decoding circuit for decoding, wherein the decoding process is the inverse process of the encoding process, mainly composed of probabilistic shaping decoding and 4*16APPM demodulation unit, and finally, the decoded data signal is Parallel to serial conversion to obtain a binary bit stream.
图6为本发明实施例提供的一种基于双路多向概率映射的调制装置的结构图,包括:FIG. 6 is a structural diagram of a modulation device based on two-way multi-directional probability mapping provided by an embodiment of the present invention, including:
转换模块601,用于获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;A conversion module 601, configured to obtain a signal to be modulated, and perform serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
映射模块602,用于根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;The mapping module 602 is configured to perform probability mapping on four sub-signals among the six sub-signals according to a preset mapping rule to obtain a mapped signal set including four mapped signals;
确定模块603,用于根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;The determination module 603 is configured to determine the amplitude mapping results corresponding to the signal values at each moment of the first two mapping signals in the mapping signal set according to the first constellation diagram, wherein the first constellation diagram records the mapping signals The mapping relationship between the signal value and the amplitude; according to the second constellation diagram, determine each moment of the last two mapping signals in the mapping signal set and the two sub-signals in the six sub-signals except the four sub-signals The position mapping result corresponding to the signal value of the signal value, wherein the second constellation diagram records the mapping relationship between the signal value of the mapped signal and the position;
调制模块604,用于根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。The modulation module 604 is configured to perform pulse amplitude and position modulation APPM according to the amplitude mapping result and position mapping result at each moment, to obtain an APPM signal corresponding to the signal to be modulated.
在本发明实施例中,所述映射模块602,包括:In the embodiment of the present invention, the mapping module 602 includes:
第一交织子模块,用于分别对六路所述子信号中的四路子信号进行第一交织处理,得到包含四路交织信号的交织信号集合;The first interleaving sub-module is configured to respectively perform first interleaving processing on four sub-signals among the six sub-signals to obtain an interleaved signal set including four interleaved signals;
映射子模块,用于根据预设的映射规则分别对所述交织信号集合中的四路交织信号进行概率映射,得到包含四路概率信号的概率信号集合;The mapping sub-module is configured to perform probability mapping on the four interleaved signals in the interleaved signal set according to preset mapping rules to obtain a probability signal set including four probability signals;
第二交织子模块,用于分别对所述概率信号集合中的四路概率信号进行第二交织处理,得到包含四路映射信号的映射信号集合。The second interleaving sub-module is configured to respectively perform second interleaving processing on the four channels of probability signals in the probability signal set to obtain a mapped signal set including four channels of mapped signals.
在本发明实施例中,所述映射子模块,具体用于分别对所述交织信号集合中的第一路交织信号和第三路交织信号进行第一概率映射;In the embodiment of the present invention, the mapping submodule is specifically configured to respectively perform first probability mapping on the first interleaved signal and the third interleaved signal in the interleaved signal set;
分别对所述交织信号集合中的第二路交织信号和第四路交织信号进行第二概率映射。Perform second probability mapping on the second path of interleaved signals and the fourth path of interleaved signals in the set of interleaved signals respectively.
在本发明实施例中,所述确定模块603,具体用于根据第二星座图,确定与所述映射信号集合中的后两路映射信号的每一时刻的信号值对应的子星座;In the embodiment of the present invention, the determination module 603 is specifically configured to determine the sub-constellation corresponding to the signal value at each moment of the last two mapping signals in the mapping signal set according to the second constellation diagram;
在确定的子星座中,根据六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值,确定每一时刻的位置映射结果。In the determined sub-constellation, according to the signal values at each moment of two sub-signals of the six sub-signals except the four sub-signals, the position mapping result at each time is determined.
在本发明实施例中,所述第一星座图中包含四个信号幅度;In the embodiment of the present invention, the first constellation diagram includes four signal amplitudes;
所述第二星座图包括四个子星座,每一所述子星座包括四个信号位置。The second constellation diagram includes four sub-constellations, each of which includes four signal positions.
在本发明实施例中,所述装置还包括:In an embodiment of the present invention, the device further includes:
解码模块,用于获取目标APPM信号;A decoding module, configured to obtain a target APPM signal;
对所述目标APPM信号进行解调,得到每一时刻的幅度映射结果和位置映射结果;Demodulating the target APPM signal to obtain an amplitude mapping result and a position mapping result at each moment;
根据所述第一星座图,获得与该时刻的幅度映射结果对应的包含两路幅度信号的幅度信号集合;根据所述第二星座图,获得与该时刻的位置映射结果对应的包含四路位置信号的位置信号集合;According to the first constellation diagram, obtain an amplitude signal set including two-way amplitude signals corresponding to the amplitude mapping result at this moment; according to the second constellation diagram, obtain a four-way position corresponding to the position mapping result at this moment signal set of position signals;
根据所述映射规则分别对所述幅度信号集合中的两路幅度信号和所述位置信号集合中的前两路位置信号进行逆概率映射,得到四路解调子信号;performing inverse probability mapping on the two amplitude signals in the amplitude signal set and the first two position signals in the position signal set respectively according to the mapping rules to obtain four demodulated sub-signals;
对得到的四路解调子信号和所述位置信号集合中的后两路位置信号进行并串转换,得到与所述目标APPM信号对应的解调信号。Parallel-serial conversion is performed on the obtained four demodulated sub-signals and the last two position signals in the position signal set to obtain a demodulated signal corresponding to the target APPM signal.
本发明实施例还提供了一种电子设备,如图7所示,包括处理器701、通信接口702、存储器703和通信总线704,其中,处理器701,通信接口702,存储器703通过通信总线704完成相互间的通信,The embodiment of the present invention also provides an electronic device, as shown in FIG. complete the mutual communication,
存储器703,用于存放计算机程序;Memory 703, used to store computer programs;
处理器701,用于执行存储器703上所存放的程序时,实现如下步骤:When the processor 701 is used to execute the program stored on the memory 703, the following steps are implemented:
获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;Obtaining a signal to be modulated, performing serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;respectively performing probability mapping on four of the six sub-signals according to preset mapping rules to obtain a mapped signal set including four mapped signals;
根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;According to the first constellation diagram, determine the amplitude mapping result corresponding to the signal value at each moment of the first two mapping signals in the mapping signal set, wherein the first constellation diagram records the signal value and amplitude of the mapping signal Mapping relationship: according to the second constellation diagram, determine the positions corresponding to the signal values at each moment of the last two mapping signals in the mapping signal set and the two sub-signals of the six sub-signals except the four sub-signals The mapping result, wherein the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal;
根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。Pulse amplitude and position modulation APPM is performed according to the amplitude mapping result and the position mapping result at each moment to obtain an APPM signal corresponding to the signal to be modulated.
上述电子设备提到的通信总线704可以是外设部件互连标准(PeripheralComponent Interconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线704可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 704 mentioned above for the electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus 704 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口702用于上述电子设备与其他设备之间的通信。The communication interface 702 is used for communication between the above-mentioned electronic devices and other devices.
存储器703可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器703还可以是至少一个位于远离前述处理器的存储装置。The memory 703 may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory 703 may also be at least one storage device located away from the aforementioned processor.
上述的处理器701可以是通用处理器,包括中央处理器(Central ProcessingUnit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DigitalSignal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DigitalSignal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
本发明实施例提供的电子设备,可以基于预设的映射规则,可以将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图获得APPM信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。The electronic device provided by the embodiment of the present invention can map the signal to be modulated into a mapping signal with different probabilities based on the preset mapping rule, and then obtain the APPM signal according to the first constellation diagram and the second constellation diagram, without the need to design complex The constellation diagram can reduce the complexity of signal modulation.
本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行本发明实施例提供的基于双路多向概率映射的调制方法。The embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a computer, the computer executes the two-way multi-directional probability mapping based on the embodiment of the present invention. modulation method.
具体的,上述基于双路多向概率映射的调制方法,包括:Specifically, the above-mentioned modulation method based on two-way multi-directional probability mapping includes:
获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;Obtaining a signal to be modulated, performing serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;respectively performing probability mapping on four of the six sub-signals according to preset mapping rules to obtain a mapped signal set including four mapped signals;
根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;According to the first constellation diagram, determine the amplitude mapping result corresponding to the signal value at each moment of the first two mapping signals in the mapping signal set, wherein the first constellation diagram records the signal value and amplitude of the mapping signal Mapping relationship: according to the second constellation diagram, determine the positions corresponding to the signal values at each moment of the last two mapping signals in the mapping signal set and the two sub-signals of the six sub-signals except the four sub-signals The mapping result, wherein the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal;
根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。Pulse amplitude and position modulation APPM is performed according to the amplitude mapping result and the position mapping result at each moment to obtain an APPM signal corresponding to the signal to be modulated.
需要说明的是,上述基于双路多向概率映射的调制方法的其他实现方式与前述方法实施例部分相同,这里不再赘述。It should be noted that other implementation manners of the modulation method based on the two-way multi-directional probability mapping are the same as those in the foregoing method embodiments, and will not be repeated here.
通过运行本发明实施例提供的计算机可读存储介质中存储的指令,可以基于预设的映射规则,可以将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图获得APPM信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。By running the instructions stored in the computer-readable storage medium provided by the embodiment of the present invention, the signal to be modulated can be mapped into a mapping signal with different probabilities based on the preset mapping rule, and then according to the first constellation diagram and the second constellation diagram To obtain the APPM signal, there is no need to design a complex constellation diagram, which can reduce the complexity of signal modulation.
本发明实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本发明实施例提供的基于双路多向概率映射的调制方法。The embodiment of the present invention also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the modulation method based on the two-way multi-directional probability mapping provided by the embodiment of the present invention.
具体的,上述基于双路多向概率映射的调制方法,包括:Specifically, the above-mentioned modulation method based on two-way multi-directional probability mapping includes:
获取待调制信号,对所述待调制信号进行串并转换生成六路并行的子信号;Obtaining a signal to be modulated, performing serial-to-parallel conversion on the signal to be modulated to generate six parallel sub-signals;
根据预设的映射规则分别对六路所述子信号中的四路子信号进行概率映射,得到包含四路映射信号的映射信号集合;respectively performing probability mapping on four of the six sub-signals according to preset mapping rules to obtain a mapped signal set including four mapped signals;
根据第一星座图,确定所述映射信号集合中的前两路映射信号的每一时刻的信号值对应的幅度映射结果,其中,所述第一星座图记录了映射信号的信号值与幅度的映射关系;根据第二星座图,确定所述映射信号集合中的后两路映射信号、六路所述子信号中除所述四路子信号以外的两路子信号的每一时刻的信号值对应的位置映射结果,其中,所述第二星座图记录了映射信号的信号值与位置的映射关系;According to the first constellation diagram, determine the amplitude mapping result corresponding to the signal value at each moment of the first two mapping signals in the mapping signal set, wherein the first constellation diagram records the signal value and amplitude of the mapping signal Mapping relationship: according to the second constellation diagram, determine the positions corresponding to the signal values at each moment of the last two mapping signals in the mapping signal set and the two sub-signals of the six sub-signals except the four sub-signals The mapping result, wherein the second constellation diagram records the mapping relationship between the signal value and the position of the mapped signal;
根据每一时刻的幅度映射结果和位置映射结果进行脉冲幅度和位置调制APPM,得到与所述待调制信号对应的APPM信号。Pulse amplitude and position modulation APPM is performed according to the amplitude mapping result and the position mapping result at each moment to obtain an APPM signal corresponding to the signal to be modulated.
需要说明的是,上述基于双路多向概率映射的调制方法的其他实现方式与前述方法实施例部分相同,这里不再赘述。It should be noted that other implementation manners of the modulation method based on the two-way multi-directional probability mapping are the same as those in the foregoing method embodiments, and will not be repeated here.
通过运行本发明实施例提供的计算机程序产品,可以基于预设的映射规则,可以将待调制信号映射为概率不同的映射信号,进而根据第一星座图和第二星座图获得APPM信号,不需要设计复杂的星座图,能够降低信号调制的复杂度。By running the computer program product provided by the embodiment of the present invention, the signal to be modulated can be mapped to a mapped signal with different probabilities based on a preset mapping rule, and then the APPM signal can be obtained according to the first constellation diagram and the second constellation diagram. Designing complex constellation diagrams can reduce the complexity of signal modulation.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、电子设备、计算机可读存储介质、计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus, electronic equipment, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For relevant parts, please refer to the part of the description of the method embodiments.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052107.0A CN107769863B (en) | 2017-10-30 | 2017-10-30 | Modulation method and device based on two-way multidirectional probability mapping |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052107.0A CN107769863B (en) | 2017-10-30 | 2017-10-30 | Modulation method and device based on two-way multidirectional probability mapping |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107769863A true CN107769863A (en) | 2018-03-06 |
CN107769863B CN107769863B (en) | 2020-04-17 |
Family
ID=61270342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711052107.0A Active CN107769863B (en) | 2017-10-30 | 2017-10-30 | Modulation method and device based on two-way multidirectional probability mapping |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107769863B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108809375A (en) * | 2018-04-27 | 2018-11-13 | 上海交通大学 | The extensive antenna system of low precision based on probability integer and its code modulating method |
CN109005136A (en) * | 2018-09-26 | 2018-12-14 | 南京信息工程大学 | A kind of multi-carrier optical signal launching technique based on the mapping of more probability array beams |
CN109120347A (en) * | 2018-09-19 | 2019-01-01 | 南京信息工程大学 | A kind of more probability light load millimeter wave generating methods of the multifrequency of time-frequency dynamic change |
CN109412999A (en) * | 2018-12-24 | 2019-03-01 | 北京邮电大学 | A kind of molding mapping method of probability and device |
CN109474346A (en) * | 2018-11-22 | 2019-03-15 | 北京邮电大学 | A method and device for generating optical signal based on geometry-probabilistic shaping |
CN109709851A (en) * | 2018-12-25 | 2019-05-03 | 北京无线电计量测试研究所 | A kind of complex modulated signal high speed generating means and method |
CN110401489A (en) * | 2019-07-22 | 2019-11-01 | 北京邮电大学 | A method, device and system for generating an optical fiber signal |
CN111049586A (en) * | 2019-12-25 | 2020-04-21 | 南京信息工程大学 | A Pulse Amplitude Position Modulation System Based on Down-amplitude Probabilistic Shaping |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2899042B1 (en) * | 2006-03-21 | 2008-05-02 | Commissariat Energie Atomique | SPATIO-TEMPORAL ENCODING METHOD FOR IMPULSE UWB-TYPE BI-ANTENNA COMMUNICATION SYSTEM |
FR2899745B1 (en) * | 2006-04-07 | 2008-05-30 | Commissariat Energie Atomique | SPATIO-TEMPORAL ENCODING METHOD FOR MULTI-ANTENNA COMMUNICATION SYSTEM OF IMPULSE UWB TYPE |
CN101309092B (en) * | 2008-07-14 | 2011-05-11 | 哈尔滨工业大学 | Fractional Fourier transform domain ultra-wideband pulse signal modulation and demodulation method |
CN101814960A (en) * | 2009-02-23 | 2010-08-25 | 华为技术有限公司 | Signal modulation method and equipment |
CN103580723B (en) * | 2013-11-06 | 2015-08-19 | 电子科技大学 | A kind of UWB Wireless Sensor device communication means based on time-frequency combination modulation |
-
2017
- 2017-10-30 CN CN201711052107.0A patent/CN107769863B/en active Active
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108809375A (en) * | 2018-04-27 | 2018-11-13 | 上海交通大学 | The extensive antenna system of low precision based on probability integer and its code modulating method |
CN108809375B (en) * | 2018-04-27 | 2021-08-17 | 上海交通大学 | Low-precision large-scale antenna system based on probability integer and coding modulation method thereof |
CN109120347A (en) * | 2018-09-19 | 2019-01-01 | 南京信息工程大学 | A kind of more probability light load millimeter wave generating methods of the multifrequency of time-frequency dynamic change |
CN109120347B (en) * | 2018-09-19 | 2021-02-09 | 南京信息工程大学 | Multi-frequency multi-probability optical carrier millimeter wave generation method with time-frequency dynamic change |
CN109005136A (en) * | 2018-09-26 | 2018-12-14 | 南京信息工程大学 | A kind of multi-carrier optical signal launching technique based on the mapping of more probability array beams |
CN109005136B (en) * | 2018-09-26 | 2020-11-10 | 南京信息工程大学 | Multi-carrier optical signal transmitting method based on multi-probability array beam mapping |
CN109474346A (en) * | 2018-11-22 | 2019-03-15 | 北京邮电大学 | A method and device for generating optical signal based on geometry-probabilistic shaping |
CN109412999A (en) * | 2018-12-24 | 2019-03-01 | 北京邮电大学 | A kind of molding mapping method of probability and device |
CN109412999B (en) * | 2018-12-24 | 2020-04-17 | 北京邮电大学 | Mapping method and device for probability modeling |
CN109709851A (en) * | 2018-12-25 | 2019-05-03 | 北京无线电计量测试研究所 | A kind of complex modulated signal high speed generating means and method |
CN110401489A (en) * | 2019-07-22 | 2019-11-01 | 北京邮电大学 | A method, device and system for generating an optical fiber signal |
CN111049586A (en) * | 2019-12-25 | 2020-04-21 | 南京信息工程大学 | A Pulse Amplitude Position Modulation System Based on Down-amplitude Probabilistic Shaping |
Also Published As
Publication number | Publication date |
---|---|
CN107769863B (en) | 2020-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107769863A (en) | A kind of modulator approach and device based on the multidirectional probability mapping of two-way | |
CN110418220B (en) | Generalized frequency division multiplexing system, and method and device for generating optical fiber signals | |
CN107566312B (en) | A quadrature amplitude modulation method and device based on cyclic iterative coding | |
EP3012991B1 (en) | Method and device for using high-dimensional constellation graph to transmit data | |
CN107612866A (en) | A kind of signal modulation/demodulation method and device based on discrete cosine transform | |
US10149181B2 (en) | Signal output apparatus, board, and signal output method | |
CN110176962A (en) | Optical signal processing method and device based on the forming of TCM- probability | |
CN107682298A (en) | A kind of signal modulation/demodulation method and device based on wavelet transform | |
CN107426129B (en) | Method and device for modulating and demodulating GFDM signal | |
JPH05260100A (en) | Transmitted signal processing method | |
CN111478752A (en) | Information coding method and device | |
CN117411596B (en) | Demodulation method, demodulation device, storage medium and electronic equipment | |
WO2021258974A1 (en) | Data modulation method and apparatus, and device and storage medium | |
CN111726165A (en) | Optical communication system, method and device | |
CN112600783A (en) | OTFS (optical transport plane) system peak-to-average ratio suppression method based on Golay block coding | |
CN111585698A (en) | Multidimensional coding modulation method and decoding demodulation method | |
CN108880756B (en) | Signal sending method and device based on resource mapping in non-orthogonal multiple access system | |
CN110324266B (en) | An OFDM visible light transceiver method and system with adaptive transmission amplitude bit compression | |
WO2022052933A1 (en) | Signal processing method and related device | |
CN109347779A (en) | FPGA Implementation Method Based on Threshold Vector Circle OFDM Signal Direct Slicing Technology | |
CN111479285B (en) | Method and device for determining dispersion | |
CN102404270B (en) | Multi-carrier Muller PAPR coding method and system | |
CN118631625B (en) | OTFS peak-to-average ratio suppression method, device and electronic device based on preset peak clipping signal | |
CN113595648B (en) | Optical signal generation method and device and electronic equipment | |
CN110995637B (en) | Signal modulation and demodulation method and device for joint subcarrier activation and modulation selection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |