The invention belongs to the field of distributed
optical fiber sensing, and provides a Brillouin temperature extraction method and
system based on a self-attention
recurrent neural network, and the method comprises the steps: collecting real
Brillouin gain spectrum data through a Brillouin optical
time domain analysis
system which is built in advance, and carrying out the preprocessing of the real
Brillouin gain spectrum data; based on the preprocessed
Brillouin gain spectrum data, utilizing the trained self-attention
recurrent neural network model to obtain a corresponding Brillouin temperature; a meta-learning
algorithm is introduced in the process of a self-attention
recurrent neural network model, so that the
network model can share initialization parameters among a plurality of tasks, the parameters are optimized through meta-training, the
network model can quickly adapt to a new task, training from zero is not needed in the face of multi-
task learning or the new task, and the training efficiency is improved. The model can be quickly adjusted through a small amount of gradient updating, the
training time is shortened, the performance is improved, and the problems of long time, poor real-time performance, poor adaptability and the like of
curve fitting are solved.