Nothing Special   »   [go: up one dir, main page]

CN118314673A - Intelligent fire warning method and system based on Internet data - Google Patents

Intelligent fire warning method and system based on Internet data Download PDF

Info

Publication number
CN118314673A
CN118314673A CN202410410032.2A CN202410410032A CN118314673A CN 118314673 A CN118314673 A CN 118314673A CN 202410410032 A CN202410410032 A CN 202410410032A CN 118314673 A CN118314673 A CN 118314673A
Authority
CN
China
Prior art keywords
environmental
data
environment
reference data
data sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410410032.2A
Other languages
Chinese (zh)
Other versions
CN118314673B (en
Inventor
陈灿灿
张凯斌
锁明明
常浩然
柴佳楠
潘号东
王鹏亮
王统
张景
任帅锋
张莹星
郑冰倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Tangdu Technology Co ltd
Original Assignee
Henan Tangdu Technology Co ltd
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 Henan Tangdu Technology Co ltd filed Critical Henan Tangdu Technology Co ltd
Priority to CN202410410032.2A priority Critical patent/CN118314673B/en
Publication of CN118314673A publication Critical patent/CN118314673A/en
Application granted granted Critical
Publication of CN118314673B publication Critical patent/CN118314673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fire Alarms (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明涉及数据处理技术领域,具体涉及基于互联网数据的智能火灾预警方法及系统,包括:采集若干整体环境数据序列以及若干环境数据序列;根据整体环境数据序列中不同时间范围内环境参考数据的变化方向的分布差异情况,得到整体环境数据序列的环境特征因子;根据不同环境数据序列之间同一记录时刻下环境参考数据与环境特征因子的匹配差异情况,以及环境参考数据与外界环境因素的关联情况,得到环境参考数据的环境滤波权重;根据环境滤波权重进行自适应调整窗口,对环境参考数据进行去噪。本发明使滤波窗口实现自适应调整,提高了去噪效果,提高了智能火灾预警结果的准确性。

The present invention relates to the field of data processing technology, and in particular to an intelligent fire warning method and system based on Internet data, including: collecting a number of overall environmental data sequences and a number of environmental data sequences; obtaining environmental characteristic factors of the overall environmental data sequence according to the distribution differences of the change directions of environmental reference data within different time ranges in the overall environmental data sequence; obtaining environmental filtering weights of environmental reference data according to the matching differences between environmental reference data and environmental characteristic factors at the same recording time between different environmental data sequences, and the correlation between environmental reference data and external environmental factors; adaptively adjusting the window according to the environmental filtering weights, and denoising the environmental reference data. The present invention enables adaptive adjustment of the filter window, improves the denoising effect, and improves the accuracy of the intelligent fire warning results.

Description

基于互联网数据的智能火灾预警方法及系统Intelligent fire warning method and system based on Internet data

技术领域Technical Field

本发明涉及数据处理技术领域,具体涉及基于互联网数据的智能火灾预警方法及系统。The present invention relates to the technical field of data processing, and in particular to an intelligent fire early warning method and system based on Internet data.

背景技术Background technique

为了保证场所的财产安全,通常利用智能机器人对场所中的环境信息进行采集,并通过连接互联网检测传输的环境数据,从而实时进行火灾预警。但智能机器人采集的环境数据存在随机的噪声干扰,所以在进行智能火灾预警之前,需要对环境数据进行去噪。In order to ensure the property safety of the site, intelligent robots are usually used to collect environmental information in the site, and the environmental data transmitted by connecting to the Internet is detected, so as to provide real-time fire warning. However, the environmental data collected by the intelligent robot has random noise interference, so before the intelligent fire warning is carried out, the environmental data needs to be denoised.

现有方法通常利用SG(Savitzky-Golay)滤波算法对环境数据进行去噪,传统的SG滤波算法通常采用固定窗口对环境数据进行去噪滤波;但是场所中不同种类的环境数据对火灾预测结果的影响并不相同,而传统的SG滤波算法并不能很好地结合不同种类的环境数据对火灾预测结果的影响情况,导致对环境数据的去噪效果并不理想,从而使火灾预警结果的准确性降低。Existing methods usually use the SG (Savitzky-Golay) filtering algorithm to denoise environmental data. The traditional SG filtering algorithm usually uses a fixed window to perform denoising filtering on environmental data; however, different types of environmental data in a venue have different effects on fire prediction results, and the traditional SG filtering algorithm cannot well combine the impact of different types of environmental data on fire prediction results, resulting in unsatisfactory denoising effect on environmental data, thereby reducing the accuracy of fire warning results.

发明内容Summary of the invention

本发明提供基于互联网数据的智能火灾预警方法及系统,以解决现有的问题:现有的SG(Savitzky-Golay)滤波算法采用固定窗口对环境数据进行去噪滤波,并不没有结合不同种类的环境数据对火灾预测结果的影响情况,导致火灾预警结果的准确性降低。The present invention provides an intelligent fire warning method and system based on Internet data to solve the existing problem: the existing SG (Savitzky-Golay) filtering algorithm uses a fixed window to perform denoising filtering on environmental data, and does not combine the influence of different types of environmental data on fire prediction results, resulting in reduced accuracy of fire warning results.

本发明的基于互联网数据的智能火灾预警方法及系统采用如下技术方案:The intelligent fire early warning method and system based on Internet data of the present invention adopts the following technical solutions:

本发明一个实施例提供了基于互联网数据的智能火灾预警方法,该方法包括以下步骤:An embodiment of the present invention provides an intelligent fire warning method based on Internet data, the method comprising the following steps:

采集若干整体环境数据序列以及若干环境数据序列,所述整体环境数据序列包含多个环境数据序列,环境数据序列包含多个环境参考数据,每个环境参考数据对应一个记录时刻;Collecting a plurality of overall environment data sequences and a plurality of environment data sequences, wherein the overall environment data sequence includes a plurality of environment data sequences, and the environment data sequence includes a plurality of environment reference data, and each environment reference data corresponds to a recording time;

根据整体环境数据序列中不同时间范围内环境参考数据的变化方向的分布差异情况,得到每个整体环境数据序列的环境特征因子;According to the distribution differences of the change directions of the environmental reference data in different time ranges in the overall environmental data sequence, the environmental characteristic factors of each overall environmental data sequence are obtained;

根据不同环境数据序列之间同一记录时刻下环境参考数据与环境特征因子的匹配差异情况,以及环境参考数据与外界环境因素的关联情况,得到每个环境参考数据的环境滤波权重;According to the matching differences between the environmental reference data and the environmental characteristic factors at the same recording time between different environmental data sequences, as well as the correlation between the environmental reference data and the external environmental factors, the environmental filtering weight of each environmental reference data is obtained;

根据环境滤波权重进行自适应调整窗口,对环境参考数据进行去噪。The window is adaptively adjusted according to the environmental filter weight to denoise the environmental reference data.

优选的,所述根据整体环境数据序列中不同时间范围内环境参考数据的变化方向的分布差异情况,得到每个整体环境数据序列的环境特征因子,包括的具体方法为:Preferably, the environmental characteristic factor of each overall environmental data sequence is obtained according to the distribution difference of the change direction of the environmental reference data within different time ranges in the overall environmental data sequence, including the specific method of:

预设一个环境参考数据数量T1;对于任意一个整体环境数据序列,将整体环境数据序列中任意一个环境参考数据记为目标环境参考数据,将目标环境参考数据前T1个环境参考数据与目标环境参考数据后T1个环境参考数据构成的数据段,记为目标环境参考数据的邻域环境数据段;A number of environmental reference data T1 is preset; for any overall environmental data sequence, any environmental reference data in the overall environmental data sequence is recorded as target environmental reference data, and a data segment consisting of T1 environmental reference data before the target environmental reference data and T1 environmental reference data after the target environmental reference data is recorded as a neighborhood environmental data segment of the target environmental reference data;

获取目标环境参考数据的邻域环境数据段中每个极值的趋势方向差异值;Obtain the trend direction difference value of each extreme value in the neighborhood environment data segment of the target environment reference data;

将所有的趋势方向差异值进行线性归一化,将归一化后的趋势方向差异值记为趋势方向差异因子;将目标环境参考数据的邻域环境数据段中任意一个极值记为目标极值,将1减去目标极值的趋势方向差异因子的差值记为目标极值的第一差值;将所有极值的均值减去目标极值的差值记为目标极值的第二差值;将目标极值的第一差值与第二差值的乘积的平方记为目标极值的第一乘积;All trend direction difference values are linearly normalized, and the normalized trend direction difference values are recorded as trend direction difference factors; any extreme value in the neighborhood environment data segment of the target environment reference data is recorded as the target extreme value, and the difference between 1 and the trend direction difference factor of the target extreme value is recorded as the first difference of the target extreme value; the difference between the mean of all extreme values and the target extreme value is recorded as the second difference of the target extreme value; the square of the product of the first difference and the second difference of the target extreme value is recorded as the first product of the target extreme value;

获取目标环境参考数据的邻域环境数据段中所有极值的第一乘积,将所有极值的第一乘积的累加和的开平方值,记为目标环境参考数据的第一累加值;获取整体环境数据序列中所有环境参考数据的第一累加值,将所有环境参考数据的第一累加值的累加和的反比例归一化值记为第一反比例值;将1减去第一反比例值的差值记为整体环境数据序列的环境特征因子。Obtain the first product of all extreme values in the neighborhood environmental data segment of the target environmental reference data, and record the square root of the cumulative sum of the first products of all extreme values as the first cumulative value of the target environmental reference data; obtain the first cumulative value of all environmental reference data in the overall environmental data sequence, and record the inversely proportional normalized value of the cumulative sum of the first cumulative values of all environmental reference data as the first inversely proportional value; and record the difference between 1 and the first inversely proportional value as the environmental characteristic factor of the overall environmental data sequence.

优选的,所述获取目标环境参考数据的邻域环境数据段中每个极值的趋势方向差异值,包括的具体方法为:Preferably, the specific method of obtaining the trend direction difference value of each extreme value in the neighborhood environment data segment of the target environment reference data includes:

利用PCA主成分分析算法获取邻域环境数据段中的主成分方向,将邻域环境数据段中每个极值在主成分方向上对应的值记为每个极值的主成分值,将邻域环境数据段中每个极值减去对应的主成分值的差值记为每个极值的趋势方向差异值。The PCA principal component analysis algorithm is used to obtain the principal component direction in the neighborhood environmental data segment, and the value corresponding to each extreme value in the neighborhood environmental data segment in the principal component direction is recorded as the principal component value of each extreme value, and the difference between each extreme value in the neighborhood environmental data segment and the corresponding principal component value is recorded as the trend direction difference value of each extreme value.

优选的,所述根据不同环境数据序列之间同一记录时刻下环境参考数据与环境特征因子的匹配差异情况,以及环境参考数据与外界环境因素的关联情况,得到每个环境参考数据的环境滤波权重,包括的具体方法为:Preferably, the environmental filtering weight of each environmental reference data is obtained according to the matching difference between the environmental reference data and the environmental characteristic factors at the same recording time between different environmental data sequences, and the correlation between the environmental reference data and the external environmental factors, including the specific method of:

对于任意一个整体环境数据序列,在整体环境数据序列中,将最后一个环境数据序列记为核心环境数据序列,将除核心环境数据序列以外的每个环境数据序列记为参照环境数据序列;对于任意一个参照环境数据序列,利用DTW动态时间规整算法获取参照环境数据序列与核心环境数据序列的所有匹配点对;获取所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重;For any overall environmental data sequence, in the overall environmental data sequence, the last environmental data sequence is recorded as the core environmental data sequence, and each environmental data sequence except the core environmental data sequence is recorded as the reference environmental data sequence; for any reference environmental data sequence, the DTW dynamic time warping algorithm is used to obtain all matching point pairs between the reference environmental data sequence and the core environmental data sequence; the overall difference value of the trend time, the overall difference value of the neighborhood distance and the similarity weight of all matching point pairs are obtained;

根据核心环境数据序列与参照环境数据序列之间所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重,得到核心环境数据序列与参照环境数据序列的环境相似度;获取核心环境数据序列与所有参照环境数据序列的环境相似度;According to the overall difference value of trend time, overall difference value of neighborhood distance and similarity weight of all matching point pairs between the core environmental data sequence and the reference environmental data sequence, the environmental similarity between the core environmental data sequence and the reference environmental data sequence is obtained; the environmental similarity between the core environmental data sequence and all reference environmental data sequences is obtained;

根据核心环境数据序列与所有参照环境数据序列的环境相似度,得到核心环境数据序列的噪声影响程度;According to the environmental similarity between the core environmental data sequence and all reference environmental data sequences, the noise influence degree of the core environmental data sequence is obtained;

对于核心环境数据序列中任意一个环境参考数据,将环境参考数据的邻域环境数据段中所有环境参考数据的标准差记为第一标准差,获取核心环境数据序列中所有环境参考数据的第一标准差,将所有的第一标准差进行线性归一化,将归一化后的第一标准差记为局部环境标准差;预设一个环境参考数据阈值T2,将环境参考数据的邻域环境数据段中所有环境参考数据的均值减去T2的差值,记为环境参考数据的异常指标;获取所有环境参考数据的异常指标;For any environmental reference data in the core environmental data sequence, the standard deviation of all environmental reference data in the neighborhood environmental data segment of the environmental reference data is recorded as the first standard deviation, the first standard deviation of all environmental reference data in the core environmental data sequence is obtained, all first standard deviations are linearly normalized, and the normalized first standard deviation is recorded as the local environmental standard deviation; an environmental reference data threshold T2 is preset, and the difference between the mean of all environmental reference data in the neighborhood environmental data segment of the environmental reference data and T2 is recorded as the abnormal index of the environmental reference data; the abnormal index of all environmental reference data is obtained;

对于第v个整体环境数据序列中第z个环境参考数据,根据第z个环境参考数据环境参考数据的局部环境标准差、第v个整体环境数据序列的环境特征因子、第v个整体环境数据序列的核心环境数据序列的噪声影响程度,以及第v个整体环境数据序列与其他整体环境数据序列之间异常指标的差异,得到第v个整体环境数据序列中第z个环境参考数据的噪声异常度;For the zth environmental reference data in the vth overall environmental data sequence, the noise anomaly degree of the zth environmental reference data in the vth overall environmental data sequence is obtained according to the local environmental standard deviation of the environmental reference data of the zth environmental reference data, the environmental characteristic factor of the vth overall environmental data sequence, the noise influence degree of the core environmental data sequence of the vth overall environmental data sequence, and the difference in anomaly indicators between the vth overall environmental data sequence and other overall environmental data sequences;

获取第v个整体环境数据序列中所有环境参考数据的噪声异常度,将所有的噪声异常度进行线性归一化,将归一化后的噪声异常度记为环境滤波权重。The noise anomaly of all environmental reference data in the vth overall environmental data sequence is obtained, all noise anomaly degrees are linearly normalized, and the normalized noise anomaly degree is recorded as the environmental filtering weight.

优选的,所述获取所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重,包括的具体方法为:Preferably, the method of obtaining the overall difference value of trend time, the overall difference value of neighborhood distance and the similarity weight of all matching point pairs includes:

对于任意一个匹配点对,将匹配点对在参照环境数据序列的环境参考数据记为第一目标环境参考数据;在参照环境数据序列中,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第二目标环境参考数据,将第一目标环境参考数据与第二目标环境参考数据之间记录时刻的差值的绝对值,记为第一目标环境参考数据的趋势时间差异值;将匹配点对在核心环境数据序列的环境参考数据记为第三目标环境参考数据,参考第一目标环境参考数据的趋势时间差异值的获取方法,获取第三目标环境参考数据的趋势时间差异值;将第一目标环境参考数据与第三目标环境参考数据的趋势时间差异值的均值,记为匹配点对的趋势时间整体差异值;For any matching point pair, the environmental reference data of the matching point pair in the reference environmental data sequence is recorded as the first target environmental reference data; in the reference environmental data sequence, the environmental reference data corresponding to the smallest extreme value of the recording time from the first target environmental reference data is recorded as the second target environmental reference data, and the absolute value of the difference in recording time between the first target environmental reference data and the second target environmental reference data is recorded as the trend time difference value of the first target environmental reference data; the environmental reference data of the matching point pair in the core environmental data sequence is recorded as the third target environmental reference data, and the trend time difference value of the third target environmental reference data is obtained by referring to the method for obtaining the trend time difference value of the first target environmental reference data; the average of the trend time difference values of the first target environmental reference data and the third target environmental reference data is recorded as the overall trend time difference value of the matching point pair;

在第一目标环境参考数据左侧,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第一目标环境数据;在第一目标环境参考数据右侧,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第二目标环境数据;将第一目标环境数据与第二目标环境数据之间的欧式距离,记为第一目标环境参考数据的邻域距离值;参考第一目标环境参考数据的邻域距离值的获取方法,获取第三目标环境参考数据的邻域距离值;将第一目标环境参考数据与第三目标环境参考数据的邻域距离值的均值,记为匹配点对的邻域距离整体差异值;On the left side of the first target environment reference data, the environment reference data corresponding to the minimum extreme value of the distance from the first target environment reference data at the recording time is recorded as the first target environment data; on the right side of the first target environment reference data, the environment reference data corresponding to the minimum extreme value of the distance from the first target environment reference data at the recording time is recorded as the second target environment data; the Euclidean distance between the first target environment data and the second target environment data is recorded as the neighborhood distance value of the first target environment reference data; refer to the method for obtaining the neighborhood distance value of the first target environment reference data to obtain the neighborhood distance value of the third target environment reference data; the average of the neighborhood distance values of the first target environment reference data and the third target environment reference data is recorded as the overall difference value of the neighborhood distance of the matching point pairs;

在匹配点对中,若第一目标环境参考数据为极值,将第一目标环境参考数据的邻域距离值记为匹配点对的相似权重;若第三目标环境参考数据为极值,将第三目标环境参考数据的邻域距离值记为匹配点对的相似权重;若第一目标环境参考数据与第三目标环境参考数据均为极值,将第一目标环境参考数据与第三目标环境参考数据的邻域距离值的累加和,记为匹配点对的相似权重;若第一目标环境参考数据与第三目标环境参考数据均不为极值,将1记为匹配点对的相似权重。In the matching point pair, if the first target environment reference data is an extreme value, the neighborhood distance value of the first target environment reference data is recorded as the similarity weight of the matching point pair; if the third target environment reference data is an extreme value, the neighborhood distance value of the third target environment reference data is recorded as the similarity weight of the matching point pair; if the first target environment reference data and the third target environment reference data are both extreme values, the cumulative sum of the neighborhood distance values of the first target environment reference data and the third target environment reference data is recorded as the similarity weight of the matching point pair; if neither the first target environment reference data nor the third target environment reference data is an extreme value, 1 is recorded as the similarity weight of the matching point pair.

优选的,所述根据核心环境数据序列与参照环境数据序列之间所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重,得到核心环境数据序列与参照环境数据序列的环境相似度,包括的具体方法为:Preferably, the environmental similarity between the core environmental data sequence and the reference environmental data sequence is obtained according to the overall difference value of the trend time, the overall difference value of the neighborhood distance and the similarity weight of all matching point pairs between the core environmental data sequence and the reference environmental data sequence, including the specific method of:

对于核心环境数据序列与参照环境数据序列中第c个匹配点对,将第c个匹配点对中两个环境参考数据之间的欧式距离、第c个匹配点对的相似权重以及邻域距离整体差异值这三者的乘积记为第二乘积;将第二乘积与第c个匹配点对的趋势时间整体差异值的比值记为第c个匹配点对的第一比值,获取所有匹配点对的第一比值;将所有匹配点对的第一比值的累加和记为核心环境数据序列与参照环境数据序列的环境相似值;获取所有环境相似值,将所有环境相似值进行线性归一化,将归一化后的环境相似值记为环境相似度。For the cth matching point pair in the core environmental data sequence and the reference environmental data sequence, the product of the Euclidean distance between the two environmental reference data in the cth matching point pair, the similarity weight of the cth matching point pair and the overall difference value of the neighborhood distance is recorded as the second product; the ratio of the second product to the overall difference value of the trend time of the cth matching point pair is recorded as the first ratio of the cth matching point pair, and the first ratio of all matching point pairs is obtained; the cumulative sum of the first ratios of all matching point pairs is recorded as the environmental similarity value of the core environmental data sequence and the reference environmental data sequence; all environmental similarity values are obtained, all environmental similarity values are linearly normalized, and the normalized environmental similarity values are recorded as environmental similarity.

优选的,所述根据核心环境数据序列与所有参照环境数据序列的环境相似度,得到核心环境数据序列的噪声影响程度,包括的具体方法为:Preferably, the step of obtaining the noise influence degree of the core environment data sequence according to the environmental similarity between the core environment data sequence and all reference environment data sequences comprises the following specific methods:

将核心环境数据序列中所有环境参考数据的均值记为第一均值,将参照环境数据序列中所有环境参考数据的均值记为第二均值,将第一均值与第二均值的差值的绝对值记为核心环境数据序列与参照环境数据序列的环境差异因子,获取核心环境数据序列与所有参照环境数据序列的环境差异因子,将所有的环境差异因子进行线性归一化,将归一化后的环境差异因子记为环境差异程度;The mean of all environmental reference data in the core environmental data sequence is recorded as the first mean, the mean of all environmental reference data in the reference environmental data sequence is recorded as the second mean, the absolute value of the difference between the first mean and the second mean is recorded as the environmental difference factor between the core environmental data sequence and the reference environmental data sequence, the environmental difference factor between the core environmental data sequence and all reference environmental data sequences is obtained, all environmental difference factors are linearly normalized, and the normalized environmental difference factor is recorded as the environmental difference degree;

对于任意一个参照环境数据序列,将1减去核心环境数据序列与参照环境数据序列的环境差异程度的差值记为第三差值;将核心环境数据序列与参照环境数据序列的环境相似度与第三差值的乘积,记为参照环境数据序列的第三乘积;获取所有参照环境数据序列的第三乘积,将所有参照环境数据序列的第三乘积的累加和记为核心环境数据序列的噪声影响程度。For any reference environmental data sequence, the difference between 1 and the degree of environmental difference between the core environmental data sequence and the reference environmental data sequence is recorded as the third difference; the product of the environmental similarity between the core environmental data sequence and the reference environmental data sequence and the third difference is recorded as the third product of the reference environmental data sequence; the third products of all reference environmental data sequences are obtained, and the cumulative sum of the third products of all reference environmental data sequences is recorded as the degree of noise influence of the core environmental data sequence.

优选的,所述根据第z个环境参考数据环境参考数据的局部环境标准差、第v个整体环境数据序列的环境特征因子、第v个整体环境数据序列的核心环境数据序列的噪声影响程度,以及第v个整体环境数据序列与其他整体环境数据序列之间异常指标的差异,得到第v个整体环境数据序列中第z个环境参考数据的噪声异常度,包括的具体方法为:Preferably, the noise anomaly degree of the zth environmental reference data in the vth overall environmental data sequence is obtained according to the local environmental standard deviation of the zth environmental reference data, the environmental characteristic factor of the vth overall environmental data sequence, the noise influence degree of the core environmental data sequence of the vth overall environmental data sequence, and the difference in anomaly indicators between the vth overall environmental data sequence and other overall environmental data sequences, including the specific method of:

将1减去第v个整体环境数据序列的环境特征因子的差值记为第四差值;将第v个整体环境数据序列的核心环境数据序列的噪声影响程度、第v个整体环境数据序列中第z个环境参考数据的局部环境标准差以及第四差值这三者的乘积记为第四乘积;将第四乘积与除第v个整体环境数据序列以外所有整体环境数据序列的数量的比值,记为第v个整体环境数据序列中第z个环境参考数据的第二比值;The difference between 1 and the environmental characteristic factor of the vth overall environmental data sequence is recorded as the fourth difference; the product of the noise influence degree of the core environmental data sequence of the vth overall environmental data sequence, the local environmental standard deviation of the zth environmental reference data in the vth overall environmental data sequence, and the fourth difference is recorded as the fourth product; the ratio of the fourth product to the number of all overall environmental data sequences except the vth overall environmental data sequence is recorded as the second ratio of the zth environmental reference data in the vth overall environmental data sequence;

对于除第v个整体环境数据序列以外的第q个整体环境数据序列,将第v个整体环境数据序列中第z个环境参考数据的异常指标,减去第q个整体环境数据序列中第z个环境参考数据的异常指标的差值,记为第五差值;将第q个整体环境数据序列的环境特征因子与第v个整体环境数据序列中第z个环境参考数据的局部环境标准差的比值,记为第三比值;将第五差值与第三比值的乘积的平方记为第q个整体环境数据序列的第五乘积;获取除第v个整体环境数据序列以外所有整体环境数据序列的第五乘积,将所有第五乘积的累加和记为第v个整体环境数据序列中第z个环境参考数据的第一累加和;For the qth overall environmental data sequence except the vth overall environmental data sequence, the difference between the abnormal index of the zth environmental reference data in the vth overall environmental data sequence and the abnormal index of the zth environmental reference data in the qth overall environmental data sequence is subtracted and recorded as the fifth difference; the ratio of the environmental characteristic factor of the qth overall environmental data sequence to the local environmental standard deviation of the zth environmental reference data in the vth overall environmental data sequence is recorded as the third ratio; the square of the product of the fifth difference and the third ratio is recorded as the fifth product of the qth overall environmental data sequence; the fifth products of all overall environmental data sequences except the vth overall environmental data sequence are obtained, and the cumulative sum of all fifth products is recorded as the first cumulative sum of the zth environmental reference data in the vth overall environmental data sequence;

将第二比值与第一累加和的乘积记为第v个整体环境数据序列中第z个环境参考数据的噪声异常度。The product of the second ratio and the first cumulative sum is recorded as the noise abnormality of the zth environmental reference data in the vth overall environmental data sequence.

优选的,所述根据环境滤波权重进行自适应调整窗口,对环境参考数据进行去噪,包括的具体方法为:Preferably, the adaptively adjusting the window according to the environmental filtering weight to denoise the environmental reference data includes the following specific methods:

预设一个滤波窗口长度T3以及一个超参数μ,对于第v1个整体环境数据序列中第z1个环境参考数据,将μ与第v1个整体环境数据序列中第z1个环境参考数据的环境滤波权重的和记为第一和值;将T3与第一和值的乘积记为第六乘积;将第六乘积的向上取整结果记为第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口长度;A filter window length T3 and a hyperparameter μ are preset. For the z1th environmental reference data in the v1th overall environmental data sequence, the sum of μ and the environmental filter weight of the z1th environmental reference data in the v1th overall environmental data sequence is recorded as the first sum; the product of T3 and the first sum is recorded as the sixth product; and the result of rounding up the sixth product is recorded as the final filter window length of the z1th environmental reference data in the v1th overall environmental data sequence;

构建窗口长度为Lv1,z1的窗口作为第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口,获取每个整体环境数据序列中每个环境参考数据的最终滤波窗口,将每个环境参考数据的最终滤波窗口作为滤波窗口,根据滤波窗口通过SG滤波算法对每个环境参考数据进行去噪,得到所有去噪后的环境参考数据。Construct a window with a window length of L v1,z1 as the final filtering window of the z1th environmental reference data in the v1th overall environmental data sequence, obtain the final filtering window of each environmental reference data in each overall environmental data sequence, use the final filtering window of each environmental reference data as the filtering window, and denoise each environmental reference data according to the filtering window through the SG filtering algorithm to obtain all denoised environmental reference data.

本发明还提出了基于互联网数据的智能火灾预警系统,包括存储器和处理器,所述处理器执行所述存储器存储的计算机程序,以实现上述的基于互联网数据的智能火灾预警方法的步骤。The present invention also proposes an intelligent fire warning system based on Internet data, including a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the steps of the above-mentioned intelligent fire warning method based on Internet data.

本发明的技术方案的有益效果是:本发明通过结合整体环境数据序列与外界环境因素的关联情况以及不同时间范围内环境参考数据的变化方向的分布差异情况,自适应调整窗口,以提高对每个环境参考数据的去噪效果;其中首先根据整体环境数据序列中不同时间范围内环境参考数据的变化方向的分布差异情况,得到整体环境数据序列的环境特征因子,用于反映整体环境数据序列所属的环境数据种类所表现特征的明显情况,提高了环境因素影响对环境参考数据的表现程度;然后根据不同环境数据序列之间同一记录时刻下环境参考数据与环境特征因子的匹配差异情况,以及环境参考数据与外界环境因素的关联情况,得到每个环境参考数据的环境滤波权重,用于反映经外界环境因素与内部噪声方面分析后需要进行去噪的强度,提高了对每个环境参考数据的去噪效果;最后根据环境滤波权重进行自适应调整窗口,对环境参考数据进行去噪;本发明通过分析外界环境因素与内部噪声因素共同对环境参考数据的影响情况,自适应调整滤波窗口,使滤波窗口可以根据不同的环境参考数据进行自适应调节,提高了去噪效果,提高了智能火灾预警结果的准确性。The beneficial effects of the technical solution of the present invention are as follows: the present invention adaptively adjusts the window to improve the denoising effect of each environmental reference data by combining the correlation between the overall environmental data sequence and the external environmental factors and the distribution difference of the change direction of the environmental reference data in different time ranges; wherein firstly, according to the distribution difference of the change direction of the environmental reference data in different time ranges in the overall environmental data sequence, the environmental characteristic factor of the overall environmental data sequence is obtained, which is used to reflect the obvious situation of the characteristics shown by the environmental data type to which the overall environmental data sequence belongs, thereby improving the degree of expression of the environmental factors on the environmental reference data; then, according to the distribution difference of the environmental reference data at the same recording time between different environmental data sequences, the environmental characteristic factor of the overall environmental data sequence is obtained. The environmental filtering weight of each environmental reference data is obtained by considering the matching differences between the environmental reference data and the environmental characteristic factors, as well as the correlation between the environmental reference data and the external environmental factors, which is used to reflect the intensity of denoising required after the analysis of the external environmental factors and the internal noise, thereby improving the denoising effect of each environmental reference data; finally, the window is adaptively adjusted according to the environmental filtering weight to denoise the environmental reference data; the present invention adaptively adjusts the filtering window by analyzing the influence of the external environmental factors and the internal noise factors on the environmental reference data, so that the filtering window can be adaptively adjusted according to different environmental reference data, thereby improving the denoising effect and the accuracy of the intelligent fire warning results.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为本发明的基于互联网数据的智能火灾预警方法的步骤流程图;FIG1 is a flow chart of the steps of the intelligent fire early warning method based on Internet data of the present invention;

图2为本发明的基于互联网数据的智能火灾预警方法的特征关系流程图。FIG2 is a flow chart showing the characteristic relationship of the intelligent fire warning method based on Internet data of the present invention.

具体实施方式Detailed ways

为了更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的基于互联网数据的智能火灾预警方法及系统,其具体实施方式、结构、特征及其功效,详细说明如下。在下述说明中,不同的“一个实施例”或“另一个实施例”指的不一定是同一实施例。此外,一或多个实施例中的特定特征、结构或特点可由任何合适形式组合。In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation method, structure, features and effects of the intelligent fire warning method and system based on Internet data proposed by the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

下面结合附图具体的说明本发明所提供的基于互联网数据的智能火灾预警方法及系统的具体方案。The specific scheme of the intelligent fire early warning method and system based on Internet data provided by the present invention is described in detail below with reference to the accompanying drawings.

请参阅图1,其示出了本发明一个实施例提供的基于互联网数据的智能火灾预警方法的步骤流程图,该方法包括以下步骤:Please refer to FIG. 1 , which shows a flowchart of a method for intelligent fire warning based on Internet data provided by an embodiment of the present invention. The method comprises the following steps:

步骤S001:采集若干整体环境数据序列以及若干环境数据序列。Step S001: Collect a number of overall environment data sequences and a number of environment data sequences.

需要说明的是,现有方法通常利用SG(Savitzky-Golay)滤波算法对环境数据进行去噪,传统的SG滤波算法通常采用固定窗口对数据进行去噪滤波;但是场所中不同种类的环境数据对火灾预测结果的影响并不相同,而传统的SG滤波算法并不能很好地结合不同种类的环境数据对火灾预测结果的影响情况,导致对环境数据的去噪效果并不理想,从而使火灾预警结果的准确性降低。请参阅图2,其示出了基于互联网数据的智能火灾预警方法的特征关系流程图。It should be noted that the existing methods usually use the SG (Savitzky-Golay) filter algorithm to denoise the environmental data. The traditional SG filter algorithm usually uses a fixed window to denoise the data; however, different types of environmental data in the venue have different effects on the fire prediction results, and the traditional SG filter algorithm cannot well combine the effects of different types of environmental data on the fire prediction results, resulting in unsatisfactory denoising effects on environmental data, thereby reducing the accuracy of fire warning results. Please refer to Figure 2, which shows a feature relationship flow chart of an intelligent fire warning method based on Internet data.

具体的,首先需要采集环境数据序列,具体过程为:在与智能机器人连通的互联网数据库中,获取近一周的温度数据、烟气浓度数据以及亮度数据;以采集的所有温度数据为例,将所有温度数据进行线性归一化,将归一化后的每个温度数据记为记为环境参考数据,将所有天内所有的环境参考数据构成的序列记为整体环境数据序列;将每天内所有的环境参考数据构成的序列记为环境数据序列;获取所有整体环境数据序列以及对应的所有环境数据序列。其中每个环境参考数据对应一个记录时刻,每个整体环境数据序列包含多个环境数据序列,每个环境数据序列包含多个环境参考数据。另外需要说明的是,本实施例的数据种类与采集时间长度分别以温度数据、烟气浓度数据、亮度数据、一周为例进行叙述,本实施例不进行具体限定,其中数据种类以及采集时间长度可根据具体实施情况而定。Specifically, it is necessary to collect the environmental data sequence first. The specific process is: in the Internet database connected to the intelligent robot, obtain the temperature data, smoke concentration data and brightness data of the past week; take all the collected temperature data as an example, linearly normalize all the temperature data, record each normalized temperature data as the environmental reference data, record the sequence composed of all the environmental reference data in all days as the overall environmental data sequence; record the sequence composed of all the environmental reference data in each day as the environmental data sequence; obtain all the overall environmental data sequences and all the corresponding environmental data sequences. Each environmental reference data corresponds to a recording moment, each overall environmental data sequence contains multiple environmental data sequences, and each environmental data sequence contains multiple environmental reference data. It should also be noted that the data types and collection time lengths of this embodiment are described using temperature data, smoke concentration data, brightness data, and one week as examples, respectively. This embodiment does not make specific limitations, and the data types and collection time lengths can be determined according to the specific implementation situation.

至此,通过上述方法得到所有种类的整体环境数据序列以及所有环境数据序列。So far, all types of overall environmental data sequences and all environmental data sequences are obtained through the above method.

步骤S002:根据整体环境数据序列中不同时间范围内环境参考数据的变化方向的分布差异情况,得到每个整体环境数据序列的环境特征因子。Step S002: Obtaining the environmental characteristic factor of each overall environmental data sequence according to the distribution difference of the change direction of the environmental reference data within different time ranges in the overall environmental data sequence.

需要说明的是,同一种类的环境参考数据在不同的场所中,对于火灾预警结果的影响各不相同,例如:存放有大量易燃物的仓库与存放有大量不易燃物的仓库相比,随着温度数据的升高,存放有大量易燃物的仓库比存放有大量不易燃物的仓库更容易起火,从而发生火灾。而同一种类的环境参考数据在同一场所中,随着时间的推移,环境条件整体会呈现一定方向的趋势变化,使对应的环境参考数据整体也会沿着某一方向发生变化;若部分环境参考数据受到噪声干扰,则会破坏原有的变化趋势方向。为了提高智能火灾预警结果的准确性,本实施例通过分析整体环境数据序列中参考环境数据的变化方向趋势,得到整体环境数据序列的环境特征因子,以便后续分析处理。It should be noted that the same type of environmental reference data has different effects on fire warning results in different places. For example, compared with warehouses storing a large number of inflammable materials, warehouses storing a large number of non-inflammable materials are more likely to catch fire as the temperature data increases, thus causing fires. For the same type of environmental reference data in the same place, as time goes by, the overall environmental conditions will show a trend change in a certain direction, causing the corresponding environmental reference data to change in a certain direction as a whole; if part of the environmental reference data is interfered by noise, the original change trend direction will be destroyed. In order to improve the accuracy of the intelligent fire warning results, this embodiment analyzes the change direction trend of the reference environmental data in the overall environmental data sequence to obtain the environmental characteristic factors of the overall environmental data sequence for subsequent analysis and processing.

具体的,预设一个环境参考数据数量T1,其中本实施例以T1=7为例进行叙述,本实施例不进行具体限定,其中T1可根据具体实施情况而定;以任意一个整体环境数据序列为例,将该整体环境数据序列中任意一个环境参考数据记为目标环境参考数据,将目标环境参考数据前T1个环境参考数据与目标环境参考数据后T1个环境参考数据构成的数据段,记为目标环境参考数据的邻域环境数据段;利用PCA主成分分析算法获取该邻域环境数据段中的主成分方向,将该邻域环境数据段中每个极值在该主成分方向上对应的值记为每个极值的主成分值,将该邻域环境数据段中每个极值与对应的主成分值的差值记为每个极值的趋势方向差异值。其中获取数据序列的主成分方向是PCA(Principal ComponentAnalysis)主成分分析算法的公知内容,本实施例不再赘述;另外获取邻域环境数据段中的每个环境参考数据在主成分方向上均对应有一个值。另外需要说明的是,其中若目标环境参考数据前实际存在的环境参考数据数量不满足预设的T1,那么以目标环境参考数据前实际存在的环境参考数据为准,获取目标环境参考数据的邻域环境数据段;若目标环境参考数据后实际存在的环境参考数据数量不满足预设的T1,那么以目标环境参考数据后实际存在的环境参考数据为准,获取目标环境参考数据的邻域环境数据段;且每个环境参考数据对应一个邻域环境数据段。Specifically, a number of environmental reference data T1 is preset, wherein this embodiment is described by taking T1=7 as an example, and this embodiment is not specifically limited, wherein T1 can be determined according to the specific implementation situation; taking any overall environmental data sequence as an example, any environmental reference data in the overall environmental data sequence is recorded as the target environmental reference data, and the data segment consisting of the T1 environmental reference data before the target environmental reference data and the T1 environmental reference data after the target environmental reference data is recorded as the neighborhood environmental data segment of the target environmental reference data; the PCA principal component analysis algorithm is used to obtain the principal component direction in the neighborhood environmental data segment, and the value corresponding to each extreme value in the neighborhood environmental data segment in the principal component direction is recorded as the principal component value of each extreme value, and the difference between each extreme value in the neighborhood environmental data segment and the corresponding principal component value is recorded as the trend direction difference value of each extreme value. Wherein obtaining the principal component direction of the data sequence is a well-known content of the PCA (Principal Component Analysis) principal component analysis algorithm, and this embodiment will not be repeated; in addition, each environmental reference data in the neighborhood environmental data segment has a corresponding value in the principal component direction. It should also be noted that if the number of environmental reference data actually existing before the target environmental reference data does not meet the preset T1, then the environmental reference data actually existing before the target environmental reference data is used as the basis to obtain the neighborhood environmental data segment of the target environmental reference data; if the number of environmental reference data actually existing after the target environmental reference data does not meet the preset T1, then the environmental reference data actually existing after the target environmental reference data is used as the basis to obtain the neighborhood environmental data segment of the target environmental reference data; and each environmental reference data corresponds to a neighborhood environmental data segment.

进一步的,根据该整体环境数据序列中每个环境参考数据的局部范围内的环境变化差异情况,得到该整体环境数据序列的环境特征因子。作为一种示例,可通过如下公式计算该整体环境数据序列的环境特征因子:Furthermore, according to the difference in environmental changes in the local range of each environmental reference data in the overall environmental data sequence, the environmental characteristic factor of the overall environmental data sequence is obtained. As an example, the environmental characteristic factor of the overall environmental data sequence can be calculated by the following formula:

式中,h表示该整体环境数据序列的环境特征因子;I表示该整体环境数据序列中所有环境参考数据的数量;Mi表示第i个环境参考数据的邻域环境数据段中所有极值的数量;ai,m表示第i个环境参考数据的邻域环境数据段中第m个极值;表示第i个环境参考数据的邻域环境数据段中所有极值的均值;Δbi,m表示第i个环境参考数据的邻域环境数据段中第m个极值的趋势方向差异值;exp()表示以自然常数为底的指数函数,实施例采用exp(-x)模型来呈现反比例关系及归一化处理,x为模型的输入,实施者可根据实际情况选择反比例函数及归一化函数;softmax()表示归一化函数,用于将所有的Δbi,m进行归一化。其中若该整体环境数据序列的环境特征因子越大,说明该整体环境数据序列对应的数据种类受环境影响的程度越大,受噪声影响的程度越小。获取所有整体环境数据序列的环境特征因子。Wherein, h represents the environmental characteristic factor of the overall environmental data sequence; I represents the number of all environmental reference data in the overall environmental data sequence; Mi represents the number of all extreme values in the neighborhood environmental data segment of the i-th environmental reference data; ai,m represents the m-th extreme value in the neighborhood environmental data segment of the i-th environmental reference data; Represents the mean of all extreme values in the neighborhood environmental data segment of the ith environmental reference data; Δbi ,m represents the trend direction difference value of the mth extreme value in the neighborhood environmental data segment of the ith environmental reference data; exp() represents an exponential function with a natural constant as the base. The embodiment adopts the exp(-x) model to present the inverse proportional relationship and normalization processing. x is the input of the model. The implementer can select the inverse proportional function and the normalization function according to the actual situation; softmax() represents the normalization function, which is used to normalize all Δbi ,m . If the environmental characteristic factor of the overall environmental data sequence is larger, it means that the data type corresponding to the overall environmental data sequence is more affected by the environment and less affected by noise. Obtain the environmental characteristic factors of all overall environmental data sequences.

至此,通过上述方法得到所有整体环境数据序列的环境特征因子。So far, the environmental characteristic factors of all overall environmental data sequences have been obtained through the above method.

步骤S003:根据不同环境数据序列之间同一记录时刻下环境参考数据与环境特征因子的匹配差异情况,以及环境参考数据与外界环境因素的关联情况,得到每个环境参考数据的环境滤波权重。Step S003: Obtain the environmental filtering weight of each environmental reference data according to the matching difference between the environmental reference data and the environmental characteristic factors at the same recording time between different environmental data sequences, and the correlation between the environmental reference data and the external environmental factors.

需要说明的是,在实际环境下,火灾预警的结果是经外界的温度、烟气浓度、光的亮度等多方面的环境因素综合分析获取的;因此对于同一场所中的同一种类的环境参考数据而言,该种类的环境参考数据会受到其他种类的环境参考数据的影响,例如:温度较高时,会加速空气流通从而改变烟气的扩散状态,同时也会对环境亮度的判断产生一定的影响。从而使该种类的环境参考数据不同时间范围内存在不同程度的关联情况,其中若关联程度越大,说明该种类的环境参考数据与外界环境因素越相关,受到噪声干扰的程度越小;为了提高火灾预警结果的准确性,本实施例通过分析不同环境数据序列之间的关联情况,得到整体环境数据序列的噪声指标,以便后续分析处理。It should be noted that, in actual environments, the results of fire warnings are obtained through comprehensive analysis of various environmental factors such as external temperature, smoke concentration, and light brightness; therefore, for the same type of environmental reference data in the same place, this type of environmental reference data will be affected by other types of environmental reference data. For example, when the temperature is high, it will accelerate air circulation and change the diffusion state of smoke, and it will also have a certain impact on the judgment of environmental brightness. As a result, this type of environmental reference data has different degrees of correlation within different time ranges. The greater the degree of correlation, the more relevant this type of environmental reference data is to the external environmental factors, and the less the degree of noise interference is; in order to improve the accuracy of fire warning results, this embodiment analyzes the correlation between different environmental data sequences to obtain the noise index of the overall environmental data sequence for subsequent analysis and processing.

具体的,以任意一个整体环境数据序列为例,在该整体环境数据序列中,将最后一个环境数据序列记为核心环境数据序列,将除核心环境数据序列以外的每个环境数据序列记为参照环境数据序列,以任意一个参照环境数据序列为例,获取该参照环境数据序列与核心环境数据序列的所有匹配点对;以任意一个匹配点对为例,将该匹配点对在该参照环境数据序列的环境参考数据记为第一目标环境参考数据;在该参照环境数据序列中,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第二目标环境参考数据,将第一目标环境参考数据与第二目标环境参考数据之间记录时刻的差值的绝对值,记为第一目标环境参考数据的趋势时间差异值。将该匹配点对在核心环境数据序列的环境参考数据记为第三目标环境参考数据,参考第一目标环境参考数据的趋势时间差异值的获取方法,获取第三目标环境参考数据的趋势时间差异值;将第一目标环境参考数据与第三目标环境参考数据的趋势时间差异值的均值记为该匹配点对的趋势时间整体差异值。其中获取两个数据序列的匹配点对的过程是DTW(Dynamic Time Warping)动态时间规整算法的公知内容,本实施例不再赘述。其中每个匹配点对包含一个第一目标环境参考数据以及一个第三目标环境参考数据。Specifically, taking any overall environmental data sequence as an example, in the overall environmental data sequence, the last environmental data sequence is recorded as the core environmental data sequence, and each environmental data sequence other than the core environmental data sequence is recorded as the reference environmental data sequence. Taking any reference environmental data sequence as an example, all matching point pairs between the reference environmental data sequence and the core environmental data sequence are obtained; taking any matching point pair as an example, the environmental reference data of the matching point pair in the reference environmental data sequence is recorded as the first target environmental reference data; in the reference environmental data sequence, the environmental reference data corresponding to the minimum extreme value of the recording time from the first target environmental reference data is recorded as the second target environmental reference data, and the absolute value of the difference in recording time between the first target environmental reference data and the second target environmental reference data is recorded as the trend time difference value of the first target environmental reference data. The environmental reference data of the matching point pair in the core environmental data sequence is recorded as the third target environmental reference data, and the trend time difference value of the third target environmental reference data is obtained by referring to the method for obtaining the trend time difference value of the first target environmental reference data; the average of the trend time difference values of the first target environmental reference data and the third target environmental reference data is recorded as the overall trend time difference value of the matching point pair. The process of obtaining matching point pairs of two data sequences is a well-known content of the DTW (Dynamic Time Warping) dynamic time warping algorithm, which will not be repeated in this embodiment. Each matching point pair includes a first target environment reference data and a third target environment reference data.

进一步的,在第一目标环境参考数据左侧,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第一目标环境数据;在第一目标环境参考数据右侧,将记录时刻距离第一目标环境参考数据最小的极值对应的环境参考数据记为第二目标环境数据;将第一目标环境数据与第二目标环境数据之间的欧式距离,记为第一目标环境参考数据的邻域距离值;参考第一目标环境参考数据的邻域距离值的获取方法,获取第三目标环境参考数据的邻域距离值;将第一目标环境参考数据与第三目标环境参考数据的邻域距离值的均值,记为该匹配点对的邻域距离整体差异值。其中欧式距离的获取是公知技术,本实施例不在赘述。Further, on the left side of the first target environment reference data, the environment reference data corresponding to the minimum extreme value of the distance from the first target environment reference data at the recording time is recorded as the first target environment data; on the right side of the first target environment reference data, the environment reference data corresponding to the minimum extreme value of the distance from the first target environment reference data at the recording time is recorded as the second target environment data; the Euclidean distance between the first target environment data and the second target environment data is recorded as the neighborhood distance value of the first target environment reference data; the neighborhood distance value of the third target environment reference data is obtained by referring to the method for obtaining the neighborhood distance value of the first target environment reference data; the average of the neighborhood distance values of the first target environment reference data and the third target environment reference data is recorded as the overall difference value of the neighborhood distance of the matching point pair. The acquisition of the Euclidean distance is a well-known technology and will not be repeated in this embodiment.

进一步的,在该匹配点对中,若仅有第一目标环境参考数据为极值,将第一目标环境参考数据的邻域距离值记为该匹配点对的相似权重;若仅有第三目标环境参考数据为极值,将第三目标环境参考数据的邻域距离值记为该匹配点对的相似权重;若第一目标环境参考数据与第三目标环境参考数据均为极值,将第一目标环境参考数据与第三目标环境参考数据的邻域距离值的累加和,记为该匹配点对的相似权重;若第一目标环境参考数据与第三目标环境参考数据均不为极值,将1记为该匹配点对的相似权重。获取所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重。Furthermore, in the matching point pair, if only the first target environment reference data is an extreme value, the neighborhood distance value of the first target environment reference data is recorded as the similarity weight of the matching point pair; if only the third target environment reference data is an extreme value, the neighborhood distance value of the third target environment reference data is recorded as the similarity weight of the matching point pair; if both the first target environment reference data and the third target environment reference data are extreme values, the cumulative sum of the neighborhood distance values of the first target environment reference data and the third target environment reference data is recorded as the similarity weight of the matching point pair; if neither the first target environment reference data nor the third target environment reference data is an extreme value, 1 is recorded as the similarity weight of the matching point pair. Obtain the overall difference value of trend time, the overall difference value of neighborhood distance, and the similarity weight of all matching point pairs.

进一步的,根据核心环境数据序列与该参照环境数据序列之间所有匹配点对的趋势时间整体差异值、邻域距离整体差异值以及相似权重,得到核心环境数据序列与该参照环境数据序列的环境相似值。作为一种示例,可通过如下公式计算核心环境数据序列与该参照环境数据序列的环境相似值:Furthermore, according to the overall difference value of trend time, overall difference value of neighborhood distance and similarity weight of all matching point pairs between the core environment data sequence and the reference environment data sequence, the environmental similarity value between the core environment data sequence and the reference environment data sequence is obtained. As an example, the environmental similarity value between the core environment data sequence and the reference environment data sequence can be calculated by the following formula:

式中,s表示核心环境数据序列与该参照环境数据序列的环境相似值;C表示核心环境数据序列与该参照环境数据序列的所有匹配点对的数量;dc表示第c个匹配点对中两个环境参考数据之间的欧式距离;kc表示第c个匹配点对的相似权重;Δuc表示第c个匹配点对的邻域距离整体差异值;Δtc表示第c个匹配点对的趋势时间整体差异值。其中若核心环境数据序列与该参照环境数据序列的环境相似值越大,说明核心环境数据序列与该参照环境数据序列之间受外界环境因素的影响越大,受到噪声干扰的程度越小。获取核心环境数据序列与所有参照环境数据序列的环境相似值,将所有环境相似值进行线性归一化,将归一化后的每个环境相似值记为环境相似度。In the formula, s represents the environmental similarity value between the core environmental data sequence and the reference environmental data sequence; C represents the number of all matching point pairs between the core environmental data sequence and the reference environmental data sequence; d c represents the Euclidean distance between the two environmental reference data in the cth matching point pair; k c represents the similarity weight of the cth matching point pair; Δu c represents the overall difference value of the neighborhood distance of the cth matching point pair; Δt c represents the overall difference value of the trend time of the cth matching point pair. If the environmental similarity value between the core environmental data sequence and the reference environmental data sequence is larger, it means that the core environmental data sequence and the reference environmental data sequence are more affected by external environmental factors and less affected by noise. Obtain the environmental similarity value between the core environmental data sequence and all reference environmental data sequences, linearly normalize all environmental similarity values, and record each normalized environmental similarity value as environmental similarity.

进一步的,将核心环境数据序列中所有环境参考数据的均值记为第一均值,将该参照环境数据序列中所有环境参考数据的均值记为第二均值,将第一均值与第二均值的差值的绝对值记为核心环境数据序列与该参照环境数据序列的环境差异因子,获取核心环境数据序列与所有参照环境数据序列的环境差异因子,将所有的环境差异因子进行线性归一化,将归一化后的每个环境差异因子记为环境差异程度。根据核心环境数据序列与所有参照环境数据序列的环境相似度以及环境差异程度,得到核心环境数据序列的噪声影响程度。作为一种示例,可通过如下公式计算核心环境数据序列的噪声影响程度:Furthermore, the mean of all environmental reference data in the core environmental data sequence is recorded as the first mean, the mean of all environmental reference data in the reference environmental data sequence is recorded as the second mean, and the absolute value of the difference between the first mean and the second mean is recorded as the environmental difference factor between the core environmental data sequence and the reference environmental data sequence, and the environmental difference factor between the core environmental data sequence and all reference environmental data sequences is obtained, all environmental difference factors are linearly normalized, and each normalized environmental difference factor is recorded as the degree of environmental difference. According to the environmental similarity and degree of environmental difference between the core environmental data sequence and all reference environmental data sequences, the degree of noise influence of the core environmental data sequence is obtained. As an example, the degree of noise influence of the core environmental data sequence can be calculated by the following formula:

式中,f表示核心环境数据序列的噪声影响程度;W表示所有参照环境数据序列的数量;Sw表示核心环境数据序列与第w个参照环境数据序列的环境相似度;γw表示核心环境数据序列与第w个参照环境数据序列的环境差异程度。其中若核心环境数据序列的噪声影响程度越大,说明核心环境数据序列对应的环境数据种类整体变化越有关联,整体的环境数据变化的趋势受环境因素的影响越大,受到噪声干扰的程度越弱。In the formula, f represents the degree of noise influence of the core environmental data sequence; W represents the number of all reference environmental data sequences; S w represents the environmental similarity between the core environmental data sequence and the wth reference environmental data sequence; γ w represents the degree of environmental difference between the core environmental data sequence and the wth reference environmental data sequence. If the degree of noise influence of the core environmental data sequence is greater, it means that the overall change of the environmental data types corresponding to the core environmental data sequence is more related, the overall trend of environmental data change is more affected by environmental factors, and the degree of noise interference is weaker.

进一步的,以核心环境数据序列中任意一个环境参考数据为例,将该环境参考数据的邻域环境数据段中所有环境参考数据的标准差记为第一标准差,获取核心环境数据序列中所有环境参考数据的第一标准差,将所有的第一标准差进行线性归一化,将归一化后的每个第一标准差记为局部环境标准差。预设一个环境参考数据阈值T2,其中本实施例以T2=0.4为例进行叙述,本实施例不进行具体限定,其中T2可根据具体实施情况而定;将该环境参考数据的邻域环境数据段中所有环境参考数据的均值与T2的差值,记为该环境参考数据的异常指标;获取该整体环境数据序列中所有环境参考数据的异常指标,获取所有整体环境数据序列中所有环境参考数据的异常指标。Further, taking any environmental reference data in the core environmental data sequence as an example, the standard deviation of all environmental reference data in the neighborhood environmental data segment of the environmental reference data is recorded as the first standard deviation, the first standard deviation of all environmental reference data in the core environmental data sequence is obtained, all first standard deviations are linearly normalized, and each normalized first standard deviation is recorded as the local environmental standard deviation. An environmental reference data threshold T2 is preset, wherein this embodiment is described using T2=0.4 as an example, and this embodiment is not specifically limited, wherein T2 can be determined according to the specific implementation situation; the difference between the mean of all environmental reference data in the neighborhood environmental data segment of the environmental reference data and T2 is recorded as the abnormal index of the environmental reference data; the abnormal index of all environmental reference data in the overall environmental data sequence is obtained, and the abnormal index of all environmental reference data in all overall environmental data sequences is obtained.

进一步的,以第v个整体环境数据序列中第z个环境参考数据为例,根据第z个环境参考数据环境参考数据的局部环境标准差、第v个整体环境数据序列的环境特征因子、第v个整体环境数据序列的核心环境数据序列的噪声影响程度,以及第v个整体环境数据序列与其他整体环境数据序列之间异常指标的差异,得到第v个整体环境数据序列中第z个环境参考数据的噪声异常度。作为一种示例,可通过如下公式计算第v个整体环境数据序列中第z个环境参考数据的噪声异常度:Further, taking the zth environmental reference data in the vth overall environmental data sequence as an example, according to the local environmental standard deviation of the zth environmental reference data, the environmental characteristic factor of the vth overall environmental data sequence, the noise influence degree of the core environmental data sequence of the vth overall environmental data sequence, and the difference in abnormal indicators between the vth overall environmental data sequence and other overall environmental data sequences, the noise abnormality of the zth environmental reference data in the vth overall environmental data sequence is obtained. As an example, the noise abnormality of the zth environmental reference data in the vth overall environmental data sequence can be calculated by the following formula:

式中,Gv,z表示第v个整体环境数据序列中第z个环境参考数据的噪声异常度;fv表示第v个整体环境数据序列的核心环境数据序列的噪声影响程度;hv表示第v个整体环境数据序列的环境特征因子;εv.z表示第v个整体环境数据序列中第z个环境参考数据的局部环境标准差;τ表示预设的超参数,用于防止分母为0;Qv表示除第v个整体环境数据序列以外所有整体环境数据序列的数量;rv,z表示第v个整体环境数据序列中第z个环境参考数据的异常指标;rv,q,z表示在除第v个整体环境数据序列以外的第q个整体环境数据序列中,第z个环境参考数据的异常指标;hv,q表示在除第v个整体环境数据序列以外的第q个整体环境数据序列的环境特征因子。其中若第v个整体环境数据序列中第z个环境参考数据的噪声异常度越大,说明第v个整体环境数据序列中第z个环境参考数据与其他环境因素之间的关联性越低,反映第v个整体环境数据序列中第z个环境参考数据受到噪声干扰的程度越大。获取第v个整体环境数据序列中所有环境参考数据的噪声异常度,将所有的噪声异常度进行线性归一化,将归一化后的每个噪声异常度记为环境滤波权重。获取所有整体环境数据序列中所有环境参考数据的环境滤波权重。In the formula, G v,z represents the noise anomaly of the zth environmental reference data in the vth overall environmental data sequence; f v represents the noise influence degree of the core environmental data sequence of the vth overall environmental data sequence; h v represents the environmental characteristic factor of the vth overall environmental data sequence; ε vz represents the local environmental standard deviation of the zth environmental reference data in the vth overall environmental data sequence; τ represents the preset hyperparameter used to prevent the denominator from being 0; Q v represents the number of all overall environmental data sequences except the vth overall environmental data sequence; r v,z represents the anomaly index of the zth environmental reference data in the vth overall environmental data sequence; r v,q,z represents the anomaly index of the zth environmental reference data in the qth overall environmental data sequence except the vth overall environmental data sequence; h v,q represents the environmental characteristic factor of the qth overall environmental data sequence except the vth overall environmental data sequence. If the noise abnormality of the zth environmental reference data in the vth overall environmental data sequence is greater, it means that the correlation between the zth environmental reference data in the vth overall environmental data sequence and other environmental factors is lower, reflecting that the zth environmental reference data in the vth overall environmental data sequence is more disturbed by noise. Obtain the noise abnormality of all environmental reference data in the vth overall environmental data sequence, linearly normalize all noise abnormalities, and record each normalized noise abnormality as an environmental filtering weight. Obtain the environmental filtering weights of all environmental reference data in all overall environmental data sequences.

至此,通过上述方法得到所有整体环境数据序列中所有环境参考数据的环境滤波权重。So far, the environmental filtering weights of all environmental reference data in all overall environmental data sequences are obtained through the above method.

步骤S004:根据环境滤波权重进行自适应调整窗口,对环境参考数据进行去噪。Step S004: Adaptively adjust the window according to the environmental filtering weight to denoise the environmental reference data.

具体的,预设一个滤波窗口长度T3,其中本实施例以T3=10为例进行叙述,本实施例不进行具体限定,其中T3可根据具体实施情况而定;以第v1个整体环境数据序列中第z1个环境参考数据为例,根据滤波窗口边长T3以及第z1个环境参考数据的环境滤波权重,得到第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口长度。作为一种示例,可通过如下公式计算第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口长度:Specifically, a filter window length T3 is preset, wherein this embodiment is described by taking T3=10 as an example, and this embodiment is not specifically limited, wherein T3 can be determined according to the specific implementation situation; taking the z1th environmental reference data in the v1th overall environmental data sequence as an example, according to the filter window side length T3 and the environmental filter weight of the z1th environmental reference data, the final filter window length of the z1th environmental reference data in the v1th overall environmental data sequence is obtained. As an example, the final filter window length of the z1th environmental reference data in the v1th overall environmental data sequence can be calculated by the following formula:

式中,Lv1,z1表示第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口长度;T3表示预设的滤波窗口长度;μ表示预设的超参数,本实施例预设μ=0.5,用于反映滤波窗口最初的权重比例;GPv1,z1表示第v1个整体环境数据序列中第z1个环境参考数据的环境滤波权重;表示向上取整。其中若第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口长度越大,说明第v1个整体环境数据序列中第z1个环境参考数据受到噪声干扰的强度越大,反映第v1个整体环境数据序列中第z1个环境参考数据需要去噪的强度越大。Wherein, L v1,z1 represents the final filtering window length of the z1th environmental reference data in the v1th overall environmental data sequence; T3 represents the preset filtering window length; μ represents the preset hyperparameter, and in this embodiment, μ=0.5 is preset to reflect the initial weight ratio of the filtering window; GP v1,z1 represents the environmental filtering weight of the z1th environmental reference data in the v1th overall environmental data sequence; Indicates rounding up. If the final filtering window length of the z1th environmental reference data in the v1th overall environmental data sequence is larger, it means that the intensity of noise interference to the z1th environmental reference data in the v1th overall environmental data sequence is greater, reflecting that the intensity of denoising required for the z1th environmental reference data in the v1th overall environmental data sequence is greater.

进一步的,构建窗口长度为Lv1,z1的窗口作为第v1个整体环境数据序列中第z1个环境参考数据的最终滤波窗口,获取每个整体环境数据序列中每个环境参考数据的最终滤波窗口,将每个环境参考数据的最终滤波窗口作为滤波窗口,根据滤波窗口对每个环境参考数据进行去噪,得到所有去噪后的环境参考数据。将所有去噪后的环境参考数据输入预警系统,完成智能火灾预警。其中根据滤波窗口对数据进行去噪的过程是SG滤波算法的公知内容,本实施例不再赘述。Further, a window with a window length of L v1,z1 is constructed as the final filtering window of the z1th environmental reference data in the v1th overall environmental data sequence, the final filtering window of each environmental reference data in each overall environmental data sequence is obtained, the final filtering window of each environmental reference data is used as the filtering window, and each environmental reference data is denoised according to the filtering window to obtain all denoised environmental reference data. All denoised environmental reference data are input into the early warning system to complete the intelligent fire early warning. The process of denoising the data according to the filtering window is a well-known content of the SG filtering algorithm, and will not be repeated in this embodiment.

通过以上步骤,完成基于互联网数据的智能火灾预警方法。Through the above steps, the intelligent fire warning method based on Internet data is completed.

本发明的另一个实施例提供了基于互联网数据的智能火灾预警系统,所述系统包括存储器和处理器,所述处理器执行所述存储器存储的计算机程序时,执行上述方法步骤S001到步骤S004。Another embodiment of the present invention provides an intelligent fire warning system based on Internet data, the system includes a memory and a processor, and when the processor executes the computer program stored in the memory, it executes the above method steps S001 to S004.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The intelligent fire disaster early warning method based on the internet data is characterized by comprising the following steps of:
collecting a plurality of whole environment data sequences and a plurality of environment data sequences, wherein the whole environment data sequences comprise a plurality of environment data sequences, the environment data sequences comprise a plurality of environment reference data, and each environment reference data corresponds to one recording moment;
According to the distribution difference conditions of the changing directions of the environmental reference data in different time ranges in the whole environmental data sequences, obtaining the environmental characteristic factors of each whole environmental data sequence;
Obtaining the environmental filtering weight of each environmental reference data according to the matching difference condition of the environmental reference data and the environmental characteristic factors at the same recording moment between different environmental data sequences and the association condition of the environmental reference data and the external environmental factors;
And carrying out self-adaptive window adjustment according to the environmental filtering weight, and denoising the environmental reference data.
2. The intelligent fire early warning method based on internet data according to claim 1, wherein the obtaining the environmental characteristic factor of each overall environmental data sequence according to the distribution difference of the changing directions of the environmental reference data in different time ranges in the overall environmental data sequence comprises the following specific methods:
Presetting an environment reference data quantity T1; for any one whole environment data sequence, marking any one environment reference data in the whole environment data sequence as target environment reference data, marking a data segment formed by T1 environment reference data before the target environment reference data and T1 environment reference data after the target environment reference data as a neighborhood environment data segment of the target environment reference data;
acquiring a trend direction difference value of each extreme value in a neighborhood environment data segment of the target environment reference data;
Carrying out linear normalization on all trend direction difference values, and marking the normalized trend direction difference values as trend direction difference factors; marking any extreme value in a neighborhood environment data segment of the target environment reference data as a target extreme value, and marking a difference value of trend direction difference factors of subtracting the target extreme value from 1 as a first difference value of the target extreme value; the difference value of subtracting the target extremum from the average value of all extremums is recorded as a second difference value of the target extremum; the square of the product of the first difference value and the second difference value of the target extremum is recorded as the first product of the target extremum;
acquiring a first product of all extreme values in a neighborhood environmental data segment of the target environmental reference data, and recording an open square value of an accumulated sum of the first products of all the extreme values as a first accumulated value of the target environmental reference data; acquiring first accumulated values of all environment reference data in the whole environment data sequence, and recording an inverse proportion normalized value of an accumulated sum of the first accumulated values of all environment reference data as a first inverse proportion value; the difference of 1 minus the first inverse proportion value is noted as the environmental characteristic factor of the overall environmental data sequence.
3. The intelligent fire early warning method based on internet data according to claim 2, wherein the acquiring the trend direction difference value of each extremum in the neighborhood environmental data segment of the target environmental reference data comprises the following specific steps:
And acquiring principal component directions in the neighborhood environment data segment by using a principal component analysis algorithm (PCA), marking a value corresponding to each extreme value in the principal component directions in the neighborhood environment data segment as a principal component value of each extreme value, and marking a difference value obtained by subtracting the corresponding principal component value from each extreme value in the neighborhood environment data segment as a trend direction difference value of each extreme value.
4. The intelligent fire early warning method based on internet data according to claim 1, wherein the obtaining the environmental filtering weight of each environmental reference data according to the matching difference condition of the environmental reference data and the environmental characteristic factors and the association condition of the environmental reference data and the external environmental factors at the same recording time between different environmental data sequences comprises the following specific steps:
For any one whole environment data sequence, in the whole environment data sequence, marking the last environment data sequence as a core environment data sequence, and marking each environment data sequence except the core environment data sequence as a reference environment data sequence; for any one reference environment data sequence, acquiring all matching point pairs of the reference environment data sequence and the core environment data sequence by using a DTW dynamic time warping algorithm; acquiring trend time overall difference values, neighborhood distance overall difference values and similar weights of all matching point pairs;
Obtaining the environmental similarity of the core environmental data sequence and the reference environmental data sequence according to the trend time overall difference value, the neighborhood distance overall difference value and the similar weight of all the matching point pairs between the core environmental data sequence and the reference environmental data sequence; acquiring the environmental similarity of the core environmental data sequence and all the reference environmental data sequences;
Obtaining the noise influence degree of the core environment data sequence according to the environment similarity of the core environment data sequence and all the reference environment data sequences;
For any one environmental reference data in the core environmental data sequence, marking standard deviations of all environmental reference data in a neighborhood environmental data segment of the environmental reference data as first standard deviations, acquiring the first standard deviations of all environmental reference data in the core environmental data sequence, carrying out linear normalization on all the first standard deviations, and marking the normalized first standard deviations as local environmental standard deviations; presetting an environment reference data threshold T2, and recording the difference value obtained by subtracting the T2 from the average value of all the environment reference data in the neighborhood environment data segment of the environment reference data as an abnormal index of the environment reference data; acquiring abnormal indexes of all environment reference data;
For the z-th environmental reference data in the v-th overall environmental data sequence, obtaining the noise anomaly degree of the z-th environmental reference data in the v-th overall environmental data sequence according to the local environmental standard deviation of the z-th environmental reference data, the environmental characteristic factor of the v-th overall environmental data sequence, the noise influence degree of the core environmental data sequence of the v-th overall environmental data sequence and the difference of the anomaly indexes between the v-th overall environmental data sequence and other overall environmental data sequences;
obtaining noise anomaly degree of all environment reference data in the v-th overall environment data sequence, carrying out linear normalization on all noise anomaly degree, and recording the normalized noise anomaly degree as an environment filtering weight.
5. The intelligent fire early warning method based on internet data according to claim 4, wherein the acquiring trend time overall difference values, neighborhood distance overall difference values and similar weights of all matching point pairs comprises the following specific steps:
For any matching point pair, recording the environment reference data of the matching point pair in the reference environment data sequence as first target environment reference data; in the reference environment data sequence, the environment reference data corresponding to the extreme value with the smallest recording time from the first target environment reference data is recorded as second target environment reference data, and the absolute value of the difference value of the recording time between the first target environment reference data and the second target environment reference data is recorded as the trend time difference value of the first target environment reference data; the environment reference data of the matching point pair in the core environment data sequence is recorded as third target environment reference data, and the trend time difference value of the third target environment reference data is acquired by referring to the acquisition method of the trend time difference value of the first target environment reference data; the average value of the trend time difference values of the first target environment reference data and the third target environment reference data is recorded as the trend time overall difference value of the matching point pair;
The method comprises the steps that on the left side of first target environment reference data, environment reference data corresponding to an extreme value with the smallest recording moment distance from the first target environment reference data are recorded as first target environment data; on the right side of the first target environment reference data, recording environment reference data corresponding to the extreme value with the smallest recording moment distance from the first target environment reference data as second target environment data; the Euclidean distance between the first target environment data and the second target environment data is recorded as a neighborhood distance value of the first target environment reference data; obtaining a neighborhood distance value of third target environment reference data by referring to the neighborhood distance value obtaining method of the first target environment reference data; the average value of the neighborhood distance values of the first target environment reference data and the third target environment reference data is recorded as the neighborhood distance integral difference value of the matching point pair;
In the matching point pair, if the first target environment reference data is an extremum, marking the neighborhood distance value of the first target environment reference data as the similarity weight of the matching point pair; if the third target environment reference data is an extremum, marking the neighborhood distance value of the third target environment reference data as the similarity weight of the matching point pair; if the first target environment reference data and the third target environment reference data are extreme values, marking the accumulated sum of the neighborhood distance values of the first target environment reference data and the third target environment reference data as the similarity weight of the matching point pair; if the first target environment reference data and the third target environment reference data are not extreme values, marking 1 as the similar weight of the matching point pair.
6. The intelligent fire early warning method based on internet data according to claim 4, wherein the obtaining the environmental similarity between the core environmental data sequence and the reference environmental data sequence according to the trend time overall difference value, the neighborhood distance overall difference value and the similar weight of all the matching point pairs between the core environmental data sequence and the reference environmental data sequence comprises the following specific steps:
For the c-th matching point pair in the core environment data sequence and the reference environment data sequence, marking the product of the Euclidean distance between two environment reference data in the c-th matching point pair, the similarity weight of the c-th matching point pair and the whole difference value of the neighborhood distance as a second product; the ratio of the trend time overall difference value of the second product and the c-th matching point pair is recorded as the first ratio of the c-th matching point pair, and the first ratios of all the matching point pairs are obtained; the accumulated sum of the first ratios of all the matching point pairs is recorded as an environment similarity value of the core environment data sequence and the reference environment data sequence; and obtaining all the environment similarity values, carrying out linear normalization on all the environment similarity values, and recording the normalized environment similarity values as the environment similarity.
7. The intelligent fire early-warning method based on internet data according to claim 4, wherein the obtaining the noise influence degree of the core environment data sequence according to the environmental similarity between the core environment data sequence and all the reference environment data sequences comprises the following specific steps:
The method comprises the steps of marking the average value of all environment reference data in a core environment data sequence as a first average value, marking the average value of all environment reference data in a reference environment data sequence as a second average value, marking the absolute value of the difference value between the first average value and the second average value as the environment difference factor of the core environment data sequence and the reference environment data sequence, obtaining the environment difference factor of the core environment data sequence and all the reference environment data sequence, carrying out linear normalization on all the environment difference factors, and marking the normalized environment difference factor as the environment difference degree;
For any one reference environment data sequence, marking a difference value of subtracting the degree of the environmental difference between the core environment data sequence and the reference environment data sequence from 1 as a third difference value; the product of the environmental similarity of the core environmental data sequence and the reference environmental data sequence and the third difference value is recorded as a third product of the reference environmental data sequence; and obtaining third products of all the reference environment data sequences, and recording the accumulated sum of the third products of all the reference environment data sequences as the noise influence degree of the core environment data sequences.
8. The intelligent fire early warning method based on internet data according to claim 4, wherein the obtaining the noise anomaly degree of the z-th environmental reference data in the v-th overall environmental data sequence according to the local environmental standard deviation of the z-th environmental reference data, the environmental characteristic factor of the v-th overall environmental data sequence, the noise influence degree of the core environmental data sequence of the v-th overall environmental data sequence, and the difference of the anomaly indexes between the v-th overall environmental data sequence and other overall environmental data sequences comprises the following specific steps:
Recording the difference value of the environmental characteristic factors of the v whole environmental data sequence subtracted from 1 as a fourth difference value; the product of the noise influence degree of the core environment data sequence of the v-th overall environment data sequence, the local environment standard deviation of the z-th environment reference data in the v-th overall environment data sequence and the fourth difference value is recorded as a fourth product; recording the ratio of the fourth product to the number of all the whole environment data sequences except the v whole environment data sequence as a second ratio of the z-th environment reference data in the v whole environment data sequence;
For the (q) th overall environment data sequence except the (v) th overall environment data sequence, subtracting the difference value of the abnormal indexes of the (z) th environment reference data in the (q) th overall environment data sequence from the abnormal indexes of the (z) th environment reference data in the (v) th overall environment data sequence, and recording the difference value as a fifth difference value; the ratio of the environmental characteristic factor of the q-th overall environmental data sequence to the local environmental standard deviation of the z-th environmental reference data in the v-th overall environmental data sequence is recorded as a third ratio; the square of the product of the fifth difference value and the third ratio is recorded as the fifth product of the q-th whole environment data sequence; obtaining a fifth product of all whole environment data sequences except for a v-th whole environment data sequence, and recording the accumulated sum of all the fifth products as a first accumulated sum of the z-th environment reference data in the v-th whole environment data sequence;
the product of the second ratio and the first accumulated sum is recorded as the noise anomaly of the z-th environmental reference data in the v-th overall environmental data sequence.
9. The intelligent fire early warning method based on internet data according to claim 1, wherein the adaptive window adjustment is performed according to the environmental filtering weight, and the environmental reference data is denoised, comprising the following specific steps:
Presetting a filtering window length T3 and a super parameter mu, and recording the sum of mu and the environmental filtering weight of the z1 st environmental reference data in the v1 st overall environmental data sequence as a first sum value for the z1 st environmental reference data in the v1 st overall environmental data sequence; the product of T3 and the first sum is recorded as a sixth product; the upward rounding result of the sixth product is recorded as the final filter window length of the z1 st environmental reference data in the v1 st overall environmental data sequence;
And constructing a window with the window length of L v1,z1 as a final filter window of the z1 st environmental reference data in the v1 st integral environmental data sequence, acquiring a final filter window of each environmental reference data in each integral environmental data sequence, taking the final filter window of each environmental reference data as a filter window, denoising each environmental reference data according to the filter window through an SG filter algorithm, and obtaining all denoised environmental reference data.
10. An intelligent fire early warning system based on internet data, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program when executed by the processor implements the steps of the intelligent fire early warning method based on internet data as claimed in any one of claims 1-9.
CN202410410032.2A 2024-04-07 2024-04-07 Intelligent fire disaster early warning method and system based on internet data Active CN118314673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410410032.2A CN118314673B (en) 2024-04-07 2024-04-07 Intelligent fire disaster early warning method and system based on internet data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410410032.2A CN118314673B (en) 2024-04-07 2024-04-07 Intelligent fire disaster early warning method and system based on internet data

Publications (2)

Publication Number Publication Date
CN118314673A true CN118314673A (en) 2024-07-09
CN118314673B CN118314673B (en) 2024-11-05

Family

ID=91731377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410410032.2A Active CN118314673B (en) 2024-04-07 2024-04-07 Intelligent fire disaster early warning method and system based on internet data

Country Status (1)

Country Link
CN (1) CN118314673B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118840852A (en) * 2024-09-23 2024-10-25 西安易诺敬业电子科技有限责任公司 Enterprise safety production environment monitoring and early warning method and system based on industrial Internet

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011106527A2 (en) * 2010-02-24 2011-09-01 Ampersand International, Inc. Method for noise filtering based on confidence interval evaluation
WO2011155984A1 (en) * 2010-06-11 2011-12-15 Waters Technologies Corporation Techniques for mass spectrometry peak list computation using parallel processing
US20150018702A1 (en) * 2013-07-10 2015-01-15 Alivecor, Inc. Devices and Methods for Real-Time Denoising of Electrocardiograms
WO2021056046A1 (en) * 2019-09-25 2021-04-01 Presagen Pty Ltd Method and system for performing non-invasive genetic testing using an artificial intelligence (ai) model
KR20230022486A (en) * 2021-08-09 2023-02-16 배재대학교 산학협력단 Filtering and performance comparison system and method for correcting error values of time series data
CN115933787A (en) * 2023-03-14 2023-04-07 西安英图克环境科技有限公司 Indoor multi-terminal intelligent control system based on indoor environment monitoring
CN116659589A (en) * 2023-07-25 2023-08-29 澳润(山东)药业有限公司 Donkey-hide gelatin cake preservation environment monitoring method based on data analysis
CN116702081A (en) * 2023-08-07 2023-09-05 西安格蒂电力有限公司 Intelligent inspection method for power distribution equipment based on artificial intelligence
CN116821833A (en) * 2023-08-29 2023-09-29 好林(威海)新材料有限公司 Data anomaly detection method for machine filter cloth adhesion
CN117216484A (en) * 2023-11-08 2023-12-12 山东汇蓝环保科技有限公司 Environmental data monitoring method based on multidimensional data analysis
CN117454255A (en) * 2023-12-25 2024-01-26 陕西奥纳泽建筑工程有限公司 Intelligent building energy consumption data optimized storage method
CN117454096A (en) * 2023-12-25 2024-01-26 西安高商智能科技有限责任公司 Motor production quality detection method and system
CN117473464A (en) * 2023-12-28 2024-01-30 中山市环境保护技术中心 Enterprise environment treatment data processing system based on big data analysis
CN117490834A (en) * 2023-11-03 2024-02-02 中国船舶集团有限公司第七〇四研究所 Vibration spectrum peak value capturing method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011106527A2 (en) * 2010-02-24 2011-09-01 Ampersand International, Inc. Method for noise filtering based on confidence interval evaluation
WO2011155984A1 (en) * 2010-06-11 2011-12-15 Waters Technologies Corporation Techniques for mass spectrometry peak list computation using parallel processing
US20150018702A1 (en) * 2013-07-10 2015-01-15 Alivecor, Inc. Devices and Methods for Real-Time Denoising of Electrocardiograms
WO2021056046A1 (en) * 2019-09-25 2021-04-01 Presagen Pty Ltd Method and system for performing non-invasive genetic testing using an artificial intelligence (ai) model
KR20230022486A (en) * 2021-08-09 2023-02-16 배재대학교 산학협력단 Filtering and performance comparison system and method for correcting error values of time series data
CN115933787A (en) * 2023-03-14 2023-04-07 西安英图克环境科技有限公司 Indoor multi-terminal intelligent control system based on indoor environment monitoring
CN116659589A (en) * 2023-07-25 2023-08-29 澳润(山东)药业有限公司 Donkey-hide gelatin cake preservation environment monitoring method based on data analysis
CN116702081A (en) * 2023-08-07 2023-09-05 西安格蒂电力有限公司 Intelligent inspection method for power distribution equipment based on artificial intelligence
CN116821833A (en) * 2023-08-29 2023-09-29 好林(威海)新材料有限公司 Data anomaly detection method for machine filter cloth adhesion
CN117490834A (en) * 2023-11-03 2024-02-02 中国船舶集团有限公司第七〇四研究所 Vibration spectrum peak value capturing method
CN117216484A (en) * 2023-11-08 2023-12-12 山东汇蓝环保科技有限公司 Environmental data monitoring method based on multidimensional data analysis
CN117454255A (en) * 2023-12-25 2024-01-26 陕西奥纳泽建筑工程有限公司 Intelligent building energy consumption data optimized storage method
CN117454096A (en) * 2023-12-25 2024-01-26 西安高商智能科技有限责任公司 Motor production quality detection method and system
CN117473464A (en) * 2023-12-28 2024-01-30 中山市环境保护技术中心 Enterprise environment treatment data processing system based on big data analysis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118840852A (en) * 2024-09-23 2024-10-25 西安易诺敬业电子科技有限责任公司 Enterprise safety production environment monitoring and early warning method and system based on industrial Internet

Also Published As

Publication number Publication date
CN118314673B (en) 2024-11-05

Similar Documents

Publication Publication Date Title
US11614249B2 (en) Refrigerant leak detection method and device for air conditioner
Jagannathan et al. Do hot hands exist among hedge fund managers? An empirical evaluation
CN112529168B (en) GCN-based attribute multilayer network representation learning method
CN110148120B (en) Intelligent disease identification method and system based on CNN and transfer learning
CN118314673B (en) Intelligent fire disaster early warning method and system based on internet data
KR102065780B1 (en) Electronic apparatus performing prediction of time series data using big data and method for predicting thereof
CN106570631B (en) A method and system for P2P platform operation risk assessment
CN116029604B (en) A method of regulating the caged meat duck breeding environment based on health and comfort
WO2019002349A1 (en) Method and device for setting at least one parameter of an actuator control system, actuator control system, and dataset
CN110162807A (en) Based on improvement ant group optimization BP neural network Ammunition Storage Reliability Evaluation method
CN114678080A (en) Prediction model and construction method of phosphorus content at the end point of converter, and phosphorus content prediction method
CN116843225A (en) Quality prediction method and system for silk making and flavoring process based on LSTM and TPA mechanism
CN116468536A (en) Automatic risk control rule generation method
CN118196080B (en) Intelligent defect identification method and system for titanium alloy product
Manski et al. Extracting information from textual descriptions for actuarial applications
CN118760890A (en) A real-time quality sensing device and system for corn storage
CN118193955A (en) Method, device, medium and product for acquiring pneumatic noise of air compressor
CN117520843A (en) Robust model variable screening method
CN113742989B (en) Combustion optimization control method and device, storage medium and electronic equipment
CN116187760A (en) Enterprise association influence measurement and risk identification method and device based on graph reconstruction
US20150302419A1 (en) Appraisal adjustments scoring system and method
CN112529183A (en) Knowledge distillation-based model self-adaptive updating method
CN112785415B (en) Method, device and equipment for constructing scoring card model and computer readable storage medium
CN116225882B (en) Command information system state monitoring and evaluating method
CN114418762B (en) Data processing method, device and electronic equipment

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