[go: up one dir, main page]

CN110648030A - Method and device for predicting seawater temperature - Google Patents

Method and device for predicting seawater temperature Download PDF

Info

Publication number
CN110648030A
CN110648030A CN201911050930.7A CN201911050930A CN110648030A CN 110648030 A CN110648030 A CN 110648030A CN 201911050930 A CN201911050930 A CN 201911050930A CN 110648030 A CN110648030 A CN 110648030A
Authority
CN
China
Prior art keywords
temperature
salinity
seawater
time series
prediction
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
CN201911050930.7A
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.)
Jilin University
Original Assignee
Jilin 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 Jilin University filed Critical Jilin University
Priority to CN201911050930.7A priority Critical patent/CN110648030A/en
Publication of CN110648030A publication Critical patent/CN110648030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Strategic Management (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种海水温度的预测方法及装置,接收时间序列格式的温盐数据;温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。可见,本发明以海水温度和盐度两种变量作为预测海水温度的参考量,相比于采用单一海表温度作为预测海水温度参考量的方式,能够得到更准确的海水温度预测结果,并且本发明不仅适用于海表,同样适用于对任一经度纬度深度位置的海水温度预测,应用范围更广。

Figure 201911050930

The invention discloses a seawater temperature prediction method and device, which receive temperature and salinity data in a time series format; the temperature and salinity data are the temperature and salinity data of seawater at any longitude, latitude and depth; In the seawater temperature prediction model, a seawater temperature prediction result is obtained; wherein, the seawater temperature prediction result is a temperature prediction value at the next moment of the last moment of the time series. It can be seen that the present invention uses two variables, seawater temperature and salinity, as the reference quantities for predicting seawater temperature. Compared with the method of using a single sea surface temperature as the reference quantity for predicting seawater temperature, more accurate seawater temperature prediction results can be obtained, and the present invention can obtain more accurate seawater temperature prediction results. The invention is not only applicable to the sea surface, but also applicable to the prediction of seawater temperature at any position of longitude, latitude and depth, and has a wider application range.

Figure 201911050930

Description

海水温度的预测方法及装置Method and device for predicting seawater temperature

技术领域technical field

本发明涉及温度预测技术领域,具体为一种海水温度的预测方法及装置。The invention relates to the technical field of temperature prediction, in particular to a seawater temperature prediction method and device.

背景技术Background technique

由于海洋的热含量远大于大气与陆地表面的热含量,即使海洋表层温度出现极其微弱的变化,都有可能通过大气环流影响使全球平均气温出现较大变化,毫不夸张的说,海水温度对全球温度有着重要影响。因此,对海水温度的变化进行精确的预测是非常重要的。Since the heat content of the ocean is much greater than that of the atmosphere and the land surface, even if there is an extremely slight change in the temperature of the ocean surface, it is possible that the global average temperature will change greatly through the influence of atmospheric circulation. Global temperature has a significant impact. Therefore, accurate prediction of changes in seawater temperature is very important.

现有的海水温度预测方法是根据历史海表温度以及长短期记忆(Long short-termmemory,LSTM)循环神经网络去预测海水温度。由于海水温度变化受多个因素影响,若温度预测只考虑海表温度单一变量,忽略其他因素影响带来的温度变化,会导致海水温度预测结果不准确。The existing seawater temperature prediction methods are based on historical sea surface temperature and long short-term memory (Long short-term memory, LSTM) recurrent neural network to predict seawater temperature. Since the change of seawater temperature is affected by many factors, if the temperature prediction only considers a single variable of sea surface temperature and ignores the temperature change caused by the influence of other factors, the prediction result of seawater temperature will be inaccurate.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种海水温度的预测方法及装置,可以解决现有技术中由于温度预测只考虑海表温度单一变量,忽略其他因素影响带来的温度变化,导致海水温度预测结果不准确的技术问题。The invention provides a seawater temperature prediction method and device, which can solve the problem of inaccurate seawater temperature prediction results in the prior art because the temperature prediction only considers a single variable of sea surface temperature and ignores temperature changes caused by other factors. question.

为达到上述目的,本发明提供了如下技术方案:To achieve the above object, the invention provides the following technical solutions:

一种海水温度的预测方法,包括:A method for predicting seawater temperature, including:

接收时间序列格式的温盐数据;所述温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;Receive temperature and salinity data in a time series format; the temperature and salinity data are temperature and salinity data of seawater at any position of longitude, latitude and depth;

将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;Inputting the temperature and salinity data into a seawater temperature prediction model to obtain a seawater temperature prediction result;

其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。Wherein, the seawater temperature prediction result is the temperature prediction value at the next moment of the last moment of the time series.

可选的,所述海水温度预测模型的训练过程,包括:Optionally, the training process of the seawater temperature prediction model includes:

对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征;Convolve the historical temperature and salinity data in time series format to extract the change characteristics between temperature and salinity at all two adjacent moments;

以所有所述变化特征按照时间顺序作为输入,进行长短期记忆LSTM循环神经网络训练,依次输出每组相邻两个时刻的下一个时刻的温度值。Taking all the changing features as input in chronological order, carry out long short-term memory LSTM cyclic neural network training, and sequentially output the temperature value at the next moment of each group of two adjacent moments.

可选的,所述时间序列格式的温盐数据为二维数组形式,同一时刻的温度和盐度被排在同一列,同一变量的时间序列排在同一行,最终组成时间序列格式的温盐数据。Optionally, the temperature and salinity data in the time series format is in the form of a two-dimensional array, the temperature and salinity at the same time are arranged in the same column, and the time series of the same variable are arranged in the same row, finally forming the temperature and salinity format in the time series format. data.

可选的,所述对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征,包括:Optionally, the convolution operation is performed on the historical temperature and salinity data in the time series format to extract the variation characteristics between temperature and salinity at all two adjacent moments, including:

通过2*2分辨率的过滤器对时间序列格式的历史温盐数据进行步长为1的卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征。A convolution operation with a step size of 1 is performed on the historical temperature and salinity data in the time series format through a filter with a resolution of 2*2, and the change characteristics between temperature and salinity between all two adjacent moments are extracted.

可选的,所述依次输出每组相邻两个时刻的下一个时刻的温度值,包括:Optionally, the sequentially outputting the temperature values at the next moment of each group of two adjacent moments, including:

通过长短期记忆LSTM循环神经网络架构中LSTM循环单元的输出门控制输出信息,将所述输出信息指向每组相邻两个时刻的下一个时刻的温度值。The output information is controlled by the output gate of the LSTM cyclic unit in the long short-term memory LSTM cyclic neural network architecture, and the output information is directed to the temperature value at the next moment of each group of two adjacent moments.

一种海水温度的预测装置,包括:A device for predicting seawater temperature, comprising:

接收单元,用于接收时间序列格式的温盐数据;所述温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;a receiving unit for receiving temperature and salinity data in a time series format; the temperature and salinity data is the temperature and salinity data of seawater at any position of longitude, latitude and depth;

预测单元,用于将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;a prediction unit for inputting the temperature and salt data into a seawater temperature prediction model to obtain a seawater temperature prediction result;

其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。Wherein, the seawater temperature prediction result is the temperature prediction value at the next moment of the last moment of the time series.

可选的,所述预测装置,还包括:Optionally, the prediction device further includes:

提取单元,用于对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征;The extraction unit is used to perform a convolution operation on the historical temperature and salinity data in the time series format, and extract the variation characteristics between the temperature and salinity between all two adjacent moments;

训练单元,用于以所有所述变化特征按照时间顺序作为输入,进行长短期记忆LSTM循环神经网络训练,依次输出每组相邻两个时刻的下一个时刻的温度值。The training unit is used for taking all the changing features as input in a chronological order, to perform long-short-term memory LSTM cyclic neural network training, and sequentially outputting the temperature values at the next moment of each group of two adjacent moments.

可选的,所述时间序列格式的温盐数据为二维数组形式,同一时刻的温度和盐度被排在同一列,同一变量的时间序列排在同一行,最终组成时间序列格式的温盐数据。Optionally, the temperature and salinity data in the time series format is in the form of a two-dimensional array, the temperature and salinity at the same time are arranged in the same column, and the time series of the same variable are arranged in the same row, finally forming the temperature and salinity format in the time series format. data.

可选的,所述提取单元,用于通过2*2分辨率的过滤器对时间序列格式的历史温盐数据进行步长为1的卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征。Optionally, the extraction unit is configured to perform a convolution operation with a step size of 1 on the historical temperature and salinity data in the time series format through a 2*2 resolution filter, and extract the temperature and salinity at all two adjacent moments. characteristics of change between.

可选的,所述训练单元,用于通过长短期记忆LSTM循环神经网络架构中LSTM循环单元的输出门控制输出信息,将所述输出信息指向每组相邻两个时刻的下一个时刻的温度值。Optionally, the training unit is used to control the output information through the output gate of the LSTM cyclic unit in the long short-term memory LSTM cyclic neural network architecture, and direct the output information to the temperature at the next moment of each group of two adjacent moments. value.

经由上述技术方案可知,本发明公开了一种海水温度的预测方法及装置,接收时间序列格式的温盐数据;温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。可见,本发明以海水温度和盐度两种变量作为预测海水温度的参考量,相比于采用单一海表温度作为预测海水温度参考量的方式,能够得到更准确的海水温度预测结果,并且本发明不仅适用于海表,同样适用于对任一经度纬度深度位置的海水温度预测,应用范围更广。As can be seen from the above technical solutions, the present invention discloses a method and device for predicting seawater temperature, which receives temperature and salinity data in a time series format; The temperature and salinity data are input into the seawater temperature prediction model, and the seawater temperature prediction result is obtained; wherein the seawater temperature prediction result is the temperature prediction value at the next moment of the last moment of the time series. It can be seen that the present invention uses two variables of seawater temperature and salinity as reference quantities for predicting seawater temperature. Compared with the method of using a single sea surface temperature as the reference quantity for predicting seawater temperature, more accurate seawater temperature prediction results can be obtained, and the present invention can obtain more accurate seawater temperature prediction results. The invention is not only applicable to the sea surface, but also applicable to the prediction of seawater temperature at any position of longitude, latitude and depth, and has a wider application range.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, 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 are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.

图1为本发明实施例公开的一种海水温度的预测方法的流程图;1 is a flowchart of a method for predicting seawater temperature disclosed in an embodiment of the present invention;

图2为本发明实施例公开的温盐网格数据的特征提取过程示意图;2 is a schematic diagram of a feature extraction process of temperature-salt grid data disclosed in an embodiment of the present invention;

图3为本发明实施例公开的LSTM细胞单元结构示意图;3 is a schematic diagram of the structure of an LSTM cell unit disclosed in an embodiment of the present invention;

图4为本发明实施例公开的温盐数据卷积的LSTM循环神经网络架构图;Fig. 4 is the LSTM cyclic neural network architecture diagram of the temperature and salt data convolution disclosed in the embodiment of the present invention;

图5为本发明实施例公开的一种海水温度的预测装置的示意图。FIG. 5 is a schematic diagram of an apparatus for predicting seawater temperature disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 are only a part of the embodiments of the present invention, but not all of the 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.

有背景技术可知,现有的海水温度预测方法是根据历史海表温度以及长短期记忆(Long short-term memory,LSTM)循环神经网络去预测海水温度。由于海水温度变化受多个因素影响,若温度预测只考虑海表温度单一变量,忽略其他因素影响带来的温度变化,会导致海水温度预测结果不准确。As known from the background art, the existing seawater temperature prediction method predicts the seawater temperature according to the historical sea surface temperature and a long short-term memory (Long short-term memory, LSTM) recurrent neural network. Since the change of seawater temperature is affected by many factors, if the temperature prediction only considers a single variable of sea surface temperature and ignores the temperature change caused by the influence of other factors, the prediction result of seawater temperature will be inaccurate.

有鉴于此,本发明提供了一种海水温度的预测方法及装置,可以解决现有技术中由于温度预测只考虑海表温度单一变量,忽略其他因素影响带来的温度变化,导致海水温度预测结果不准确的技术问题。In view of this, the present invention provides a method and device for predicting seawater temperature, which can solve the problem that in the prior art, since temperature prediction only considers a single variable of sea surface temperature and ignores the temperature change caused by the influence of other factors, resulting in the prediction result of seawater temperature. Inaccurate technical issues.

如图1所示,本发明实施例公开了一种海水温度的预测方法,包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention discloses a method for predicting seawater temperature, including the following steps:

S101、接收时间序列格式的温盐数据。S101. Receive temperature and salinity data in a time series format.

在步骤S101中,所述温盐数据为任一经度纬度深度位置的海水的温度和盐度数据。In step S101, the temperature and salinity data are temperature and salinity data of seawater at any position of longitude, latitude and depth.

S102、将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果。S102. Input the temperature and salinity data into a seawater temperature prediction model to obtain a seawater temperature prediction result.

在步骤S102中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。In step S102, the seawater temperature prediction result is the temperature prediction value at the next moment after the last moment of the time series.

可选的,所述海水温度预测模型的训练过程,包括:Optionally, the training process of the seawater temperature prediction model includes:

对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征;Convolve the historical temperature and salinity data in time series format to extract the change characteristics between temperature and salinity at all two adjacent moments;

以所有所述变化特征按照时间顺序作为输入,进行长短期记忆LSTM循环神经网络训练,依次输出每组相邻两个时刻的下一个时刻的温度值。Taking all the changing features as input in chronological order, carry out long short-term memory LSTM cyclic neural network training, and sequentially output the temperature value at the next moment of each group of two adjacent moments.

可选的,所述时间序列格式的温盐数据为二维数组形式,同一时刻的温度和盐度被排在同一列,同一变量的时间序列排在同一行,最终组成时间序列格式的温盐数据。Optionally, the temperature and salinity data in the time series format is in the form of a two-dimensional array, the temperature and salinity at the same time are arranged in the same column, and the time series of the same variable are arranged in the same row, finally forming the temperature and salinity format in the time series format. data.

可选的,所述对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征,包括:Optionally, the convolution operation is performed on the historical temperature and salinity data in the time series format to extract the variation characteristics between temperature and salinity at all two adjacent moments, including:

通过2*2分辨率的过滤器对时间序列格式的历史温盐数据进行步长为1的卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征。A convolution operation with a step size of 1 is performed on the historical temperature and salinity data in the time series format through a filter with a resolution of 2*2, and the change characteristics between temperature and salinity between all two adjacent moments are extracted.

可选的,所述依次输出每组相邻两个时刻的下一个时刻的温度值,包括:Optionally, the sequentially outputting the temperature values at the next moment of each group of two adjacent moments, including:

通过长短期记忆LSTM循环神经网络架构中LSTM循环单元的输出门控制输出信息,将所述输出信息指向每组相邻两个时刻的下一个时刻的温度值。The output information is controlled by the output gate of the LSTM cyclic unit in the long short-term memory LSTM cyclic neural network architecture, and the output information is directed to the temperature value at the next moment of each group of two adjacent moments.

为方便理解,对本实施例的预测方法进行详细的描述:For the convenience of understanding, the prediction method of this embodiment is described in detail:

需要说明的是,卷积神经网络被广泛应用于捕获空间关系,例如提取图像中像素之间的特征。与全连接层不同,卷积单元不考虑整个输入向量,而是使用相同权值和固定大小的窗口或卷积依次对输入向量进行运算。使用不同权值的卷积,可以提取不同的特征。It should be noted that convolutional neural networks are widely used to capture spatial relationships, such as extracting features between pixels in an image. Unlike fully-connected layers, convolutional units do not consider the entire input vector, but operate on the input vector sequentially using the same weights and fixed-size windows or convolutions. Using convolutions with different weights, different features can be extracted.

本发明实施例公开的预测方法中,将原本一维时间序列形式的温度和盐度数据转化成二维的温盐时序网格数据。通过这样的转换,使我们可以用卷积运算来提取在时间轴上相邻的温度和盐度的变化关系。如图2所示,展示了通过卷积核对二维温盐网格数据进行温盐变化特征的提取过程。其中,以时刻i和i+1为例,卷积运算可以得到这两个时刻温度和盐度变化的特征映射。使用不同权值的卷积,可以得到不同的特征映射。多种特征映射将为后续特征循环层的操作提供更多的输入信息。In the prediction method disclosed in the embodiment of the present invention, the original one-dimensional time series temperature and salinity data are converted into two-dimensional temperature and salinity time series grid data. Through such transformation, we can use the convolution operation to extract the adjacent temperature and salinity changes on the time axis. As shown in Figure 2, it shows the extraction process of temperature-salt variation features from two-dimensional temperature-salt grid data through convolution kernel. Among them, taking time i and i+1 as an example, the convolution operation can obtain the feature maps of temperature and salinity changes at these two times. Using convolutions with different weights, different feature maps can be obtained. Various feature maps will provide more input information for the operations of subsequent feature recurrent layers.

进一步需要说明的是,LSTM循环神经网络是一种功能强大的神经网络结构,它可以对序列进行有目标的逼近,并学习有意义的特征。LSTM循环神经网络是一种目前应用广泛的循环神经网络。如图3所示,在LSTM细胞单元中,输入门控制输入值是否可以累加到状态(即记忆细胞)中最终得到新的值。状态单元可以线性自循环,遗忘门控制其权重。细胞的输出由输出门控制,可以控制其关闭。It should be further stated that the LSTM recurrent neural network is a powerful neural network structure, which can make a targeted approximation of the sequence and learn meaningful features. LSTM recurrent neural network is a widely used recurrent neural network. As shown in Figure 3, in the LSTM cell unit, the input gate controls whether the input value can be accumulated into the state (i.e., the memory cell) to finally get the new value. The state unit can loop itself linearly, and the forget gate controls its weights. The output of the cell is controlled by the output gate, which can be controlled to close.

具体的,LSTM网络整个计算可以由如下的一系列方程来定义:Specifically, the entire calculation of the LSTM network can be defined by the following series of equations:

it=σ(WiH+bi)i t =σ(W i H+ bi )

ft=σ(WfH+bf)f t =σ(W f H+b f )

Ot=σ(WoH+bo)O t =σ(W o H+ bo )

ct=tanh(WcH+bc)c t =tanh(W c H+b c )

mt=ft⊙mt-1+it⊙ct m t =f t ⊙m t-1 +i t ⊙c t

ht=tanh(ot⊙mt)h t =tanh(o t ⊙m t )

Figure BDA0002255315030000061
Figure BDA0002255315030000061

其中,it、ft、ot和ct分别为输入门值、遗忘门值、输出门值和记忆细胞的新状态。σ为sigmoid函数,Wi、Wf、Wo和Wc为权重矩阵。bi、bf、bc和bc为相应的偏置项。⊙表示向量对应元素的乘积。mt为记忆细胞的最终状态,ht为记忆单元的最终输出。H是新输入xt和前一时刻的隐藏向量ht-1的连结。Among them, i t , f t , o t and c t are the input gate, forgetting gate, output gate and the new state of the memory cell, respectively. σ is a sigmoid function, and W i , W f , W o and W c are weight matrices. b i , b f , b c and b c are the corresponding bias terms. ⊙ represents the product of the corresponding elements of the vector. m t is the final state of the memory cell, h t is the final output of the memory cell. H is the concatenation of the new input x t and the hidden vector h t-1 of the previous moment.

本发明实施例中,将卷积层提取的温度和盐度的变化特征作为LSTM循环单元的输入,循环单元的输出为对下一时刻温度的预测值。In the embodiment of the present invention, the change characteristics of temperature and salinity extracted by the convolution layer are used as the input of the LSTM cycle unit, and the output of the cycle unit is the predicted value of the temperature at the next moment.

最后需要说明的是,关于温盐数据卷积的LSTM循环神经网络架构,本发明实施例公开的的基于温盐数据的LSTM循环神经网络海水温度预测的神经网络架构主要分为四个部分,如图4所示,分别是输入层、卷积层、循环层和输出层。在输入层中,我们将温度和盐度的两种时间序列转化为二维数组的形式,其中,同一时刻的温度和盐度被排在同一列,同一变量的时间序列排在同一行。在卷积层中,使用2*2的过滤器对二维数据进行步长为1的卷积操作。通过卷积,可以提取相邻两个时刻温度和盐度之间的关系特征。使用k个过滤器进行卷积,就能提取k个变化特征。在循环层中,每个LSTM循环单元接受由上一层卷积传递的k个特征作为当前时刻的输入。循环单元向下一时刻传递状态信息,并通过输出门控制输出信息。我们将每一时刻的输出信息指向下一时刻的温度值。当循环单元接收到t-1和t时刻的温盐关系特征值后,输出信息就是对t+1时刻温度值的预测。我们将损失函数定义为这些输出信息与下一时刻真实值的均方误差(Mean Square Error,MSE),通过反向传播以最小化损失值,达到对模型优化的效果。Finally, it should be noted that with regard to the LSTM cyclic neural network architecture convolved with temperature and salt data, the neural network architecture for seawater temperature prediction based on the LSTM cyclic neural network based on temperature and salt data disclosed in the embodiment of the present invention is mainly divided into four parts, such as Figure 4 shows the input layer, convolutional layer, recurrent layer and output layer, respectively. In the input layer, we convert the two time series of temperature and salinity into the form of a two-dimensional array, where the temperature and salinity at the same time are arranged in the same column, and the time series of the same variable are arranged in the same row. In the convolution layer, a stride 1 convolution operation is performed on the two-dimensional data using a 2*2 filter. Through convolution, the relationship between temperature and salinity at two adjacent moments can be extracted. Using k filters for convolution, k variable features can be extracted. In the recurrent layer, each LSTM recurrent unit accepts the k features passed by the convolution of the previous layer as the input of the current moment. The loop unit transmits state information to the next moment and controls the output information through the output gate. We point the output information at each moment to the temperature value at the next moment. When the circulation unit receives the characteristic values of the temperature-salt relationship at time t-1 and t, the output information is the prediction of the temperature value at time t+1. We define the loss function as the mean square error (MSE) between these output information and the real value at the next moment, and through backpropagation to minimize the loss value to achieve the effect of model optimization.

利用训练好的模型,将新一组温盐时间序列作为输入,模型的输出就是对时间序列最后一个时刻的下一时刻温度的预测值。Using the trained model, a new set of temperature and salinity time series is used as input, and the output of the model is the predicted value of the temperature at the next moment at the last moment of the time series.

本实施例公开的海水温度的预测方法,接收时间序列格式的温盐数据;温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。可见,本发明以海水温度和盐度两种变量作为预测海水温度的参考量,相比于采用单一海表温度作为预测海水温度参考量的方式,能够得到更准确的海水温度预测结果,并且本发明不仅适用于海表,同样适用于对任一经度纬度深度位置的海水温度预测,应用范围更广。The seawater temperature prediction method disclosed in this embodiment receives temperature and salinity data in a time series format; the temperature and salinity data is the temperature and salinity data of seawater at any position of longitude, latitude and depth; and the temperature and salinity data are input into the seawater temperature prediction In the model, a seawater temperature prediction result is obtained; wherein, the seawater temperature prediction result is a temperature prediction value at the next moment of the last moment of the time series. It can be seen that the present invention uses two variables of seawater temperature and salinity as reference quantities for predicting seawater temperature. Compared with the method of using a single sea surface temperature as the reference quantity for predicting seawater temperature, more accurate seawater temperature prediction results can be obtained, and the present invention can obtain more accurate seawater temperature prediction results. The invention is not only applicable to the sea surface, but also applicable to the prediction of seawater temperature at any position of longitude, latitude and depth, and has a wider application range.

基于上述本发明实施例公开的海水温度的预测方法,图5具体公开了应用该海水温度的预测方法的海水温度的预测装置。Based on the seawater temperature prediction method disclosed in the above embodiments of the present invention, FIG. 5 specifically discloses a seawater temperature prediction device applying the seawater temperature prediction method.

如图5所示,本发明另一实施例公开了一种海水温度的预测装置,该装置包括:As shown in FIG. 5 , another embodiment of the present invention discloses a device for predicting seawater temperature, and the device includes:

接收单元501,用于接收时间序列格式的温盐数据;所述温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;A receiving unit 501, configured to receive temperature and salinity data in a time series format; the temperature and salinity data is temperature and salinity data of seawater at any position of longitude, latitude and depth;

预测单元502,用于将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;A prediction unit 502, configured to input the temperature and salinity data into a seawater temperature prediction model to obtain a seawater temperature prediction result;

其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。Wherein, the seawater temperature prediction result is the temperature prediction value at the next moment of the last moment of the time series.

可选的,所述预测装置,还包括:Optionally, the prediction device further includes:

提取单元,用于对时间序列格式的历史温盐数据进行卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征;The extraction unit is used to perform a convolution operation on the historical temperature and salinity data in the time series format, and extract the variation characteristics between the temperature and salinity between all two adjacent moments;

训练单元,用于以所有所述变化特征按照时间顺序作为输入,进行长短期记忆LSTM循环神经网络训练,依次输出每组相邻两个时刻的下一个时刻的温度值。The training unit is used for taking all the changing features as input in a chronological order, to perform long-short-term memory LSTM cyclic neural network training, and sequentially outputting the temperature values at the next moment of each group of two adjacent moments.

可选的,所述时间序列格式的温盐数据为二维数组形式,同一时刻的温度和盐度被排在同一列,同一变量的时间序列排在同一行,最终组成时间序列格式的温盐数据。Optionally, the temperature and salinity data in the time series format is in the form of a two-dimensional array, the temperature and salinity at the same time are arranged in the same column, and the time series of the same variable are arranged in the same row, finally forming the temperature and salinity format in the time series format. data.

可选的,所述提取单元,用于通过2*2分辨率的过滤器对时间序列格式的历史温盐数据进行步长为1的卷积操作,提取所有相邻两个时刻温度和盐度之间的变化特征。Optionally, the extraction unit is configured to perform a convolution operation with a step size of 1 on the historical temperature and salinity data in the time series format through a 2*2 resolution filter, and extract the temperature and salinity at all two adjacent moments. characteristics of change between.

可选的,所述训练单元,用于通过长短期记忆LSTM循环神经网络架构中LSTM循环单元的输出门控制输出信息,将所述输出信息指向每组相邻两个时刻的下一个时刻的温度值。Optionally, the training unit is used to control the output information through the output gate of the LSTM cyclic unit in the long short-term memory LSTM cyclic neural network architecture, and direct the output information to the temperature at the next moment of each group of two adjacent moments. value.

以上本发明实施例公开的海水温度的预测装置中的接收单元501和预测单元502的具体工作过程,可参见本发明上述实施例公开的海水温度的预测方法中的对应内容,这里不再进行赘述。For the specific working process of the receiving unit 501 and the predicting unit 502 in the seawater temperature prediction device disclosed in the above embodiments of the present invention, reference may be made to the corresponding content in the seawater temperature prediction method disclosed in the above embodiments of the present invention, which will not be repeated here. .

本实施例公开的海水温度的预测装置,接收时间序列格式的温盐数据;温盐数据为任一经度纬度深度位置的海水的温度和盐度数据;将所述温盐数据输入到海水温度预测模型中,得到海水温度预测结果;其中,所述海水温度预测结果为所述时间序列最后一个时刻的下一时刻的温度预测值。可见,本发明以海水温度和盐度两种变量作为预测海水温度的参考量,相比于采用单一海表温度作为预测海水温度参考量的方式,能够得到更准确的海水温度预测结果,并且本发明不仅适用于海表,同样适用于对任一经度纬度深度位置的海水温度预测,应用范围更广。The seawater temperature prediction device disclosed in this embodiment receives temperature and salinity data in a time series format; the temperature and salinity data is the temperature and salinity data of seawater at any position of longitude, latitude and depth; and the temperature and salinity data are input into the seawater temperature prediction In the model, a seawater temperature prediction result is obtained; wherein, the seawater temperature prediction result is a temperature prediction value at the next moment of the last moment of the time series. It can be seen that the present invention uses two variables of seawater temperature and salinity as reference quantities for predicting seawater temperature. Compared with the method of using a single sea surface temperature as the reference quantity for predicting seawater temperature, more accurate seawater temperature prediction results can be obtained, and the present invention can obtain more accurate seawater temperature prediction results. The invention is not only applicable to the sea surface, but also applicable to the prediction of seawater temperature at any position of longitude, latitude and depth, and has a wider application range.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (10)

1. A method for predicting seawater temperature, comprising:
receiving thermohaline data in a time series format; the temperature and salinity data is the temperature and salinity data of the seawater at any longitude and latitude depth position;
inputting the temperature and salt data into a seawater temperature prediction model to obtain a seawater temperature prediction result;
and the seawater temperature prediction result is a temperature prediction value at the next moment of the last moment of the time series.
2. The prediction method of claim 1, wherein the training process of the seawater temperature prediction model comprises:
performing convolution operation on the historical temperature and salinity data in the time series format, and extracting the change characteristics between the temperature and the salinity at all two adjacent moments;
and taking all the change characteristics as input according to a time sequence, carrying out long-short term memory (LSTM) recurrent neural network training, and sequentially outputting the temperature value of the next moment of each group of adjacent two moments.
3. The prediction method according to claim 2, wherein the warm salt data in time series format is in two-dimensional array form, the temperature and salinity at the same time are arranged in the same column, the time series of the same variable is arranged in the same row, and finally the warm salt data in time series format is formed.
4. The prediction method according to claim 3, wherein the convolution operation is performed on the historical temperature and salinity data in a time series format to extract the change characteristics between the temperature and the salinity at all two adjacent time instants, and comprises the following steps:
and (3) performing convolution operation with the step size of 1 on the historical temperature and salinity data in the time series format through a filter with the resolution of 2 x 2, and extracting the change characteristics between the temperature and the salinity at all the two adjacent moments.
5. The prediction method according to claim 2, wherein the sequentially outputting the temperature value at the next time of each set of two adjacent times comprises:
and controlling output information through an output gate of an LSTM circulation unit in the long-short term memory LSTM circulation neural network architecture, and pointing the output information to a temperature value at the next moment of each group of two adjacent moments.
6. A prediction device of seawater temperature, comprising:
the receiving unit is used for receiving the temperature and salinity data in a time series format; the temperature and salinity data is the temperature and salinity data of the seawater at any longitude and latitude depth position;
the prediction unit is used for inputting the temperature and salinity data into a seawater temperature prediction model to obtain a seawater temperature prediction result;
and the seawater temperature prediction result is a temperature prediction value at the next moment of the last moment of the time series.
7. The prediction apparatus according to claim 6, further comprising:
the extraction unit is used for performing convolution operation on the historical temperature and salinity data in the time series format and extracting the change characteristics between the temperature and the salinity at two adjacent moments;
and the training unit is used for performing long-short term memory (LSTM) cyclic neural network training by taking all the change characteristics as input according to a time sequence, and sequentially outputting the temperature value of the next moment of each group of two adjacent moments.
8. The prediction device of claim 7, wherein the time series format of the warm salt data is in a two-dimensional array form, the temperature and the salinity at the same time are arranged in the same column, the time series of the same variable is arranged in the same row, and finally the time series format of the warm salt data is formed.
9. The prediction device according to claim 8, wherein the extraction unit is configured to extract the variation between temperature and salinity at two adjacent time instants by performing a convolution operation with a step size of 1 on the historical temperature and salinity data in a time series format through a 2 x 2 resolution filter.
10. The prediction apparatus as claimed in claim 7, wherein the training unit is configured to control the output information through an output gate of an LSTM cyclic neural network architecture, and point the output information to a temperature value at a next time of each set of two adjacent times.
CN201911050930.7A 2019-10-31 2019-10-31 Method and device for predicting seawater temperature Pending CN110648030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911050930.7A CN110648030A (en) 2019-10-31 2019-10-31 Method and device for predicting seawater temperature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911050930.7A CN110648030A (en) 2019-10-31 2019-10-31 Method and device for predicting seawater temperature

Publications (1)

Publication Number Publication Date
CN110648030A true CN110648030A (en) 2020-01-03

Family

ID=68995212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911050930.7A Pending CN110648030A (en) 2019-10-31 2019-10-31 Method and device for predicting seawater temperature

Country Status (1)

Country Link
CN (1) CN110648030A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371626A (en) * 2020-03-20 2020-07-03 南京大学 Bandwidth prediction method based on neural network
CN112132267A (en) * 2020-09-24 2020-12-25 杭州市余杭区工大智能制造技术与装备研究院 Body temperature rapid prediction method based on LSTM neural network
CN115238937A (en) * 2021-04-22 2022-10-25 中国科学院沈阳自动化研究所 Ocean temperature salt prediction method and system
CN117892767A (en) * 2024-01-12 2024-04-16 自然资源部第二海洋研究所 Seawater temperature prediction method based on deep learning

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160117423A1 (en) * 2013-03-13 2016-04-28 The Government Of The United States Of America, As Represented By The Secretary Of The Navy System and method for correcting a model-derived vertical structure of ocean temperature and ocean salinity based on sea surface height observations
CN105894106A (en) * 2015-01-05 2016-08-24 国家电网公司 Integral coupling method of ocean model and meteorological model
CN107256333A (en) * 2017-05-26 2017-10-17 桂林电子科技大学 A kind of Argo profile anomaly detection methods based on prediction and dynamic threshold
CN107451682A (en) * 2017-07-13 2017-12-08 中国水利水电科学研究院 A kind of city tidal reach Water Requirement Forecasting Methodology based on neutral net
CN108510132A (en) * 2018-07-03 2018-09-07 华际科工(北京)卫星通信科技有限公司 A kind of sea-surface temperature prediction technique based on LSTM
CN108665104A (en) * 2018-05-14 2018-10-16 华际卫星通信有限公司 A kind of fishing ground forecasting procedure based on LSTM
CN109978279A (en) * 2019-04-10 2019-07-05 青岛农业大学 Marine surface temperature regional prediction method
KR102012879B1 (en) * 2019-02-13 2019-10-21 유지호 Automated accident detection kit and its system using that kit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160117423A1 (en) * 2013-03-13 2016-04-28 The Government Of The United States Of America, As Represented By The Secretary Of The Navy System and method for correcting a model-derived vertical structure of ocean temperature and ocean salinity based on sea surface height observations
CN105894106A (en) * 2015-01-05 2016-08-24 国家电网公司 Integral coupling method of ocean model and meteorological model
CN107256333A (en) * 2017-05-26 2017-10-17 桂林电子科技大学 A kind of Argo profile anomaly detection methods based on prediction and dynamic threshold
CN107451682A (en) * 2017-07-13 2017-12-08 中国水利水电科学研究院 A kind of city tidal reach Water Requirement Forecasting Methodology based on neutral net
CN108665104A (en) * 2018-05-14 2018-10-16 华际卫星通信有限公司 A kind of fishing ground forecasting procedure based on LSTM
CN108510132A (en) * 2018-07-03 2018-09-07 华际科工(北京)卫星通信科技有限公司 A kind of sea-surface temperature prediction technique based on LSTM
KR102012879B1 (en) * 2019-02-13 2019-10-21 유지호 Automated accident detection kit and its system using that kit
CN109978279A (en) * 2019-04-10 2019-07-05 青岛农业大学 Marine surface temperature regional prediction method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
DAVID J.R: "Holocene oscillations in the temperature and salinity of the surface subpolar north atlantic", 《NATURE》 *
JUN LIU: "TD-LSTM:Temporal dependence-based LSTM networks for marine temperature prediction", 《SENSORS》 *
勾毓: "基于Argo海洋数据的温跃层处理方法研究", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *
张桐: "基于Argo数据的海洋温度预测方法研究", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *
白玉川: "围海造陆条件下排海高温浓盐水对渤海湾温盐场分布影响模拟及预测", 《海洋学报(中文版)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371626A (en) * 2020-03-20 2020-07-03 南京大学 Bandwidth prediction method based on neural network
CN111371626B (en) * 2020-03-20 2021-05-28 南京大学 A Bandwidth Prediction Method Based on Neural Network
CN112132267A (en) * 2020-09-24 2020-12-25 杭州市余杭区工大智能制造技术与装备研究院 Body temperature rapid prediction method based on LSTM neural network
CN115238937A (en) * 2021-04-22 2022-10-25 中国科学院沈阳自动化研究所 Ocean temperature salt prediction method and system
CN115238937B (en) * 2021-04-22 2025-05-09 中国科学院沈阳自动化研究所 A method and system for predicting ocean temperature and salinity
CN117892767A (en) * 2024-01-12 2024-04-16 自然资源部第二海洋研究所 Seawater temperature prediction method based on deep learning

Similar Documents

Publication Publication Date Title
CN114529825B (en) Target detection model, method and application for fire fighting access occupied target detection
CN114255361B (en) Neural network model training method, image processing method and device
CN114387486B (en) Image classification method and device based on continuous learning
CN110648030A (en) Method and device for predicting seawater temperature
CN112862090B (en) A temperature forecast method based on deep spatio-temporal neural network
CN111507521B (en) Electric power load forecasting method and forecasting device in Taiwan area
CN114255238A (en) Three-dimensional point cloud scene segmentation method and system fusing image features
CN111079532A (en) Video content description method based on text self-encoder
CN107369166A (en) A kind of method for tracking target and system based on multiresolution neutral net
CN113449612B (en) Three-dimensional target point cloud identification method based on sub-flow sparse convolution
JP2022534890A (en) Image processing method and apparatus, electronic equipment and storage medium
CN114006411B (en) Wind power prediction method and system based on LSTM-CNN joint model
CN110188875A (en) A small sample data prediction method and device
CN115545159A (en) Average sea surface temperature forecasting method of deep neural network
Gajamannage et al. Recurrent neural networks for dynamical systems: Applications to ordinary differential equations, collective motion, and hydrological modeling
CN111860975A (en) A Generative Adversarial Network-Based Approach for Near-Rain Prediction
WO2023040740A1 (en) Method for optimizing neural network model, and related device
CN117934273A (en) Image processing method based on super-resolution
CN106407932A (en) Handwritten number recognition method based on fractional calculus and generalized inverse neural network
CN110188621A (en) A 3D Facial Expression Recognition Method Based on SSF-IL-CNN
CN119741496A (en) A ship target segmentation method for SAR images based on diffusion model
CN108769674A (en) A kind of video estimation method based on adaptive stratification motion modeling
CN118968299A (en) A lightweight encoding method for remote sensing images based on convolutional neural network and self-attention mechanism
CN115759291B (en) Spatial nonlinear regression method and system based on ensemble learning
Ma et al. Adaptive layer selection and fusion network for infrastructure contour segmentation using uav remote sensing images

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200103