CN110932809B - Fiber channel model simulation method, device, electronic equipment and storage medium - Google Patents
Fiber channel model simulation method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110932809B CN110932809B CN201911142143.5A CN201911142143A CN110932809B CN 110932809 B CN110932809 B CN 110932809B CN 201911142143 A CN201911142143 A CN 201911142143A CN 110932809 B CN110932809 B CN 110932809B
- Authority
- CN
- China
- Prior art keywords
- neural network
- signal data
- network model
- model
- deep neural
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000000835 fiber Substances 0.000 title claims abstract description 122
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004088 simulation Methods 0.000 title claims abstract description 21
- 238000003062 neural network model Methods 0.000 claims abstract description 84
- 238000012549 training Methods 0.000 claims abstract description 53
- 239000013307 optical fiber Substances 0.000 claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims abstract description 28
- 238000013528 artificial neural network Methods 0.000 claims abstract description 22
- 238000004422 calculation algorithm Methods 0.000 claims description 34
- 230000006403 short-term memory Effects 0.000 claims description 25
- 230000002457 bidirectional effect Effects 0.000 claims description 22
- 230000008054 signal transmission Effects 0.000 claims description 16
- 238000005070 sampling Methods 0.000 claims description 13
- 230000015654 memory Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 210000002569 neuron Anatomy 0.000 description 7
- 238000013135 deep learning Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 239000006185 dispersion Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000001069 Raman spectroscopy Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/391—Modelling the propagation channel
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/049—Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/073—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an out-of-service signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/391—Modelling the propagation channel
- H04B17/3912—Simulation models, e.g. distribution of spectral power density or received signal strength indicator [RSSI] for a given geographic region
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Optical Communication System (AREA)
Abstract
本发明实施例提供一种光纤信道模型模拟方法、装置、电子设备和存储介质,该方法包括:获取所需光纤仿真传输的信号数据;将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据所述深度神经网络模型的输出结果,确定所述光纤长度的光纤信道输出的信号数据;其中,所述深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。训练好的深度神经网络网络能够实现高速和高鲁棒性的信号数据的光纤信道仿真。与目前的方法相比具有较低的复杂度,大大减少了对光纤信道进行建模所需的专业知识以及复杂程度,只要获得足够的输入输出数据以及距离参数即可对任意光纤信道进行建模,且建模及模型运行所需时间较短。
Embodiments of the present invention provide a method, device, electronic device, and storage medium for simulating a fiber channel model. The method includes: acquiring signal data required for fiber simulation transmission; inputting the signal data and fiber length parameters into a preset A deep neural network model, according to the output result of the deep neural network model, to determine the signal data output by the optical fiber channel of the optical fiber length; wherein, the deep neural network model, according to the determined optical fiber length and the sample signal of the channel output result data, obtained after training. The trained deep neural network network can realize high-speed and high-robust Fibre Channel simulation of signal data. Compared with current methods, it has lower complexity, which greatly reduces the expertise and complexity required to model the fiber channel. As long as sufficient input and output data and distance parameters are obtained, any fiber channel can be modeled , and the time required for modeling and model running is shorter.
Description
技术领域technical field
本发明涉及光通信技术领域,尤其涉及一种光纤信道模型模拟方法、装置、电子设备和存储介质。The present invention relates to the technical field of optical communication, and in particular, to a method, device, electronic device and storage medium for simulating a fiber channel model.
背景技术Background technique
在通信中,信道按其物理组成常被分成微波信道、光纤信道、电缆信道等,假定信道的传输特性已知,可以抽象地将信道用模型来描述,并按其输入/输出信号的数学特点以及输入/输出信号之间关系的数学特点进行分类。In communication, channels are often divided into microwave channels, optical fiber channels, cable channels, etc. according to their physical composition. Assuming that the transmission characteristics of the channel are known, the channel can be abstractly described by a model, and the mathematical characteristics of its input/output signals can be used to describe the channel. and the mathematical characteristics of the relationship between the input/output signals.
在光通信领域中,模拟信号通过光纤传输的传统计算方法是利用分步傅里叶方法求解非线性薛定谔方程,同要考虑受激拉曼散射、四波混频、自相位调制、色散以及衰减等等因素。算法的时间复杂度较高,所需时间随传输距离增长增加明显且根据不同光纤信道的情况,这样的计算较为复杂并不够准确。目前的光纤建模方法复杂,还存在部分情况难以准确建模的弊端。In the field of optical communication, the traditional calculation method of analog signal transmission through optical fiber is to solve the nonlinear Schrödinger equation using the fractional-step Fourier method, and also consider stimulated Raman scattering, four-wave mixing, self-phase modulation, dispersion and attenuation. and so on factors. The time complexity of the algorithm is relatively high, and the required time increases significantly with the increase of the transmission distance. According to the situation of different fiber channels, such calculation is more complicated and not accurate enough. The current fiber modeling method is complex, and there are still some disadvantages that it is difficult to accurately model some situations.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本发明实施例提供一种光纤信道模型模拟方法、装置、电子设备和存储介质。In order to solve the above problems, embodiments of the present invention provide a method, apparatus, electronic device, and storage medium for simulating a fiber channel model.
第一方面,本发明实施例提供一种光纤信道模型模拟方法,包括:获取所需光纤仿真传输的信号数据;将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据所述深度神经网络模型的输出结果,确定所述光纤长度的光纤信道输出的信号数据;其中,所述深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。In a first aspect, an embodiment of the present invention provides a method for simulating a fiber channel model, including: acquiring signal data required for fiber simulation transmission; inputting the signal data and fiber length parameters into a preset deep neural network model, according to The output result of the deep neural network model determines the signal data output by the optical fiber channel of the optical fiber length; wherein, the deep neural network model is obtained after training according to the determined optical fiber length and the sample signal data of the channel output result .
进一步地,所述将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型之前,还包括:按照预设的采样率,对所述信号数据的每比特数据进行采样;相应地,所述将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型,具体为:将按照预设的采样率采样后的信号数据和光纤长度参数,输入至预设的深度神经网络模型。Further, before inputting the signal data and the fiber length parameter into the preset deep neural network model, the method further includes: sampling each bit of the signal data according to a preset sampling rate; correspondingly , inputting the signal data and fiber length parameters into a preset deep neural network model, specifically: inputting the signal data and fiber length parameters sampled at a preset sampling rate into a preset deep neural network network model.
进一步地,所述深度神经网络模型具体为双向长短期记忆神经网络模型。Further, the deep neural network model is specifically a bidirectional long short-term memory neural network model.
进一步地,所述将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型,包括:按照所述信号数据的时间序列,将所述信号数据的每比特数据和光纤长度参数的组合,经输入层分别输入至双向长短期记忆神经网络模型的正向LSTM层和反向LSTM层;将正向LSTM层和反向LSTM层的输出结果,共同输入至全连接层,并从输出层得到信号传输结果数据。Further, the inputting the signal data and the fiber length parameter into the preset deep neural network model includes: according to the time series of the signal data, inputting the data per bit of the signal data and the fiber length parameter. Combination, input to the forward LSTM layer and reverse LSTM layer of the bidirectional long short-term memory neural network model through the input layer; the output results of the forward LSTM layer and the reverse LSTM layer are jointly input to the fully connected layer, and from the output The layer obtains the signal transmission result data.
进一步地,所述将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型之前,还包括:获取多个信号数据样本,以及对应的信号数据样本在确定长度的光纤信道的信号传输结果数据;将每个信号数据样本对应的传输前信号数据、光纤长度和信号传输结果数据的组合作为一个训练样本,从而得到多个训练样本,利用所述多个训练样本对所述双向长短期记忆神经网络模型进行训练。Further, before the inputting the signal data and the fiber length parameter into the preset deep neural network model, the method further includes: acquiring a plurality of signal data samples, and the corresponding signal data samples in the signal of the fiber channel of the determined length. Transmission result data; take the combination of pre-transmission signal data, fiber length and signal transmission result data corresponding to each signal data sample as a training sample, thereby obtaining multiple training samples, and using the multiple training samples for the bidirectional Short-term memory neural network model for training.
进一步地,所述利用所述多个训练样本对所述双向长短期记忆神经网络模型进行训练,包括:将任意一个信号数据样本的传输前信号和光纤长度参数,输入至所述双向长短期记忆神经网络模型,利用前向传播算法,计算所述信号数据样本在所述长度参数下的信号传输结果数据;基于反向传播算法,更新所述双向长短期记忆神经网络模型的模型参数;根据所述双向长短期记忆神经网络模型的输出与输入的误差,计算所述双向长短期记忆神经网络模型的准确率,若所述准确率大于预设阈值或训练次数达到预设次数,则所述双向长短期记忆神经网络模型训练完成。Further, using the plurality of training samples to train the bidirectional long short-term memory neural network model includes: inputting the pre-transmission signal and fiber length parameter of any signal data sample into the bidirectional long short-term memory. The neural network model uses a forward propagation algorithm to calculate the signal transmission result data of the signal data sample under the length parameter; based on the back propagation algorithm, the model parameters of the bidirectional long short-term memory neural network model are updated; The error between the output and the input of the bidirectional long short-term memory neural network model is calculated, and the accuracy rate of the bidirectional long short-term memory neural network model is calculated. If the accuracy rate is greater than a preset threshold or the number of training times reaches a preset number, the The training of the long short-term memory neural network model is completed.
进一步地,所述反向传播算法为基于梯度下降的反向传播算法。Further, the backpropagation algorithm is a gradient descent based backpropagation algorithm.
第二方面,本发明实施例提供一种光纤信道模型模拟装置,包括:接收模块,用于获取需光纤仿真传输的信号数据;处理模块,将所述信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据所述深度神经网络模型的输出结果,确定所述光纤长度的光纤信道输出的信号数据;其中,所述深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。In a second aspect, an embodiment of the present invention provides an optical fiber channel model simulation device, including: a receiving module for acquiring signal data to be transmitted by optical fiber simulation; a processing module for inputting the signal data and optical fiber length parameters into a preset The deep neural network model, according to the output result of the deep neural network model, to determine the signal data of the optical fiber channel output of the optical fiber length; wherein, the deep neural network model, according to the determined optical fiber length and the channel output result sample data Signal data, obtained after training.
第三方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现本发明第一方面光纤信道模型模拟方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the program, the fiber channel model simulation of the first aspect of the present invention is implemented. steps of the method.
第四方面,本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本发明第一方面光纤信道模型模拟方法的步骤。In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method for simulating a fiber channel model in the first aspect of the present invention.
本发明实施例提供的光纤信道模型模拟方法、装置、电子设备和存储介质,预设的深度神经网络模型根据确定的光纤长度和信道输出结果的样本信号数据训练后得到,能够输出信号数据在给定长度光纤信道的输出结果,从而可作为准确的光纤信道模型。训练好的深度神经网络网络能够实现高精度和高鲁棒性的信号数据的光纤信道仿真。与目前的方法相比具有较低的复杂度,大大减少了传统方法对光纤信道进行建模所需的专业知识以及复杂程度,利用深度神经网络的深度学习技术,只要获得足够的输入输出数据以及距离参数即可对任意光纤信道进行建模,且建模所需时间较短。In the fiber channel model simulation method, device, electronic device, and storage medium provided by the embodiments of the present invention, the preset deep neural network model is obtained after training according to the determined fiber length and sample signal data of the channel output result, and the output signal data can be The output result of a fixed-length Fibre Channel can be used as an accurate Fibre Channel model. The trained deep neural network network can realize the Fibre Channel simulation of signal data with high precision and high robustness. Compared with the current method, it has lower complexity, which greatly reduces the professional knowledge and complexity required for the traditional method to model the fiber channel. Using the deep learning technology of deep neural network, as long as sufficient input and output data and Any Fibre Channel can be modeled using the distance parameter in less time.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的光纤信道模型模拟方法流程图;1 is a flowchart of a method for simulating a fiber channel model provided by an embodiment of the present invention;
图2为本发明实施例提供的光纤信道模型结构示意图;2 is a schematic structural diagram of a fiber channel model provided by an embodiment of the present invention;
图3为本发明实施例提供的光纤信道模型模拟方法的输出波形与标签波形对比图;3 is a comparison diagram of an output waveform and a label waveform of a fiber channel model simulation method provided by an embodiment of the present invention;
图4为本发明实施例提供的BiLSTM算法与BP-ANN、BiRNN算法生成波形与标签波形的均方误差对比图;4 is a comparison diagram of the mean square error between the waveform generated by the BiLSTM algorithm, the BP-ANN, and the BiRNN algorithm provided by the embodiment of the present invention and the label waveform;
图5为本发明实施例提供的BiLSTM算法与BP-ANN、BiRNN算法生成波形与标签波形的频域误差对比图;5 is a comparison diagram of the frequency domain error between the BiLSTM algorithm and the BP-ANN, BiRNN algorithm generated waveform and the label waveform provided by the embodiment of the present invention;
图6为本发明实施例提供的光纤信道模型模拟装置结构图;6 is a structural diagram of an apparatus for simulating a fiber channel model provided by an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的实体结构示意图。FIG. 7 is a schematic diagram of a physical structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明实施例提供的光纤信道模型模拟方法流程图,如图1所示,本发明实施例提供一种光纤信道模型模拟方法,包括:FIG. 1 is a flowchart of a method for simulating a fiber channel model provided by an embodiment of the present invention. As shown in FIG. 1 , an embodiment of the present invention provides a method for simulating a fiber channel model, including:
101,获取需光纤仿真传输的信号数据。101. Acquire signal data that needs to be simulated and transmitted by the optical fiber.
现有技术中的信道传输,对将二进制序列形成脉冲波形后,经数模转化成模拟信号,再通过半导体激光器转换为光信号,经由光纤传输。在光纤的接收端,通过光电二极管转换为电信号,再经模数转换得到该光纤信道传输后的数字信号。In the channel transmission in the prior art, after the binary sequence is formed into a pulse waveform, it is converted into an analog signal by digital-to-analog, and then converted into an optical signal by a semiconductor laser, and transmitted through an optical fiber. At the receiving end of the optical fiber, the photodiode is converted into an electrical signal, and then the digital signal transmitted by the optical fiber channel is obtained through analog-to-digital conversion.
在101中,本实施例,主要对上述过程进行仿真。信号数据需要通过仿真的光纤信道进行传送,获取经光纤信道传输后的结果,信号数据可以是一组二进制序列,例如OOK调制的信号。本实施例以单模光纤信道为例,先获取需进行仿真传输的信号数据。本实施例使用的仿真软件为VPItransmissionMaker 8.6,在该仿真软件上搭建了通过单模光纤传输OOK信号的仿真模块,凭此模块来获取所述信号数据。In 101, in this embodiment, the above process is mainly simulated. The signal data needs to be transmitted through the simulated fiber channel, and the result after transmission through the fiber channel is obtained. The signal data can be a set of binary sequences, such as OOK modulated signals. In this embodiment, a single-mode fiber channel is used as an example, and signal data to be simulated and transmitted is obtained first. The simulation software used in this embodiment is VPItransmissionMaker 8.6, and a simulation module for transmitting OOK signals through a single-mode optical fiber is built on the simulation software, and the signal data is obtained based on this module.
102,将信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据深度神经网络模型的输出结果,确定光纤长度的光纤信道输出的信号数据。102. Input the signal data and the optical fiber length parameter into a preset deep neural network model, and determine the signal data output by the optical fiber channel of the optical fiber length according to the output result of the deep neural network model.
机器学习技术大大促进了诸如计算机视觉、自然语言处理以及语音处理等领域的发展。近年来,机器学习技术也被应用到光通信领域,包括光学性能检测、非线性损伤补偿和信道监测补偿等方面,主要包括K临近算法、SVM支持向量机等。也逐步应用到光通信的物理信道,但由于物理信道根据场景不同处理较为复杂,传统机器学习方法学习能力有限。深度学习的神经网络算法具有极其强大的学习能力,不同结构可以用于分类、图像处理、时间序列处理等等问题。神经网络训练结束后相当于一个函数,可以对数据进行处理变换且时间复杂度较低。Machine learning techniques have greatly facilitated the development of fields such as computer vision, natural language processing, and speech processing. In recent years, machine learning technology has also been applied to the field of optical communication, including optical performance detection, nonlinear damage compensation and channel monitoring compensation, mainly including K-proximity algorithm, SVM support vector machine, etc. It is also gradually applied to the physical channel of optical communication, but because the physical channel is more complicated to process according to different scenarios, the learning ability of traditional machine learning methods is limited. The neural network algorithm of deep learning has extremely powerful learning ability, and different structures can be used for classification, image processing, time series processing and other problems. After the neural network is trained, it is equivalent to a function, which can process and transform the data with low time complexity.
利用深度学习神经网络的强大学习能力,可以实现对光纤信道的建模。只需要一定量的光纤输入输出数据,便可完成建模。方法简单无需强专业知识,且神经网络训练完成后运行时间较短并不随传输距离增大而增加。Using the powerful learning capabilities of deep learning neural networks, Fibre Channel modeling can be achieved. Only a certain amount of fiber input and output data is required to complete the modeling. The method is simple and does not require strong professional knowledge, and the running time of the neural network after training is short and does not increase with the increase of transmission distance.
102中,预设的深度神经网络模型是通过样本信号数据训练后得到的。样本信号数据是预先已经获知光纤信道的光纤长度,以及对应光纤长度下的真实信道传输结果的信号数据,并将对应的已知信道输出结果作为每一样本信号数据的标签。建立深度神经网络模型后,通过大量的此类样本信号数据进行训练,从而得到预设的深度神经网络模型,对于后续需仿真传输的信号数据,将信号数据的每比特数据,和需仿真的信道光纤长度,输入至预设的深度神经网络模型,能够快速准确得到相应信道的输出结果。In 102, the preset deep neural network model is obtained after training with sample signal data. The sample signal data is the signal data for which the fiber length of the fiber channel and the actual channel transmission result corresponding to the fiber length are known in advance, and the corresponding known channel output result is used as the label of each sample signal data. After the deep neural network model is established, a large amount of such sample signal data is used for training to obtain a preset deep neural network model. For the signal data that needs to be simulated and transmitted subsequently, the data of each bit of the signal data and the channel to be simulated are calculated. The fiber length is input to the preset deep neural network model, and the output result of the corresponding channel can be quickly and accurately obtained.
通过利用深度神经网络模型,能够得到准确的仿真结果。By using the deep neural network model, accurate simulation results can be obtained.
优选地,所要建模仿真的光纤信道的衰减因子、色散因子、非线性因子等等因素是确定的,仅传输距离可以调节。Preferably, factors such as attenuation factor, dispersion factor, nonlinear factor, etc. of the fiber channel to be modeled and simulated are determined, and only the transmission distance can be adjusted.
深度神经网络可以根据需求设置,如包括BP-ANN(反向传播人工神经网络)、BiRNN(双向循环神经网络)和BiRNN(双向长短期记忆神经网络)等。The deep neural network can be set according to the needs, such as including BP-ANN (back-propagation artificial neural network), BiRNN (bidirectional recurrent neural network) and BiRNN (bidirectional long short-term memory neural network), etc.
本发明实施例提供的光纤信道模型模拟方法,预设的深度神经网络模型根据确定的光纤长度和信道输出结果的样本信号数据训练后得到,能够输出信号数据在给定长度光纤信道的输出结果,从而可作为准确的光纤信道模型。训练好的深度神经网络网络能够实现高精度和高鲁棒性的信号数据的光纤信道仿真。与目前的方法相比具有较低的复杂度,大大减少了传统方法对光纤信道进行建模所需的专业知识以及复杂程度,利用深度神经网络的深度学习技术,只要获得足够的输入输出数据以及距离参数即可对任意光纤信道进行建模,且建模所需时间较短。In the fiber channel model simulation method provided by the embodiment of the present invention, the preset deep neural network model is obtained after training according to the determined fiber length and the sample signal data of the channel output result, and can output the output result of the signal data in the fiber channel of a given length, Thus, it can be used as an accurate Fibre Channel model. The trained deep neural network network can realize the Fibre Channel simulation of signal data with high precision and high robustness. Compared with the current method, it has lower complexity, which greatly reduces the professional knowledge and complexity required for the traditional method to model the fiber channel. Using the deep learning technology of deep neural network, as long as sufficient input and output data and Any Fibre Channel can be modeled using the distance parameter in less time.
基于上述实施例的内容,作为一种可选实施例,将信号数据和光纤长度参数,输入至预设的深度神经网络模型之前,还包括:按照预设的采样率,对信号数据的每比特数据进行采样;相应地,将信号数据和光纤长度参数,输入至预设的深度神经网络模型,具体为:将按照预设的采样率采样后的信号数据和光纤长度参数,输入至预设的深度神经网络模型。Based on the content of the foregoing embodiment, as an optional embodiment, before inputting the signal data and the fiber length parameter into the preset deep neural network model, the method further includes: The data is sampled; correspondingly, the signal data and fiber length parameters are input into the preset deep neural network model, specifically: the signal data and fiber length parameters sampled at the preset sampling rate are input into the preset Deep Neural Network Model.
预设的采样率为每比特的采样位数,每比特数据输入神经网络之前先按预设的采样率进行采样后,可提高输出结果的精度。例如,信号数据为一组伪随机二进制序列,共计8192比特,每比特信号采样8位。将采样后的信号数据和光纤长度参数,作为深度神经网络模型的输入数据,获取每比特8位采样值的结果数据。对应地,深度神经网络模型训练时所使用的样本数据也是根据相同的预设采样率进行采样后的信号。The preset sampling rate is the number of sampling bits per bit, and the accuracy of the output result can be improved after each bit of data is sampled at the preset sampling rate before being input to the neural network. For example, the signal data is a group of pseudo-random binary sequences with a total of 8192 bits, and each bit of the signal is sampled 8 bits. The sampled signal data and fiber length parameters are used as the input data of the deep neural network model, and the result data of 8-bit sampling value per bit is obtained. Correspondingly, the sample data used in the training of the deep neural network model is also a signal sampled according to the same preset sampling rate.
基于上述实施例的内容,作为一种可选实施例,深度神经网络模型具体为双向长短期记忆神经网络模型(BiLSTM)。Based on the content of the foregoing embodiment, as an optional embodiment, the deep neural network model is specifically a bidirectional long short-term memory neural network model (BiLSTM).
BiLSTM由前向的LSTM与后向的LSTM结合而成,LSTM是RNN的一个优秀的变种模型,继承了大部分RNN模型的特性,同时解决了梯度反传过程由于逐步缩减而产生的“Vanishing Gradient”问题。LSTM非常适合用于处理与时间序列高度相关的问题,例如机器翻译、对话生成、编码\解码等。预设的深度神经网络模型采样BiLSTM能够获得较高的准确率,保证光纤信道模型的精度。BiLSTM is composed of forward LSTM and backward LSTM. LSTM is an excellent variant model of RNN. It inherits the characteristics of most RNN models and solves the "Vanishing Gradient" caused by the gradual reduction of the gradient backpropagation process. "question. LSTM is very suitable for dealing with highly time series related problems, such as machine translation, dialogue generation, encoding/decoding, etc. The preset deep neural network model sampling BiLSTM can obtain high accuracy and ensure the accuracy of the Fibre Channel model.
基于上述实施例的内容,作为一种可选实施例,将信号数据和光纤长度参数,输入至预设的深度神经网络模型,包括:按照信号数据的时间序列,将信号数据的每比特数据和光纤长度参数的组合,经输入层分别输入至BiLSTM模型的正向LSTM层和反向LSTM层;将正向LSTM层和反向LSTM层的输出结果,共同输入至全连接层,并从输出层得到信号传输结果数据。Based on the content of the above-mentioned embodiment, as an optional embodiment, inputting the signal data and the fiber length parameter into the preset deep neural network model includes: according to the time series of the signal data, each bit of the signal data and the The combination of fiber length parameters is input to the forward LSTM layer and reverse LSTM layer of the BiLSTM model through the input layer; the output results of the forward LSTM layer and the reverse LSTM layer are jointly input to the fully connected layer, and from the output layer. Obtain signal transmission result data.
本实施例以BiLSTM作为预设的深度神经网络模型,该BiLSTM模型的结构主要包括:一个输入层、n个正向LSTM时间步(LF1、LF2、...、LFn)组成的正向LSTM层、n个反向LSTM时间步(LB1、LB2、...、LBn)组成的反向LSTM层、m个全连接层(F1、F2、...、Fm)和一个输出层。其中,每个对应的正向LSTM时间步与反向LSTM时间步(如LFn与LBn)为一对,共用一个输入,每对LSTM时间步的输入为1比特数据以及一个距长度参数,n对LSTM时间步的输入以及每个时间步对应的距离参数即为输入层,n对LSTM时间步的输出输入全连接层F1,F1层的所有神经元节点与下一个全连接层F2的神经元节点进行全连接;经m个全连接层顺次连接,最后一个全连接层Fm与输出层进行全连接;输出层输出经过相应传输距离的光纤信号。其中,n和m为大于1的整数。In this embodiment, BiLSTM is used as the preset deep neural network model. The structure of the BiLSTM model mainly includes: an input layer and a forward LSTM layer composed of n forward LSTM time steps (LF1, LF2, ..., LFn). , a reverse LSTM layer consisting of n reverse LSTM time steps (LB1, LB2, ..., LBn), m fully connected layers (F1, F2, ..., Fm) and an output layer. Among them, each corresponding forward LSTM time step and reverse LSTM time step (such as LFn and LBn) are a pair, sharing one input, the input of each pair of LSTM time steps is 1-bit data and a distance length parameter, n pairs The input of the LSTM time step and the distance parameter corresponding to each time step are the input layer, and the output of n pairs of LSTM time steps is input to the fully connected layer F1, all the neuron nodes of the F1 layer and the next fully connected layer F2 The neuron node of the layer Perform full connection; connect sequentially through m full connection layers, and the last full connection layer Fm is fully connected with the output layer; the output layer outputs the optical fiber signal that has passed the corresponding transmission distance. where n and m are integers greater than 1.
图2为本发明实施例提供的光纤信道模型结构示意图,如图2所示,其结构主要包括以下几个部分:一个输入层、三个正向LSTM时间步(LF1、LF2、LF3)、三个反向LSTM时间步(LB1、LB2、LB3)、两个全连接层(图中的F1、F2)、一个输出层。其中,每个对应的正向LSTM时间步与反向LSTM时间步为一对(LF1与LB1、LF2与LB2、LF3与LB3),公用一个输入,每对LSTM时间步的输入为1比特数据(图中one bit)以及一个光纤长度参数(图中L),三对LSTM时间步的输入以及每个时间步对应的距离参数即为输入层,三对LSTM时间步的输出输入全连接层F1,F1层的所有神经元节点与下一个全连接层F2的神经元节点进行全连接,F2与输出层进行全连接;输出层输出经过相应传输距离的光纤信号。FIG. 2 is a schematic structural diagram of a fiber channel model provided by an embodiment of the present invention. As shown in FIG. 2, the structure mainly includes the following parts: an input layer, three forward LSTM time steps (LF1, LF2, LF3), three Inverse LSTM time steps (LB1, LB2, LB3), two fully connected layers (F1, F2 in the figure), one output layer. Among them, each corresponding forward LSTM time step and reverse LSTM time step is a pair (LF1 and LB1, LF2 and LB2, LF3 and LB3), sharing one input, and the input of each pair of LSTM time steps is 1-bit data ( One bit in the figure) and a fiber length parameter (L in the figure), the input of the three pairs of LSTM time steps and the distance parameter corresponding to each time step are the input layer, and the outputs of the three pairs of LSTM time steps are input to the fully connected layer F1, All neuron nodes of the F1 layer are fully connected to the neuron nodes of the next fully connected layer F2, and F2 is fully connected to the output layer; the output layer outputs the optical fiber signal that has passed the corresponding transmission distance.
相应地,按照所述信号数据的时间序列,将所述信号数据的每比特数据和光纤长度参数的组合,经输入层分别输入至双向长短期记忆神经网络模型的正向LSTM层和反向LSTM层,具体为:Correspondingly, according to the time series of the signal data, the combination of each bit data of the signal data and the fiber length parameter is respectively input to the forward LSTM layer and the reverse LSTM layer of the bidirectional long short-term memory neural network model through the input layer. layer, specifically:
按照信号数据的时间序列,将所述信号数据的每比特数据和光纤长度参数的组合中,每三个比特数据和光纤长度参数组合一起,按顺序输入至正向LSTM层和反向LSTM层的三个时间步,并按照输入顺序输出结果。According to the time series of the signal data, in the combination of each bit data of the signal data and the fiber length parameter, every three bits of data and the fiber length parameter are combined together, and are sequentially input to the forward LSTM layer and the reverse LSTM layer. Three time steps, and output the results in the order of input.
基于上述实施例的内容,作为一种可选实施例,将信号数据和光纤长度参数,输入至预设的深度神经网络模型之前,还包括:获取多个信号数据样本,以及对应的信号数据样本在确定长度的光纤信道的信号传输结果数据;将每个信号数据样本对应的传输前信号数据、光纤长度和信号传输结果数据的组合作为一个训练样本,从而得到多个训练样本,利用多个训练样本对BiLSTM模型进行训练。Based on the content of the foregoing embodiment, as an optional embodiment, before inputting the signal data and the fiber length parameter into the preset deep neural network model, the method further includes: acquiring a plurality of signal data samples and corresponding signal data samples The signal transmission result data of the fiber channel of the determined length; the combination of the pre-transmission signal data, the fiber length and the signal transmission result data corresponding to each signal data sample is taken as a training sample, so as to obtain multiple training samples, and use multiple training samples. samples to train the BiLSTM model.
将需光纤仿真传输的信号数据输入至预设的深度神经网络模型之前,还需对该神经网络进行训练,从而得到能够作为光纤信道模型的预设神经网络模型,具体步骤如下。Before inputting the signal data to be simulated and transmitted by the optical fiber into the preset deep neural network model, the neural network needs to be trained to obtain the preset neural network model that can be used as the fiber channel model. The specific steps are as follows.
首先,获取多个传输前的信号数据样本,并获取该多个信号数据样本传输的结果数据,以及传输时对应光纤信道的长度参数。First, obtain a plurality of signal data samples before transmission, and obtain the result data of the transmission of the plurality of signal data samples, and the length parameter of the corresponding fiber channel during transmission.
其次,将每个信号数据样本传输前信号数据,光纤长度参数作为输入,将信号传输结果数据作为确定输出标签,以此作为一个样本,从而得到多个训练样本。将每一样本中传输前信号数据,光纤长度参数输入至构建的深度神经网络模型,并根据输出结果和样本已预先确定的输出标签,调整深度神经网络模型的相关参数,实现对深度神经网络模型的训练过程,从而得到上述预设的深度数据网络模型。Secondly, the signal data before transmission of each signal data sample and the fiber length parameter are used as input, and the signal transmission result data is used as the determined output label as a sample, so as to obtain multiple training samples. Input the pre-transmission signal data and the fiber length parameter in each sample into the constructed deep neural network model, and adjust the relevant parameters of the deep neural network model according to the output results and the output labels that have been pre-determined by the sample, so as to realize the adjustment of the deep neural network model. The training process of the above-mentioned preset deep data network model is obtained.
本发明实施例提供的光纤信道模型模拟方法,通过获取多个信号数据样本,以及对应的信号数据样本在确定长度的光纤信道的信号传输结果数据,从而得到多个训练样本,利用多个训练样本对深度神经网络模型进行训练,从而对于输入该深度神经网络模型进行仿真传输的信号数据,能够得到与样本所使用的光纤信道相一致的输出结果。The method for simulating a fiber channel model provided by the embodiment of the present invention obtains multiple training samples by acquiring multiple signal data samples and the signal transmission result data of the corresponding signal data samples in a fiber channel of a certain length, and using multiple training samples The deep neural network model is trained, so that for the signal data input to the deep neural network model for simulation transmission, an output result consistent with the fiber channel used by the sample can be obtained.
基于上述实施例的内容,作为一种可选实施例,利用多个训练样本对BiLSTM模型进行训练,包括:将任意一个信号数据样本的传输前信号和光纤长度参数,输入至双向长短期记忆神经网络,利用前向传播算法,计算信号数据样本在长度参数下的信号传输结果数据;基于反向传播算法,更新BiLSTM模型的模型参数;根据BiLSTM模型的输出与输入的误差,计算BiLSTM模型的准确率,若准确率大于预设阈值或训练次数达到预设次数,则BiLSTM模型训练完成。Based on the content of the above embodiment, as an optional embodiment, using multiple training samples to train the BiLSTM model includes: inputting the pre-transmission signal and the fiber length parameter of any signal data sample into the bidirectional long short-term memory neural network The network uses the forward propagation algorithm to calculate the signal transmission result data of the signal data sample under the length parameter; based on the back propagation algorithm, the model parameters of the BiLSTM model are updated; according to the error between the output and input of the BiLSTM model, the accuracy of the BiLSTM model is calculated. If the accuracy rate is greater than the preset threshold or the number of training times reaches the preset number of times, the BiLSTM model training is completed.
将样本信号数据输入至BiLSTM模型,采用前向传播算法计算每个神经元的输出。并根据输出值,采用反向传播算法,更新长短时记忆神经网络模型中的权重值。反向传播中可通过梯度下降算法迭代更新模型中的权重,同时计算每个神经元输出的误差值。其中,BiLSTM的误差项的反向传播包括两个方向:一个是沿时间反向传播,另一个是将误差项向上一层神经元传播。根据相应的误差项,计算每个权重的梯度以更新权重。The sample signal data is input into the BiLSTM model, and the forward propagation algorithm is used to calculate the output of each neuron. And according to the output value, the back-propagation algorithm is used to update the weight value in the long-short-term memory neural network model. In backpropagation, the weights in the model can be iteratively updated through the gradient descent algorithm, and the error value of each neuron output can be calculated at the same time. Among them, the back-propagation of the error term of BiLSTM includes two directions: one is back-propagation along time, and the other is to propagate the error term to the upper layer of neurons. Based on the corresponding error term, the gradient of each weight is computed to update the weight.
由于长短期记忆神经网络模型训练是一个迭代过程,需要对训练出的模型进行验证以确定终止条件。可根据输入的信号数据和输出的信号数据确定模型的输入输出误差后,计算BiLSTM模型的准确率,若准确率大于预设阈值大于或等于预设阈值,则结束上述对模型的训练过程。若准确率小于预设阈值,则继续重复训练过程直至预设训练次数。通过循环训练和验证找出满足预设误差的训练后模型,则终止对模型的训练。或者,达到一定的训练次数后则终止训练过程。Since the training of the long short-term memory neural network model is an iterative process, the trained model needs to be verified to determine the termination condition. After determining the input and output errors of the model according to the input signal data and the output signal data, the accuracy of the BiLSTM model can be calculated. If the accuracy is greater than or equal to the preset threshold, the training process for the model is ended. If the accuracy rate is less than the preset threshold, continue to repeat the training process until the preset number of training times. Find out the post-training model that satisfies the preset error through circular training and verification, then terminate the training of the model. Alternatively, the training process is terminated after reaching a certain number of training times.
基于上述实施例的内容,作为一种可选实施例,上述反向传播算法为基于梯度下降的反向传播算法。本发明实施例中,BiLSTM模型的反向传播使用梯度下降的方法来逐步调整自身参数,从而最小化实际输出与标签值之间的误差。图3为本发明实施例提供的光纤信道模型模拟方法的输出波形与标签波形对比图,在本实施例,2000次训练后、15000次训练后BiLSTM模型输出的波形与标签波形的比较如图3所示,图中每个小框的横坐标为时间(ns),纵坐标为光功率(μW)分别展示了信号在传输20km、50km、80km时的情况。可见在训练15000步之后,BiLSTM模型效果已经很好。Based on the content of the foregoing embodiment, as an optional embodiment, the foregoing backpropagation algorithm is a gradient descent-based backpropagation algorithm. In the embodiment of the present invention, the backpropagation of the BiLSTM model uses the gradient descent method to gradually adjust its own parameters, thereby minimizing the error between the actual output and the label value. FIG. 3 is a comparison diagram of the output waveform and the label waveform of the fiber channel model simulation method provided by the embodiment of the present invention. In this embodiment, the comparison between the output waveform of the BiLSTM model and the label waveform after 2000 times of training and 15000 times of training is shown in FIG. 3 As shown in the figure, the abscissa of each small box in the figure is time (ns), and the ordinate is optical power (μW). It shows the situation when the signal is transmitted at 20km, 50km, and 80km, respectively. It can be seen that after 15000 steps of training, the BiLSTM model has worked well.
为了证明本发明基于BiLSTM模型的优势,将BiLSTM算法与其余两种著名的机器学习算法,即BP-ANN、BiRNN进行了比较。在比较时我们比较了BiLSTM模块输出信号波形与标签波形的均方误差(MSE),公式如下:In order to prove the advantages of the present invention based on the BiLSTM model, the BiLSTM algorithm is compared with the other two well-known machine learning algorithms, namely BP-ANN and BiRNN. In the comparison, we compared the mean square error (MSE) of the output signal waveform of the BiLSTM module and the label waveform. The formula is as follows:
其中m为样本数量,y为BiLSTM模块输出信号数据,为标签输出信号数据。为了从频域方面说明BiLSTM模块输出信号与标签输出信号的相似性,还比较了频域误差(FDE),其定义为BiLSTM模块输出信号与标签输出信号经过离散快速傅里叶变换(FFT)后,对应点在复平面上的误差距离,公式如下:where m is the number of samples, y is the output signal data of the BiLSTM module, Output signal data for the tag. In order to illustrate the similarity between the BiLSTM module output signal and the label output signal in the frequency domain, the frequency domain error (FDE) is also compared, which is defined as the discrete Fast Fourier Transform (FFT) between the BiLSTM module output signal and the label output signal. , the error distance of the corresponding point on the complex plane, the formula is as follows:
a=fft(output_series,m),a=fft(output_series,m),
b=fft(label_series,m)b=fft(label_series,m)
fft(label_series,m)表示对标签输出信号做m点快速傅里叶变换,表示对BILSTM模型输出信号做m点快速傅里叶变换。fft(label_series,m) means to perform m-point fast Fourier transform on the label output signal, Indicates that m-point fast Fourier transform is performed on the output signal of the BILSTM model.
图4为本发明实施例提供的BiLSTM算法与BP-ANN、BiRNN算法生成波形与标签波形的均方误差对比图,图5为本发明实施例提供的BiLSTM算法与BP-ANN、BiRNN算法生成波形与标签波形的频域误差对比图。具体如图4、图5所示,根据每种算法在相应传输距离下与标签信号的MSE误差以及FDE误差得出,BiLSTM算法相较于其它算法具有较明显的优势。FIG. 4 is a comparison diagram of the mean square error between the waveform generated by the BiLSTM algorithm and the BP-ANN and BiRNN algorithms provided by the embodiment of the present invention and the label waveform, and FIG. 5 is the waveform generated by the BiLSTM algorithm provided by the embodiment of the present invention and the BP-ANN and BiRNN algorithms. Frequency domain error comparison with label waveform. Specifically, as shown in Figure 4 and Figure 5, according to the MSE error and FDE error between each algorithm and the label signal at the corresponding transmission distance, the BiLSTM algorithm has obvious advantages compared with other algorithms.
BP-ANN是最基本的神经网络,其对于时间序列特征提取的能力较弱,需要大量训练数据才能达到较好的效果,并且容易陷入局部最小值以及过拟合现象。BiRNN算法相较于BILSTM算法缺乏相邻时间步信息的部分传递能力,效果稍弱于BiLSTM算法。BP-ANN is the most basic neural network, its ability to extract time series features is weak, it needs a lot of training data to achieve good results, and it is easy to fall into local minimum and overfitting. Compared with the BILSTM algorithm, the BiRNN algorithm lacks the partial transfer ability of the adjacent time step information, and the effect is slightly weaker than the BiLSTM algorithm.
图6为本发明实施例提供的光纤信道模型模拟装置结构图,如图6所示,该光纤信道模型模拟装置包括:接收模块601和处理模块602。其中,接收模块601用于获取需光纤仿真传输的信号数据;处理模块601将信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据深度神经网络模型的输出结果,确定光纤长度的光纤信道输出的信号数据;其中,深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。FIG. 6 is a structural diagram of an apparatus for simulating a fiber channel model provided by an embodiment of the present invention. As shown in FIG. 6 , the apparatus for simulating a fiber channel model includes: a receiving
本发明实施例提供的装置实施例是为了实现上述各方法实施例的,具体流程和详细内容请参照上述方法实施例,此处不再赘述。The apparatus embodiments provided in the embodiments of the present invention are for implementing the foregoing method embodiments. For specific processes and details, please refer to the foregoing method embodiments, which will not be repeated here.
本发明实施例提供的光纤信道模型模拟装置,预设的深度神经网络模型根据确定的光纤长度和信道输出结果的样本信号数据训练后得到,能够输出信号数据在给定长度光纤信道的输出结果,从而可作为准确的光纤信道模型。训练好的深度神经网络网络能够实现高精度和高鲁棒性的信号数据的光纤信道仿真。与目前的方法相比具有较低的复杂度,大大减少了传统方法对光纤信道进行建模所需的专业知识以及复杂程度,利用深度神经网络的深度学习技术,只要获得足够的输入输出数据以及距离参数即可对任意光纤信道进行建模,且建模所需时间较短。In the fiber channel model simulation device provided by the embodiment of the present invention, the preset deep neural network model is obtained after training according to the determined fiber length and the sample signal data of the channel output result, and can output the output result of the signal data in the fiber channel of a given length, Thus, it can be used as an accurate Fibre Channel model. The trained deep neural network network can realize the Fibre Channel simulation of signal data with high precision and high robustness. Compared with the current method, it has lower complexity, which greatly reduces the professional knowledge and complexity required for the traditional method to model the fiber channel. Using the deep learning technology of deep neural network, as long as sufficient input and output data and Any Fibre Channel can be modeled using the distance parameter in less time.
图7为本发明实施例提供的一种电子设备的实体结构示意图,如图7所示,该电子设备可以包括:处理器(processor)701、通信接口(Communications Interface)702、存储器(memory)703和总线704,其中,处理器701,通信接口702,存储器703通过总线704完成相互间的通信。通信接口702可以用于电子设备的信息传输。处理器701可以调用存储器703中的逻辑指令,以执行包括如下的方法:获取需光纤仿真传输的信号数据;将信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据深度神经网络模型的输出结果,确定光纤长度的光纤信道输出的信号数据;其中,深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。FIG. 7 is a schematic diagram of the physical structure of an electronic device according to an embodiment of the present invention. As shown in FIG. 7 , the electronic device may include: a processor (processor) 701, a communications interface (Communications Interface) 702, and a memory (memory) 703 and a
此外,上述的存储器703中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明上述各方法实施例的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the
另一方面,本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的传输方法,例如包括:获取需光纤仿真传输的信号数据;将信号数据和光纤长度参数,输入至预设的深度神经网络模型,根据深度神经网络模型的输出结果,确定光纤长度的光纤信道输出的信号数据;其中,深度神经网络模型,根据确定的光纤长度和信道输出结果的样本信号数据,进行训练后得到。On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored, and the computer program is implemented by a processor to execute the transmission method provided by the above embodiments, for example, including : obtain the signal data that needs to be simulated and transmitted by the optical fiber; input the signal data and the optical fiber length parameter into the preset deep neural network model, and determine the signal data output by the optical fiber channel of the optical fiber length according to the output result of the deep neural network model; wherein, The deep neural network model is obtained after training according to the determined fiber length and the sample signal data of the channel output result.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place , or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Disks, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of various embodiments or portions of embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911142143.5A CN110932809B (en) | 2019-11-20 | 2019-11-20 | Fiber channel model simulation method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911142143.5A CN110932809B (en) | 2019-11-20 | 2019-11-20 | Fiber channel model simulation method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110932809A CN110932809A (en) | 2020-03-27 |
CN110932809B true CN110932809B (en) | 2020-10-16 |
Family
ID=69851373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911142143.5A Active CN110932809B (en) | 2019-11-20 | 2019-11-20 | Fiber channel model simulation method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110932809B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111769869B (en) * | 2020-06-30 | 2022-07-12 | 无锡市德科立光电子技术有限公司 | Method for prejudging maximum transmission distance of optical communication system |
CN113378467B (en) * | 2021-06-17 | 2023-04-07 | 北京邮电大学 | Method and device for fiber channel modeling, electronic equipment and storage medium |
CN113938188B (en) * | 2021-09-02 | 2022-09-27 | 华中科技大学 | Construction method and application of an optical signal-to-noise ratio monitoring model |
CN114139324B (en) * | 2021-12-06 | 2024-12-24 | 上海交通大学 | Fast and accurate modeling method and system for distributed optical fiber channels based on feature decoupling |
CN114337802B (en) * | 2021-12-29 | 2023-06-02 | 广东电网有限责任公司 | Substation fiber alignment equipment and method |
CN114499723B (en) * | 2022-01-25 | 2023-01-06 | 西南交通大学 | A Fast Modeling Method for Fiber Channel Based on Fourier Neural Operator |
CN114647976B (en) * | 2022-03-09 | 2024-10-29 | 清华大学 | Training method and device of multi-span optical fiber transmission signal prediction system |
CN114722905B (en) * | 2022-03-09 | 2024-11-08 | 清华大学 | A training method and device for optical communication receiving model |
CN114615499B (en) * | 2022-05-07 | 2022-09-16 | 北京邮电大学 | Semantic optical communication system and method for image transmission |
CN115102674B (en) * | 2022-06-17 | 2023-08-22 | 西安电子科技大学 | Bi-LSTM network-based high-speed link eye diagram prediction method |
CN116912200B (en) * | 2023-07-13 | 2024-02-09 | 上海频准激光科技有限公司 | An optical fiber connection system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450587A (en) * | 2018-10-24 | 2019-03-08 | 北京邮电大学 | Spectral integration processing method, device and storage medium |
CN110233661A (en) * | 2019-04-28 | 2019-09-13 | 国网安徽省电力有限公司信息通信分公司 | Shot and long term Memory Neural Networks training method, channel parameter adjust system and method |
WO2019186548A1 (en) * | 2018-03-27 | 2019-10-03 | Bar Ilan University | Optical neural network unit and optical neural network configuration |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8577830B2 (en) * | 2010-11-24 | 2013-11-05 | Technion Research And Development Foundation Ltd. | Method for detection of tunnel excavation by brillouin optical time domain reflectometry using multiple underground optical fibers |
US10090920B1 (en) * | 2017-03-17 | 2018-10-02 | Ciena Corporation | Fiber kerr nonlinear noise estimation |
CN107135041B (en) * | 2017-03-28 | 2020-12-29 | 西安电子科技大学 | A RBF Neural Network Channel Prediction Method Based on Phase Space Reconstruction |
CN110455397A (en) * | 2018-05-07 | 2019-11-15 | 光子瑞利科技(北京)有限公司 | A kind of shop equipment failure optical fiber sensing method and system based on LSTM |
CN109302647B (en) * | 2018-09-18 | 2020-06-12 | 北京邮电大学 | Spectrum allocation method, device and storage medium |
-
2019
- 2019-11-20 CN CN201911142143.5A patent/CN110932809B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019186548A1 (en) * | 2018-03-27 | 2019-10-03 | Bar Ilan University | Optical neural network unit and optical neural network configuration |
CN109450587A (en) * | 2018-10-24 | 2019-03-08 | 北京邮电大学 | Spectral integration processing method, device and storage medium |
CN110233661A (en) * | 2019-04-28 | 2019-09-13 | 国网安徽省电力有限公司信息通信分公司 | Shot and long term Memory Neural Networks training method, channel parameter adjust system and method |
Also Published As
Publication number | Publication date |
---|---|
CN110932809A (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110932809B (en) | Fiber channel model simulation method, device, electronic equipment and storage medium | |
Wang et al. | Data-driven optical fiber channel modeling: A deep learning approach | |
CN107342810A (en) | Deep learning Brilliant Eyes figure analysis method based on convolutional neural networks | |
WO2019174450A1 (en) | Dialogue generation method and apparatus | |
CN111245667A (en) | Network service identification method and device | |
CN110837548A (en) | Answer matching method and device, electronic equipment and storage medium | |
CN108197652A (en) | For generating the method and apparatus of information | |
CN110190909B (en) | Signal equalization method and device for optical communication | |
CN102983819B (en) | Imitating method of power amplifier and imitating device of power amplifier | |
CN107579816B (en) | Method for generating password dictionary based on recurrent neural network | |
CN112422208B (en) | A signal detection method based on adversarial learning under unknown channel model | |
CN108879732A (en) | Transient stability evaluation in power system method and device | |
CN108923983A (en) | Prediction technique, device and the readable storage medium storing program for executing of opportunistic network link | |
CN114285715A (en) | Nonlinear equalization method based on bidirectional GRU-conditional random field | |
CN114070415A (en) | Optical fiber nonlinear equalization method and system | |
KR102820473B1 (en) | Apparatus and method for classifying quantum states in quantum information integrated processing system | |
CN114676637A (en) | Fiber channel modeling method and system for generating countermeasure network based on conditions | |
Ye et al. | OSNR monitoring based on a low-bandwidth coherent receiver and LSTM classifier | |
CN114647977A (en) | Training method and device for optical fiber transmission signal prediction model | |
CN114722905A (en) | Training method and device for optical communication receiving model | |
Mahabub et al. | A voting approach of modulation classification for wireless network | |
CN114298224A (en) | Image classification method, device and computer readable storage medium | |
CN116846475A (en) | Optical ADC digital domain equalization method and device | |
CN117220807A (en) | Deep learning-based multi-dimensional multiplexing optical communication system channel construction method | |
CN109118483A (en) | A kind of label quality detection method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |