Fire prompt and automatic alarm method and system based on intelligent lamp pole

By establishing a mapping model of environmental parameters and smoke refractive index and a template library of combustible species on the smart lamp pole, combined with the logistic regression model, the shortcomings of traditional fire alarm systems in response speed, false alarm rate and coverage are solved, and the correctness of the traditional fire alarm system is achieved. Accurate identification and rapid alarm of fire smoke in complex environments.

CN119007380AActive Publication Date: 2024-11-22GUANGZHOU NENGZHI POWER TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411205171.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-22
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

Traditional fire alarm systems have shortcomings in response speed, false alarm rate, coverage range and smoke characteristics recognition capabilities, making it difficult to accurately identify fires in complex environments, and frequent false alarms or missed reports.

Method used

Using the fire prompt and automatic alarm method based on smart lamp poles, the high-definition camera and sensor data are combined with high-definition camera and sensor data , realize accurate identification and rapid response to fire hazards.

Benefits of technology

It improves the accuracy and response speed of fire identification, reduces the false alarm and missed alarm rate, and realizes accurate identification and rapid alarm of fire smoke in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007380A_ABST
    Figure CN119007380A_ABST
Patent Text Reader

Abstract

The invention relates to a fire prompt and automatic alarm method and system based on an intelligent lamp post, and the method specifically comprises the steps: building a combustible material type and smoke refractive index template library, and determining the combustible material type according to a smoke image captured by a camera of the intelligent lamp post, obtaining a corresponding second standard smoke refractive index range according to the determined combustible material type, and optimizing the environment parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; identifying a smoke image captured by a camera of the smart lamp post according to the environmental parameters and a smoke refractive index mapping model, and determining a smoke refractive index change value in the current environment; performing correction processing on the smoke refractive index change value in the current environment according to a smoke refractive index calibration model to obtain a corrected smoke refractive index change value; determining a fire probability value according to the corrected smoke refractive index change value, and judging whether a fire hazard exists or not according to the fire probability value. According to the invention, accurate identification and quick response to fire hazards are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a fire warning and automatic alarm method and system based on a smart lamp pole. Background Art

[0002] With the continuous deepening of smart city construction, the intelligent and efficient transformation of fire prevention and early warning systems has become a key issue that needs to be solved urgently. This transformation not only concerns the safety of life and property of urban residents, but also is an important cornerstone for building a safe, smart and livable urban environment.

[0003] The core of traditional fire alarm systems lies in the deployment and application of temperature detectors and smoke detectors. These hardware devices monitor temperature changes and smoke concentrations in the environment, and trigger alarms once the preset threshold is reached. However, this model has exposed many limitations in practical applications. First, its response speed is often limited by the sensitivity of the detector and the efficiency of data transmission, which makes it difficult to issue early warnings in the early stages of a fire, thus missing the best time to extinguish the fire.

[0004] Secondly, high false alarm rate is another major challenge faced by traditional fire alarm systems. In complex and changing environmental conditions, such as cities covered by smog, outdoor areas with strong winds, or indoor spaces with high humidity, naturally generated smoke, water vapor or dust particles can easily trigger false alarms in detectors. This not only disrupts normal social order, but also weakens the public's trust in fire alarm systems.

[0005] Furthermore, the coverage of traditional fire alarm systems is relatively limited. Limited by the installation location and number of detectors, the system often finds it difficult to achieve all-round, no-blind-angle monitoring of every corner of the city. Especially in areas with high fire risks such as high-rise buildings, underground spaces, and dense commercial areas, the monitoring blind spots of traditional equipment may become a hotbed for the spread of fire.

[0006] In addition, with the acceleration of urbanization and the impact of climate change, fire risks are becoming increasingly complex and changeable. The interaction of different types of combustibles, different burning conditions and environmental factors makes the characteristics of fire smoke elusive. Traditional fire alarm systems often have difficulty accurately distinguishing natural smoke from fire smoke in complex environments due to their lack of in-depth analysis and recognition capabilities of fire smoke, which leads to false alarms or missed alarms. Summary of the invention

[0007] The object of the present invention is to provide a fire warning and automatic alarm method and system based on a smart lamp pole to solve at least one of the above-mentioned prior art problems.

[0008] In a first aspect, the present invention provides a fire warning and automatic alarm method based on a smart lamp pole, the method specifically comprising: Based on the difference in the change of smoke refractive index in different environments, an environmental parameter and smoke refractive index mapping model is established, and the environmental parameter and smoke refractive index mapping model is used to determine the first smoke refractive index range corresponding to different environments; Establish a combustible material type and smoke refractive index template library, determine the combustible material type according to the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range according to the determined combustible material type, and optimize the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; Identify the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model to determine the change value of the smoke refractive index in the current environment; Establishing a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and performing correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value; A fire probability value is determined according to the modified smoke refractive index change value, and whether there is a fire hazard is determined according to the fire probability value.

[0009] In a second aspect, the present invention provides a fire warning and automatic alarm system based on a smart lamp pole, the system specifically comprising: A first processing module, for establishing an environmental parameter and smoke refractive index mapping model based on the difference in the change of smoke refractive index in different environments, wherein the environmental parameter and smoke refractive index mapping model is used to determine the first smoke refractive index range corresponding to different environments; The second processing module is used to establish a combustible material type and smoke refractive index template library, determine the combustible material type according to the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range according to the determined combustible material type, and optimize the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; A third processing module is used to identify the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model, and determine the smoke refractive index change value in the current environment; A fourth processing module is used to establish a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and to perform correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value; The fifth processing module is used to determine a fire probability value according to the modified smoke refractive index change value, and determine whether there is a fire hazard according to the fire probability value.

[0010] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor and a computer program stored in the memory. When the computer program is executed on the processor, a fire warning and automatic alarm method based on a smart lamp pole as described in any one of the above methods is implemented.

[0011] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the fire warning and automatic alarm method based on a smart lamp pole as described in any one of the above methods is implemented.

[0012] Compared with the prior art, the present invention has at least one of the following technical effects: 1. Accurate identification and rapid response to fire hazards are achieved through the comprehensive use of advanced technical means such as environmental parameters and smoke refractive index mapping model, combustible material type and smoke refractive index template library, smoke refractive index calibration model and logistic regression model.

[0013] 2. According to the differences in smoke refractive index changes in different environments, a mapping model of environmental parameters and smoke refractive index was established. Through this model, the refractive index range of smoke in the current environment can be accurately determined, thereby improving the accuracy of smoke recognition.

[0014] 3. By establishing a template library of combustible material types and smoke refractive index and determining the combustible material types based on the smoke images captured by the camera, the environmental parameters and smoke refractive index mapping model are further optimized to make it more in line with the actual situation.

[0015] 4. The influence of lighting conditions on smoke recognition is taken into consideration. By establishing a smoke refractive index calibration model and correcting the smoke refractive index according to the light intensity in the current environment, the influence of changes in lighting conditions on smoke recognition is effectively eliminated.

[0016] 5. The fire probability value of the smoke image of the preset continuous frames is calculated through the logistic regression model, and the presence of fire hazards is judged according to the preset fire probability threshold, thus realizing the automatic identification and rapid alarm of fire hazards. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flow chart of a fire warning and automatic alarm method based on a smart lamp pole provided by an embodiment of the present invention; Figure 2 It is a structural schematic diagram of a fire warning and automatic alarm system based on a smart lamp pole provided by an embodiment of the present invention; Figure 3 It is a structural schematic diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0020] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0021] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0022] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0023] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0024] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0025] In the embodiment of the present application, the execution subject of the process includes a terminal device, which includes but is not limited to: a server, a computer, a smart phone, a tablet computer, and other devices capable of executing the method disclosed in the present application. Figure 1 A flow chart of a fire warning and automatic alarm method based on a smart lamp pole disclosed in an embodiment of the present invention is shown, and the details are as follows: S101, based on the difference in the change of smoke refractive index in different environments, establish an environmental parameter and smoke refractive index mapping model, wherein the environmental parameter and smoke refractive index mapping model is used to determine a first smoke refractive index range corresponding to different environments.

[0026] In this embodiment, a high-definition camera and an infrared sensor are installed on the top of the smart lamp pole to capture smoke images and preliminarily detect the presence of smoke. It is also equipped with a temperature and humidity sensor, an anemometer, and a particle concentration monitor to collect parameter data of the surrounding environment in real time. A smoke refractive index measurement module is integrated to measure the refractive index of smoke samples using optical principles. When the infrared sensor detects possible smoke, the smoke refractive index measurement module is triggered to collect data. At the same time, the environmental parameter sensor records the temperature, humidity, wind speed, and particle concentration of the current environment. The collected data is preprocessed, including denoising, outlier detection and elimination, to ensure data quality.

[0027] Using historical data and experimental data, a mapping relationship between environmental parameters (temperature, humidity, wind speed, particle concentration) and smoke refractive index is established. Machine learning algorithms (such as decision trees, random forests, or deep learning models) are used for model training to learn the changing patterns of smoke refractive index under different environmental conditions. The model takes into account the impact of multiple environmental parameters on smoke refractive index, so that the system can maintain good early warning performance under different climatic conditions and geographical locations, and enhances the environmental adaptability of the system. By integrating smoke refractive index measurement and environmental parameter monitoring functions, smart light poles can more accurately identify fire smoke, reduce false alarm and missed alarm rates, and improve the accuracy of fire warnings.

[0028] In some embodiments, in the above step S101, the establishment of an environmental parameter and smoke refractive index mapping model based on the difference in the change of smoke refractive index in different environments specifically includes: Acquire a first smoke image dataset, perform environmental classification on the first smoke image dataset using a random forest algorithm, and determine an environmental category of each smoke image in the first smoke image dataset; For each smoke image of the environment category, extract the corresponding environment parameters and smoke refractive index, and establish a first mapping relationship between the environment parameters and the smoke refractive index, wherein the environment parameters include humidity, temperature, wind speed and particle concentration; According to the first mapping relationship of all smoke images under each environment category, an environment parameter and smoke refractive index mapping model is established for each environment category.

[0029] In this embodiment, a smoke image captured by a smart lamp pole camera is obtained, and the smoke image is subjected to denoising, contrast enhancement and brightness adjustment to obtain an optimized smoke image data set. According to the optimized smoke image data set, a random forest algorithm is used to classify the smoke image by environment to determine the environmental category of the smoke image. For the smoke image of the environmental category, the environmental parameters of wind speed, atmospheric humidity, temperature and particle concentration are extracted, and a mapping relationship between environmental parameters and refractive index is established through multivariate linear regression to obtain a calculation formula for the smoke refractive index under each environmental category. The on-site smoke image captured by the smart lamp pole camera in real time is obtained, the environmental features of the on-site smoke image are extracted, the corresponding environmental category is matched, and the refractive index calculation formula of the environmental category is substituted to calculate the smoke refractive index value under the current environment. If the smoke refractive index value exceeds the preset error range, the environmental compensation coefficient is introduced to correct the smoke refractive index value to obtain the final refractive index standard value range.

[0030] Specifically, according to the smoke image obtained by the smart lamp pole camera, the image is preprocessed, including denoising, contrast enhancement, brightness adjustment and other operations, to obtain an optimized smoke image data set, and the shape features, edge features, density distribution, color information and texture features of the smoke are extracted from the data set. For the optimized smoke image data set, the random forest algorithm is used to classify the smoke images in different environments, and the smoke images are divided into multiple environmental categories, such as indoor, outdoor, industrial area, residential area, etc., and each category is assigned a corresponding environmental label. For the smoke images divided into environmental categories, the environment-related parameters are extracted, including wind speed, atmospheric humidity, temperature, particle concentration, etc., and the mapping relationship between environmental parameters and refractive index is established. The calculation formula of the smoke refractive index in each environmental category is obtained through multivariate linear regression, where the refractive index R=a wind speed+b atmospheric humidity+c temperature+d particle concentration+e, and a, b, c, d, e are regression coefficients. By using the established environment and refractive index mapping relationship, the environmental features of the image are extracted for the on-site smoke image collected by the smart lamp pole camera in real time, the corresponding environment category is matched, and the refractive index calculation formula of the environment category is substituted to calculate the smoke refractive index value in the current environment, and the standard value range is determined as [R-δ, R+δ] by the preset error range δ. In order to deal with the problem of large differences in smoke refractive index changes in different environments, the environmental compensation coefficient k is introduced. The k value is pre-set according to the environment category. The calculated refractive index value is multiplied by k for correction to obtain the final refractive index standard value range. The original smoke image collected by the smart lamp pole camera is subjected to pre-processing operations such as Gaussian filtering denoising, histogram equalization to enhance contrast, and gamma correction to adjust brightness, and then an optimized smoke image dataset is obtained. From this dataset, the shape features (such as roundness, area ratio), edge features (such as Canny edge detection results), density distribution (such as gray value statistical histogram), color information (such as the mean and variance of the HSV color space) and texture features (such as the energy and contrast of the grayscale co-occurrence matrix) of the smoke are extracted. The random forest algorithm uses these features to classify the environment of the smoke image, setting the number of trees to 100 and the maximum depth to 10, and obtains the classification model through training. The classification results divide the smoke image into indoor, outdoor, industrial area, residential area and other environmental categories, and each category is assigned a unique digital identifier. For each environmental category, relevant parameters such as light intensity (unit: lux), atmospheric humidity (unit: %), temperature (unit: ℃), particle concentration (unit: μg / m³), etc. are extracted. The mapping relationship between environmental parameters and refractive index is established using multivariate linear regression, and the regression coefficient is solved by the least squares method. For example, for outdoor environment, the refractive index calculation formula may be R=0.0002 light intensity+0.001 atmospheric humidity+0.005 temperature+0.0001 particle concentration+1.0. For the smoke image collected in real time, the environmental features are extracted and matched to the most similar environmental category, and substituted into the corresponding refractive index calculation formula.Assuming that the calculated refractive index value is 1.33 and the preset error range δ is 0.02, the determined standard value range is [1.31, 1.35]. In order to deal with the difference in refractive index changes in different environments, the environmental compensation coefficient k is introduced, such as k=1.0 indoors, k=0.95 outdoors, k=1.05 in industrial areas, etc. The calculated refractive index value is multiplied by k for correction to obtain the final refractive index standard value range, for example, the corrected range in the outdoor environment is [1.24, 1.28].

[0031] S102, establish a template library of combustible material types and smoke refractive index, determine the combustible material types based on the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range based on the determined combustible material types, and optimize the environmental parameters and smoke refractive index mapping model based on the second standard smoke refractive index range.

[0032] In this embodiment, firstly, common combustible samples on the market are collected, including but not limited to wood, paper, plastic, cloth, etc., and under controlled conditions (such as constant temperature, humidity, etc.), professional smoke generation equipment and refractive index measuring instruments are used to measure and record the refractive index range of smoke generated when each combustible burns, and the collected data are organized into a combustible type and smoke refractive index template library, each template containing the name of the combustible, smoke image features, and the corresponding standard smoke refractive index range.

[0033] When the camera of the smart lamp pole detects smoke, it immediately captures the smoke image and transmits it to the image processing unit of the fire warning system. The image processing unit uses an image recognition algorithm (such as a convolutional neural network CNN) to analyze the smoke image and extract feature information (such as color, texture, shape, etc.) from the image. The extracted image feature information is compared with the type of combustible material and the template in the smoke refractive index template library. The most likely type of combustible material is determined by calculating feature similarity or applying a classification algorithm (such as a support vector machine SVM, K nearest neighbor KNN, etc.). According to the determined type of combustible material, the corresponding standard smoke refractive index range is queried from the template library as the second standard smoke refractive index range.

[0034] The second standard smoke refractive index range is used as a reference to compare and analyze the prediction results of the environmental parameters and smoke refractive index mapping model. If there are significant differences, the model parameters are adjusted or new environmental variables are introduced to more accurately reflect the change law of smoke refractive index when different combustibles are burned. Through continuous iterative optimization, the prediction accuracy and robustness of the model are improved.

[0035] In this embodiment, by identifying the type of combustible material and obtaining the corresponding standard smoke refractive index range, the system can more accurately determine the source and nature of the smoke, reduce the false alarm and missed alarm rates, and improve the accuracy of fire warning.

[0036] In some embodiments, in the above step S102, the establishment of a combustible material type and smoke refractive index template library specifically includes: Acquire smoke images generated by the combustion of different combustibles to form a second smoke image data set; Determine the smoke refractive index value corresponding to each combustible by extracting the color histogram and gray level co-occurrence matrix features of the smoke image corresponding to each combustible in the second smoke image data set; Forming a smoke image feature vector according to the color histogram and gray-level co-occurrence matrix features of the smoke image corresponding to each combustible material, and associating the smoke image feature vector with the type of combustible material to form a second mapping relationship; According to the second mapping relationship of each combustible material and the corresponding smoke refractive index value, a combustible material type and smoke refractive index template library is established.

[0037] In this embodiment, smoke images generated by the combustion of different combustibles are collected by controlling the combustion experiment, the color histogram and grayscale co-occurrence matrix characteristics of the smoke are extracted, and the measured refractive index value of the smoke is obtained using a refractive index measuring instrument to form a corresponding relationship database of combustible types, smoke characteristics and refractive indices.

[0038] In some embodiments, in the above step S102, the optimizing the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range specifically includes: By minimizing the difference between the output result of the environmental parameter and smoke refractive index mapping model and the second standard smoke refractive index range by using a gradient descent method, the weight of the environmental parameter and smoke refractive index mapping model is updated in real time; The performance of the updated environmental parameter and smoke refractive index mapping model is evaluated by k-fold cross validation. When the performance evaluation index of the environmental parameter and smoke refractive index mapping model is better than the preset threshold, the updated environmental parameter and smoke refractive index mapping model is used as the target environmental parameter and smoke refractive index mapping model.

[0039] In this embodiment, based on the on-site smoke image collected by the smart lamp pole camera, the smoke image is preprocessed to determine the smoke area and extract the feature vector of the smoke area; the random forest classification algorithm is used to match the feature vector with the feature in the corresponding relationship database to identify the type of combustible material currently burning; the corresponding standard smoke refractive index range is obtained according to the type of combustible material, and the model parameters are adjusted in combination with the output results of the multi-parameter smoke refractive index judgment model; the accuracy and generalization ability of the model are evaluated through k-fold cross validation, and the mean absolute error and determination coefficient are calculated. If the evaluation index is better than the preset threshold, the model is deployed in actual applications.

[0040] Specifically, the smoke images of the scene are collected in real time from the smart lamp pole camera, and the images are preprocessed, including denoising and contrast enhancement. The image segmentation algorithm is used to determine the smoke area, and the color histogram and grayscale co-occurrence matrix features of the area are extracted to construct the feature vector. The random forest classification algorithm is used to match the preprocessed smoke image feature vector with the features in the corresponding relationship database, identify the type of combustible material currently burning, and obtain the standard smoke refractive index range corresponding to the combustible material. According to the identified combustible type and the corresponding standard smoke refractive index range, combined with the output results of the multi-parameter smoke refractive index judgment model, the model parameters are dynamically adjusted through the online learning algorithm to update the refractive index judgment result. Specifically, the gradient descent method is used to minimize the difference between the model prediction value and the median of the standard range, and the model weight is updated in real time. The accuracy and generalization ability of the updated model are evaluated through k-fold cross validation, and the mean absolute error and determination coefficient are calculated. When the evaluation index is better than the preset threshold, the updated model is deployed in practical applications. In the process of establishing the template library of combustible types and smoke refractive index, combustion experiments were conducted on 10 common combustibles, each of which was repeated 20 times, and a total of 200 groups of samples were collected. A high-precision refractive index measuring instrument (accuracy ±0.0001) was used to obtain the smoke refractive index value, and the 64-dimensional color histogram and 14-dimensional grayscale co-occurrence matrix features were extracted at the same time. The smart lamp pole camera collected 1920x1080 resolution images, and after Gaussian filtering denoising and adaptive histogram equalization to enhance the contrast, the Otsu threshold segmentation algorithm was applied to determine the smoke area. The feature vector with the same dimension as the template library was extracted from the segmented smoke area. The random forest classification algorithm used 100 decision trees with a maximum depth of 10 to identify the type of combustibles through a voting mechanism. The multi-parameter smoke refractive index judgment model initially adopted a 5-layer fully connected neural network structure. The input layer contained 100 nodes for environmental parameters and image features, and the number of hidden layer nodes was 64, 32, 16, and 8 respectively. The output layer had 1 node representing the predicted refractive index value. During the online learning process, the stochastic gradient descent method with a learning rate of 0.01 was used, and a small batch update strategy of 32 samples was used for each iteration. The model performance was evaluated using 5-fold cross validation, and the mean absolute error (MAE) and coefficient of determination (R²) were calculated. When MAE < 0.001 and R² > 0.95, the updated model was considered to have good performance and was immediately deployed in practical applications. The entire processing flow was completed on the edge computing unit with an average processing time of 100 milliseconds per frame, achieving real-time and accurate judgment of the refractive index of smoke generated by different combustibles and dynamic optimization of the model.

[0041] S103, identifying the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model, and determining the smoke refractive index change value in the current environment.

[0042] In this embodiment, the environmental parameter sensors (such as temperature and humidity sensors, anemometers, and particle concentration monitors) integrated on the smart lamp pole continuously monitor the surrounding environmental parameters and send real-time data to the fire warning system. When the camera of the smart lamp pole detects smoke, it immediately captures a high-definition smoke image and transmits it to the image processing unit of the fire warning system. The image processing unit first preprocesses the captured smoke image, including denoising, contrast enhancement, edge detection, and other steps to better extract smoke features. The preprocessed smoke image is feature extracted using an image recognition algorithm (such as a convolutional neural network CNN) to obtain key features such as smoke texture, shape, and density. The real-time environmental parameters (temperature, humidity, wind speed, particle concentration, etc.) are input into the trained environmental parameter and smoke refractive index mapping model. The model predicts the baseline range of smoke refractive index in the current environment based on the input environmental parameters. Combined with the features extracted from the smoke image, the smoke features are linked to the smoke refractive index through a specific algorithm (such as a regression model based on machine learning). According to the feature changes in the smoke image, the change value of the current smoke refractive index relative to the baseline range predicted by the model is estimated.

[0043] S104, establishing a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and performing correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value.

[0044] In this embodiment, under different lighting conditions (such as sunny days, cloudy days, dusk, night, etc.), a standard smoke source and a refractive index measuring device are used to measure the refractive index of smoke under different light intensities. At the same time, a high-definition camera is used to record smoke images under corresponding lighting conditions, and environmental parameter data (such as temperature, humidity, wind speed, etc.) are collected. The collected data is preprocessed, including denoising, outlier removal, data standardization, etc., to ensure data quality.

[0045] Analyze the variation of smoke refractive index under different lighting conditions, as well as the influence of factors such as light intensity, smoke concentration, and environmental parameters on the refractive index. Use regression analysis, machine learning algorithms (such as support vector machine SVM, random forest, etc.) or deep learning models to establish a mapping relationship between lighting conditions and smoke refractive index, and form a smoke refractive index calibration model. The model should be able to receive the current lighting conditions (such as light intensity, light source type, etc.) and the initially measured smoke refractive index as input, and output the corrected smoke refractive index.

[0046] When the camera of the smart lamp pole captures the smoke image, the system first determines the current lighting conditions through image processing technology (such as through image brightness, color analysis, etc.). At the same time, the environmental parameter sensor is used to obtain the current environmental parameter data. The lighting conditions, environmental parameters and the preliminary measured smoke refractive index are input into the smoke refractive index calibration model for real-time correction processing. The model outputs the corrected smoke refractive index change value as the basis for fire risk assessment. The corrected smoke refractive index change value is compared with the preset threshold to assess the danger of the smoke. If the change value exceeds the threshold, a fire warning signal is triggered and an alarm message is sent to the fire department and relevant departments.

[0047] In this embodiment, by establishing a smoke refractive index calibration model based on different lighting conditions, the system can correct the influence of lighting conditions on smoke refractive index measurement and improve the accuracy of the measurement results.

[0048] In some embodiments, in the above step S104, establishing a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions specifically includes: Obtain real-time illumination data and corresponding smoke refractive index data collected by the light intensity sensor of the smart lamp pole; Using the median absolute deviation method to perform outlier detection on the real-time illumination data, and remove abnormal data points; Classifying the real-time illumination data according to a preset fixed threshold value to obtain illumination intensity levels and corresponding time periods; With the illumination intensity level as the independent variable and the smoke refractive index calibration coefficient as the dependent variable, a polynomial regression algorithm is used to establish an illumination intensity and smoke refractive index calibration model according to the real-time illumination data and the corresponding smoke refractive index data.

[0049] Furthermore, the correction process of the smoke refractive index change value in the current environment according to the smoke refractive index calibration model specifically includes: Determine the current light intensity and current time information in the current environment according to the smoke image captured by the camera of the smart lamp pole, and determine whether the current environment is daytime or night according to the current time information; When the current environment is daytime, determining a first correction coefficient by using the smoke refractive index calibration model according to the current light intensity in the current environment; When the current environment is at night, determining a second correction coefficient by using the smoke refractive index calibration model according to the current light intensity in the current environment; The smoke refractive index change value in the current environment is corrected according to the first correction coefficient or the second correction coefficient.

[0050] In this embodiment, real-time illumination data collected by the light intensity sensor of the smart lamp pole is obtained, and the real-time illumination data includes the illumination intensity value and the corresponding timestamp; the median absolute deviation method is used to detect outliers in the illumination intensity data, and abnormal data points are eliminated; the illumination intensity data is graded according to a preset fixed threshold value to obtain the illumination intensity level and its corresponding time period; a polynomial regression algorithm is used to establish a smoke refractive index calibration model, and the calibration model uses the illumination intensity as the independent variable and the smoke refractive index calibration coefficient as the dependent variable; when obtaining a smoke image from the smart lamp pole camera, the current illumination intensity value and time information are synchronously read; if the time information is in night mode, a night compensation factor is applied to the calibration coefficient; the calibration coefficient is applied to the output result of the environmental parameter and smoke refractive index mapping model to obtain a corrected smoke refractive index change value.

[0051] Exemplarily, a light intensity sensor is integrated on the smart lamp pole, and real-time light data is collected at a frequency of once per minute. The collected light intensity values ​​are associated with timestamps and stored to form a light intensity time series database. Outlier detection is performed on the light intensity data, and the median absolute deviation method is used to identify and remove abnormal data points. The light intensity is divided into five levels according to the preset fixed threshold: very weak (0-50lux), weak (51-200lux), medium (201-1000lux), strong (1001-5000lux), and very strong (>5000lux), and the time period corresponding to each level is recorded. The polynomial regression algorithm is used to establish a smoke refractive index calibration model, with light intensity as the independent variable and the smoke refractive index calibration coefficient as the dependent variable. The light intensity and corresponding smoke refractive index data for one month are collected, sampled once an hour, and a total of 720 sets of data points are obtained for fitting the calibration function. When obtaining the smoke image from the smart lamp pole camera, the current light intensity value and time information are read synchronously, and the light intensity is substituted into the calibration function to calculate the calibration coefficient. If the current time is in night mode (such as 21:00-5:00), the night compensation factor is additionally applied. The calibration coefficient is applied to the output of the environmental parameters and the smoke refractive index mapping model by multiplication to obtain the corrected smoke refractive index change value. The light intensity sensor integrated on the smart lamp pole collects data once a minute, with a measurement range of 0-100,000 lux and an accuracy of ±1 lux. The collected data is detected for outliers using the median absolute deviation method, with a threshold set to 2.5 times the standard deviation. Data points outside this range are marked as abnormal and removed. The light intensity is divided into very weak (0-50lux), weak (51-200lux), medium (201-1000lux), strong (1001-5000lux), and very strong (>5000lux). The polynomial regression algorithm uses a third-order polynomial in the form of y=ax³+bx²+cx+d, where x is the light intensity and y is the calibration coefficient. The 720 sets of data points collected within one month were fitted by the least squares method to obtain specific coefficients: a=2.3e-11, b=-1.5e-7, c=3.2e-4, d=0.98. When the light sensor reading is 2000lux, the calibration coefficient 1.12 is substituted into the formula. If the current time is 23:00, which is night mode, an additional night compensation factor of 1.2 is applied. The multi-parameter smoke refractive index judgment model outputs the original refractive index value of 1.35. After correction by the calibration coefficient and night compensation factor, the final refractive index judgment value is 1.35*1.12*1.2=1.8144. The entire processing process is automatically completed on the edge computing unit of the smart lamp pole, with an average response time of less than 100 milliseconds, realizing real-time and accurate judgment of the smoke refractive index under different lighting conditions.

[0052] S105, determining a fire probability value according to the modified smoke refractive index change value, and judging whether there is a fire hazard according to the fire probability value.

[0053] In this embodiment, a fire probability assessment model is constructed based on historical fire data and the statistical relationship between the change in smoke refractive index and the occurrence of fire. The model should be able to receive the corrected smoke refractive index change value as input and output the corresponding fire probability value. The fire probability value can be expressed in percentage form, reflecting the possibility of fire under current conditions. When the camera of the smart lamp pole captures the smoke image and obtains the corrected smoke refractive index change value through the above process, the value is input into the fire probability assessment model. The fire probability assessment model calculates the current fire probability value based on the input corrected smoke refractive index change value, combined with the algorithm and parameters inside the model. Other environmental parameters (such as temperature, humidity, wind speed, etc.) and other characteristics of smoke (such as color, density, diffusion rate, etc.) may also be considered in the calculation process to improve the accuracy of the assessment.

[0054] The calculated fire probability value is compared with the preset threshold. If the fire probability value exceeds the threshold, it is judged that there is a fire hazard and a fire warning signal is triggered. The warning signal can include sound alarms, SMS notifications, APP push and other methods to promptly notify relevant personnel to take countermeasures. Once a fire warning is triggered, the system immediately sends an alarm message to the fire department and provides detailed information such as the fire location and probability value so that the fire department can respond quickly. At the same time, the system can also link other smart city facilities (such as smart sprinkler systems, ventilation systems, etc.) to take preliminary self-rescue measures if conditions permit. After the fire incident is over, the system should record and analyze the incident to optimize the fire warning model and improve the accuracy of future warnings.

[0055] In this embodiment, by combining the corrected smoke refractive index change value and the fire probability assessment model, the system can more accurately assess the fire risk and reduce false alarms and missed alarms.

[0056] In some embodiments, in the above step S105, determining a fire probability value according to the modified smoke refractive index change value, and judging whether there is a fire hazard according to the fire probability value specifically include: According to the modified smoke refractive index value, the fire probability value of the smoke image of the preset continuous frames is calculated by a pre-trained logistic regression model; If the smoke images of preset consecutive frames all exceed the preset fire probability threshold, it is judged that there is a fire hazard and the alarm mechanism is triggered.

[0057] In this embodiment, the fire probability value is calculated based on the smoke refractive index value through a pre-trained logistic regression model; if the fire probability value exceeds a preset threshold, it is determined that there is a fire hazard. Time series analysis is performed on multiple consecutive frames of image data, and if the fire probability values ​​of consecutive frames all exceed the preset threshold, an alarm mechanism is triggered; the center coordinates of the smoke area are determined through an image segmentation algorithm, and the center coordinates of the smoke area are sent to the firefighter terminal as possible fire source location coordinates.

[0058] Based on the fire warning signals and possible fire source locations, the smart light poles will upload suspected fire images and environmental data to the city fire big data platform, which will conduct secondary confirmation and simultaneously link up with nearby fire hydrants and drone IoT devices to prompt nearby people to disperse and conduct further fire reconnaissance and fire-fighting operations, thus forming an integrated fire warning and automatic alarm system for city-level smart light pole fire protection.

[0059] Specifically, after the smart light pole detects the fire warning signal, it packages the suspected fire image, environmental data and the coordinates of the fire source location into a standard JSON format data packet, which is uploaded to the city fire big data platform in real time through a high-speed wireless network, and triggers the nearby smart light poles to enter the alert state. After receiving the data packet, the city fire big data platform immediately starts the convolutional neural network to conduct a secondary confirmation of the suspected fire image, and conducts a comprehensive analysis based on historical fire data and surrounding building information to determine the authenticity and severity of the fire. If the secondary confirmation result is a real fire, the platform dynamically calculates the impact range according to the severity of the fire, sends an opening command to the smart fire hydrants within the range, and dispatches the nearest firefighting drone to the fire source for real-time monitoring and data collection. The platform uses the A* algorithm combined with real-time traffic information to generate an evacuation route map, plays voice prompts and LED displays on the nearest smart light poles to guide the nearby crowd to evacuate in an orderly manner, and pushes fire reports to the fire command center to provide decision support for subsequent firefighting operations. The city-level smart light pole fire integrated system realizes information exchange through a shared database, uses distributed computing to improve response speed, forms a collaborative working mechanism, and realizes full-process automation from fire detection to firefighting operations. After the smart light pole detects the fire warning signal, it immediately packages the suspected fire image with a resolution of 1920x1080, environmental data such as temperature, humidity, wind speed, and the coordinates of the fire source accurate to the centimeter level into a JSON format data packet, and uploads it to the urban fire big data platform through the 4G / 5G network at a speed of 10Mbps. After receiving the data packet, the platform uses the ResNet50 convolutional neural network to reconfirm the image with an accuracy rate of 98%. At the same time, the platform calls the historical fire data of the past five years and the building information within the surrounding 500 meters, and uses the random forest algorithm to assess the severity of the fire, with a score range of 0-100. If the score exceeds 60, it is determined to be a real fire. The platform dynamically calculates the impact range based on the score, r=10sqrt(score) meters. Send an opening command to the smart fire hydrants within the range, and the water pressure of each fire hydrant is maintained at 0.4MPa. At the same time, the nearest DJIMavic3 fire-fighting drone is dispatched to fly to the fire source at a speed of 15m / s and hover at an altitude of 100m for monitoring. The platform uses the A algorithm combined with real-time traffic information to generate an evacuation route map and calculates up to 8 alternative routes. Voice prompts are played at a volume of 90 decibels through the nearest smart lamp pole, and the LED display screen scrolls to display evacuation instructions. The city-level smart lamp pole fire protection integrated system uses a distributed Kafka message queue to achieve data sharing, with a processing delay of less than 100ms, ensuring that the response time of the entire process is controlled within 10 seconds.

[0060] Reference Figure 2 An embodiment of the present invention provides a fire warning and automatic alarm system 2 based on a smart lamp pole, and the system 2 specifically includes: The first processing module 201 is used to establish an environmental parameter and smoke refractive index mapping model based on the difference in the change of smoke refractive index in different environments, and the environmental parameter and smoke refractive index mapping model is used to determine the first smoke refractive index range corresponding to different environments; The second processing module is used to establish a combustible material type and smoke refractive index template library, determine the combustible material type according to the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range according to the determined combustible material type, and optimize the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; A third processing module is used to identify the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model, and determine the smoke refractive index change value in the current environment; A fourth processing module is used to establish a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and to perform correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value; The fifth processing module is used to determine a fire probability value according to the modified smoke refractive index change value, and determine whether there is a fire hazard according to the fire probability value.

[0061] It is understandable that if Figure 1 The contents of the fire warning and automatic alarm method embodiment based on the smart light pole shown in the figure are applicable to the fire warning and automatic alarm system embodiment based on the smart light pole. The functions specifically implemented by the fire warning and automatic alarm system embodiment based on the smart light pole are similar to those in the embodiment shown in the figure. Figure 1 The fire warning and automatic alarm method based on the smart lamp pole shown in the embodiment is the same as that in the embodiment of the present invention, and the beneficial effects achieved are the same as those in the embodiment of the present invention. Figure 1 The beneficial effects achieved by the fire warning and automatic alarm method embodiment based on the smart lamp pole shown are also the same.

[0062] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0063] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0064] Reference Figure 3 The embodiment of the present invention further provides a computer device 3, comprising: a memory 302 and a processor 301 and a computer program 303 stored in the memory 302. When the computer program 303 is executed on the processor 301, a fire warning and automatic alarm method based on a smart lamp pole as described in any one of the above methods is implemented.

[0065] The computer device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0066] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0067] In some embodiments, the memory 302 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 302 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the computer device 3. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0068] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the fire warning and automatic alarm method based on a smart lamp pole as described in any one of the above methods is implemented.

[0069] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, USB flash drive, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0070] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0071] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0072] In the embodiments disclosed in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0073] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Claims

1. A fire warning and automatic alarm method based on smart lamp poles, characterized in that: The method specifically comprises: Based on the difference in the change of smoke refractive index in different environments, an environmental parameter and smoke refractive index mapping model is established, and the environmental parameter and smoke refractive index mapping model is used to determine the first smoke refractive index range corresponding to different environments; Establish a combustible material type and smoke refractive index template library, determine the combustible material type according to the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range according to the determined combustible material type, and optimize the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; Identify the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model to determine the change value of the smoke refractive index in the current environment; Establishing a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and performing correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value; A fire probability value is determined according to the modified smoke refractive index change value, and whether there is a fire hazard is determined according to the fire probability value.

2. The method according to claim 1, characterized in that The environmental parameter and smoke refractive index mapping model is established based on the difference in the change of smoke refractive index in different environments, specifically including: Acquire a first smoke image dataset, perform environmental classification on the first smoke image dataset using a random forest algorithm, and determine an environmental category of each smoke image in the first smoke image dataset; For each smoke image of the environment category, extract the corresponding environment parameters and smoke refractive index, and establish a first mapping relationship between the environment parameters and the smoke refractive index, wherein the environment parameters include humidity, temperature, wind speed and particle concentration; According to the first mapping relationship of all smoke images under each environment category, an environment parameter and smoke refractive index mapping model is established for each environment category.

3. The method according to claim 1, characterized in that: The establishment of the combustible material type and smoke refractive index template library specifically includes: Acquire smoke images generated by the combustion of different combustibles to form a second smoke image data set; Determine the smoke refractive index value corresponding to each combustible by extracting the color histogram and gray level co-occurrence matrix features of the smoke image corresponding to each combustible in the second smoke image data set; Forming a smoke image feature vector according to the color histogram and gray-level co-occurrence matrix features of the smoke image corresponding to each combustible material, and associating the smoke image feature vector with the type of combustible material to form a second mapping relationship; According to the second mapping relationship of each combustible material and the corresponding smoke refractive index value, a combustible material type and smoke refractive index template library is established.

4. The method according to claim 3, characterized in that The optimizing the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range specifically includes: By minimizing the difference between the output result of the environmental parameter and smoke refractive index mapping model and the second standard smoke refractive index range by using a gradient descent method, the weight of the environmental parameter and smoke refractive index mapping model is updated in real time; The performance of the updated environmental parameter and smoke refractive index mapping model is evaluated by k-fold cross validation. When the performance evaluation index of the environmental parameter and smoke refractive index mapping model is better than the preset threshold, the updated environmental parameter and smoke refractive index mapping model is used as the target environmental parameter and smoke refractive index mapping model.

5. The method according to claim 1, characterized in that The smoke refractive index calibration model is established according to the smoke refractive index under different lighting conditions, specifically including: Obtain real-time illumination data and corresponding smoke refractive index data collected by the light intensity sensor of the smart lamp pole; Using the median absolute deviation method to perform outlier detection on the real-time illumination data, and remove abnormal data points; Classifying the real-time illumination data according to a preset fixed threshold value to obtain illumination intensity levels and corresponding time periods; With the illumination intensity level as the independent variable and the smoke refractive index calibration coefficient as the dependent variable, a polynomial regression algorithm is used to establish an illumination intensity and smoke refractive index calibration model according to the real-time illumination data and the corresponding smoke refractive index data.

6. The method according to claim 5, characterized in that The correction process of the smoke refractive index change value under the current environment according to the smoke refractive index calibration model specifically includes: Determine the current light intensity and current time information in the current environment according to the smoke image captured by the camera of the smart lamp pole, and determine whether the current environment is daytime or night according to the current time information; When the current environment is daytime, determining a first correction coefficient by using the smoke refractive index calibration model according to the current light intensity in the current environment; When the current environment is at night, determining a second correction coefficient by using the smoke refractive index calibration model according to the current light intensity in the current environment; The smoke refractive index change value in the current environment is corrected according to the first correction coefficient or the second correction coefficient.

7. The method according to claim 1, characterized in that Determining a fire probability value according to the modified smoke refractive index change value, and judging whether there is a fire hazard according to the fire probability value specifically includes: According to the modified smoke refractive index value, the fire probability value of the smoke image of the preset continuous frames is calculated by a pre-trained logistic regression model; If the smoke images of preset consecutive frames all exceed the preset fire probability threshold, it is judged that there is a fire hazard and the alarm mechanism is triggered.

8. A fire warning and automatic alarm system based on smart lamp poles, characterized in that: The system specifically comprises: A first processing module, for establishing an environmental parameter and smoke refractive index mapping model based on the difference in the change of smoke refractive index in different environments, wherein the environmental parameter and smoke refractive index mapping model is used to determine the first smoke refractive index range corresponding to different environments; The second processing module is used to establish a combustible material type and smoke refractive index template library, determine the combustible material type according to the smoke image captured by the camera of the smart lamp pole, obtain the corresponding second standard smoke refractive index range according to the determined combustible material type, and optimize the environmental parameter and smoke refractive index mapping model according to the second standard smoke refractive index range; A third processing module is used to identify the smoke image captured by the camera of the smart lamp pole according to the environmental parameters and the smoke refractive index mapping model, and determine the smoke refractive index change value in the current environment; A fourth processing module is used to establish a smoke refractive index calibration model according to the smoke refractive index under different lighting conditions, and to perform correction processing on the smoke refractive index change value under the current environment according to the smoke refractive index calibration model to obtain a corrected smoke refractive index change value; The fifth processing module is used to determine a fire probability value according to the modified smoke refractive index change value, and determine whether there is a fire hazard according to the fire probability value.

Citation Information

Patent Citations

  • Composite labyrinth structure for fire smoke detection and assembling method

    CN110675590A

  • Novel photoelectric smoke sensing fire detection and alarm method, device and system

    CN111009094A

  • Fire smoke recognizer, method and device thereof, and readable storage medium

    CN114170756A

  • Fire smoke online identification method and application thereof

    CN117275170A

  • Alarming system for inspecting fuel-oil leakage fibre-optical theory

    CN2898815Y