CN105871505A - Multidimensional-code processing method and system, sending terminal and receiving terminal - Google Patents

Multidimensional-code processing method and system, sending terminal and receiving terminal Download PDF

Info

Publication number
CN105871505A
CN105871505A CN201510036890.6A CN201510036890A CN105871505A CN 105871505 A CN105871505 A CN 105871505A CN 201510036890 A CN201510036890 A CN 201510036890A CN 105871505 A CN105871505 A CN 105871505A
Authority
CN
China
Prior art keywords
bits
dimensional code
group
parity
bit
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
Application number
CN201510036890.6A
Other languages
Chinese (zh)
Other versions
CN105871505B (en
Inventor
沈百林
施社平
陈雪
何子龙
刘文涛
高夕晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Beijing University of Posts and Telecommunications
Original Assignee
ZTE Corp
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp, Beijing University of Posts and Telecommunications filed Critical ZTE Corp
Priority to CN201510036890.6A priority Critical patent/CN105871505B/en
Publication of CN105871505A publication Critical patent/CN105871505A/en
Application granted granted Critical
Publication of CN105871505B publication Critical patent/CN105871505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

本发明公开了一种多维码处理方法、发送端、接收端和系统,所述多维码处理方法包括:发送端依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;发送端发送所述多维码;接收端接收所述多维码;接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。

The invention discloses a multi-dimensional code processing method, a sending end, a receiving end and a system. The multi-dimensional code processing method includes: the sending end forms a multi-dimensional code with a dimension of 2*N according to an input information sequence; wherein, the N is The number of symbols that one said multi-dimensional code includes; one said multi-dimensional code includes N*k-1 information bits and 1 parity check bit; the sending end sends said multi-dimensional code; the receiving end receives said multi-dimensional code; the receiving end decodes adjusting the multi-dimensional code to obtain N*k-1 information bits in the multi-dimensional code.

Description

多维码处理方法、发送端、接收端和系统Multidimensional code processing method, sending end, receiving end and system

技术领域technical field

本发明涉及通信领域的调制解调技术,尤其涉及一种多维码处理方法、发送端、接收端和系统。The invention relates to modulation and demodulation technology in the field of communication, in particular to a multi-dimensional code processing method, a sending end, a receiving end and a system.

背景技术Background technique

在相干光通信中,相干光接收机可以探测出光的幅度、相位、偏振态、频率所携带的所有信息,因此相干光通信具有多种可选的调制方式。In coherent optical communication, the coherent optical receiver can detect all the information carried by the amplitude, phase, polarization state, and frequency of light, so coherent optical communication has a variety of optional modulation methods.

传统的调制格式利用信号的幅度、相位可构成多种一维、二维的调制信号星座图。对于更高维度的调制,现有的方法是在传统的一维或二维调制的基础上通过利用光的偏振状态、信号脉冲位置等进一步扩展信号空间的维度来实现。The traditional modulation format utilizes the amplitude and phase of the signal to form a variety of one-dimensional and two-dimensional modulation signal constellation diagrams. For higher-dimensional modulation, the existing method is based on the traditional one-dimensional or two-dimensional modulation by using the polarization state of light, signal pulse position, etc. to further expand the dimension of the signal space.

现有的一种基于偏振态关联的多维调制方法如附图1所示,每个符号携带k比特信息,X偏振态上的符号直接由k比特有效信息(b1b2…bk)映射得到,Y偏振态上每个符号仅携带k-1比特有效信息(b1’b2’…bk-1’),将X偏振态上的k比特输入与Y偏振态上的k-1比特输入进行模二加运算得到Y偏振态上的符号的第k比特输入,由此可以使得映射后两个偏振态上的符号相互关联。将两个偏振态上的符号进行关联后,形成一束信号发送给接收端。显然采用这种方法进行信号调制时,X偏振态和Y偏振态因为Y偏振态中每一个符号的第k比特与X偏振态具有偏振态关联性。An existing multi-dimensional modulation method based on polarization state correlation is shown in Figure 1, each symbol carries k-bit information, and the symbols on the X polarization state are directly mapped by k-bit effective information (b 1 b 2 …b k ) It is obtained that each symbol on the Y polarization state only carries k-1 bits of effective information (b 1 'b 2 '…b k-1 '), and the k-bit input on the X polarization state and the k-1 on the Y polarization state The k-th bit input of the symbol on the Y polarization state is obtained by performing a modular two-add operation on the bit input, so that the symbols on the two polarization states after mapping can be correlated with each other. After correlating the symbols on the two polarization states, a beam of signals is formed and sent to the receiving end. Apparently, when this method is used for signal modulation, the X polarization state and the Y polarization state have a polarization state correlation between the kth bit of each symbol in the Y polarization state and the X polarization state.

首先,采用这种X偏振态和Y偏振态之间具有偏振关联性的方式形成多维符号,在进行多维扩展时,调制维度变仅能从单偏振态调制维度转换成二维调制,缺乏维度扩展的灵活性。First of all, the multi-dimensional symbol is formed by using the polarization correlation between the X polarization state and the Y polarization state. When multi-dimensional expansion is performed, the modulation dimension can only be converted from a single polarization modulation dimension to a two-dimensional modulation, lacking in dimensional expansion. flexibility.

其次,在现有技术中,接收端接收到上述发送端发送的信号后,若采用现有的相干解调,将会因为X偏振态和Y偏振态之间的偏振态关联,而导致将一束信号分为两个偏振态的过程中,出现恢复和解调失效。显然现有的相干解调不适用上述利用偏振态调制形成的多维符号。Secondly, in the prior art, after the receiving end receives the signal sent by the above-mentioned sending end, if the existing coherent demodulation is used, it will cause a polarization state correlation between the X polarization state and the Y polarization state, resulting in Recovery and demodulation failures occur during the splitting of the beam signal into two polarization states. Apparently, the existing coherent demodulation is not applicable to the above-mentioned multi-dimensional symbols formed by polarization state modulation.

发明内容Contents of the invention

有鉴于此,本发明实施例期望提供一种多维码处理方法、发送端、接收端和系统,以解决多维码调制的维度扩展不够灵活的问题。In view of this, the embodiments of the present invention expect to provide a multi-dimensional code processing method, sending end, receiving end and system, so as to solve the problem that the dimension expansion of multi-dimensional code modulation is not flexible enough.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

本发明实施例第一方面提供一种多维码处理方法,所述方法包括:The first aspect of the embodiment of the present invention provides a multi-dimensional code processing method, the method comprising:

发送端依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The sending end forms a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 Parity check bits; The k is the number of bits included in each of the symbols;

发送端发送所述多维码;The sending end sends the multi-dimensional code;

接收端接收所述多维码;The receiving end receives the multi-dimensional code;

接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。The receiving end demodulates the multi-dimensional code, and obtains N*k-1 information bits in the multi-dimensional code.

优选地,Preferably,

所述发送端依据输入信息序列,形成维度为2*N的多维码,包括:The sending end forms a multi-dimensional code with a dimension of 2*N according to the input information sequence, including:

获取输入信息序列;Get the input information sequence;

对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence;

对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;Parity-check encoding is performed on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1-bit parity bits;

将所述第二分组依次映射为N个符号。and sequentially mapping the second group into N symbols.

优选地,Preferably,

所述接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特,包括:The receiving end demodulates the multi-dimensional code, and obtains N*k-1 information bits in the multi-dimensional code, including:

对包括至少一个多维码的接收信号进行采样,获得样值序列;Sampling a received signal including at least one multidimensional code to obtain a sequence of samples;

对所述样值序列进行分组,形成包括N个样值的第三分组;grouping the sequence of samples to form a third group comprising N samples;

对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;所述k为每一个所述符号包括的比特数;Demapping the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit ; The k is the number of bits included in each of the symbols;

将所述N*k比特进行奇偶校验,形成校验结果;performing a parity check on the N*k bits to form a check result;

利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。After the verification result is used to make a decision, the N*k-1 information bits in the multi-dimensional code are output.

本发明实施例第一二方面提供一种多维码处理方法,所述方法包括:The first and second aspects of the embodiments of the present invention provide a multi-dimensional code processing method, the method comprising:

依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;According to the input information sequence, a multidimensional code with a dimension of 2*N is formed; wherein, said N is the number of symbols included in one said multidimensional code; one said multidimensional code includes N*k-1 information bits and 1 parity check bit; said k is the number of bits included in each said symbol;

发送所述多维码。Send the multidimensional code.

优选地,Preferably,

所述依据输入信息序列,形成维度为2*N的多维码,包括:According to the input information sequence, forming a multi-dimensional code with a dimension of 2*N includes:

获取输入信息序列;Get the input information sequence;

对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence;

对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;Parity-check encoding is performed on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1-bit parity bits;

将所述第二分组依次映射为N个符号。and sequentially mapping the second group into N symbols.

优选地,Preferably,

所述对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组,包括:Performing parity-check coding on each of the first packets to obtain a second packet including N*k bits, including:

将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;performing a modulo two summation operation on the bits in the first group to obtain the parity bits;

将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。The parity bits are added to the first packet to form the second packet.

优选地,Preferably,

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

将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;associating the multidimensional code formed on the X polarization state with the multidimensional code formed on the Y polarization state to form a modulated signal;

发送所述调制信号。Send the modulated signal.

优选地,Preferably,

所述调制信号为光信号;The modulation signal is an optical signal;

所述发送所述调制信号包括:The sending the modulated signal includes:

将所述光信号耦合到光信号信道中。The optical signal is coupled into an optical signal channel.

本发明实施例第三方面提供一种多维码处理方法,所述方法包括:The third aspect of the embodiment of the present invention provides a multi-dimensional code processing method, the method comprising:

接收端接收所述多维码;所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The receiving end receives the multi-dimensional code; the dimension of the multi-dimensional code is 2*N; the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 Parity check bits; The k is the number of bits included in each of the symbols;

接收端解调所述多维码,获取所述多维码中的所述N*k-1个信息比特。The receiving end demodulates the multi-dimensional code, and acquires the N*k-1 information bits in the multi-dimensional code.

优选地,Preferably,

所述接收端解调所述多维码,获取所述多维码中的所述N*k-1个信息比特,包括:The receiving end demodulates the multi-dimensional code, and obtains the N*k-1 information bits in the multi-dimensional code, including:

对包括至少一个多维码的接收信号进行采样,获得样值序列;Sampling a received signal including at least one multidimensional code to obtain a sequence of samples;

对所述样值序列进行分组,形成包括N个样值的第三分组;grouping the sequence of samples to form a third group comprising N samples;

对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;Demapping the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit ;

将所述N*k比特进行奇偶校验,形成校验结果;performing a parity check on the N*k bits to form a check result;

利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。After the verification result is used to make a decision, the N*k-1 information bits in the multi-dimensional code are output.

优选地,Preferably,

所述将所述N*k比特进行奇偶校验,形成校验结果,包括:The parity check of the N*k bits is performed to form a check result, including:

将所述N*k比特中的前N*k-1比特进行模二加运算,得到运算结果;Carrying out a modulo two addition operation on the first N*k-1 bits in the N*k bits to obtain an operation result;

当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。When the operation result is consistent with the parity bits, it is confirmed that the verification is passed, otherwise the verification is not passed.

优选地,Preferably,

在所述对每一个所述第三分组包括的N个样值进行解映射之前,所述方法还包括:Before demapping the N samples included in each of the third groups, the method further includes:

将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;Using the first Euclidean distance to judge the N samples in each of the third groups to form a judgment result;

所述对每一个所述第三分组包括的N个样值进行解映射,包括:The demapping the N samples included in each of the third groups includes:

依据所述判决结果进行解映射。Demapping is performed according to the decision result.

优选地,Preferably,

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

当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。When the verification fails, the N samples in each of the third groups are judged by using a second Euclidean distance; wherein, the first Euclidean distance is smaller than the second Euclidean distance.

优选地,Preferably,

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

在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。Before sampling the received signal and obtaining the sample value sequence, the received signal is divided into two received signals; one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state state receiving signal.

本发明实施例第四方面提供一种多维码处理系统,所述系统包括:The fourth aspect of the embodiment of the present invention provides a multi-dimensional code processing system, the system comprising:

发送端,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;及发送所述多维码;所述k为每一个所述符号包括的比特数;The sending end is used to form a multidimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one said multidimensional code; one said multidimensional code includes N*k-1 information bits and 1 parity bit; and sending the multi-dimensional code; the k is the number of bits included in each symbol;

接收端,用于接收所述多维码;及接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。The receiving end is configured to receive the multi-dimensional code; and the receiving end demodulates the multi-dimensional code to obtain N*k-1 information bits in the multi-dimensional code.

优选地,Preferably,

所述发送端,具体用于获取输入信息序列;对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;及将所述第二分组依次映射为N个符号。The sending end is specifically used to obtain an input information sequence; group the input information sequence to obtain a first group including N*k-1 information bits continuously distributed in the input information sequence; Perform parity check encoding on the first group to obtain a second group comprising N*k bits; wherein, the N*k bits include a parity bit of 1 bit; and the second group is sequentially Maps to N symbols.

优选地,Preferably,

所述接收端,具体用于对包括至少一个多维码的接收信号进行采样,获得样值序列;对所述样值序列进行分组,形成包括N个样值的第三分组;对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;将所述N*k比特进行奇偶校验,形成校验结果;利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。The receiving end is specifically configured to sample a received signal including at least one multidimensional code to obtain a sequence of samples; group the sequence of samples to form a third group including N samples; for each of the The N samples included in the third group are demapped to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit; the N Perform parity check on *k bits to form a check result; after using the check result to make a judgment, output the N*k-1 information bits in the multi-dimensional code.

本发明实施例第五方面提供一种发送端,所述发送端包括:According to the fifth aspect of the embodiment of the present invention, a sending end is provided, and the sending end includes:

调制单元,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;A modulation unit, configured to form a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 parity check bit; the k is the number of bits included in each symbol;

发送单元,用于发送所述多维码。A sending unit, configured to send the multi-dimensional code.

优选地,Preferably,

所述调制单元,包括:The modulation unit includes:

获取模块,用于获取输入信息序列;An acquisition module, configured to acquire an input information sequence;

第一分组模块,用于对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;A first grouping module, configured to group the input information sequence to obtain a first group including N*k-1 information bits continuously distributed in the input information sequence;

校验编码模块,用于对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;A check encoding module, configured to perform parity check encoding on each of the first groups to obtain a second group comprising N*k bits; wherein, the N*k bits include 1 bit of parity test bit;

映射模块,用于将所述第二分组依次映射为N个符号。A mapping module, configured to sequentially map the second group into N symbols.

优选地,Preferably,

所述校验编码模块,具体用于将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;及将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。The check coding module is specifically configured to perform a modulo two summation operation on each bit in the first group to obtain the parity bits; and add the parity bits to the first group , forming the second group.

优选地,Preferably,

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

关联单元,用于将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;an associating unit, configured to associate the multidimensional code formed on the X polarization state with the multidimensional code formed on the Y polarization state to form a modulated signal;

发送单元,具体用于发送所述调制信号。The sending unit is specifically configured to send the modulated signal.

本发明实施例第六方面提供一种接收端,所述接收端包括:According to the sixth aspect of the embodiments of the present invention, a receiving end is provided, and the receiving end includes:

接收单元,用于接收所述多维码;其中,所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;A receiving unit, configured to receive the multidimensional code; wherein, the dimension of the multidimensional code is 2*N; the N is the number of symbols included in one multidimensional code; one multidimensional code includes N*k-1 Information bits and 1 parity check bit; said k is the number of bits included in each said symbol;

解调单元,用于解调所述多维码,获取所述多维码中的N*k-1个信息比特。A demodulation unit, configured to demodulate the multi-dimensional code, and obtain N*k-1 information bits in the multi-dimensional code.

优选地,Preferably,

所述解调单元,包括:The demodulation unit includes:

采样模块,用于对包括至少一个所述多维码的接收信号进行采样,获得样值序列;A sampling module, configured to sample a received signal including at least one of the multi-dimensional codes to obtain a sequence of sample values;

第二分组模块,用于对所述样值序列进行分组,形成包括N个样值的第三分组;其中,所述N表示的每一个多维码的符号数;The second grouping module is configured to group the sequence of samples to form a third group including N samples; wherein, the number of symbols of each multi-dimensional code represented by N;

解映射模块,用于对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;A demapping module, configured to demap the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include 1 bit parity bits;

校验模块,用于将所述N*k比特进行奇偶校验;A check module, configured to perform parity check on the N*k bits;

输出模块,用于利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。An output module, configured to output the N*k-1 information bits in the multi-dimensional code after making a decision by using the verification result.

优选地,Preferably,

所述校验模块,具体用于将所述N*k比特中的所述N*k-1信息比特进行模二加运算,得到运算结果;及当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。The verification module is specifically used to perform a modulo-two addition operation on the N*k-1 information bits in the N*k bits to obtain an operation result; and when the operation result and the parity bit If they are consistent, it is confirmed that the verification is passed, otherwise the verification is not passed.

优选地,Preferably,

所述接收端还包括:The receiver also includes:

判决模块,用于在所述对每一个所述第三分组包括的N个样值进行解映射之前,将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;A judging module, configured to judge the N samples in each of the third groups using the first Euclidean distance before demapping the N samples included in each of the third groups , forming a judgment result;

所述解映射模块,具体用于依据所述判决结果进行解映射。The demapping module is specifically configured to perform demapping according to the decision result.

优选地,Preferably,

所述判决模块,还用于当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。The judging module is further configured to judge the N samples in each of the third groups using a second Euclidean distance when the check fails; wherein the first Euclidean distance is smaller than the Second Euclidean distance.

优选地,Preferably,

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

分开单元,用于在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。The separation unit is used to divide the received signal into two received signals before sampling the received signal to obtain the sample value sequence; wherein, one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state.

本发明实施例所述的多维码处理方法、发送端、接收端和系统,在进行多维码的调制时,在每一个多维码内均携带有奇偶校验比特,从而相对于多维码间的奇偶校验,多维码的维度仅决定于多维码包括的符号数,从而可简便的通过调整每一个多维码包括的符号数来实现多维码维度扩展的灵活调整。与此同时,采用这种方法进行多维码的调制和解决,应用于双偏振态的多维码调制过程中,分别形成双偏振态上的多维码,两个偏振态的多维码之间没有关联关系,从而不具有偏振态关联,从而接收端可以采用现有技术进行解调。The multi-dimensional code processing method, sending end, receiving end and system described in the embodiments of the present invention, when performing multi-dimensional code modulation, all carry parity check bits in each multi-dimensional code, so as to compare the parity between multi-dimensional codes For verification, the dimension of the multidimensional code is only determined by the number of symbols included in the multidimensional code, so that the flexible adjustment of the dimension expansion of the multidimensional code can be realized simply by adjusting the number of symbols included in each multidimensional code. At the same time, this method is used to modulate and solve multi-dimensional codes. It is applied to the multi-dimensional code modulation process of dual polarization states to form multi-dimensional codes on dual polarization states respectively. There is no correlation between the multi-dimensional codes of the two polarization states. , so that there is no polarization state correlation, so that the receiving end can use the existing technology for demodulation.

附图说明Description of drawings

图1为一种偏振态关联的四维码调制方法的流程示意图;Fig. 1 is a schematic flow chart of a four-dimensional code modulation method associated with a polarization state;

图2为本发明实施例所述的第一种多维码处理方法的流程示意图;2 is a schematic flow chart of the first multi-dimensional code processing method described in the embodiment of the present invention;

图3为本发明实施例所述的第二种多维码处理方法的流程示意图;Fig. 3 is a schematic flow chart of the second multi-dimensional code processing method described in the embodiment of the present invention;

图4为本发明实施例所述的第三种多维码处理方法的流程示意图;Fig. 4 is a schematic flow chart of the third multi-dimensional code processing method described in the embodiment of the present invention;

图5为本发明实施例所述的多维码的调制方法的流程示意图;FIG. 5 is a schematic flowchart of a multidimensional code modulation method according to an embodiment of the present invention;

图6为本发明实施例所述的第三种多维码处理方法的流程示意图;FIG. 6 is a schematic flowchart of a third multidimensional code processing method described in an embodiment of the present invention;

图7为本发明实施例所述的多维码解调方法的流程示意图;FIG. 7 is a schematic flowchart of a multi-dimensional code demodulation method according to an embodiment of the present invention;

图8为本发明实施例所述的多维码处理系统的结构示意图;FIG. 8 is a schematic structural diagram of a multi-dimensional code processing system according to an embodiment of the present invention;

图9为本发明实施例所述的发送端的结构示意图;FIG. 9 is a schematic structural diagram of a sending end according to an embodiment of the present invention;

图10为本发明实施例所述的调制单元的结构示意图;FIG. 10 is a schematic structural diagram of a modulation unit according to an embodiment of the present invention;

图11为本发明实施例所述的接收端的结构示意图;FIG. 11 is a schematic structural diagram of a receiving end according to an embodiment of the present invention;

图12为本发明实施例所述的解调单元的结构示意图;FIG. 12 is a schematic structural diagram of a demodulation unit according to an embodiment of the present invention;

图13为本发明示例所述的多维码调制解调的示意流程图之一;Fig. 13 is one of the schematic flowcharts of multi-dimensional code modulation and demodulation described in the example of the present invention;

图14为本发明示例所述的多维码调制解调的示意流程图之二;Fig. 14 is the second schematic flowchart of multi-dimensional code modulation and demodulation described in the example of the present invention;

图15为本发明示例所述的多维码处理的效果示意图。Fig. 15 is a schematic diagram of the effect of the multi-dimensional code processing described in the example of the present invention.

具体实施方式detailed description

以下结合说明书附图及具体实施例对本发明的技术方案做进一步的详细阐述。The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

方法实施例一:Method embodiment one:

如图2所示,本实施例提供一种多维码处理方法,所述方法包括:As shown in Figure 2, this embodiment provides a multi-dimensional code processing method, the method comprising:

步骤S101:发送端依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;Step S101: The sending end forms a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 parity check bit; the k is the number of bits included in each symbol;

步骤S102:发送端发送所述多维码;Step S102: the sending end sends the multi-dimensional code;

步骤S103:接收端接收所述多维码;Step S103: the receiving end receives the multi-dimensional code;

步骤S104:接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。Step S104: The receiving end demodulates the multi-dimensional code, and obtains N*k-1 information bits in the multi-dimensional code.

在本实施例中发送端形成的多维码,包括N*k个比特;其中,每一个多维码均包括一个奇偶校验比特,该比特可用于该多维码的校验,从而不用像现有技术中在双偏振态的数据进行校验。In this embodiment, the multi-dimensional code formed by the sending end includes N*k bits; wherein, each multi-dimensional code includes a parity check bit, which can be used for the verification of the multi-dimensional code, so that there is no need to The data in the double polarization state are verified.

本实施例所述的多维码调制方法可以应用于单偏振态调制,也可以应用于如现有技术中所述的双偏振态的多维码处理;采用这种方法进行双偏振态的多维码处理时,形成的每一个偏振态上的多维码之间不会产生偏振态关联,从而能够方便后续接收端的解调,且在本实施例中可以通过控制所述N的大小实现多维码的维数的灵活调整。The multidimensional code modulation method described in this embodiment can be applied to single polarization state modulation, and can also be applied to multidimensional code processing of dual polarization states as described in the prior art; this method is used for multidimensional code processing of dual polarization states When , there will be no polarization state correlation between the formed multi-dimensional codes on each polarization state, so that the demodulation at the subsequent receiving end can be facilitated, and in this embodiment, the dimension of the multi-dimensional code can be realized by controlling the size of N flexible adjustment.

在本实施例中一个所述多维码的维数等于2*N;由于所述符号为复符号;每一个所述复符号包括实部和虚部;且实部和虚部通常对应着不同的维度,从而一个所述多维码的维数为2*N。显然可以通过控制调制过程中N的大小,实现多维码维数的灵活控制。In the present embodiment, the dimension of one described multi-dimensional code is equal to 2*N; Because described symbol is complex symbol; Each described complex symbol comprises real part and imaginary part; And real part and imaginary part usually correspond to different Dimensions, so the dimension of one multi-dimensional code is 2*N. Obviously, the flexible control of the multi-dimensional code dimension can be realized by controlling the size of N in the modulation process.

进一步地,如图3所示,所述步骤S101可包括:Further, as shown in FIG. 3, the step S101 may include:

步骤S310:获取输入信息序列;Step S310: Obtain an input information sequence;

步骤S320:对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;Step S320: grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence;

步骤S330:对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;通常可以将所述奇偶检验比特作为所述第二分组中的最后一个比特;Step S330: Perform parity check coding on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1 parity bit; usually The parity bit may be used as the last bit in the second packet;

步骤S340:将所述第二分组依次映射为N个符号。Step S340: sequentially map the second group into N symbols.

所述输入信息序列通常为代表有指定意义的01序列;具体如0001010100。在步骤S320中依次对所述输入信息序列进行分组。若当前所述输入信息序列包括16个比特;每一个所述第一分组包括4个比特;则将形成4个第一分组;其中,第1个第一分组包括的是所述输入信息序列中第0比特至第3比特;第2个第一分组包括的是所述输入信息序列中第4比特至第7比特。此处,所述输入信息序列中各个比特的计数是从0开始的。The input information sequence is usually a 01 sequence representing a designated meaning; specifically, 0001010100. In step S320, the input information sequence is grouped sequentially. If the current input information sequence includes 16 bits; each of the first packets includes 4 bits; then 4 first packets will be formed; wherein, the first first packet includes the input information sequence The 0th bit to the 3rd bit; the second first packet includes the 4th bit to the 7th bit in the input information sequence. Here, the counting of each bit in the input information sequence starts from 0.

在本实施例中每一个所述第一分组包括N*k-1个信息比特;其中,N表示的每一个多维码包括的符号数;如当一个多维码包括两个符号时,所述N等于2;k则表示了每一个符号包括的比特数。In this embodiment, each of the first groups includes N*k-1 information bits; wherein, the number of symbols that each multidimensional code represented by N includes; as when a multidimensional code includes two symbols, the N Equal to 2; k represents the number of bits included in each symbol.

在本实施例中还包括步骤S330可具体包括将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;及将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。采用这种方法进行奇偶校验编码具有实现简便的优点。This embodiment also includes step S330, which may specifically include performing a modulo two summation operation on each bit in the first group to obtain the parity bits; and adding the parity bits to the second In one group, the second group is formed. Using this method for parity-check coding has the advantage of being easy to implement.

在本实施例中所述的模二求和为将所述第一分组中的各个比特进行异或操作。例如 1 ⊕ 0 ⊕ 1 ⊕ 0 = 0,1 ⊕ 0 ⊕ 1 ⊕ 1 = 1 . 所述为异或操作符。The modulo two summation described in this embodiment is to perform an XOR operation on each bit in the first group. For example 1 ⊕ 0 ⊕ 1 ⊕ 0 = 0,1 ⊕ 0 ⊕ 1 ⊕ 1 = 1 . said is an exclusive OR operator.

在步骤S340中将第二分组依次映射为N个符号,此处,具体如进行星座图映射或格雷映射等,得到多维码。通常形成的多维码中前N*k-1个比特为所述信息比特,第N*k个比特为所述奇偶校验比特;这样能够方便后续接收端对信息比特和奇偶校验比特的区分。In step S340, the second group is sequentially mapped into N symbols. Here, specifically, constellation mapping or gray mapping is performed to obtain a multi-dimensional code. In the usually formed multidimensional code, the first N*k-1 bits are the information bits, and the N*kth bit is the parity bit; this can facilitate subsequent receivers to distinguish information bits and parity bits .

本实施例提供了一种具体如何执行步骤S101的方法,具有实现简便易行的优点。This embodiment provides a specific method of how to execute step S101, which has the advantage of being simple and easy to implement.

作为本实施例的进一步改进,如图3所示,所述步骤S104可包括:As a further improvement of this embodiment, as shown in FIG. 3, the step S104 may include:

步骤S350:对包括至少一个多维码的接收信号进行采样,获得样值序列;Step S350: Sampling the received signal including at least one multi-dimensional code to obtain a sequence of samples;

步骤S360:对所述样值序列进行分组,形成包括N个样值的第三分组;其中,所述N表示的每一个多维码的符号数;Step S360: grouping the sequence of samples to form a third group comprising N samples; wherein, N represents the number of symbols of each multi-dimensional code;

步骤S370:对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;Step S370: Demap the N samples included in each third group to obtain N*k bits; wherein, the N*k bits in the third group include 1 bit of parity parity bit;

步骤S380:将所述N*k比特进行奇偶校验,形成校验结果;Step S380: performing a parity check on the N*k bits to form a check result;

步骤S390:利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。当所述奇偶校验比特为所述第二分组及所述多维码中的最后一个比特时,则在步骤S390中为输出多维码中的前N*k-1个比特,即为输出所述信息比特。Step S390: output the N*k-1 information bits in the multi-dimensional code after making a decision by using the verification result. When the parity bit is the last bit in the second group and the multidimensional code, then in step S390, output the first N*k-1 bits in the multidimensional code, that is, output the information bits.

在本实施例中因为每一个多维码均单独携带有奇偶校验比特,故在进行奇偶校验时,是对每一个多维码进行奇偶校验;根据奇偶校验可以知道第三分组对应的比特信息在传输过程中或在接收端的信号处理过程中,是否出现问题,进而在进行符号判决采取相应的对策提高解调出正确的信息比特的概率。In this embodiment, because each multi-dimensional code is all separately carried parity check bits, so when performing parity check, it is to carry out parity check to each multi-dimensional code; according to the parity check, the corresponding bit of the third group can be known Whether there is a problem in the process of information transmission or in the process of signal processing at the receiving end, and then take corresponding countermeasures to improve the probability of demodulating correct information bits in symbol judgment.

在步骤S390中将根据奇偶校验结果进行接收信号是为1或为0等判决,判决之后输出所述信息比特。In step S390, it is judged whether the received signal is 1 or 0 according to the result of the parity check, and the information bits are output after the judgment.

显然在本实施例中进行信号解调时,具有实现简便的优点,且任意两个多维码内的比特没有关联性,从而不需要进行多维码之间内部的比特关联性处理,从而能够直接利用现有技术中的解调结构进行上述解调。Obviously, when signal demodulation is performed in this embodiment, it has the advantage of easy implementation, and the bits in any two multi-dimensional codes have no correlation, so there is no need to perform internal bit correlation processing between multi-dimensional codes, so that it can directly use The demodulation structure in the prior art performs the demodulation described above.

首先,本发明实施例提供了一种多维码的处理方法,该多维码处理方法形成的多维码,均单独包括至少一个比特的奇偶校验比特,从而方便接收端依据多维码自身携带的奇偶校验比特进行多维码的校验,从而应用于双偏振态调制时,不会导致需要将X偏振态和Y偏振态上的多维码联合校验的问题,从而不会导致相干接收中因联合校验导致的解调失效的问题。First, the embodiment of the present invention provides a method for processing multi-dimensional codes. The multi-dimensional codes formed by the multi-dimensional code processing method all individually include at least one parity bit, so that Check bits for multi-dimensional code verification, so that when it is applied to dual polarization state modulation, it will not cause the problem of joint verification of multi-dimensional codes on X polarization state and Y polarization state, so that it will not cause joint calibration in coherent reception. The problem of demodulation failure caused by the test.

方法实施例二:Method embodiment two:

如图4所示,本实施例提供一种本实施例提供一种多维码调制方法,所述方法包括:As shown in FIG. 4, this embodiment provides a multi-dimensional code modulation method. The method includes:

步骤S110:依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;Step S110: According to the input information sequence, form a multi-dimensional code with a dimension of 2*N; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 A parity check bit; Said k is the number of bits that each said symbol comprises;

步骤S120:发送所述多维码。Step S120: Send the multidimensional code.

在本实施例形成的多维码中自身携带一个奇偶校验比特,这样在接收端能够直接根据多维码自身携带的这个奇偶校验比特进行校验,而不用从其他多维码或其他信息中获取校验比特,从而能够简便实现多维码的校验。The multi-dimensional code formed in this embodiment carries a parity bit, so that the receiving end can directly perform verification according to the parity bit carried by the multi-dimensional code itself, without obtaining the parity bit from other multi-dimensional codes or other information. check bits, so that the multi-dimensional code check can be easily realized.

如图5所示,所述步骤S110具体可包括:As shown in Figure 5, the step S110 may specifically include:

步骤S111:获取输入信息序列;Step S111: Obtain an input information sequence;

步骤S112:对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;Step S112: grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence;

步骤S113:对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;Step S113: performing parity check coding on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1 bit of parity;

步骤S114:将所述第二分组依次映射为N个符号;Step S114: sequentially mapping the second group into N symbols;

所述输入信息序列通常为代表有指定意义的01序列;具体如0001010100。The input information sequence is usually a 01 sequence representing a designated meaning; specifically, 0001010100.

在步骤S112中使依次对所述输入信息序列进行分组。若当前所述输入信息序列包括16个比特;每一个所述第一分组包括4个比特;则将形成4个第一分组;其中,第1个第一分组包括的是所述输入信息序列中第0比特至第3比特;第2个第一分组包括的是所述输入信息序列中第4比特至第7比特。此处,所述输入信息序列中各个比特的计数是从0开始的。In step S112, the input information sequence is grouped sequentially. If the current input information sequence includes 16 bits; each of the first packets includes 4 bits; then 4 first packets will be formed; wherein, the first first packet includes the input information sequence The 0th bit to the 3rd bit; the second first packet includes the 4th bit to the 7th bit in the input information sequence. Here, the counting of each bit in the input information sequence starts from 0.

在本实施例中每一个所述第一分组包括N*k-1个信息比特;其中,N表示的每一个多维码包括的符号数;如当一个多维码包括两个符号时,所述N等于2;k则表示了每一个符号包括的比特数。In this embodiment, each of the first groups includes N*k-1 information bits; wherein, the number of symbols that each multidimensional code represented by N includes; as when a multidimensional code includes two symbols, the N Equal to 2; k represents the number of bits included in each symbol.

在本实施例中还包括步骤S113,对每一个所述第一分组进行奇偶校验编码;将形成比所述第一分组多1个比特的第二分组;第二分组中比第一分组中多出来的该比特为第一分组中各个比特进行奇偶校验得到的奇偶校验比特。In this embodiment, step S113 is also included, performing parity-check coding on each of the first groups; a second group with one bit more than the first group will be formed; the second group is more than the first group. The extra bits are the parity check bits obtained by performing parity check on each bit in the first group.

在步骤S114中将第二分组依次映射为N个符号,此处,具体如进行星座图映射或格雷映射等,得到多维码。In step S114, the second group is sequentially mapped into N symbols. Here, specifically, constellation mapping or Gray mapping is performed to obtain a multi-dimensional code.

本实施例所述的多维码调制方法可以应用于单偏振态调制,也可以应用于如现有技术中所述的双偏振态调制;采用这种方法进行双偏振态调制时,形成的每一个偏振态上的多维码之间不会产生偏振态关联,从而能够方便后续接收端直接采用现有方法进行解调,从而具有与现有技术兼容性佳的优点。且在本实施例中可以通过控制所述N的大小实现多维码的维数的灵活调整。The multi-dimensional code modulation method described in this embodiment can be applied to single polarization modulation, and can also be applied to dual polarization modulation as described in the prior art; when using this method for dual polarization modulation, each formed There is no polarization state correlation between the multi-dimensional codes on the polarization state, so that it is convenient for the subsequent receiving end to directly adopt the existing method for demodulation, thus having the advantage of good compatibility with the existing technology. And in this embodiment, the flexible adjustment of the dimension of the multi-dimensional code can be realized by controlling the size of N.

在本实施例中一个所述多维码的维数等于2*N;由于所述符号为复符号;每一个所述复符号包括实部和虚部;且实部和虚部通常对应着不同的维度,从而一个所述多维码的维数为2*N。显然可以通过控制调制过程中N的大小,实现多维码维数的灵活控制。In the present embodiment, the dimension of one described multi-dimensional code is equal to 2*N; Because described symbol is complex symbol; Each described complex symbol comprises real part and imaginary part; And real part and imaginary part usually correspond to different Dimensions, so the dimension of one multi-dimensional code is 2*N. Obviously, the flexible control of the multi-dimensional code dimension can be realized by controlling the size of N in the modulation process.

具体地,所述步骤S113可包括:将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;及将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。采用这种方法进行奇偶校验编码具有实现简便的优点。Specifically, the step S113 may include: performing a modulo two summation operation on each bit in the first group to obtain the parity bits; and adding the parity bits to the first group , forming the second group. Using this method for parity-check coding has the advantage of being easy to implement.

在本实施例中所述的模二求和为将所述第一分组中的各个比特进行异或操作。例如 1 ⊕ 0 ⊕ 1 ⊕ 0 = 0,1 ⊕ 0 ⊕ 1 ⊕ 1 = 1 . 所述为异或操作符。The modulo two summation described in this embodiment is to perform an XOR operation on each bit in the first group. For example 1 ⊕ 0 ⊕ 1 ⊕ 0 = 0,1 ⊕ 0 ⊕ 1 ⊕ 1 = 1 . said is an exclusive OR operator.

本实施例所述的方法可以应用于单偏振态编码,也可以应用于双偏振态编码;当应用于双偏振态编码时,所述方法还包括:将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;及发送所述调制信号。The method described in this embodiment can be applied to single polarization state encoding, and can also be applied to dual polarization state encoding; when applied to dual polarization state encoding, the method further includes: forming the multi-dimensional code on the X polarization state and correlating the multi-dimensional code formed on the Y polarization state to form a modulated signal; and sending the modulated signal.

形成X偏振态上的多维码和形成Y偏振态上的多维码都采用上述步骤S110至步骤S114;为了实现偏振态联合调制,在本实施例中还将两个偏振态上的多维码进行关联,得到一个调制信号,以提高传输效率。显然在本实施例中X偏振态和Y偏振态内具体多维码的比特构成,彼此之间没有关联关系,即X偏振态和Y偏振态之间没有偏振关联,故在接收端可以采用现有的相干接收结构进行一个信号到两个偏振态上信号的分离,与现有技术有很强的兼容性。The formation of the multidimensional code on the X polarization state and the formation of the multidimensional code on the Y polarization state both adopt the above steps S110 to step S114; in order to realize the joint modulation of the polarization state, in this embodiment, the multidimensional codes on the two polarization states are also associated , to get a modulated signal to improve transmission efficiency. Obviously, in this embodiment, the bit configuration of the specific multi-dimensional code in the X polarization state and the Y polarization state has no correlation with each other, that is, there is no polarization correlation between the X polarization state and the Y polarization state, so the existing The coherent receiving structure separates one signal into two polarization states, and has strong compatibility with the prior art.

进一步地,所述调制信号为光信号;所述发送所述调制信号包括:将所述光信号耦合到光信号信道中。所述光信号信道具体如光纤形成的光信号信道等。Further, the modulation signal is an optical signal; the sending the modulation signal includes: coupling the optical signal into an optical signal channel. The optical signal channel is specifically, for example, an optical signal channel formed by an optical fiber.

本实施例所述的多维码调制方法可应用于各种类型的通信,尤其适用于光纤通信过程中。The multi-dimensional code modulation method described in this embodiment can be applied to various types of communication, and is especially suitable for optical fiber communication.

方法实施例三:Method embodiment three:

如图6所示,本实施例提供一种多维码解调方法,所述方法包括:As shown in Figure 6, this embodiment provides a multi-dimensional code demodulation method, the method comprising:

步骤S210:接收所述多维码;所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;Step S210: Receive the multi-dimensional code; the dimension of the multi-dimensional code is 2*N; the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 A parity check bit; Said k is the number of bits that each said symbol comprises;

步骤S220:解调所述多维码,获取所述多维码中的所述N*k-1个信息比特。Step S220: Demodulate the multi-dimensional code to obtain the N*k-1 information bits in the multi-dimensional code.

本实施例接收的多维码同样时自身写到奇偶校验码的多维码,这样多维码本身就能实现校验,从而具有校验简便的优点。The multi-dimensional code received in this embodiment is also written to the multi-dimensional code of the parity code at the same time, so that the multi-dimensional code itself can be verified, thus having the advantage of simple verification.

该方法是与方法实施例二中的多维码调制方法,通常是成对或成套适用的。This method is usually applied in pairs or in sets with the multi-dimensional code modulation method in Method Embodiment 2.

如图7所示,所述步骤S220可包括:As shown in Figure 7, the step S220 may include:

步骤S221:对接收信号进行采样,获得样值序列;Step S221: Sampling the received signal to obtain a sequence of sample values;

步骤S222:对所述样值序列进行分组,形成包括N个样值的第三分组;Step S222: grouping the sequence of samples to form a third group including N samples;

步骤S223:对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;通常所述奇偶校验比特为所述N*k个比特中的最后一个比特。Step S223: Demap the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include 1 bit of parity parity bit; usually the parity bit is the last bit in the N*k bits.

步骤S224:将所述N*k比特进行奇偶校验,形成校验结果;Step S224: performing a parity check on the N*k bits to form a check result;

步骤S225:利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。Step S225: output the N*k-1 information bits in the multi-dimensional code after making a judgment by using the verification result.

在步骤S211中具体如何进行采样,形成采样序列可以参见现有技术,在此就不再详细介绍了。How to perform sampling and form a sampling sequence in step S211 can refer to the prior art, and will not be described in detail here.

在步骤S222中形成的第三分组包括N个样值;而此处的每一个样值对应于方法实施例一中的一个符号;每一个样值包括k个比特。The third group formed in step S222 includes N samples; here, each sample corresponds to a symbol in Method Embodiment 1; each sample includes k bits.

在步骤S223中的解映射与方法实施例二中的符号映射方式相关,通常是接收端和发送端预先协商好的或基于某种通信协议确定,具体如何进行解映射可以参见现有技术中各种方式的解映射,在此就不再详细介绍。The demapping in step S223 is related to the symbol mapping method in the second method embodiment, which is usually pre-negotiated between the receiving end and the sending end or determined based on a certain communication protocol. For details on how to perform demapping, please refer to various aspects in the prior art. There are two ways of demapping, which will not be introduced in detail here.

在本实施例中因为每一个多维码均单独携带有奇偶校验比特,故在进行奇偶校验时,是对每一个多维码进行奇偶校验;根据奇偶校验可以知道第三分组对应的比特信息在传输过程中或在接收端的信号处理过程中,是否出现问题,若出现问题将会进入异常处理流程,具体如出现大量错误时,是否请求重传或重写进行接收端的某一些信号处理。In this embodiment, because each multi-dimensional code is all separately carried parity check bits, so when performing parity check, it is to carry out parity check to each multi-dimensional code; according to the parity check, the corresponding bit of the third group can be known Whether there is a problem during the transmission of the information or in the signal processing process of the receiving end, if there is a problem, it will enter the abnormal processing process, specifically if there are a large number of errors, whether to request retransmission or rewriting for certain signal processing at the receiving end.

当是依据所述奇偶校验比特进行验证,形成校验结果;所述校验结果为后续进行符号判决提供依据,以提高解调出正确的信息比特的概率。When the verification is performed based on the parity bits, a verification result is formed; the verification result provides a basis for subsequent symbol judgment, so as to improve the probability of demodulating correct information bits.

显然在本实施例中进行信号解调时,具有实现简便的优点,且任意两个多维码内的比特没有关联性,从而不需要进行多维码之间内部的比特关联性处理,从而能够直接利用现有技术中的解调结构进行上述解调。Obviously, when signal demodulation is performed in this embodiment, it has the advantage of easy implementation, and the bits in any two multi-dimensional codes have no correlation, so there is no need to perform internal bit correlation processing between multi-dimensional codes, so that it can directly use The demodulation structure in the prior art performs the demodulation described above.

进一步地,所述步骤S224可包括:将所述N*k比特中的N*k-1信息比特进行模二加运算,得到运算结果;及当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。通常所述信息比特为N*k比特中的前N*k比特。Further, the step S224 may include: performing a modulo two addition operation on the N*k-1 information bits in the N*k bits to obtain an operation result; and when the operation result is consistent with the parity bit , confirm that the verification passes, otherwise the verification fails. Usually, the information bits are the first N*k bits among the N*k bits.

在方法实施例二中进行奇偶校验编码的方式有多种,其中通过对第一分组中各个比特的模二加运是其中的一种,故在本实施例进行校验时,将第三分组中的N*k-1信息比特进行模二加运算,并将结果与奇偶校验比特进行比较来实现奇偶检验;这种方式具有实现简便的优点。There are many ways to perform parity check coding in the method embodiment 2, wherein the addition of modulo 2 to each bit in the first group is one of them, so when performing check in this embodiment, the third The N*k-1 information bits in the packet are subjected to modulo two addition operation, and the result is compared with the parity check bits to realize the parity check; this method has the advantage of simple implementation.

在具体实现时,在执行步骤S223之前,所述方法还包括:In a specific implementation, before performing step S223, the method also includes:

将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;Using the first Euclidean distance to judge the N samples in each of the third groups to form a judgment result;

所述对每一个所述第三分组包括的N个样值进行解映射,包括:The demapping the N samples included in each of the third groups includes:

依据所述判决结果进行解映射。Demapping is performed according to the decision result.

这里每一个样值在坐标系上对应一个点;在坐标系内还包括理想点;首先计算样值与理想点之间的欧式距离;将计算得到的欧式距离与预先设定的第一欧式距离进行比较,来确定每一个样值对应的序列。Here, each sample value corresponds to a point on the coordinate system; the ideal point is also included in the coordinate system; firstly, the Euclidean distance between the sample value and the ideal point is calculated; the calculated Euclidean distance and the preset first Euclidean distance A comparison is made to determine the sequence corresponding to each sample value.

在本实施例中采用第一欧式距离进行判决;在解映射时是根据判决结果进行解映射。在判决的过程中可能会因为信号衰落等问题,导致判决结果不准确的问题,进而将导致后续奇偶校验中的不一致。In this embodiment, the first Euclidean distance is used for judgment; during demapping, demapping is performed according to the judgment result. During the judgment process, problems such as signal fading may lead to inaccurate judgment results, which in turn will lead to inconsistencies in subsequent parity checks.

针对上述问题,在本实施例中所述方法还包括:For the above problems, the method described in this embodiment also includes:

当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。When the verification fails, the N samples in each of the third groups are judged by using a second Euclidean distance; wherein, the first Euclidean distance is smaller than the second Euclidean distance.

第二欧式距离大于第一欧式距离,以第二欧式距离进行判决,得到的判决将可能不同于利用第一欧式距离的到判决结果,依据第二距离得到的判决结果再次进入步骤S224和S225可能得到正确的解调信息;这样的处理方式,可以调高解调正确率以及减少重传等问题。The second Euclidean distance is greater than the first Euclidean distance, and the judgment is made with the second Euclidean distance, and the judgment obtained may be different from the judgment result obtained by using the first Euclidean distance, and the judgment result obtained according to the second distance may enter step S224 and S225 again. Obtain correct demodulation information; this processing method can increase the demodulation accuracy rate and reduce retransmission and other problems.

本实施例接收端接收的信号可能是单偏振态信号,还可能是双偏振态信号,故在本实施例中,所述方法还包括:In this embodiment, the signal received by the receiving end may be a single polarization signal or a dual polarization signal, so in this embodiment, the method further includes:

在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。Before sampling the received signal and obtaining the sample value sequence, the received signal is divided into two received signals; one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state state receiving signal.

通常X偏振态和Y偏振态是两个相互垂直的偏振态,在实施例中在执行步骤S210至步骤S250之前可以采用相干接收等方法将一个接收信号,分成X偏振态和Y偏振态上的两个接收信号,然后单独采用步骤S210至步骤S250对每一个接收信号进行解调,显然两个偏振态的信号之间没有偏振态关联,从而不会出现失效的问题。Generally, the X polarization state and the Y polarization state are two mutually perpendicular polarization states. In an embodiment, a method such as coherent reception can be used to divide a received signal into the X polarization state and the Y polarization state before performing steps S210 to S250. The two received signals are then independently demodulated by steps S210 to S250. Obviously, there is no polarization state correlation between the two polarization state signals, so the problem of failure will not occur.

设备实施例一:Equipment embodiment one:

如图8所示,本实施例提供一种多维码处理系统,所述系统包括:As shown in Figure 8, this embodiment provides a multi-dimensional code processing system, the system includes:

发送端101,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;及发送所述多维码;所述k为每一个所述符号包括的比特数;The sending end 101 is used to form a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 pieces of information bit and 1 parity bit; and sending the multi-dimensional code; the k is the number of bits included in each symbol;

接收端102,用于接收所述多维码;及接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。The receiving end 102 is configured to receive the multi-dimensional code; and the receiving end demodulates the multi-dimensional code to obtain N*k-1 information bits in the multi-dimensional code.

本实施例所述的系统可以用于为方法实施例一中的所述的多维码处理提供硬件结构,能够实现方法实施例一中任意所述的技术方案,从而具有能够根据多维码自身携带的奇偶校验比特对多维码进行校验的优点,且在应用于双偏振态时,不会导致X偏振态和Y偏振态上相互干扰导致解调失效的问题;且多维码的维度仅取决于多维码包括的符号数,显然本实施例所述的装置是一个能够灵活控制多维码维度的系统。The system described in this embodiment can be used to provide a hardware structure for the multi-dimensional code processing described in the first method embodiment, and can realize any of the technical solutions described in the first method embodiment, thereby having the ability to carry according to the multi-dimensional code itself The advantages of parity check bits for multi-dimensional code verification, and when applied to dual polarization states, it will not cause mutual interference between X polarization state and Y polarization state to cause demodulation failure; and the dimension of multi-dimensional codes only depends on The number of symbols included in the multi-dimensional code, obviously, the device described in this embodiment is a system capable of flexibly controlling the dimension of the multi-dimensional code.

所述发送端101,具体用于获取输入信息序列;对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;及将所述第二分组依次映射为N个符号。The sending end 101 is specifically configured to obtain an input information sequence; group the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence; for each The first group is subjected to parity encoding to obtain a second group comprising N*k bits; wherein, the N*k bits include a parity bit of 1 bit; and the second group is Mapped to N symbols in turn.

所述接收端102,具体用于对包括至少一个多维码的接收信号进行采样,获得样值序列;对所述样值序列进行分组,形成包括N个样值的第三分组;对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;将所述N*k比特进行奇偶校验,形成校验结果;利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。The receiving end 102 is specifically configured to sample a received signal including at least one multi-dimensional code to obtain a sample value sequence; group the sample value sequence to form a third group including N sample values; The N samples included in the third group are demapped to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit; the Parity check is performed on N*k bits to form a check result; after judgment is made using the check result, the N*k-1 information bits in the multi-dimensional code are output.

在本实施例中所述多维码可以应用光信号传输系统中,这样所述接收端101和接收端102之间是通过光导连接的,具体如通过千兆光纤连接的。In this embodiment, the multi-dimensional code can be applied in an optical signal transmission system, so that the receiving end 101 and the receiving end 102 are connected through a light guide, specifically, through a gigabit optical fiber.

本实施例所述的发送端101为形成所述多维码且发送包括至少一个多维码的信号的装置,具体如光信号发送机。所述接收端102可为接收所述多维码,并解调所述多维码的装置,具体如光信号接收机等结构。The sending end 101 in this embodiment is a device that forms the multi-dimensional code and sends a signal including at least one multi-dimensional code, specifically an optical signal transmitter. The receiving end 102 may be a device for receiving the multi-dimensional code and demodulating the multi-dimensional code, specifically a structure such as an optical signal receiver.

设备实施例二:Equipment embodiment two:

如图9所示,本实施例提供发送端,所述装置包括:As shown in Figure 9, this embodiment provides a sending end, and the device includes:

调制单元110,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The modulation unit 110 is configured to form a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 pieces of information bit and 1 parity check bit; The k is the number of bits included in each of the symbols;

发送单元120,用于发送所述多维码。The sending unit 120 is configured to send the multi-dimensional code.

所述调制单元110可包括处理器或处理芯片和存储介质;所述处理器或处理芯片和存储介质之间通过总线连接。所述存储介质上存储有可执行代码;所述处理器或处理芯片通过读取并运行所述可执行代码,可以实现包括信息比特和奇偶校验比特的多维码的调制。The modulation unit 110 may include a processor or a processing chip and a storage medium; the processor or processing chip and the storage medium are connected through a bus. Executable codes are stored on the storage medium; the processor or processing chip can realize modulation of multi-dimensional codes including information bits and parity bits by reading and running the executable codes.

所述发送单元120可包括通信接口,用于发送包括所述多维码的信号。具体如发送信号是基于所述多维码形成的信号。The sending unit 120 may include a communication interface for sending the signal including the multi-dimensional code. Specifically, for example, the sending signal is a signal formed based on the multi-dimensional code.

本实施例的所述发送端中所述调制单元,可为现有技术中调制芯片,所述发送单元可为光信号通信接口;为方法实施例二所述的多维码处理方法提供了实现硬件。The modulation unit in the sending end of this embodiment can be a modulation chip in the prior art, and the sending unit can be an optical signal communication interface; hardware is provided for the multi-dimensional code processing method described in the second embodiment of the method .

进一步地,如图10所示,所述调制单元包括:Further, as shown in Figure 10, the modulation unit includes:

获取模块111,用于获取输入信息序列;An acquisition module 111, configured to acquire an input information sequence;

第一分组模块112,用于对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;The first grouping module 112 is configured to group the input information sequence to obtain a first group including N*k-1 information bits continuously distributed in the input information sequence;

校验编码模块113,用于对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;A check encoding module 113, configured to perform parity check encoding on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1 bit of parity parity bit;

映射模块114,用于将所述第二分组依次映射为N个符号;A mapping module 114, configured to sequentially map the second group into N symbols;

所述获取模块111的具体结构可包括信息接收接口,具体如接收接口,如从外设接收信息;具体如有线或无线接收接口;无线接收接口可包括接收天线;所述有线接收接口可包括电缆接口或光缆接口。所述获取模块111还可包括人机交互接口,如触控屏或键盘、鼠标等方式输入用户指示进而转换成的所述输入信息序列。所述输入信息序列具体可包括01序列。The specific structure of the acquisition module 111 may include an information receiving interface, such as a receiving interface, such as receiving information from an external device; specifically, a wired or wireless receiving interface; the wireless receiving interface may include a receiving antenna; the wired receiving interface may include a cable interface or optical cable interface. The acquisition module 111 may also include a human-computer interaction interface, such as a touch screen, keyboard, mouse, etc. to input user instructions and then convert the input information sequence. The input information sequence may specifically include a 01 sequence.

所述第一分组模块112、校验编码模块113及映射模块114的具体结构可包括处理器和存储介质;所述处理器和存储介质之间通过总线连接。所述存储介质上存储有可执行代码;所述处理器通过读取并运行所述可执行代码可以执行上述第一分组模块112、校验编码模块113及映射模块114对应的功能。所述第一分组模块112、校验编码模块113及映射模块114可以单独对应不同的处理器,也可以集成对应于同一处理器。当集成对应于同一处理器时,所述处理器采用时分复用或并发线程的方式执行第一分组模块112、校验编码模块113及映射模块114的功能。所述处理器可以为应用处理器AP、数字信号处理器DSP、可编程阵列PLC、微处理器MCU或忠言处理器CUP等具有信号能力的处理结构。The specific structures of the first grouping module 112, the parity-check encoding module 113 and the mapping module 114 may include a processor and a storage medium; the processor and the storage medium are connected through a bus. Executable codes are stored on the storage medium; the processor can execute functions corresponding to the above-mentioned first grouping module 112 , check encoding module 113 and mapping module 114 by reading and running the executable codes. The first grouping module 112, the check encoding module 113 and the mapping module 114 may correspond to different processors individually, or may be integrated and correspond to the same processor. When the integration corresponds to the same processor, the processor executes the functions of the first grouping module 112 , the check encoding module 113 and the mapping module 114 in a manner of time division multiplexing or concurrent threads. The processor may be a processing structure with signal capabilities such as an application processor AP, a digital signal processor DSP, a programmable array PLC, a microprocessor MCU, or a warning processor CUP.

本实施例所述的发送端,在进行多维码调制时每一个多维码均自行包括奇偶校验比特,而不用进行多维码之间的奇偶校验,从而应用于双偏振态的多维码调制过程中,不会产生多维码之间的关联即产生偏振态的关联,从而能够利用现有的相干解调等结构进行本装置生成的多维码的解调,从而具有与现有技术兼容性强的优点。The transmitting end described in this embodiment, when performing multi-dimensional code modulation, each multi-dimensional code includes parity check bits by itself, without performing parity checks between multi-dimensional codes, so as to be applied to the multi-dimensional code modulation process of dual polarization states In this method, there will be no correlation between multi-dimensional codes, that is, the correlation of polarization states, so that the existing coherent demodulation and other structures can be used to demodulate the multi-dimensional codes generated by this device, thus having strong compatibility with the existing technology advantage.

显然本实施例所述多维码的维度等于2*N,显然仅决定多维码包括符号数;显然可以通过调整符号数可以灵活控制多维码的维度。Apparently the dimension of the multidimensional code in this embodiment is equal to 2*N, obviously only the number of symbols included in the multidimensional code is determined; obviously the dimension of the multidimensional code can be flexibly controlled by adjusting the number of symbols.

进一步地,所述校验编码模块113,具体用于将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;及将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。Further, the check encoding module 113 is specifically configured to perform a modulo two summation operation on the bits in the first group to obtain the parity bits; and add the parity bits to the In the first group, the second group is formed.

本实施例所述奇偶校验比特模块113具体可包括各种形式的逻辑门电路组成的处理芯片,可以进行所述模二求和运算。本实施例进一步的细化了所述校验编码模块113的结构,具有结构简单的优点。The parity bit module 113 in this embodiment may specifically include a processing chip composed of logic gate circuits in various forms, and may perform the modulo-2 summation operation. This embodiment further refines the structure of the verification coding module 113, which has the advantage of a simple structure.

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

关联单元,用于将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;an associating unit, configured to associate the multidimensional code formed on the X polarization state with the multidimensional code formed on the Y polarization state to form a modulated signal;

发送单元,具体用于发送所述调制信号。The sending unit is specifically configured to send the modulated signal.

所述关联单元为将不同偏振态上的多维码合并成一个调制符号的功能结构,具体如何实现多维码之间的关联可以参见现有技术,在此就不再展开了。The association unit is a functional structure that combines multi-dimensional codes on different polarization states into one modulation symbol. For details on how to realize the association between multi-dimensional codes, please refer to the prior art, which will not be elaborated here.

本实施例中所述发送端,可以应用于电信号的调制,也可以应用于光信号的调制,在本实施例中可选为光信号的调制,则此时形成的所述调制信号为光信号;发送所述调制信号包括将光信号耦合到光信号信道中,具体如光纤中。故在此时,所述发送单元可包括光纤耦合器,用于将调制号的光信号耦合到光信号信道中。The sending end described in this embodiment can be applied to the modulation of electrical signals, and can also be applied to the modulation of optical signals. In this embodiment, the modulation of optical signals can be selected, and the modulation signal formed at this time is signal; sending the modulated signal includes coupling the optical signal into an optical signal channel, specifically into an optical fiber. Therefore, at this time, the sending unit may include a fiber coupler for coupling the optical signal of the modulation signal into the optical signal channel.

综合上述本实施例所述的发送端为方法实施例二所述的多维码调制方法提供了实现硬件,同样的具有多维码维度扩展灵活性佳及与现有技术兼容性强的优点。In summary, the sending end described in this embodiment provides hardware for implementing the multi-dimensional code modulation method described in the second embodiment of the method, and also has the advantages of good flexibility in multi-dimensional code dimension expansion and strong compatibility with existing technologies.

设备实施例三:Equipment embodiment three:

如图11所示,本实施例提供一种接收端,所述接收端包括:As shown in FIG. 11, this embodiment provides a receiving end, and the receiving end includes:

接收单元210,用于接收所述多维码;其中,所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The receiving unit 210 is configured to receive the multidimensional code; wherein, the dimension of the multidimensional code is 2*N; the N is the number of symbols included in one multidimensional code; one multidimensional code includes N*k-1 information bits and 1 parity check bit; the k is the number of bits included in each symbol;

解调单元220,用于解调所述多维码,获取所述多维码中的N*k-1个信息比特。The demodulation unit 220 is configured to demodulate the multi-dimensional code and obtain N*k-1 information bits in the multi-dimensional code.

本实施例所述的接收单元210为接收包括所述多维码的通信接口,所述通信接口具体可为如光缆接口等。The receiving unit 210 in this embodiment is to receive the communication interface including the multi-dimensional code, and the communication interface may specifically be, for example, an optical cable interface.

所述解调单元220可包括处理器或处理芯片和存储介质;所述处理器或处理芯片和存储介质之间通过总线连接。所述存储介质上存储有可执行代码;所述处理器或处理芯片通过读取并运行所述可执行代码,可以实现包括信息比特和奇偶校验比特的多维码的解调。The demodulation unit 220 may include a processor or a processing chip and a storage medium; the processor or processing chip and the storage medium are connected through a bus. Executable codes are stored on the storage medium; the processor or processing chip can realize demodulation of multi-dimensional codes including information bits and parity bits by reading and running the executable codes.

如图12所示,所述解调单元,包括:As shown in Figure 12, the demodulation unit includes:

采样模块211,用于对接收信号进行采样,获得样值序列;A sampling module 211, configured to sample the received signal to obtain a sequence of sample values;

第二分组模块222,用于对所述样值序列进行分组,形成包括N个样值的第三分组;The second grouping module 222 is configured to group the sequence of samples to form a third group including N samples;

解映射模块233,用于对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;A demapping module 233, configured to demap the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include 1 bits of parity bits;

校验模块224,用于将所述N*k比特进行奇偶校验;A check module 224, configured to perform parity check on the N*k bits;

输出模块225,用于利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。The output module 225 is configured to output the N*k-1 information bits in the multi-dimensional code after making a decision by using the verification result.

所述采样模块211、第二分组模块222、解映射模块223、校验模块224及输出模块225的具体结构可包括处理器和存储介质;所述处理器和存储介质之间通过总线连接。所述存储介质上存储有可执行代码;所述处理器通过读取并运行所述可执行代码可以执行上述采样模块211、第二分组模块222、解映射模块223、校验模块224及输出模块225对应的功能。The specific structures of the sampling module 211, the second grouping module 222, the demapping module 223, the verification module 224 and the output module 225 may include a processor and a storage medium; the processor and the storage medium are connected through a bus. Executable code is stored on the storage medium; the processor can execute the sampling module 211, the second grouping module 222, the demapping module 223, the verification module 224 and the output module by reading and running the executable code 225 corresponding function.

所述采样模块211、第二分组模块222、解映射模块223、校验模块224及输出模块225可以单独对应不同的处理器,也可以集成对应于同一处理器。当集成对应于同一处理器时,所述处理器采用时分复用或并发线程的方式执行所述采样模块211、第二分组模块222、解映射模块223、校验模块224及输出模块225的功能。所述处理器可以为应用处理器AP、数字信号处理器DSP、可编程阵列PLC、微处理器MCU或忠言处理器CUP等具有信号能力的处理结构。The sampling module 211 , the second grouping module 222 , the demapping module 223 , the verification module 224 and the output module 225 may correspond to different processors individually, or may be integrated and correspond to the same processor. When the integration corresponds to the same processor, the processor executes the functions of the sampling module 211, the second grouping module 222, the demapping module 223, the verification module 224 and the output module 225 in the form of time division multiplexing or concurrent threads . The processor may be a processing structure with signal capabilities such as an application processor AP, a digital signal processor DSP, a programmable array PLC, a microprocessor MCU, or a warning processor CUP.

本实施例所述的接收端进行多维码解调时可以沿用至少部分现有技术中的解调结构,通过所述校验模块基于多维码自身携带奇偶检验比特进行校验,无需进行X和Y偏振态的多维码之间的关联校验,从而不会出现解调失效的问题;且所述多维码的维度决定该多维码携带的符号数,可以通过符号数的控制灵活的调控所述多维码的温度。When the receiving end described in this embodiment performs multidimensional code demodulation, at least part of the demodulation structure in the prior art can be used, and the verification module is used to perform verification based on the parity check bits carried by the multidimensional code itself, without X and Y Correlation verification between multi-dimensional codes of polarization states, so that there will be no problem of demodulation failure; and the dimension of the multi-dimensional code determines the number of symbols carried by the multi-dimensional code, and the multi-dimensional code can be flexibly regulated through the control of the number of symbols code temperature.

进一步地,所述校验模块224,具体用于将所述N*k比特中的所述N*k-1信息比特进行模二加运算,得到运算结果;及当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。通常所述N*k比特中的前N*k-1比特为所述信息比特,最后一个比特为所述奇偶校验比特。Further, the verification module 224 is specifically configured to perform a modulo-two addition operation on the N*k-1 information bits in the N*k bits to obtain an operation result; and when the operation result and the When the parity bits are consistent, it is confirmed that the verification is passed, otherwise the verification is not passed. Usually, the first N*k-1 bits among the N*k bits are the information bits, and the last bit is the parity bit.

本实施例校验模块224的具体包括具有模二加运算的计算器或具有模二加运算功能的处理器等结构。本实施例在上述的基础上进一步具体化了所述校验模块224的结构。In this embodiment, the verification module 224 specifically includes structures such as a calculator with a modulo-two-add operation or a processor with a modulo-two-add operation function. This embodiment further specifies the structure of the checking module 224 on the basis of the above.

所述接收端还包括:The receiver also includes:

判决模块,用于在所述对每一个所述第三分组包括的N个样值进行解映射之前,将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;A judging module, configured to judge the N samples in each of the third groups using the first Euclidean distance before demapping the N samples included in each of the third groups , forming a judgment result;

所述解映射模块,具体用于依据所述判决结果进行解映射。The demapping module is specifically configured to perform demapping according to the decision result.

本实施例所述的判决模块可包括计算器或具有计算功能处理器,所述计算器用于计算样值与理想值之间的实际欧式距离,还可包括比较器将实际欧式距离与第一欧式距离进行比较,并根据比较结果形成判决结果。The decision module described in this embodiment may include a calculator or a processor with a calculation function, the calculator is used to calculate the actual Euclidean distance between the sample value and the ideal value, and may also include a comparator to compare the actual Euclidean distance with the first Euclidean distance. The distances are compared and a judgment is formed based on the comparison results.

所述解映射模块的结构可以参见本实施例的前述部分,在此就不再重复了。For the structure of the demapping module, reference may be made to the foregoing part of this embodiment, and will not be repeated here.

所述判决模块,还用于当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。The judging module is further configured to judge the N samples in each of the third groups using a second Euclidean distance when the check fails; wherein the first Euclidean distance is smaller than the Second Euclidean distance.

判决模块根据当前是第几次判决,选定形成判决结果的欧式距离;在本实施例中第二欧式距离大于第一欧式距离。显然所述判决模块可以采用不同欧式距离确定判决结果,能够提高解调的正确率。The judgment module selects the Euclidean distance for forming the judgment result according to the current number of judgments; in this embodiment, the second Euclidean distance is greater than the first Euclidean distance. Apparently, the judgment module can use different Euclidean distances to determine the judgment result, which can improve the correct rate of demodulation.

本实施例所述的装置可用于单偏振态的多维码的解调,也可以应用于双偏振态的多维码的解调;当应用于双偏振态的多维码解调时,所述接收端还包括:The device described in this embodiment can be used for the demodulation of multi-dimensional codes of single polarization state, and can also be applied to the demodulation of multi-dimensional codes of dual polarization states; when applied to the demodulation of multi-dimensional codes of dual polarization states, the receiving end Also includes:

分开单元,用于在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。The separation unit is used to divide the received signal into two received signals before sampling the received signal to obtain the sample value sequence; wherein, one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state.

所述分开单元的具体结构同样可对应于处理器;所述处理器通过代码执行能够实现将一束信号分成具有一定偏振角度差异分别对应于X偏振态和Y偏振态的多个接收信号。所述处理器的结构可参见本实施例的前述部分,在此就不再重复了。The specific structure of the separating unit may also correspond to a processor; the processor can divide a beam of signals into multiple received signals with certain polarization angle differences corresponding to the X polarization state and the Y polarization state through code execution. For the structure of the processor, reference may be made to the foregoing part of this embodiment, and will not be repeated here.

本实施例所述的解调装置可用于电信号解调也可用于光信号的解调,在本实施例中可选为光信号解调装置。The demodulation device described in this embodiment can be used for demodulation of electrical signals or optical signals, and can be selected as an optical signal demodulation device in this embodiment.

以下结合上述任一实施例提供几个具体示例:Several specific examples are provided below in combination with any of the above-mentioned embodiments:

示例一:Example one:

如图13所示,以偏振复用正交相移键控(PM-QPSK)为基础,在两个偏振态上各自通过引入二符号校验(此处,所述二符号校验表示一个多维码包括2个符号),使二维的QPSK调制扩展为四维调制,其频谱效率和光信噪比OSNR性能等效于现有的PS-QPSK。具体实施过程包括以下步骤:As shown in Figure 13, based on polarization multiplexed quadrature phase shift keying (PM-QPSK), the two polarization states are respectively introduced by two-symbol parity (here, the two-symbol parity represents a multi-dimensional The code includes 2 symbols), so that the two-dimensional QPSK modulation is extended to a four-dimensional modulation, and its spectral efficiency and optical signal-to-noise ratio (OSNR) performance are equivalent to the existing PS-QPSK. The specific implementation process includes the following steps:

步骤301及步骤302:输入以3比特为一组的随机二进制序列,每次将输入的3比特进行模二求和得到校验比特,并将获得该校验比特添加到输入的3比特后形成4比特分组,完成奇偶校验编码。此处,所述随机二进制序列相当于包括3个比特的第一分组。所述4比特分组即上述的第二分组。Step 301 and Step 302: Input a random binary sequence with 3 bits as a group, perform modulo two summation of the input 3 bits each time to obtain the check bit, and add the obtained check bit to the input 3 bits to form 4-bit grouping to complete the parity code. Here, the random binary sequence corresponds to the first packet including 3 bits. The 4-bit group is the above-mentioned second group.

步骤303及步骤304:将输入的4比特分组二进制信号依据格雷映射规律依次映射为两个连续的QPSK符号,每个QPSK符号含2比特信息。Step 303 and Step 304: sequentially map the input 4-bit grouped binary signal into two consecutive QPSK symbols according to the Gray mapping rule, and each QPSK symbol contains 2-bit information.

步骤305:将步骤303、304的输出分别作为PM-QPSK调制器的两个正交偏振态上的调制数据,两个偏振态上的光信号经偏振合束后输入到光纤信道中。Step 305: The outputs of steps 303 and 304 are respectively used as modulation data on two orthogonal polarization states of the PM-QPSK modulator, and the optical signals on the two polarization states are input into the optical fiber channel after polarization combining.

步骤306:从光纤信道中接收光信号并进行解调,经过相干接收数字信号处理分别得到两个偏振态上的QPSK符号样值序列。Step 306: Receive and demodulate the optical signal from the optical fiber channel, and obtain the QPSK symbol sample sequence on the two polarization states through coherent received digital signal processing.

步骤307及步骤308:将输入的QPSK符号样值序列进行分组,每次完成2个符号样值的判决;具体地,依据最小欧氏距离准则分别求出两个符号的最大似然判决星座点,将两个判决符号对应的比特进行校验。若校验通过,则认为判决正确;若校验不符,则认为这两个符号中偏离判决星座点距离更大的符号判决错误,将该符号改判为次小欧氏距离星座点。Step 307 and Step 308: Group the input QPSK symbol sample value sequences into groups, and complete the judgment of two symbol sample values each time; specifically, calculate the maximum likelihood judgment constellation points of the two symbols according to the minimum Euclidean distance criterion , check the bits corresponding to the two decision symbols. If the verification is passed, it is considered that the judgment is correct; if the verification does not match, it is considered that the judgment of the symbol with a larger distance from the judgment constellation point among the two symbols is wrong, and the judgment of the symbol is changed to the second smallest Euclidean distance constellation point.

此处,所述最小欧式距离相当于上述实施例中的第一欧式距离;所述次小欧式距离相当于上述实施例中的第二欧式距离。Here, the minimum Euclidean distance is equivalent to the first Euclidean distance in the above embodiment; the second smallest Euclidean distance is equivalent to the second Euclidean distance in the above embodiment.

示例二:Example two:

如图14所示,以偏振复用正交相移键控(PM-QPSK)为基础,在两个偏振态上各自通过引入四符号校验,使二维的QPSK调制扩展为八维调制。具体实施过程包括以下步骤:As shown in Figure 14, based on polarization multiplexed quadrature phase shift keying (PM-QPSK), four-symbol parity is introduced in each of the two polarization states, so that the two-dimensional QPSK modulation is extended to eight-dimensional modulation. The specific implementation process includes the following steps:

步骤401及步骤402:输入以7比特为一组的随机二进制序列,每次将输入的7比特进行模二求和得到校验比特,并将校验位添加到输入的7比特后形成8比特分组,完成奇偶校验编码。Step 401 and Step 402: Input a random binary sequence with 7 bits as a group, perform modulo two summation of the input 7 bits each time to obtain the parity bit, and add the parity bit to the input 7 bits to form 8 bits Grouping to complete parity coding.

步骤403及步骤404:将输入的8比特分组二进制信号依据格雷映射规律依次映射为四个连续的QPSK符号,每个QPSK符号含2比特信息。Step 403 and Step 404: sequentially map the input 8-bit grouped binary signal into four consecutive QPSK symbols according to the Gray mapping rule, and each QPSK symbol contains 2-bit information.

步骤405:将步骤403、404的输出分别作为PM-QPSK调制器的两个正交偏振态上的调制数据,两个偏振态上的光信号经偏振合束后输入到光纤信道中。Step 405: The outputs of steps 403 and 404 are respectively used as modulation data on two orthogonal polarization states of the PM-QPSK modulator, and the optical signals on the two polarization states are input into the optical fiber channel after polarization combining.

步骤406:从光纤信道中接收光信号并进行解调,经过相干接收数字信号处理分别得到两个偏振态上的QPSK符号样值序列。Step 406: Receive and demodulate the optical signal from the optical fiber channel, and obtain the QPSK symbol sample sequence on the two polarization states through coherent received digital signal processing.

步骤407及步骤408:将输入的QPSK符号样值序列进行分组,每次完成四个符号样值的判决;具体地,依据最小欧氏距离准则分别求出四个符号的最大似然判决星座点,将四个判决符号对应的全部比特信息进行奇偶校验。若校验通过,则认为判决正确;若校验不符,则认为这四个符号中偏离判决星座点距离更大的符号判决错误,将该符号改判为次小欧氏距离星座点。Step 407 and Step 408: group the input QPSK symbol sample value sequence, and complete the judgment of four symbol sample values each time; specifically, calculate the maximum likelihood decision constellation points of the four symbols according to the minimum Euclidean distance criterion , performing a parity check on all the bit information corresponding to the four decision symbols. If the verification is passed, the judgment is considered correct; if the verification does not match, it is considered that the judgment of the symbol with a larger distance from the judgment constellation point among the four symbols is wrong, and the judgment of the symbol is changed to a constellation point with the second smallest Euclidean distance.

图15所示的为示例一和示例二对接收端的接收信号质量的仿真效果图。FIG. 15 is a simulation effect diagram of the received signal quality of a pair of receivers in Example 1 and Example 2.

以30GBaud符号速率(120Gbps比特速率)的PM-QPSK系统背靠背仿真性能为参考系统,考察误码率为10-3时系统所需光信噪比(OSNR)条件,可以看出多维调制系统的频谱效率和OSNR性能的改善具体如下:Taking the back-to-back simulation performance of PM-QPSK system with 30GBaud symbol rate (120Gbps bit rate) as the reference system, and examining the optical signal-to-noise ratio (OSNR) conditions required by the system when the bit error rate is 10 -3 , it can be seen that the spectrum of the multi-dimensional modulation system The improvements in efficiency and OSNR performance are as follows:

1)30Gbaud符号速率的二符号校验QPSK系统相对参考系统的OSNR要求降低约2.2dB;1) The OSNR requirement of the two-symbol check QPSK system with a 30Gbaud symbol rate is about 2.2dB lower than that of the reference system;

2)40Gbaud符号速率(120Gbps有效比特速率)的二符号校验QPSK系统相对参考系统的OSNR要求降低约0.9dB;2) The OSNR requirement of the two-symbol check QPSK system with a 40Gbaud symbol rate (120Gbps effective bit rate) is reduced by about 0.9dB relative to the reference system;

3)30Gbaud符号速率的四符号校验QPSK系统相对参考系统的OSNR要求降低约1.55dB;3) The OSNR requirement of the four-symbol check QPSK system with a 30Gbaud symbol rate is reduced by about 1.55dB relative to the reference system;

4)34.285Gbaud符号速率(120Gbps有效比特速率)的四符号校验QPSK系统相对参考系统的OSNR要求降低约1dB。4) The OSNR requirement of the four-symbol check QPSK system with a symbol rate of 34.285Gbaud (effective bit rate of 120Gbps) is reduced by about 1dB relative to the reference system.

本实施例所述的多维码调制解调方法,还可以基于PM-16QAM进行设计,例如二符号校验16QAM为四维调制,频谱效率和OSNR性能等效于现有的128-SP-QAM;三符号校验16QAM为六维调制,进一步优化了系统的频谱效率和OSNR性能。The multi-dimensional code modulation and demodulation method described in this embodiment can also be designed based on PM-16QAM, for example, the two-symbol check 16QAM is a four-dimensional modulation, and the spectral efficiency and OSNR performance are equivalent to the existing 128-SP-QAM; The symbol check 16QAM is a six-dimensional modulation, which further optimizes the spectral efficiency and OSNR performance of the system.

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

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

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing module, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the foregoing method embodiments; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. A medium on which program code can be stored.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (27)

1.一种多维码处理方法,其特征在于,所述方法包括:1. A multidimensional code processing method, characterized in that the method comprises: 发送端依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The sending end forms a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 Parity check bits; The k is the number of bits included in each of the symbols; 发送端发送所述多维码;The sending end sends the multi-dimensional code; 接收端接收所述多维码;The receiving end receives the multi-dimensional code; 接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。The receiving end demodulates the multi-dimensional code, and obtains N*k-1 information bits in the multi-dimensional code. 2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein, 所述发送端依据输入信息序列,形成维度为2*N的多维码,包括:The sending end forms a multi-dimensional code with a dimension of 2*N according to the input information sequence, including: 获取输入信息序列;Get the input information sequence; 对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence; 对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;Parity-check encoding is performed on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1-bit parity bits; 将所述第二分组依次映射为N个符号。and sequentially mapping the second group into N symbols. 3.根据权利要求1所述的方法,其特征在于,3. The method of claim 1, wherein, 所述接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特,包括:The receiving end demodulates the multi-dimensional code, and obtains N*k-1 information bits in the multi-dimensional code, including: 对包括至少一个多维码的接收信号进行采样,获得样值序列;Sampling a received signal including at least one multidimensional code to obtain a sequence of samples; 对所述样值序列进行分组,形成包括N个样值的第三分组;grouping the sequence of samples to form a third group comprising N samples; 对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;所述k为每一个所述符号包括的比特数;Demapping the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit ; The k is the number of bits included in each of the symbols; 将所述N*k比特进行奇偶校验,形成校验结果;performing a parity check on the N*k bits to form a check result; 利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。After the verification result is used to make a decision, the N*k-1 information bits in the multi-dimensional code are output. 4.一种多维码处理方法,其特征在于,所述方法包括:4. A multidimensional code processing method, characterized in that said method comprises: 依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;According to the input information sequence, a multidimensional code with a dimension of 2*N is formed; wherein, said N is the number of symbols included in one said multidimensional code; one said multidimensional code includes N*k-1 information bits and 1 parity check bit; said k is the number of bits included in each said symbol; 发送所述多维码。Send the multidimensional code. 5.根据权利要求5所述的方法,其特征在于,5. The method of claim 5, wherein, 所述依据输入信息序列,形成维度为2*N的多维码,包括:According to the input information sequence, forming a multi-dimensional code with a dimension of 2*N includes: 获取输入信息序列;Get the input information sequence; 对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;grouping the input information sequence to obtain a first group comprising N*k-1 information bits continuously distributed in the input information sequence; 对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;Parity-check encoding is performed on each of the first packets to obtain a second packet including N*k bits; wherein, the N*k bits include 1-bit parity bits; 将所述第二分组依次映射为N个符号。and sequentially mapping the second group into N symbols. 6.根据权利要求4所述的方法,其特征在于,6. The method of claim 4, wherein, 所述对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组,包括:Performing parity-check coding on each of the first packets to obtain a second packet including N*k bits, including: 将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;performing a modulo two summation operation on the bits in the first group to obtain the parity bits; 将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。The parity bits are added to the first packet to form the second packet. 7.根据权利要求4所述的方法,其特征在于,7. The method of claim 4, wherein, 所述方法还包括:The method also includes: 将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;associating the multidimensional code formed on the X polarization state with the multidimensional code formed on the Y polarization state to form a modulated signal; 发送所述调制信号。Send the modulated signal. 8.根据权利要求7所述的方法,其特征在于,8. The method of claim 7, wherein, 所述调制信号为光信号;The modulation signal is an optical signal; 所述发送所述调制信号包括:The sending the modulated signal includes: 将所述光信号耦合到光信号信道中。The optical signal is coupled into an optical signal channel. 9.一种多维码处理方法,其特征在于,所述方法包括:9. A multidimensional code processing method, characterized in that said method comprises: 接收端接收所述多维码;所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;The receiving end receives the multi-dimensional code; the dimension of the multi-dimensional code is 2*N; the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 Parity check bits; The k is the number of bits included in each of the symbols; 接收端解调所述多维码,获取所述多维码中的所述N*k-1个信息比特。The receiving end demodulates the multi-dimensional code, and acquires the N*k-1 information bits in the multi-dimensional code. 10.根据权利要求9所述的方法,其特特征在于,10. The method according to claim 9, characterized in that, 所述接收端解调所述多维码,获取所述多维码中的所述N*k-1个信息比特,包括:The receiving end demodulates the multi-dimensional code, and obtains the N*k-1 information bits in the multi-dimensional code, including: 对包括至少一个多维码的接收信号进行采样,获得样值序列;Sampling a received signal including at least one multidimensional code to obtain a sequence of samples; 对所述样值序列进行分组,形成包括N个样值的第三分组;grouping the sequence of samples to form a third group comprising N samples; 对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;Demapping the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit ; 将所述N*k比特进行奇偶校验,形成校验结果;performing a parity check on the N*k bits to form a check result; 利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。After the verification result is used to make a decision, the N*k-1 information bits in the multi-dimensional code are output. 11.根据权利要求9所述的方法,其特征在于,11. The method of claim 9, wherein, 所述将所述N*k比特进行奇偶校验,形成校验结果,包括:The parity check of the N*k bits is performed to form a check result, including: 将所述N*k比特中的前N*k-1比特进行模二加运算,得到运算结果;Carrying out a modulo two addition operation on the first N*k-1 bits in the N*k bits to obtain an operation result; 当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。When the operation result is consistent with the parity bits, it is confirmed that the verification is passed, otherwise the verification is not passed. 12.根据权利要求10所述的方法,其特征在于,12. The method of claim 10, wherein, 在所述对每一个所述第三分组包括的N个样值进行解映射之前,所述方法还包括:Before demapping the N samples included in each of the third groups, the method further includes: 将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;Using the first Euclidean distance to judge the N samples in each of the third groups to form a judgment result; 所述对每一个所述第三分组包括的N个样值进行解映射,包括:The demapping the N samples included in each of the third groups includes: 依据所述判决结果进行解映射。Demapping is performed according to the decision result. 13.根据权利要求12所述的方法,其特征在于,13. The method of claim 12, wherein, 所述方法还包括:The method also includes: 当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。When the verification fails, the N samples in each of the third groups are judged by using a second Euclidean distance; wherein, the first Euclidean distance is smaller than the second Euclidean distance. 14.根据权利要求13所述的方法,其特征在于,14. The method of claim 13, wherein, 所述方法还包括:The method also includes: 在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。Before sampling the received signal and obtaining the sample value sequence, the received signal is divided into two received signals; one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state state receiving signal. 15.一种多维码处理系统,其特征在于,所述系统包括:15. A multidimensional code processing system, characterized in that the system comprises: 发送端,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;及发送所述多维码;所述k为每一个所述符号包括的比特数;The sending end is used to form a multidimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one said multidimensional code; one said multidimensional code includes N*k-1 information bits and 1 parity bit; and sending the multi-dimensional code; the k is the number of bits included in each symbol; 接收端,用于接收所述多维码;及接收端解调所述多维码,获取所述多维码中的N*k-1个信息比特。The receiving end is configured to receive the multi-dimensional code; and the receiving end demodulates the multi-dimensional code to obtain N*k-1 information bits in the multi-dimensional code. 16.根据权利要求15所述的系统,其特征在于,16. The system of claim 15, wherein: 所述发送端,具体用于获取输入信息序列;对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;及将所述第二分组依次映射为N个符号。The sending end is specifically used to obtain an input information sequence; group the input information sequence to obtain a first group including N*k-1 information bits continuously distributed in the input information sequence; Perform parity check encoding on the first group to obtain a second group comprising N*k bits; wherein, the N*k bits include a parity bit of 1 bit; and the second group is sequentially Maps to N symbols. 17.根据权利要求15所述的系统,其特征在于,17. The system of claim 15, wherein: 所述接收端,具体用于对包括至少一个多维码的接收信号进行采样,获得样值序列;对所述样值序列进行分组,形成包括N个样值的第三分组;对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;将所述N*k比特进行奇偶校验,形成校验结果;利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。The receiving end is specifically configured to sample a received signal including at least one multidimensional code to obtain a sequence of samples; group the sequence of samples to form a third group including N samples; for each of the The N samples included in the third group are demapped to obtain N*k bits; wherein, the N*k bits in the third group include a parity bit of 1 bit; the N Perform parity check on *k bits to form a check result; after using the check result to make a judgment, output the N*k-1 information bits in the multi-dimensional code. 18.一种发送端,其特征在于,所述发送端包括:18. A sending end, characterized in that, the sending end includes: 调制单元,用于依据输入信息序列,形成维度为2*N的多维码;其中,所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;A modulation unit, configured to form a multi-dimensional code with a dimension of 2*N according to the input information sequence; wherein, the N is the number of symbols included in one multi-dimensional code; one multi-dimensional code includes N*k-1 information bits and 1 parity check bit; said k is the number of bits included in each said symbol; 发送单元,用于发送所述多维码。A sending unit, configured to send the multi-dimensional code. 19.根据权利要求18所述的发送端,其特征在于,19. The sending end according to claim 18, characterized in that, 所述调制单元,包括:The modulation unit includes: 获取模块,用于获取输入信息序列;An acquisition module, configured to acquire an input information sequence; 第一分组模块,用于对所述输入信息序列进行分组,得到包括所述输入信息序列中连续分布的N*k-1个信息比特的第一分组;A first grouping module, configured to group the input information sequence to obtain a first group including N*k-1 information bits continuously distributed in the input information sequence; 校验编码模块,用于对每一个所述第一分组进行奇偶校验编码,得到包括N*k个比特的第二分组;其中,所述N*k个比特中包括1个比特的奇偶校验比特;A check encoding module, configured to perform parity check encoding on each of the first groups to obtain a second group comprising N*k bits; wherein, the N*k bits include 1 bit of parity test bit; 映射模块,用于将所述第二分组依次映射为N个符号。A mapping module, configured to sequentially map the second group into N symbols. 20.根据权利要求19所述的发送端,其特征在于,20. The sending end according to claim 19, characterized in that, 所述校验编码模块,具体用于将所述第一分组中的各比特进行模二求和运算,得到所述奇偶校验比特;及将所述奇偶校验比特添加到所述第一分组中,形成所述第二分组。The check coding module is specifically configured to perform a modulo two summation operation on each bit in the first group to obtain the parity bits; and add the parity bits to the first group , forming the second group. 21.根据权利要求18所述的发送端,其特征在于,21. The sending end according to claim 18, characterized in that, 所述装置还包括:The device also includes: 关联单元,用于将X偏振态上形成所述多维码与所述Y偏振态上形成的所述多维码进行关联,形成一个调制信号;an associating unit, configured to associate the multidimensional code formed on the X polarization state with the multidimensional code formed on the Y polarization state to form a modulated signal; 发送单元,具体用于发送所述调制信号。The sending unit is specifically configured to send the modulated signal. 22.一种接收端,其特征在于,所述接收端包括:22. A receiving end, characterized in that the receiving end includes: 接收单元,用于接收所述多维码;其中,所述多维码的维度为2*N;所述N为一个所述多维码包括的符号数;一个所述多维码包括N*k-1个信息比特和1个奇偶检验比特;所述k为每一个所述符号包括的比特数;A receiving unit, configured to receive the multidimensional code; wherein, the dimension of the multidimensional code is 2*N; the N is the number of symbols included in one multidimensional code; one multidimensional code includes N*k-1 Information bits and 1 parity check bit; the k is the number of bits included in each symbol; 解调单元,用于解调所述多维码,获取所述多维码中的N*k-1个信息比特。A demodulation unit, configured to demodulate the multi-dimensional code, and obtain N*k-1 information bits in the multi-dimensional code. 23.根据权利要求22所述的接收端,其特征在于,23. The receiving end according to claim 22, characterized in that, 所述解调单元,包括:The demodulation unit includes: 采样模块,用于对包括至少一个所述多维码的接收信号进行采样,获得样值序列;A sampling module, configured to sample a received signal including at least one of the multi-dimensional codes to obtain a sequence of sample values; 第二分组模块,用于对所述样值序列进行分组,形成包括N个样值的第三分组;其中,所述N表示的每一个多维码的符号数;The second grouping module is configured to group the sequence of samples to form a third group including N samples; wherein, the number of symbols of each multi-dimensional code represented by N; 解映射模块,用于对每一个所述第三分组包括的N个样值进行解映射,得到N*k个比特;其中,所述第三分组中所述N*k个比特中包括1个比特的奇偶校验比特;A demapping module, configured to demap the N samples included in each of the third groups to obtain N*k bits; wherein, the N*k bits in the third group include 1 bit parity bits; 校验模块,用于将所述N*k比特进行奇偶校验;A check module, configured to perform parity check on the N*k bits; 输出模块,用于利用所述校验结果进行判决后,输出所述多维码中的所述N*k-1信息比特。An output module, configured to output the N*k-1 information bits in the multi-dimensional code after making a decision by using the verification result. 24.根据权利要求23所述的接收端,其特征在于,24. The receiving end according to claim 23, characterized in that, 所述校验模块,具体用于将所述N*k比特中的所述N*k-1信息比特进行模二加运算,得到运算结果;及当所述运算结果与所述奇偶校验比特一致时,确认校验通过,否则校验不通过。The verification module is specifically used to perform a modulo-two addition operation on the N*k-1 information bits in the N*k bits to obtain an operation result; and when the operation result and the parity bit If they are consistent, it is confirmed that the verification is passed, otherwise the verification is not passed. 25.根据权利要求23所述的接收端,其特征在于,25. The receiving end according to claim 23, characterized in that, 所述接收端还包括:The receiver also includes: 判决模块,用于在所述对每一个所述第三分组包括的N个样值进行解映射之前,将所述每一个所述第三分组中的N个样值采用第一欧式距离进行判决,形成判决结果;A judging module, configured to judge the N samples in each of the third groups using the first Euclidean distance before demapping the N samples included in each of the third groups , forming a judgment result; 所述解映射模块,具体用于依据所述判决结果进行解映射。The demapping module is specifically configured to perform demapping according to the decision result. 26.根据权利要求25所述的接收端,其特征在于,26. The receiving end according to claim 25, characterized in that, 所述判决模块,还用于当校验不通过时,将所述每一个所述第三分组中的N个样值采用第二欧式距离进行判决;其中,所述第一欧式距离小于所述第二欧式距离。The judging module is further configured to judge the N samples in each of the third groups using a second Euclidean distance when the check fails; wherein the first Euclidean distance is smaller than the Second Euclidean distance. 27.根据权利要求22所述的接收端,其特征在于,27. The receiving end according to claim 22, characterized in that, 所述装置还包括:The device also includes: 分开单元,用于在对接收信号进行采样,获得样值序列之前,将接收的一束信号分为两个接收信号;其中,一个所述接收信号为对应于X偏振态的接收信号;另一个为对应于Y偏振态的接收信号。The separation unit is used to divide the received signal into two received signals before sampling the received signal to obtain the sample value sequence; wherein, one of the received signals is the received signal corresponding to the X polarization state; the other is the received signal corresponding to the Y polarization state.
CN201510036890.6A 2015-01-23 2015-01-23 Multidimensional code processing method, sending end, receiving end and system Active CN105871505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510036890.6A CN105871505B (en) 2015-01-23 2015-01-23 Multidimensional code processing method, sending end, receiving end and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510036890.6A CN105871505B (en) 2015-01-23 2015-01-23 Multidimensional code processing method, sending end, receiving end and system

Publications (2)

Publication Number Publication Date
CN105871505A true CN105871505A (en) 2016-08-17
CN105871505B CN105871505B (en) 2020-04-28

Family

ID=56623647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510036890.6A Active CN105871505B (en) 2015-01-23 2015-01-23 Multidimensional code processing method, sending end, receiving end and system

Country Status (1)

Country Link
CN (1) CN105871505B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788772A (en) * 2016-12-07 2017-05-31 中国联合网络通信集团有限公司 Multi-dimensional modulation demodulation method and device based on symbol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0848501B1 (en) * 1996-12-10 2003-06-04 Koninklijke Philips Electronics N.V. Digital transmission system and method comprising a product code combined with multidimensional modulation
CN1645752A (en) * 2005-01-21 2005-07-27 清华大学 Coding and decoding scheme for Turbo code and multi-dimensional modulating cascade system
CN102761373A (en) * 2011-04-28 2012-10-31 北京邮电大学 High-speed high-capacity passive optical network system and method for realizing coherent reception
US8873953B2 (en) * 2011-06-17 2014-10-28 Nec Laboratories America, Inc. Multiple-symbol polarization switching for differential-detection modulation formats

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0848501B1 (en) * 1996-12-10 2003-06-04 Koninklijke Philips Electronics N.V. Digital transmission system and method comprising a product code combined with multidimensional modulation
CN1645752A (en) * 2005-01-21 2005-07-27 清华大学 Coding and decoding scheme for Turbo code and multi-dimensional modulating cascade system
CN102761373A (en) * 2011-04-28 2012-10-31 北京邮电大学 High-speed high-capacity passive optical network system and method for realizing coherent reception
US8873953B2 (en) * 2011-06-17 2014-10-28 Nec Laboratories America, Inc. Multiple-symbol polarization switching for differential-detection modulation formats

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106788772A (en) * 2016-12-07 2017-05-31 中国联合网络通信集团有限公司 Multi-dimensional modulation demodulation method and device based on symbol
CN106788772B (en) * 2016-12-07 2019-04-16 中国联合网络通信集团有限公司 Multi-dimensional modulation demodulation method and device based on symbol

Also Published As

Publication number Publication date
CN105871505B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
US10903937B2 (en) Apparatus and method for communicating data over an optical channel
US9106470B2 (en) Enhanced decoding and demapping method and apparatus for QAM data signals
US20150078486A1 (en) Code modulation and demodulation method and apparatus for high order modulation
CN102790747B (en) Mapping method for spacial modulation system
KR101467788B1 (en) Communication method and apparatus using random linear coding
KR102061653B1 (en) Method and apparatus for bit to simbol mapping in wireless communication system
JP3665315B2 (en) Modulation type blind detection method and system
TWI738317B (en) An communication system and method
CN114567534B (en) Soft decision method, soft decision device, computer equipment and computer readable storage medium
EP2695320A1 (en) Signaling data transmission transmitting split signaling data
CN110365414A (en) An Enhanced Optical Spatial Modulation Method Suitable for Log-Normal Turbulent Channels
CN105871505A (en) Multidimensional-code processing method and system, sending terminal and receiving terminal
CN105872605B (en) Signalling coding modulator approach and demodulation coding method based on supercomposed coding
WO2023124890A1 (en) Modulation method, demodulation method and related apparatus
WO2023124892A1 (en) Modulation method, demodulation method and related apparatus
CN116633484A (en) URLLC short packet transmission method, system and medium
CN103117838B (en) TCM-4CPM method for designing and the system of high-performance low complex degree
CN109842423B (en) Method and device for processing multi-antenna received signals
US11336387B2 (en) Wireless communication apparatus, data reception method, and program
WO2019041067A1 (en) Method and device for polar decoding
US20140204982A1 (en) Spreading sequence selection
CN106899532B (en) Signal processing method and device
JP2015186246A (en) Communication system, transmitter, and receiver
CN107493153A (en) Signal detection method and signal receiving device for improving encoding rate searching reliability
TW201419785A (en) Orthogonal frequency division multiplexing system with linear block code

Legal Events

Date Code Title Description
C06 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