[go: up one dir, main page]

CN116094653A - Molecular diffusion communication method, system and storage medium - Google Patents

Molecular diffusion communication method, system and storage medium Download PDF

Info

Publication number
CN116094653A
CN116094653A CN202211671824.2A CN202211671824A CN116094653A CN 116094653 A CN116094653 A CN 116094653A CN 202211671824 A CN202211671824 A CN 202211671824A CN 116094653 A CN116094653 A CN 116094653A
Authority
CN
China
Prior art keywords
data
algorithm
preset
information sequence
molecular diffusion
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.)
Pending
Application number
CN202211671824.2A
Other languages
Chinese (zh)
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.)
South China Normal University
Original Assignee
South China Normal University
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 South China Normal University filed Critical South China Normal University
Priority to CN202211671824.2A priority Critical patent/CN116094653A/en
Publication of CN116094653A publication Critical patent/CN116094653A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B82NANOTECHNOLOGY
    • B82YSPECIFIC USES OR APPLICATIONS OF NANOSTRUCTURES; MEASUREMENT OR ANALYSIS OF NANOSTRUCTURES; MANUFACTURE OR TREATMENT OF NANOSTRUCTURES
    • B82Y10/00Nanotechnology for information processing, storage or transmission, e.g. quantum computing or single electron logic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Nanotechnology (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Error Detection And Correction (AREA)

Abstract

本发明公开了一种分子扩散通信方法、系统及存储介质,应用于通信技术领域,能够有效降低分子扩散通信的误码率,提高分子扩散通信的可靠性。该方法包括:获取待发送的第一信息序列;通过预设所罗门编码算法对第一信息序列进行编码,得到编码数据;通过预设调制算法对编码数据进行调制,得到调制数据;将调制数据输入分子扩散通道进行传输;获取分子扩散通道传输的调制数据,将调制数据输入码间串扰滤波器进行滤波,得到滤波数据;通过预设解调算法对滤波数据进行解调,得到解调数据;预设解调算法与预设调制算法相对应;通过预设所罗门解码算法对解调数据进行解码,得到第二信息序列;预设所罗门解码算法与预设所罗门编码算法相对应。

Figure 202211671824

The invention discloses a molecular diffusion communication method, system and storage medium, which are applied in the technical field of communication, can effectively reduce the bit error rate of the molecular diffusion communication, and improve the reliability of the molecular diffusion communication. The method includes: obtaining the first information sequence to be sent; encoding the first information sequence by a preset Solomon coding algorithm to obtain coded data; modulating the coded data by a preset modulation algorithm to obtain modulated data; inputting the modulated data The molecular diffusion channel is used for transmission; the modulated data transmitted by the molecular diffusion channel is obtained, and the modulated data is input into the intersymbol crosstalk filter for filtering to obtain the filtered data; the filtered data is demodulated by the preset demodulation algorithm to obtain the demodulated data; It is assumed that the demodulation algorithm corresponds to the preset modulation algorithm; the demodulated data is decoded by the preset Solomon decoding algorithm to obtain the second information sequence; the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.

Figure 202211671824

Description

分子扩散通信方法、系统及存储介质Molecular diffusion communication method, system and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种分子扩散通信方法、系统及存储介质。The present invention relates to the technical field of communication, in particular to a molecular diffusion communication method, system and storage medium.

背景技术Background technique

随着5G通信技术的不断蓬勃发展,传统通信在人们的生活中已经随处可见,而且传统通信的发展日益成熟且越发壮大,给人们的生产还有生活提供了非常大的方便。但是传统通信存在其局限性,对于微观网络通信层面,传统通信受限于液体环境或细胞结构与组织器官构成的复杂通信情形等原因,使得传统通信无法有效进行。随着纳米技术和生物工程等技术的发展,现如今可以利用生物材料,制造出微米或者是纳米级别的机器,这类机器具有体积小,生物兼容性好,能量效率高等一些优点,从而可以利用纳米机器来进行信息传输。在微观层面的纳米网络,目前主要是采用纳米磁通信还有分子通信。分子通信目前是一种新的通信方式,主要采用生物化学分子还有一些微小颗粒作为信息载体在流体环境中传输信号来通信。分子通信的应用领域十分广泛,但相关技术中,分子在传输信息时,会受到分子通信过程中的码间串扰和多用户干扰的影响,传输的误码率较高,通信可靠性较低。With the continuous vigorous development of 5G communication technology, traditional communication has been seen everywhere in people's lives, and the development of traditional communication is becoming more and more mature and growing, which provides great convenience for people's production and life. However, traditional communication has its limitations. For the microscopic network communication level, traditional communication is limited by the liquid environment or the complex communication situation composed of cell structures and tissues and organs, which makes traditional communication unable to be carried out effectively. With the development of technologies such as nanotechnology and bioengineering, it is now possible to use biological materials to manufacture micron or nanoscale machines. This type of machine has some advantages such as small size, good biocompatibility, and high energy efficiency, so it can be used nanomachines for information transfer. At the microscopic level, nano-networks mainly use nano-magnetic communication and molecular communication. Molecular communication is currently a new communication method, which mainly uses biochemical molecules and some tiny particles as information carriers to transmit signals in a fluid environment for communication. Molecular communication has a wide range of applications. However, in related technologies, when molecules transmit information, they will be affected by inter-symbol crosstalk and multi-user interference in the molecular communication process. The bit error rate of transmission is high and the communication reliability is low.

发明内容Contents of the invention

为了解决上述技术问题的至少之一,本发明提出一种分子扩散通信方法、系统及存储介质,能够有效降低分子扩散通信的误码率,提高分子扩散通信的可靠性。In order to solve at least one of the above technical problems, the present invention proposes a molecular diffusion communication method, system and storage medium, which can effectively reduce the bit error rate of molecular diffusion communication and improve the reliability of molecular diffusion communication.

一方面,本发明实施例提供了一种分子扩散通信方法,包括以下步骤:On the one hand, an embodiment of the present invention provides a molecular diffusion communication method, including the following steps:

获取待发送的第一信息序列;Obtain the first information sequence to be sent;

通过预设所罗门编码算法对所述第一信息序列进行编码,得到编码数据;Encoding the first information sequence by using a preset Solomon encoding algorithm to obtain encoded data;

通过预设调制算法对所述编码数据进行调制,得到调制数据;Modulating the coded data through a preset modulation algorithm to obtain modulated data;

将所述调制数据输入分子扩散通道进行传输;inputting the modulation data into a molecular diffusion channel for transmission;

获取所述分子扩散通道传输的调制数据,将所述调制数据输入码间串扰滤波器进行滤波,得到滤波数据;Obtaining modulation data transmitted by the molecular diffusion channel, inputting the modulation data into an intersymbol crosstalk filter for filtering, and obtaining filtered data;

通过预设解调算法对所述滤波数据进行解调,得到解调数据;其中,所述预设解调算法与所述预设调制算法相对应;demodulating the filtered data through a preset demodulation algorithm to obtain demodulated data; wherein the preset demodulation algorithm corresponds to the preset modulation algorithm;

通过预设所罗门解码算法对所述解调数据进行解码,得到第二信息序列;其中,所述预设所罗门解码算法与所述预设所罗门编码算法相对应。The demodulated data is decoded by using a preset Solomon decoding algorithm to obtain a second information sequence; wherein, the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.

根据本发明实施例的一种分子扩散通信方法,至少具有如下有益效果:本实施例首先在发送端获取待发送的第一信息序列,并通过预设所罗门编码算法进行编码得到编码数据。接着,本实施例通过预设调制算法对得到的编码数据进行调制得到调制数据,并将得到的调制数据输入分子扩散通道进行传输。同时,本实施例在接收端获取通过分子扩散通道传输的调制数据,并将其输入码间串扰滤波器进行滤波,以缓解分子扩散通信过程中的码间串扰问题。然后,本实施例通过与预设调制算法相对应的解调算法,即预设解调算法,对滤波后得到的滤波数据进行解调,得到解调数据。进一步地,本实施例通过预设所罗门解码算法对解调数据进行解码,从而得到第二信息序列,实现分子扩散通信。并且,本实施例通过对信息序列进行预设所罗门编解码和预设调制解调操作,有效缓解了分子扩散通信过程中的误码问题,有效降低分子扩散通信的误码率,提高分子扩散通信的可靠性。A molecular diffusion communication method according to an embodiment of the present invention has at least the following beneficial effects: In this embodiment, firstly, the first information sequence to be sent is acquired at the sending end, and encoded by a preset Solomon encoding algorithm to obtain encoded data. Next, in this embodiment, the obtained encoded data is modulated by a preset modulation algorithm to obtain modulated data, and the obtained modulated data is input into the molecular diffusion channel for transmission. At the same time, in this embodiment, the modulated data transmitted through the molecular diffusion channel is obtained at the receiving end, and input to an intersymbol crosstalk filter for filtering, so as to alleviate the intersymbol crosstalk problem in the molecular diffusion communication process. Then, in this embodiment, the filtered data obtained after filtering is demodulated by using a demodulation algorithm corresponding to the preset modulation algorithm, that is, the preset demodulation algorithm, to obtain demodulated data. Further, in this embodiment, the demodulated data is decoded by a preset Solomon decoding algorithm, so as to obtain the second information sequence, and realize molecular diffusion communication. Moreover, in this embodiment, by performing preset Solomon codec and preset modulation and demodulation operations on the information sequence, the bit error problem in the molecular diffusion communication process is effectively alleviated, the bit error rate of the molecular diffusion communication is effectively reduced, and the molecular diffusion communication is improved. reliability.

根据本发明的一些实施例,所述预设所罗门编码算法包括截短所罗门编码算法;According to some embodiments of the present invention, the preset Solomon coding algorithm includes a truncated Solomon coding algorithm;

所述通过预设所罗门编码算法对所述第一信息序列进行编码,得到编码数据,包括:The encoding of the first information sequence by using a preset Solomon encoding algorithm to obtain encoded data includes:

确定所述第一信息序列的数据符号个数小于预设符号数,对所述第一信息序列进行零符号填充操作,得到第三信息序列;其中,通过所述零符号填充操作将所述第一信息序列的符号个数补充至所述预设符号数;It is determined that the number of data symbols of the first information sequence is less than the preset number of symbols, and performing a zero symbol padding operation on the first information sequence to obtain a third information sequence; wherein, the first information sequence is filled by the zero symbol padding operation The number of symbols of an information sequence is supplemented to the preset number of symbols;

对所述第三信息序列进行所罗门编码,得到编码中间数据;performing Solomon encoding on the third information sequence to obtain encoded intermediate data;

对所述编码中间数据进行截短操作,得到所述编码数据;其中,所述截短操作将所述零符号填充操作所填充的零符号进行截短。Performing a truncation operation on the encoded intermediate data to obtain the encoded data; wherein, the truncation operation truncates zero symbols filled by the zero symbol filling operation.

根据本发明的一些实施例,所述预设所罗门解码算法包括截短所罗门解码算法;According to some embodiments of the present invention, the preset Solomon decoding algorithm includes a truncated Solomon decoding algorithm;

在执行所述通过预设所罗门解码算法对所述解调数据进行解码,得到第二信息序列这一步骤之前,所述方法还包括:Before performing the step of decoding the demodulated data by using a preset Solomon decoding algorithm to obtain a second information sequence, the method further includes:

获取所述调解数据中的截短位数;obtaining the number of truncated bits in said mediation data;

根据所述截短位数构建截短解码系数;constructing truncated decoding coefficients according to the truncated bits;

根据所述截短解码系数构建错误定位多项式和错误评估多项式。An error localization polynomial and an error evaluation polynomial are constructed from the truncated decoding coefficients.

根据本发明的一些实施例,所述通过预设所罗门解码算法对所述解调数据进行解码,得到第二信息序列,包括:According to some embodiments of the present invention, the decoding of the demodulated data by using a preset Solomon decoding algorithm to obtain a second information sequence includes:

将所述解调数据输入校验子计算模块计算得到校验子;Inputting the demodulated data into a syndrome calculation module to calculate a syndrome;

根据所述校验子、所述错误定位多项式以及所述错误评估多项式进行误码修正,得到所述第二信息序列。Perform bit error correction according to the syndrome, the error location polynomial, and the error evaluation polynomial to obtain the second information sequence.

根据本发明的一些实施例,所述预设调制算法包括二进制浓度偏移键控调制算法;According to some embodiments of the present invention, the preset modulation algorithm includes a binary concentration shift keying modulation algorithm;

所述通过预设调制算法对所述编码数据进行调制,得到调制数据,包括:The said coded data is modulated by a preset modulation algorithm to obtain modulated data, including:

通过所述二进制浓度偏移键控调制算法对所述编码数据进行调制,得到所述调制数据。The coded data is modulated by the binary concentration shift keying modulation algorithm to obtain the modulated data.

根据本发明的一些实施例,所述预设解调算法包括二进制浓度偏移键控解调算法;According to some embodiments of the present invention, the preset demodulation algorithm includes a binary concentration shift keying demodulation algorithm;

所述通过预设解调算法对所述滤波数据进行解调,得到解调数据,包括:The demodulation of the filtered data by using a preset demodulation algorithm to obtain demodulated data includes:

通过所述二进制浓度偏移键控解调算法对所述滤波数据进行解调,得到所述解调数据。Demodulate the filtered data by using the binary concentration shift keying demodulation algorithm to obtain the demodulated data.

根据本发明的一些实施例,所述根据所述校验子、所述错误定位多项式以及所述错误评估多项式进行误码修正,得到所述第二信息序列,包括:According to some embodiments of the present invention, performing bit error correction according to the syndrome, the error location polynomial and the error evaluation polynomial to obtain the second information sequence includes:

根据所述校验子和所述错误定位多项式通过钱氏搜索算法计算,得到误差位置数据;calculating by chien search algorithm according to the syndrome and the error location polynomial to obtain error location data;

根据所述校验子和所述错误评估多项式进行错误值计算,得到误差值数据;performing error value calculation according to the syndrome and the error evaluation polynomial to obtain error value data;

根据所述误差位置数据和所述误差值数据进行码字修正,得到所述第二信息序列。Performing codeword correction according to the error position data and the error value data to obtain the second information sequence.

另一方面,本发明实施例还提供了一种分子扩散通信系统,包括:On the other hand, an embodiment of the present invention also provides a molecular diffusion communication system, including:

数据获取模块,用于获取待发送的第一信息序列;A data acquisition module, configured to acquire the first information sequence to be sent;

编码模块,用于通过预设所罗门编码算法对所述第一信息序列进行编码,得到编码数据;An encoding module, configured to encode the first information sequence by using a preset Solomon encoding algorithm to obtain encoded data;

调制模块,用于通过预设调制算法对所述编码数据进行调制,得到调制数据;a modulation module, configured to modulate the coded data through a preset modulation algorithm to obtain modulated data;

传输模块,用于将所述调制数据输入分子扩散通道进行传输;a transmission module, configured to input the modulation data into the molecular diffusion channel for transmission;

滤波模块,用于获取所述分子扩散通道传输的调制数据,将所述调制数据输入码间串扰滤波器进行滤波,得到滤波数据;A filtering module, configured to acquire modulation data transmitted by the molecular diffusion channel, input the modulation data into an intersymbol crosstalk filter for filtering, and obtain filtered data;

解调模块,用于通过预设解调算法对所述滤波数据进行解调,得到解调数据;其中,所述预设解调算法与所述预设调制算法相对应;A demodulation module, configured to demodulate the filtered data through a preset demodulation algorithm to obtain demodulated data; wherein, the preset demodulation algorithm corresponds to the preset modulation algorithm;

解码模块,用于通过预设所罗门解码算法对所述解调数据进行解码,得到第二信息序列;其中,所述预设所罗门解码算法与所述预设所罗门编码算法相对应。The decoding module is configured to decode the demodulated data by using a preset Solomon decoding algorithm to obtain a second information sequence; wherein, the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.

另一方面,本发明实施例还提供了一种分子扩散通信系统,包括:On the other hand, an embodiment of the present invention also provides a molecular diffusion communication system, including:

至少一个处理器;at least one processor;

至少一个存储器,用于存储至少一个程序;at least one memory for storing at least one program;

当所述至少一个程序被所述至少一个处理器执行,使得至少一个所述处理器实现如上述实施例所述的分子扩散通信方法。When the at least one program is executed by the at least one processor, the at least one processor implements the molecular diffusion communication method as described in the foregoing embodiments.

另一方面,本发明实施例还提供了一种计算机存储介质,其中存储有处理器可执行的程序,所述处理器可执行的程序在由所述处理器执行时用于实现如上述实施例所述的分子扩散通信方法。On the other hand, an embodiment of the present invention also provides a computer storage medium, which stores a processor-executable program, and the processor-executable program is used to implement the above-mentioned embodiments when executed by the processor. The molecular diffusion communication method.

附图说明Description of drawings

图1是本发明实施例提供的分子扩散通信方法流程图;FIG. 1 is a flowchart of a molecular diffusion communication method provided by an embodiment of the present invention;

图2是本发明实施例提供的分子扩散通信系统原理框图。Fig. 2 is a functional block diagram of a molecular diffusion communication system provided by an embodiment of the present invention.

具体实施方式Detailed ways

本申请实施例所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The embodiments described in the embodiments of the present application should not be regarded as limiting the present application, and all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.

在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.

在对本申请实施例进行介绍说明之前,首先对本申请中涉及的相关名词进行解释说明。Before introducing and describing the embodiments of the present application, the relevant terms involved in the present application are firstly explained.

分子通信:主要是采用生物化学分子还有一些微小颗粒作为信息载体在流体环境中纯属信号来通信,是一种新型的通信方式。这类通信由于采用的消息载体较小且较为灵活,使其可以在纳米尺度上实现通信。它在管道、盐水环境等一些特定环境中表现了一些明显的优势,可以得到传统通信无法得到的预期效果和更高的能效。分子通信根据分子在流体环境内的传播方式的不同,将其分成了基于运动轨迹传输方式、基于流动传输方式,还有一种是基于分子扩散的传输方式。其中,基于运动估计的传输方式又可以采用分子马达或者病毒细菌等这些主动传输的方式。而基于流动传输的方式,信息分子在传播过程主要是通过在流体介质扩散传输信息,其流动传输的方向相对来说是确定的,向目的地传输。基于扩散传输方式传输的通信,用到的消息载体则是生物化学分子,利用生物化学分子自身活动产生的化学能来执行任务。Molecular communication: It mainly uses biochemical molecules and some tiny particles as information carriers to communicate purely as signals in a fluid environment, which is a new communication method. This type of communication can realize communication on the nanometer scale due to the smaller and more flexible message carrier used. It has some obvious advantages in some specific environments such as pipelines and salt water environments, and can obtain expected effects and higher energy efficiency that traditional communications cannot obtain. According to the different propagation modes of molecules in the fluid environment, molecular communication is divided into trajectory-based transmission, flow-based transmission, and molecular diffusion-based transmission. Among them, the transmission method based on motion estimation can also adopt active transmission methods such as molecular motors or viruses and bacteria. Based on the way of flow transmission, information molecules mainly transmit information through diffusion in the fluid medium during the transmission process, and the direction of flow transmission is relatively certain, and it is transmitted to the destination. For communication based on diffusion transmission, the message carriers used are biochemical molecules, which use the chemical energy generated by the activities of biochemical molecules to perform tasks.

所罗门(Reed-Solomon,RS)编码:是一种前向纠错的信道编码,编码过程首先在多个点上对多项式求冗余,然后将其传输或存储。当接收器正确的接收到足够的点后,可以恢复原来的多项式,即使接收到的多项式上有很多点被噪声干扰失真。Solomon (Reed-Solomon, RS) coding: It is a kind of forward error correction channel coding. The coding process first seeks redundancy for polynomials at multiple points, and then transmits or stores them. When the receiver receives enough points correctly, it can restore the original polynomial, even if many points on the received polynomial are distorted by noise.

分子扩散通信是以生物化学分子作为信息载体然后以布朗运动的自由扩散活动来传输信息的一种图像方式。然而,分子在进行通信的过程中,当前时隙到达的分子除了本该接收到的分子以外,还会收到前一个时隙到达的分子,对其形成干扰,即码间串扰。而由于码间串扰的影响,也使得传输的误码率较高,导致分子扩散通信的可靠性较低。Molecular diffusion communication is an image mode in which biochemical molecules are used as information carriers and then transmitted by Brownian motion free diffusion. However, during the communication process of the molecules, the molecules arriving in the current time slot will receive the molecules arriving in the previous time slot in addition to the molecules that should have been received, causing interference to them, that is, inter-symbol crosstalk. Due to the influence of intersymbol crosstalk, the bit error rate of transmission is also high, resulting in low reliability of molecular diffusion communication.

基于此,本发明的一个实施例提供了一种分子扩散通信方法、系统及存储介质,能够有效降低分子扩散通信的误码率,提高分子扩散通信的可靠性。参照图1,本发明实施例的方法包括但不限于步骤S110、步骤S120、步骤S130、步骤S140、步骤S150、步骤S160和步骤S170。Based on this, an embodiment of the present invention provides a molecular diffusion communication method, system and storage medium, which can effectively reduce the bit error rate of molecular diffusion communication and improve the reliability of molecular diffusion communication. Referring to FIG. 1 , the method in this embodiment of the present invention includes but is not limited to step S110 , step S120 , step S130 , step S140 , step S150 , step S160 and step S170 .

具体地,本发明实施例的方法应用过程包括但不限于以下步骤:Specifically, the method application process of the embodiment of the present invention includes but is not limited to the following steps:

S110:获取待发送的第一信息序列。S110: Acquire a first information sequence to be sent.

S120:通过预设所罗门编码算法对第一信息序列进行编码,得到编码数据。S120: Encode the first information sequence by using a preset Solomon encoding algorithm to obtain encoded data.

S130:通过预设调制算法对编码数据进行调制,得到调制数据。S130: Modulate the coded data by using a preset modulation algorithm to obtain modulated data.

S140:将调制数据输入分子扩散通道进行传输。S140: Input the modulation data into the molecular diffusion channel for transmission.

S150:获取分子扩散通道传输的调制数据,将调制数据输入码间串扰滤波器进行滤波,得到滤波数据。S150: Obtain modulation data transmitted by the molecular diffusion channel, input the modulation data into an intersymbol crosstalk filter for filtering, and obtain filtered data.

S160:通过预设解调算法对滤波数据进行解调,得到解调数据。其中,预设解调算法与预设调制算法相对应。S160: Demodulate the filtered data by using a preset demodulation algorithm to obtain demodulated data. Wherein, the preset demodulation algorithm corresponds to the preset modulation algorithm.

S170:通过预设所罗门解码算法对解调数据进行解码,得到第二信息序列。其中,预设所罗门解码算法与预设所罗门编码算法相对应。S170: Decode the demodulated data by using a preset Solomon decoding algorithm to obtain a second information sequence. Wherein, the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.

在本具体实施例中,本实施例首先在信息发送端获取待发送的数据信息,即第一信息序列。然后,本实施例通过预设所罗门编码算法对第一信息序列进行编码得到编码数据。在分子扩散通信系统中,由于分子运动是随机的,所以导致其受到的干扰较大,因此,本实施例通过在分子扩散通信系统中加入预设所罗门编码算法,以缓解分子随机运动导致的码间串扰问题。接着,本实施例通过预设调制算法对编码数据进行调制得到调制数据。例如,本实施例中预设调制算法包括浓度偏移键控调制算法(Concentration Shift Keying,CSK)、分子频移调制算法(Molecular Frequency Shift Keying,MFSK)、分子移位键控调制(Molecule Shift Keying,MoSK)以及比率移位键控调制算法(Ratio Shift Keying,RSK)。本实施例通过预设调制算法对编码数据进行调制后得到相应的调制数据,然后将得到的调制数据输入分子扩散通道进行传输。进一步地,本实施例在接收端获取通过分子扩散通道传输的调制数据,并将得到的调制数据进行滤波,得到滤波数据。具体地,本实施例中在进行解调之前,先通过ISI滤波器对接收到的数据进行滤波,以降低分子扩散通信的误码率。接着,本实施例通过预设解调算法对滤波数据进行解调得到解调数据。容易理解的是,本实施例中预设解调算法与预设调制算法相对应。例如,当通过浓度偏移键控调制算法对编码数据进行调制时,预设解调算法则相应地为浓度偏移键控解调算法。进一步地,本实施例通过预设所罗门解码算法对解调数据进行解码,从而得到目标信息序列,即第二信息序列,实现分子扩散通信。容易理解的是,本实施例中预设所罗门解码算法也与编码过程中的预设所罗门编码算法相对应。本实施例通过对所要传输的数据进行预设所罗门编解码操作以及预设调制操作,能够有效缓解分子扩散通信的误码问题,有效提高了分子扩散通信的可靠性。In this specific embodiment, this embodiment first acquires data information to be sent at the information sending end, that is, the first information sequence. Then, in this embodiment, a preset Solomon encoding algorithm is used to encode the first information sequence to obtain encoded data. In the molecular diffusion communication system, since the molecular movement is random, it is greatly disturbed. Therefore, in this embodiment, the preset Solomon coding algorithm is added to the molecular diffusion communication system to alleviate the code caused by the random molecular movement. crosstalk problem. Next, in this embodiment, the coded data is modulated by using a preset modulation algorithm to obtain modulated data. For example, the preset modulation algorithm in this embodiment includes concentration shift keying modulation algorithm (Concentration Shift Keying, CSK), molecular frequency shift modulation algorithm (Molecular Frequency Shift Keying, MFSK), molecular shift keying modulation (Molecule Shift Keying , MoSK) and ratio shift keying modulation algorithm (Ratio Shift Keying, RSK). In this embodiment, the encoded data is modulated by a preset modulation algorithm to obtain corresponding modulated data, and then the obtained modulated data is input into the molecular diffusion channel for transmission. Further, in this embodiment, the modulated data transmitted through the molecular diffusion channel is obtained at the receiving end, and the obtained modulated data is filtered to obtain filtered data. Specifically, in this embodiment, before demodulation, the received data is filtered by an ISI filter, so as to reduce the bit error rate of molecular diffusion communication. Next, in this embodiment, the filtered data is demodulated by using a preset demodulation algorithm to obtain demodulated data. It is easy to understand that, in this embodiment, the preset demodulation algorithm corresponds to the preset modulation algorithm. For example, when the coded data is modulated by a density shift keying modulation algorithm, the default demodulation algorithm is correspondingly a density shift keying demodulation algorithm. Further, in this embodiment, the demodulated data is decoded by a preset Solomon decoding algorithm, so as to obtain the target information sequence, that is, the second information sequence, and realize molecular diffusion communication. It is easy to understand that the preset Solomon decoding algorithm in this embodiment also corresponds to the preset Solomon encoding algorithm in the encoding process. In this embodiment, by performing preset Solomon codec operation and preset modulation operation on the data to be transmitted, the bit error problem of molecular diffusion communication can be effectively alleviated, and the reliability of molecular diffusion communication can be effectively improved.

在本发明的一些实施例中,预设所罗门编码算法包括截短所罗门编码算法。相应地,通过预设所罗门编码算法对第一信息序列进行编码,得到编码数据,包括但不限于:In some embodiments of the present invention, the preset Solomon coding algorithm includes a truncated Solomon coding algorithm. Correspondingly, the first information sequence is encoded by a preset Solomon encoding algorithm to obtain encoded data, including but not limited to:

确定第一信息序列的数据符号个数小于预设符号数,对第一信息序列进行零符号填充操作,得到第三信息序列。其中,通过零符号填充操作将第一信息序列的符号个数补充至预设符号数。It is determined that the number of data symbols of the first information sequence is less than the preset number of symbols, and a zero symbol padding operation is performed on the first information sequence to obtain a third information sequence. Wherein, the number of symbols of the first information sequence is supplemented to a preset number of symbols through a zero symbol padding operation.

对第三信息序列进行所罗门编码,得到编码中间数据。Solomon encoding is performed on the third information sequence to obtain encoded intermediate data.

对编码中间数据进行截短操作,得到编码数据。其中,截短操作将零符号填充操作所填充的零符号进行截短。Perform a truncation operation on the encoded intermediate data to obtain the encoded data. Wherein, the truncation operation truncates the zero symbols filled by the zero symbol filling operation.

在本具体实施例中,本实施例通过截短所罗门编码算法(截短RS编码算法)对第一信息序列进行编码得到编码数据。具体地,截短RS(n′,k′)由插入的k-k′个零符号和含有k个信息为的母码RS(n,k)构成。码字和信息符号的数目分别从n,k变为n′,k′。但它保持了纠错能力,由于

Figure BDA0004016726750000061
即最多可以纠正t个错误符号。本实施例首先根据第一信息序列的数据符号判断第一信息序列的长度是否满足预设长度,当确定第一信息序列的数据符号个数小于预设符号数,即第一信息序列的长度小于预设长度,则对第一信息序列进行零符号填充操作,得到第三信息序列。本实施例通过零符号填充操作将第一信息序列的符号个数填充至预设符号数,即通过补零的方式将第一信息序列补充至预设长度。然后,本实施例通过所罗门(RS)编码算法对补零得到的第三信息序列进行编码得到初步的编码数据,即编码中间数据。接着,本实施例对编码中间数据进行截短操作得到编码数据。具体地,本实施例将编码中间数据中填充的零符号进行去除,即删除编码中间数据中零符号填充操作所填充的零符号,得到编码数据。本实施例将该编码数据输入分子扩散通道进行传输,仅对原始的数据符号以及相应的奇偶校验符号进行传输,以有效提高分子扩散通信过程中编解码的效率。In this specific embodiment, this embodiment uses a truncated Solomon encoding algorithm (truncated RS encoding algorithm) to encode the first information sequence to obtain encoded data. Specifically, the truncated RS(n', k') consists of inserted kk' zero symbols and a mother code RS(n, k) containing k pieces of information. The number of codewords and information symbols is changed from n, k to n', k', respectively. But it maintains error correction capability due to
Figure BDA0004016726750000061
That is, at most t wrong symbols can be corrected. In this embodiment, first, according to the data symbols of the first information sequence, it is judged whether the length of the first information sequence satisfies the preset length. If the length is preset, the zero symbol padding operation is performed on the first information sequence to obtain the third information sequence. In this embodiment, the number of symbols of the first information sequence is filled to a preset number of symbols through a zero symbol padding operation, that is, the first information sequence is supplemented to a preset length by zero padding. Then, in this embodiment, a Solomon (RS) encoding algorithm is used to encode the third information sequence obtained by padding zeros to obtain preliminary encoded data, that is, encoded intermediate data. Next, in this embodiment, a truncation operation is performed on the encoded intermediate data to obtain encoded data. Specifically, in this embodiment, the zero symbols filled in the encoded intermediate data are removed, that is, the zero symbols filled in the zero symbol padding operation in the encoded intermediate data are deleted to obtain encoded data. In this embodiment, the encoded data is input into the molecular diffusion channel for transmission, and only the original data symbols and corresponding parity symbols are transmitted, so as to effectively improve the efficiency of encoding and decoding in the molecular diffusion communication process.

在本发明的一些实施例中,预设所罗门解码算法包括截短所罗门解码算法。相应地,在执行通过预设所罗门解码算法对解调数据进行解码,得到第二信息序列这一步骤之前,本实施例提供的分子扩散通信方法还包括但不限于:In some embodiments of the present invention, the preset Solomon decoding algorithm includes a truncated Solomon decoding algorithm. Correspondingly, before performing the step of decoding the demodulated data through the preset Solomon decoding algorithm to obtain the second information sequence, the molecular diffusion communication method provided in this embodiment also includes but is not limited to:

获取调解数据中的截短位数。Gets the number of truncated bits in the mediation data.

根据截短位数构建截短解码系数。Build truncated decoding coefficients from the number of truncated bits.

根据截短解码系数构建错误定位多项式和错误评估多项式。An error localization polynomial and an error evaluation polynomial are constructed from the truncated decoding coefficients.

在本具体实施例中。与预设所罗门编码算法相应地,本实施例中预设所罗门解码算法包括截短所罗门解码算法。在对解调数据进行解码之前,本实施例首先获取解调数据中的截短位数,并根据截短位数构建截短解码系数。接着通过截短解码系数构建得到错误定位多项式和错误评估多项式。具体地,通过预设所罗门解码算法进行译码的过程主要分为两个阶段。在第一个阶段,解码器检查接收来自信道的码字是否有错误。如果接收到的码字不能被生成器多项式完全整除,就认为接收到的码字是错误的。这种技术称之为伴随式计算。如果伴随式计算的结果为零,那么解码器终止。在第二个阶段,系统通过检测错误位置和错误值来纠正错误。本实施例中由于所发送的编码数据为截短RS码,仅对原始的数据符号以及相应的奇偶校验符号进行传输,因此,需要对所罗门解码器中的错误估算模块以及错误定位模块进行相应调整。本实施例中首先获取解调数据中的截短位数,即在进行截短所罗门编码过程中所去除的零符号的位数。接着,根据截短位数构建截短解码系数,然后根据截短解码系数构建错误定位多项式和错误评估多项式。例如,当根据截短位数构建得到相应的截短解码系数为ai(1≤f≤n′)后,本实施例将截短解码系数ai(1≤i≤n′)分别放入初始错误定位多项式σ(x)和初始错误评估多项式ω(x)中,从而构建得到相应的错误定位多项式

Figure BDA0004016726750000071
和错误评估多项式
Figure BDA0004016726750000072
分别如下式(1)和(2)所示:In this specific example. Corresponding to the preset Solomon encoding algorithm, the preset Solomon decoding algorithm in this embodiment includes a truncated Solomon decoding algorithm. Before decoding the demodulated data, this embodiment first obtains the truncated bits in the demodulated data, and constructs the truncated decoding coefficients according to the truncated bits. Then, the error localization polynomial and the error evaluation polynomial are obtained by constructing the truncated decoding coefficients. Specifically, the decoding process by using the preset Solomon decoding algorithm is mainly divided into two stages. In the first stage, the decoder checks the received codeword from the channel for errors. If the received codeword is not completely divisible by the generator polynomial, the received codeword is considered to be erroneous. This technique is called adjoint computation. If the result of the syndrome calculation is zero, the decoder terminates. In the second stage, the system corrects errors by detecting error locations and error values. In this embodiment, since the encoded data sent is a truncated RS code, only the original data symbols and the corresponding parity symbols are transmitted, therefore, it is necessary to perform corresponding steps on the error estimation module and the error location module in the Solomon decoder. Adjustment. In this embodiment, firstly, the number of truncated bits in the demodulated data is obtained, that is, the number of bits of zero symbols removed during the truncated Solomon encoding process. Next, the truncated decoding coefficients are constructed according to the number of truncated bits, and then an error localization polynomial and an error evaluation polynomial are constructed according to the truncated decoding coefficients. For example, after the corresponding truncated decoding coefficient a i (1≤f≤n′) is obtained according to the truncated number of digits, this embodiment puts the truncated decoding coefficient a i (1≤i≤n′) into The initial error location polynomial σ(x) and the initial error evaluation polynomial ω(x), thus constructing the corresponding error location polynomial
Figure BDA0004016726750000071
and the error evaluation polynomial
Figure BDA0004016726750000072
Respectively shown in the following formulas (1) and (2):

Figure BDA0004016726750000073
Figure BDA0004016726750000073

Figure BDA0004016726750000074
Figure BDA0004016726750000074

在本发明的一些实施例中,通过预设所罗门解码算法对解调数据进行解码,得到第二信息序列,包括但不限于:In some embodiments of the present invention, the demodulated data is decoded by a preset Solomon decoding algorithm to obtain a second information sequence, including but not limited to:

将解调数据输入校验子计算模块计算得到校验子。The demodulated data is input into the syndrome calculation module to calculate the syndrome.

根据校验子、错误定位多项式以及错误评估多项式进行误码修正,得到第二信息序列。Error correction is performed according to the syndrome, the error location polynomial and the error evaluation polynomial to obtain the second information sequence.

在本具体实施例中,本实施例通过将调解数据输入校验子计算模块计算得到相应的校验子,然后根据校验子、错误定位多项式以及错误评估多项式进行无码修正,从而得到解码信息数据,即第二信息序列。具体地,本实施例中在通过信道传输之后,码字C(x)可能会被噪声和接收到的码字损坏,并且接收到的码字可以表示为如下式(3)所示:In this specific embodiment, this embodiment calculates the corresponding syndrome by inputting the mediation data into the syndrome calculation module, and then performs codeless correction according to the syndrome, error location polynomial, and error evaluation polynomial, thereby obtaining the decoded information data , that is, the second information sequence. Specifically, after transmission through the channel in this embodiment, the codeword C(x) may be damaged by noise and the received codeword, and the received codeword can be expressed as shown in the following equation (3):

y(x)=(yn-1,yn-2,...,y0)                   (3)y(x)=(y n-1 , y n-2 , . . . , y 0 ) (3)

其中,接收到的码字到达解码器端。码字和接收到的码字可以由方程y(x)=c(x)+e(x)联系起来。其中e(x)=(en-1,en-2,...,e0),e(x)表示的是噪声向量,其中ei∈F,0≤i≤n-1。解码器的目标就是从y(x)中恢复c(x)。容易理解的是,当e(x)的汉明权值(非零项的个数)满足下式(4):Among them, the received code word arrives at the decoder side. The codeword and the received codeword can be related by the equation y(x)=c(x)+e(x). Where e(x)=(e n-1 , e n-2 , . . . , e 0 ), e(x) represents a noise vector, where e i ∈ F, 0≤i≤n-1. The goal of the decoder is to recover c(x) from y(x). It is easy to understand that when the Hamming weight (the number of non-zero items) of e(x) satisfies the following formula (4):

Figure BDA0004016726750000075
Figure BDA0004016726750000075

进一步地,用0≤i1<i2<…<iτ≤n-1表示

Figure BDA0004016726750000081
的位置索引。接着,本实施例把误差矢量又重新定义为一组误差位置:
Figure BDA0004016726750000082
以及一组误差值:Yi=ei,1≤J≤τ。本实施例中错误定位多项式以及错误评估多项式分别如上式(1)和(2)所示。本实施例中通过预设所罗门解码算法对解调数据进行解码主要包括校验子计算以及查找错误定位器和错误评估多项式两个阶段。首先,本实施例首先将解调数据输入校验子计算模块计算得到校验子。多项式
Figure BDA0004016726750000083
与接收到的与码字根部评估的码字y相关的多项式
Figure BDA0004016726750000084
Figure BDA0004016726750000085
在代码的根处计算,产生幂和,即校验子,如下式(5)所示:Further, expressed by 0≤i 1 <i 2 <...<i τ ≤n-1
Figure BDA0004016726750000081
The location index of . Next, in this embodiment, the error vector is redefined as a group of error positions:
Figure BDA0004016726750000082
And a set of error values: Y i =e i , 1≤J≤τ. In this embodiment, the error location polynomial and the error evaluation polynomial are shown in the above equations (1) and (2) respectively. In this embodiment, the decoding of the demodulated data by using the preset Solomon decoding algorithm mainly includes two stages of syndrome calculation, error locator and error evaluation polynomial search. First, in this embodiment, the demodulated data is first input into the syndrome calculation module to calculate the syndrome. polynomial
Figure BDA0004016726750000083
The polynomial associated with the received codeword y evaluated with the root of the codeword
Figure BDA0004016726750000084
Figure BDA0004016726750000085
Calculated at the root of the code to generate a power sum, that is, a syndrome, as shown in the following formula (5):

Figure BDA0004016726750000086
Figure BDA0004016726750000086

接着,本实施例中误差定位器和误差评估器多项式满足关键方程如下式(6)所示:Then, in the present embodiment, the error locator and the error evaluator polynomial satisfy the key equation as shown in the following formula (6):

Figure BDA0004016726750000087
Figure BDA0004016726750000087

进一步地,本实施例通过扩展的欧几里得算法求解该关键方程。然后,本实施例根据关键方程求解的结果查找误差位置和计算误差值,从而根据误差位置和误差值进行误码修正,得到第二信息序列。Further, this embodiment solves the key equation through the extended Euclidean algorithm. Then, in this embodiment, the error position is searched and the error value is calculated according to the result of solving the key equation, so as to perform bit error correction according to the error position and error value, and obtain the second information sequence.

在本发明的一些实施例中,调制算法包括二进制浓度偏移键控调制算法。相应地,通过预设调制算法对编码数据进行调制,得到调制数据,包括但不限于:In some embodiments of the invention, the modulation algorithm comprises a binary density shift keying modulation algorithm. Correspondingly, the coded data is modulated by a preset modulation algorithm to obtain modulated data, including but not limited to:

通过二进制浓度偏移键控调制算法对编码数据进行调制,得到调制数据。The coded data is modulated by a binary concentration shift keying modulation algorithm to obtain modulated data.

在本具体实施例中,本实施例通过二进制浓度偏移键控调制算法对编码数据进行调制得到调制数据。具体地,在分子扩散通信系统中,发送端和接收端是以信使分子的浓度作为信号载体,称其为浓度偏移键控(Concentration Shift Keying,CSK),其类似于传统通信的幅度调制。本实施例中用同类型分子的两种不同浓度来表示“0”和“1”,此调制方法称为二进制浓度偏移键控调制(BCSK)。在BCSK中,信息可以调制在单个脉冲或者方波上,BCSK(脉冲)调制是在发送端每个起始时刻点处发射分子(即脉冲发射),而BCSK(方波)调制是在一个周期内发送分子。示例性地,在本实施例中用发送NTX=2000个分子表示信号“1”。为了减少能量损耗,用不发送分子表示“0”。本实施例用下列表达式(7)来表示BCSK(脉冲)调制中,符号在每个采样时刻点上发送的分子数:In this specific embodiment, the coded data is modulated by a binary concentration shift keying modulation algorithm to obtain modulated data. Specifically, in the molecular diffusion communication system, the sending end and the receiving end use the concentration of the messenger molecule as the signal carrier, which is called concentration shift keying (Concentration Shift Keying, CSK), which is similar to the amplitude modulation of traditional communication. In this embodiment, two different concentrations of the same type of molecules are used to represent "0" and "1", and this modulation method is called binary concentration shift keying modulation (BCSK). In BCSK, information can be modulated on a single pulse or a square wave. BCSK (pulse) modulation is to emit molecules at each starting point of the sending end (that is, pulse transmission), while BCSK (square wave) modulation is in a cycle send molecules. Exemplarily, in this embodiment, the signal "1" is represented by sending N TX =2000 molecules. In order to reduce energy loss, "0" is represented by not sending numerators. In the present embodiment, the following expression (7) is used to represent in BCSK (pulse) modulation, the number of numerators that symbols are sent at each sampling time point:

Figure BDA0004016726750000088
Figure BDA0004016726750000088

其中,式中NTX表示一个周期内发送的分子数目,round()表示取最近整数,tss表示采样间隔,ts表示符号持续周期,

Figure BDA0004016726750000089
表示在一个符号持续周期ts的每个采样点上需发射的平均分子数。本实施例通过下列表达式(8)来表示BCSK(方波)调制中,符号在每个采样时刻点上发送的分子数:Among them, N TX in the formula represents the number of molecules sent in one cycle, round() represents the nearest integer, t ss represents the sampling interval, t s represents the symbol duration period,
Figure BDA0004016726750000089
Indicates the average number of molecules to be emitted at each sampling point of a symbol duration t s . In the present embodiment, the number of numerators that symbols are sent at each sampling time point in BCSK (square wave) modulation is represented by the following expression (8):

Figure BDA0004016726750000091
Figure BDA0004016726750000091

其中,式中,μα表示符号i的平均振幅,m表示符号i的最大符号序号。Among them, in the formula, μ α represents the average amplitude of symbol i, and m represents the maximum symbol number of symbol i.

本实施例中二进制浓度偏移键控调制算法类似于幅度调制,比较容易实现调制和解调。本实施例通过在进行解调前加入ISI滤波器,对接收到的数据先进行ISI滤波,以缓解二进制浓度偏移键控调制算法受码间串扰影响大的问题。The binary concentration offset keying modulation algorithm in this embodiment is similar to amplitude modulation, and it is relatively easy to realize modulation and demodulation. In this embodiment, an ISI filter is added before demodulation to perform ISI filtering on the received data, so as to alleviate the problem that the binary concentration shift keying modulation algorithm is greatly affected by intersymbol interference.

在本发明的一些实施例中,预设解调算法包括二进制浓度偏移键控解调算法。相应地,通过预设解调算法对所述滤波数据进行解调,得到解调数据,包括但不限于:In some embodiments of the invention, the preset demodulation algorithm includes a binary density shift keying demodulation algorithm. Correspondingly, the filtered data is demodulated by a preset demodulation algorithm to obtain demodulated data, including but not limited to:

通过二进制浓度偏移键控解调算法对滤波数据进行解调,得到解调数据。The filtered data is demodulated by a binary concentration shift keying demodulation algorithm to obtain demodulated data.

在本具体实施例中,本实施例通过二进制浓度偏移键控解调算法对滤波数据进行解调。具体地,本实施例中的预设解调算法为二进制浓度偏移键控解调算法,与二进制浓度偏移键控调制算法相应。本实施例首先在接收端设置一个分子数量阈值。然后,对滤波得到的滤波数据进行分析。当根据滤波数据确定接收到的分子超过分子数量阈值,则将该接收到的信号解调为“1”,反之则设置为“0”。本实施例根据设置的分子数量阈值对滤波数据进行解调,得到解调数据。In this specific embodiment, this embodiment demodulates the filtered data through a binary concentration shift keying demodulation algorithm. Specifically, the preset demodulation algorithm in this embodiment is a binary density shift keying demodulation algorithm, corresponding to a binary density shift keying modulation algorithm. In this embodiment, firstly, a molecular quantity threshold is set at the receiving end. Then, analyze the filtered data obtained by filtering. When it is determined according to the filtering data that the received molecule exceeds the threshold value of the number of molecules, the received signal is demodulated as "1", otherwise it is set as "0". In this embodiment, the filtered data is demodulated according to the set molecular number threshold to obtain demodulated data.

在本发明的一些实施例中,根据校验子、错误定位多项式以及错误评估多项式进行误码修正,得到第二信息序列,包括但不限于:In some embodiments of the present invention, the error correction is performed according to the syndrome, the error location polynomial, and the error evaluation polynomial to obtain the second information sequence, including but not limited to:

根据校验子和错误定位多项式通过钱氏搜索算法计算,得到误差位置数据。According to the syndrome and the error location polynomial, the error location data is obtained through Chien's search algorithm calculation.

根据校验子和错误评估多项式进行错误值计算,得到误差值数据。The error value is calculated according to the syndrome and the error evaluation polynomial to obtain the error value data.

根据误差位置数据和误差值数据进行码字修正,得到第二信息序列。The code word is corrected according to the error position data and the error value data to obtain the second information sequence.

在本具体实施例中,本实施例根据校验子和错误定位多项式通过钱氏搜索算法计算误差位置数据,并根据校验子和错误评估多项式计算得到误差值数据,从而根据误差位置数据和误差值数据进行码字修正得到第二信息序列。具体地,本实施例通过钱氏搜索算法所述误差位置。示例性地,在x=α-1,n-1≥i≥0时计算

Figure BDA0004016726750000092
Figure BDA0004016726750000093
时x对应着误差位置Xj,一旦误差位置Xj被找到,相应的误差值可以表示如下式(9)所示:In this specific embodiment, this embodiment calculates the error position data through the chien search algorithm according to the syndrome and the error location polynomial, and calculates the error value data according to the syndrome and the error evaluation polynomial, so that according to the error position data and the error Codeword correction is performed on the value data to obtain the second information sequence. Specifically, this embodiment uses the chien search algorithm to describe the error position. Exemplarily, it is calculated when x=α -1 , n-1≥i≥0
Figure BDA0004016726750000092
when
Figure BDA0004016726750000093
When x corresponds to the error position X j , once the error position X j is found, the corresponding error value can be expressed as the following formula (9):

Figure BDA0004016726750000094
Figure BDA0004016726750000094

其中,式中

Figure BDA0004016726750000095
表示多项式
Figure BDA0004016726750000096
对x的形式导数。本实施例中误差位置Xj通过从相应的项
Figure BDA0004016726750000097
中减去y的值来修正Yj的值。Among them, in the formula
Figure BDA0004016726750000095
represent a polynomial
Figure BDA0004016726750000096
Formal derivative with respect to x. In this embodiment the error position X j is obtained from the corresponding term
Figure BDA0004016726750000097
Subtract the value of y to correct the value of Y j .

本发明的一个实施例还提供了一种分子扩散通信系统,包括:An embodiment of the present invention also provides a molecular diffusion communication system, comprising:

数据获取模块,用于获取待发送的第一信息序列。The data obtaining module is used to obtain the first information sequence to be sent.

编码模块,用于通过预设所罗门编码算法对第一信息序列进行编码,得到编码数据。The encoding module is configured to encode the first information sequence by using a preset Solomon encoding algorithm to obtain encoded data.

调制模块,用于通过预设调制算法对编码数据进行调制,得到调制数据。The modulation module is used to modulate the coded data through a preset modulation algorithm to obtain modulated data.

传输模块,用于将调制数据输入分子扩散通道进行传输。The transmission module is used for inputting modulation data into the molecular diffusion channel for transmission.

滤波模块,用于获取分子扩散通道传输的调制数据,将调制数据输入码间串扰滤波器进行滤波,得到滤波数据。The filter module is used to obtain the modulation data transmitted by the molecular diffusion channel, input the modulation data into the intersymbol crosstalk filter for filtering, and obtain the filtered data.

解调模块,用于通过预设解调算法对滤波数据进行解调,得到解调数据。其中,预设解调算法与预设调制算法相对应。The demodulation module is used to demodulate the filtered data through a preset demodulation algorithm to obtain demodulated data. Wherein, the preset demodulation algorithm corresponds to the preset modulation algorithm.

解码模块,用于通过预设所罗门解码算法对解调数据进行解码,得到第二信息序列。其中,预设所罗门解码算法与预设所罗门编码算法相对应。The decoding module is configured to decode the demodulated data through a preset Solomon decoding algorithm to obtain the second information sequence. Wherein, the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.

参照图2,本发明的一个实施例还提供了一种分子扩散通信系统,包括:Referring to Figure 2, an embodiment of the present invention also provides a molecular diffusion communication system, including:

至少一个处理器210。at least one processor 210 .

至少一个存储器220,用于存储至少一个程序。At least one memory 220 is used to store at least one program.

当至少一个程序被至少一个处理器210执行,使得至少一个处理器210实现如上述实施例描述的分子扩散通信方法。When at least one program is executed by at least one processor 210, the at least one processor 210 implements the molecular diffusion communication method as described in the above-mentioned embodiments.

本发明的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个控制处理器执行,例如,执行以上实施例描述的步骤。An embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more control processors, for example, to execute the above implementation The steps described in the example.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

以上是对本发明的较佳实施进行了具体说明,但本发明并不局限于上述实施方式,熟悉本领域的技术人员在不违背本发明精神的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本发明权利要求所限定的范围内。The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation, and those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the present invention. Equivalent modifications or replacements are all within the scope defined by the claims of the present invention.

Claims (10)

1. A molecular diffusion communication method, comprising the steps of:
acquiring a first information sequence to be transmitted;
encoding the first information sequence through a preset Solomon encoding algorithm to obtain encoded data;
modulating the coded data through a preset modulation algorithm to obtain modulated data;
inputting the modulated data into a molecular diffusion channel for transmission;
acquiring modulation data transmitted by the molecular diffusion channel, and inputting the modulation data into an inter-code crosstalk filter for filtering to obtain filtering data;
demodulating the filtered data through a preset demodulation algorithm to obtain demodulated data; wherein the preset demodulation algorithm corresponds to the preset modulation algorithm;
decoding the demodulation data through a preset Solomon decoding algorithm to obtain a second information sequence; wherein the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.
2. The molecular diffusion communication method of claim 1, wherein the predetermined Solomon encoding algorithm comprises a truncated Solomon encoding algorithm;
the coding the first information sequence through a preset Solomon coding algorithm to obtain coded data, which comprises the following steps:
determining that the number of data symbols of the first information sequence is smaller than the preset number of symbols, and performing zero symbol filling operation on the first information sequence to obtain a third information sequence; the number of symbols of the first information sequence is supplemented to the preset number of symbols through the zero symbol filling operation;
performing Solomon coding on the third information sequence to obtain coded intermediate data;
performing truncation operation on the encoded intermediate data to obtain encoded data; wherein the puncturing operation punctures zero symbols filled by the zero symbol filling operation.
3. The molecular diffusion communication method of claim 2, wherein the predetermined Solomon decoding algorithm comprises a truncated Solomon decoding algorithm;
before performing the step of decoding the demodulated data by a preset Solomon decoding algorithm to obtain a second information sequence, the method further comprises:
obtaining a truncated number of bits in the mediation data;
constructing truncated decoding coefficients according to the truncated digits;
and constructing an error positioning polynomial and an error evaluation polynomial according to the truncated decoding coefficient.
4. A molecular diffusion communication method according to claim 3, wherein decoding the demodulated data by a preset solomon decoding algorithm to obtain a second information sequence comprises:
inputting the demodulation data into a syndrome calculation module to calculate to obtain a syndrome;
and correcting error codes according to the syndrome, the error positioning polynomial and the error evaluation polynomial to obtain the second information sequence.
5. The molecular diffusion communication method according to claim 1, wherein the preset modulation algorithm comprises a binary concentration shift keying modulation algorithm;
the modulating the coded data by a preset modulation algorithm to obtain modulated data comprises:
and modulating the coded data by the binary concentration shift keying modulation algorithm to obtain the modulated data.
6. The molecular diffusion communication method of claim 5, wherein the preset demodulation algorithm comprises a binary concentration shift keying demodulation algorithm;
demodulating the filtered data through a preset demodulation algorithm to obtain demodulated data, wherein the demodulating comprises the following steps:
and demodulating the filtered data through the binary concentration shift keying demodulation algorithm to obtain the demodulated data.
7. The method of molecular diffusion communication according to claim 4, wherein said performing error correction based on said syndrome, said error localization polynomial, and said error assessment polynomial to obtain said second information sequence comprises:
calculating through a Qian's search algorithm according to the syndrome and the error positioning polynomial to obtain error position data;
performing error value calculation according to the syndrome and the error evaluation polynomial to obtain error value data;
and carrying out codeword correction according to the error position data and the error value data to obtain the second information sequence.
8. A molecular diffusion communication system comprising:
the data acquisition module is used for acquiring a first information sequence to be transmitted;
the coding module is used for coding the first information sequence through a preset Solomon coding algorithm to obtain coded data;
the modulation module is used for modulating the coded data through a preset modulation algorithm to obtain modulation data;
the transmission module is used for inputting the modulation data into a molecular diffusion channel for transmission;
the filtering module is used for acquiring the modulation data transmitted by the molecular diffusion channel, and inputting the modulation data into an inter-code crosstalk filter for filtering to obtain filtering data;
the demodulation module is used for demodulating the filtered data through a preset demodulation algorithm to obtain demodulated data; wherein the preset demodulation algorithm corresponds to the preset modulation algorithm;
the decoding module is used for decoding the demodulation data through a preset Solomon decoding algorithm to obtain a second information sequence; wherein the preset Solomon decoding algorithm corresponds to the preset Solomon encoding algorithm.
9. A molecular diffusion communication system comprising:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to implement the molecular diffusion communication method of any one of claims 1 to 7.
10. A computer storage medium in which a processor-executable program is stored, characterized in that the processor-executable program is for implementing the molecular diffusion communication method according to any one of claims 1 to 7 when being executed by the processor.
CN202211671824.2A 2022-12-26 2022-12-26 Molecular diffusion communication method, system and storage medium Pending CN116094653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211671824.2A CN116094653A (en) 2022-12-26 2022-12-26 Molecular diffusion communication method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211671824.2A CN116094653A (en) 2022-12-26 2022-12-26 Molecular diffusion communication method, system and storage medium

Publications (1)

Publication Number Publication Date
CN116094653A true CN116094653A (en) 2023-05-09

Family

ID=86198407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211671824.2A Pending CN116094653A (en) 2022-12-26 2022-12-26 Molecular diffusion communication method, system and storage medium

Country Status (1)

Country Link
CN (1) CN116094653A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5280488A (en) * 1990-11-08 1994-01-18 Neal Glover Reed-Solomon code system employing k-bit serial techniques for encoding and burst error trapping
JPH10229342A (en) * 1997-02-14 1998-08-25 Matsushita Electric Ind Co Ltd Reduced error correction decoder
US20050149821A1 (en) * 2003-12-18 2005-07-07 Hoon Lee Apparatus for FEC supporting transmission of variable-length frames in TDMA system and method of using the same
CN112636828A (en) * 2020-12-17 2021-04-09 苏州亮芯光电科技有限公司 Full-duplex deep ultraviolet communication device and control method thereof
CN113904755A (en) * 2021-10-13 2022-01-07 芯河半导体科技(无锡)有限公司 Method for decoding truncated RS code
CN114465857A (en) * 2022-03-11 2022-05-10 大连大学 THz communication method suitable for severe sea conditions
CN114640425A (en) * 2022-03-07 2022-06-17 华南师范大学 Transmission method, device and system for mobile molecular diffusion communication
EP4102726A1 (en) * 2021-06-09 2022-12-14 Technische Universität Berlin Method and system for identification via channels using optical orthogonal codes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5280488A (en) * 1990-11-08 1994-01-18 Neal Glover Reed-Solomon code system employing k-bit serial techniques for encoding and burst error trapping
JPH10229342A (en) * 1997-02-14 1998-08-25 Matsushita Electric Ind Co Ltd Reduced error correction decoder
US20050149821A1 (en) * 2003-12-18 2005-07-07 Hoon Lee Apparatus for FEC supporting transmission of variable-length frames in TDMA system and method of using the same
CN112636828A (en) * 2020-12-17 2021-04-09 苏州亮芯光电科技有限公司 Full-duplex deep ultraviolet communication device and control method thereof
EP4102726A1 (en) * 2021-06-09 2022-12-14 Technische Universität Berlin Method and system for identification via channels using optical orthogonal codes
CN113904755A (en) * 2021-10-13 2022-01-07 芯河半导体科技(无锡)有限公司 Method for decoding truncated RS code
CN114640425A (en) * 2022-03-07 2022-06-17 华南师范大学 Transmission method, device and system for mobile molecular diffusion communication
CN114465857A (en) * 2022-03-11 2022-05-10 大连大学 THz communication method suitable for severe sea conditions

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KE YANG,DADI BI,YANSHA DENG,RUI ZHANG,MUHAMMAD MAHBOOB UR RAHMAN: ""A Comprehensive Survey on Hybrid Communication in Context of Molecular Communication and Terahertz Communication for Body-Centric Nanonetworks"", 《IEEE TRANSACTIONS ON MOLECULAR, BIOLOGICAL, AND MULTI-SCALE COMMUNICATIONS》, 18 August 2020 (2020-08-18), pages 107 - 133, XP011810592, DOI: 10.1109/TMBMC.2020.3017146 *
LIWEI MU;XINGCHENG LIU;LIE-LIANG YANG: ""Redundant Residue Number System Coded Diffusive Molecular Communications"", 《2018 10TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS AND SIGNAL PROCESSING (WCSP)》, 2 December 2018 (2018-12-02) *
黄龙军;王万良;姚信威;沈士根;潘小刚: ""电磁纳米网节能编码方法研究进展"", 《电子学报》, 15 August 2016 (2016-08-15) *

Similar Documents

Publication Publication Date Title
US8369448B2 (en) Bit mapping scheme for an LDPC coded 32APSK system
US8020070B2 (en) Trapping set decoding for transmission frames
EP2490337B1 (en) Method and apparatus for encoding and decoding in a communication system using low-density parity check codes
US8971433B2 (en) Compressive wireless modulation
US8196016B1 (en) Trapping set decoding for transmission frames
US8386880B2 (en) Method for transmitting non-binary codes and decoding the same
CN102484483B (en) Set the method for iterations of iterative decoding, iterative decoding device and method
CN103001739A (en) Fountain Code Decoding Method Applicable to Wireless Broadcasting System
US11128317B2 (en) Method for transmitting additional information by using linear block codes
CN107919944B (en) Method and apparatus for generating optimized coded modulation
CN102244922B (en) Power control method applicable to Raptor Codes under additive white Gaussian noise channel
CN114884784B (en) Constellation point mapping relation generation method, signal transmission method and related device
CN111313908A (en) An Irregular Watermark Encoding and Decoding Method for Correcting Non-binary Insertion/Deletion
Yazdani et al. Reliable communication over non-binary insertion/deletion channels
Mahajan et al. Reed-Solomon code performance for M-ary modulation over AWGN channel
CN110535805B (en) A method of extra information transmission based on constellation rotation
CN116094653A (en) Molecular diffusion communication method, system and storage medium
CN113541871B (en) Method for generating code words and coder-decoder
CN111490851A (en) Data frame transmission error detection method and data transmission method for wireless instruction system
CN101150377A (en) Bit-mapping scheme for 32APSK system for low-density parity-check coding
CN114640425A (en) Transmission method, device and system for mobile molecular diffusion communication
CN112350799A (en) An error correction method, system, device and medium for channel coding
EP1901436A2 (en) Bit mapping scheme for an LDPC coded 16APSK system
Huang et al. Research of error control coding and decoding
Valenti et al. The interplay between modulation and channel coding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination