A method, apparatus, and medium for identifying a degree of damage to a fire hose

By acquiring images of the fire hose surface and correcting the temperature difference using a preset mapping relationship, combined with temperature sensing fiber optics and thermochromic coating, real-time and accurate detection of the degree of damage to the fire hose is achieved. This solves the problems of low detection efficiency and poor real-time performance in existing technologies, and improves the safety of fire hose use and fire extinguishing efficiency.

CN120823152BActive Publication Date: 2026-07-315ELEM HI TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
5ELEM HI TECH CORP
Filing Date
2025-06-17
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing methods for detecting damage to fire hoses are inefficient, lack real-time performance, and are difficult to accurately locate damaged areas, especially hidden damage.

Method used

By acquiring images of the fire hose surface and correcting the temperature difference using a preset mapping relationship, the degree of damage to the fire hose can be automatically detected. Combined with temperature-sensing fiber optics and thermochromic coating, the temperature and damage of the hose can be monitored in real time.

Benefits of technology

It improves the accuracy and real-time performance of damage detection, enabling timely detection of high-temperature hazardous areas, preventing hose rupture and leakage, extending service life, and improving the safety and efficiency of firefighting operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120823152B_ABST
    Figure CN120823152B_ABST
Patent Text Reader

Abstract

This application relates to the field of fire hose technology, and in particular to a method, device, and medium for identifying the degree of damage to fire hoses. It includes the following steps: S100, acquiring a surface image of the fire hose; S200, acquiring the mapped temperature of preset feature pixels in the surface image of the fire hose according to a preset mapping relationship between the fire hose's color and temperature; S300, acquiring the correspondence between the mapped temperature and the actual temperature based on the mapped temperature of the preset feature pixels and the actual temperature; the temperature difference is the difference between the actual temperature and the mapped temperature; S400, acquiring the actual temperature corresponding to each pixel in the surface image of the fire hose according to the correspondence between the mapped temperature and the temperature difference; S500, determining the degree of damage to the fire hose based on the actual temperature corresponding to each pixel in the surface image of the fire hose. This invention enables the detection of the degree of damage to thermochromic fire hoses in fire application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fire hose technology, and in particular to a method, device and medium for identifying the degree of damage to fire hoses. Background Technology

[0002] As a critical component of fire protection systems, the integrity of fire hoses directly impacts firefighting and rescue effectiveness. Traditional fire hoses are mostly made of materials such as rubber and synthetic fibers, which are prone to internal structural damage due to wear, aging, and high-temperature burning during long-term use, resulting in issues such as fiber breakage and rubber layer peeling. These damages initially manifest as a localized decline in physical properties, but are difficult to detect visually or by touch. If not replaced promptly, the hose's pressure-bearing capacity may drop sharply or even burst, seriously threatening the safety of firefighting operations.

[0003] Current methods for detecting fire hose damage mainly rely on periodic manual disassembly and inspection, or offline methods such as pressure testing. These methods suffer from low efficiency, poor real-time performance, and inability to accurately locate damaged areas. For concealed damage (such as aging of the internal adhesive layer), traditional methods are even less effective at identification. In recent years, the application of thermochromic materials in industrial testing has gradually emerged. Thermochromic fire hoses can visually and in real-time display their internal temperature. Therefore, how to detect the degree of damage to thermochromic fire hoses in fire application scenarios is an urgent problem to be solved. Summary of the Invention

[0004] The purpose of this invention is to provide a method, device, and medium for identifying the degree of damage to fire hoses, so as to detect the degree of damage to thermochromic fire hoses in fire application scenarios.

[0005] According to a first aspect of the present invention, a method for identifying the degree of damage to a fire hose is provided, wherein the fire hose is a thermochromic fire hose, the method comprising the following steps: S100, acquire surface image of fire hose.

[0006] S200: Obtain the mapped temperature of preset feature pixels in the surface image of the fire hose according to the preset mapping relationship between the color and temperature of the fire hose.

[0007] S300, obtain the correspondence between the mapped temperature and the temperature difference based on the mapped temperature and the actual temperature of the preset feature pixel; the temperature difference is the difference between the actual temperature and the mapped temperature.

[0008] S400 obtains the actual temperature corresponding to each pixel in the surface image of the fire hose based on the correspondence between the mapped temperature and the temperature difference.

[0009] S500 determines the degree of damage to the fire hose based on the actual temperature corresponding to each pixel in the surface image of the fire hose.

[0010] According to a second aspect of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the above-described method for identifying the degree of damage to fire hoses.

[0011] According to a third aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for identifying the degree of damage to fire hoses.

[0012] The present invention has at least the following beneficial effects: This invention obtains the mapped temperature of preset feature pixels in a fire hose surface image by establishing a pre-defined mapping relationship between the color and temperature of the fire hose. Based on the actual temperature of the mapped feature pixels, it establishes a correspondence between the mapped temperature and the temperature difference. This correspondence allows for the correction of the mapped temperature of any pixel in the fire hose surface image, yielding the actual temperature of that pixel. The actual temperature is more accurate than the mapped temperature, and using this actual temperature to determine the degree of hose damage improves the accuracy of the assessment. This invention can complete damage assessment simply by acquiring a fire hose surface image, enabling automatic detection of the degree of damage to thermochromic fire hoses in fire application scenarios. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 A flowchart of a method for identifying the degree of damage to fire hoses provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of a thermochromic visual fire hose provided in Embodiment 1 of the present invention; In the diagram, 1 is the outer protective layer, 2 is the thermochromic coating, 3 is the reinforcing layer, and 4 is the inner lining layer. Detailed Implementation

[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0016] Example 1: According to the present invention, a method for identifying the degree of damage to a fire hose is provided, wherein the fire hose is a thermochromic fire hose, such as... Figure 1 As shown, the method for identifying the degree of damage to fire hoses in this embodiment includes the following steps: S100, acquire surface image of fire hose.

[0017] In this embodiment, the fire hose is a thermochromic fire hose, which is a fire hose whose color changes with temperature.

[0018] In one specific implementation, an image acquisition device is used to photograph the surface of a thermochromic fire hose, obtaining a two-dimensional image containing its color distribution. The color of the thermochromic fire hose changes with temperature, and the pixel color values ​​in the image have a mapping relationship with the temperature of the thermochromic fire hose. Through image acquisition, physical temperature information can be converted into visually recognizable color information.

[0019] S200: Obtain the mapped temperature of preset feature pixels in the surface image of the fire hose according to the preset mapping relationship between the color and temperature of the fire hose.

[0020] In this embodiment, the preset mapping relationship between the color and temperature of the fire hose is known. Several preset feature pixels are selected from the surface image of the fire hose to extract their color values, which are then converted into the corresponding mapped temperature through the preset mapping relationship.

[0021] In one specific implementation, temperature sampling points are set on the fire hose, and preset feature pixels in the surface image are the pixels corresponding to the temperature sampling points on the fire hose. Optionally, the positions of the temperature sampling points on the fire hose are known, and they are set along the extension direction of the fire hose. The interval between the temperature sampling points on the fire hose is L. Then, the distance between any two adjacent preset feature pixels along the extension direction of the fire hose is d, where d = L / k, and k is the physical length corresponding to a unit pixel in the surface image of the fire hose. Those skilled in the art know that, given the physical coordinates of the temperature sampling points on the fire hose, the image coordinates of the preset feature pixels can be obtained through the mapping relationship between physical coordinates and image pixel coordinates. The process of obtaining image coordinates based on physical coordinates is existing technology and will not be described in detail here.

[0022] As a specific implementation method, L is obtained based on the thermal diffusivity of the fire hose, the preset response time, the thermal conductivity of the fire hose, the preset risk level coefficient, the medium flow velocity, and the preset gradient sensitivity coefficient. L is positively correlated with the thermal diffusivity of the fire hose, the preset response time, and the thermal conductivity of the fire hose material, and negatively correlated with the preset risk level coefficient, the medium flow velocity, and the preset gradient sensitivity coefficient.

[0023] In one specific implementation, the preset response time, preset risk level coefficient, and preset gradient sensitivity coefficient are pre-set parameters. The preset response time is the response time required by the user. The shorter the response time required by the user, the smaller L is, and the more densely the temperature sampling points are set to ensure that temperature changes are captured quickly. If the user allows a longer response time, then L is larger, and the temperature sampling points are set more sparsely to reduce costs. The preset risk level coefficient is the risk level of the application scenario (the selectable value range is [0,1]). If the preset risk level coefficient is larger, the application scenario is more dangerous, then L is smaller, and the temperature sampling points are set more densely to ensure that temperature changes are captured quickly and to ensure safety. If the preset risk level coefficient is smaller, the application scenario is less dangerous, then a relatively larger L can be set to save resources. The preset gradient sensitivity coefficient is the user's required level of temperature gradient monitoring precision (the selectable value range is [0,1]). If the preset gradient sensitivity coefficient is large, the user requires more precise temperature gradient monitoring, so the smaller L is, the denser the temperature sampling points are set, so that subtle temperature gradient differences can be monitored. If the preset gradient sensitivity coefficient is small, the user does not require such precise temperature gradient monitoring, so a larger L can be set to save resources.

[0024] As a specific implementation method, the thermal diffusivity and thermal conductivity of the fire hose are obtained through simulation experiments based on the materials of each layer of the fire hose. The higher the thermal diffusivity of the fire hose, the faster the heat diffuses in the hose material; the higher the thermal conductivity of the fire hose, the higher the heat transfer efficiency. For materials with fast thermal diffusivity and good thermal conductivity, the sampling interval L can be increased to avoid data redundancy caused by excessively dense sampling points; conversely, for materials with slow thermal diffusivity and poor thermal conductivity, L is decreased to capture local temperature anomalies and ensure the integrity of the temperature field sampling.

[0025] As a specific implementation method, the medium flow rate is an empirical value; the faster the medium flow rate in the fire hose, the more intense the heat exchange between the medium inside the fire hose and the surface, and the more frequent the temperature field fluctuations. Decreasing L can track dynamic temperature changes in real time and avoid missing temperature changes caused by high flow rate; conversely, the slower the medium flow rate in the fire hose, the more L can be increased.

[0026] In one specific implementation, a fire hose interval list is pre-established. The thermal diffusivity, preset response time, thermal conductivity, preset risk level coefficient, medium flow velocity, and preset gradient sensitivity coefficient of the fire hoses are matched against the fire hose interval list. The interval of a successfully matched entry is defined as interval L. The fire hose interval list includes several entries, each entry including a thermal diffusivity range, a preset response time range, a thermal conductivity range, a risk level coefficient range, a medium flow velocity range, a gradient sensitivity coefficient range, and an interval. The interval corresponding to any entry in the fire hose interval list is the interval that matches the range of thermal diffusivity, preset response time, thermal conductivity, risk level coefficient, medium flow velocity, and gradient sensitivity coefficient included in that entry. Optionally, the fire hose interval list is established based on empirical values ​​and satisfies the condition that the interval is positively correlated with the thermal diffusivity, preset response time, and thermal conductivity of the fire hose material, and negatively correlated with the preset risk level coefficient, medium flow velocity, and preset gradient sensitivity coefficient. Therefore, this embodiment can determine the optimal L based on the material of the fire hose, the application scenario, and the user's needs.

[0027] S300, obtain the correspondence between the mapped temperature and the temperature difference based on the mapped temperature and the actual temperature of the preset feature pixel; the temperature difference is the difference between the actual temperature and the mapped temperature.

[0028] In one specific implementation, temperature-sensing optical fibers are used to acquire the temperature at each temperature sampling point of the fire hose, thus obtaining the actual temperature of each preset feature pixel. For example, if the temperature of the first temperature sampling point of the fire hose is 50°C, then the actual temperature of the preset feature pixel corresponding to the first temperature sampling point of the fire hose in the image is 50°C.

[0029] In one specific implementation, the mapped temperature is used as the independent variable, and the temperature difference is used as the dependent variable. Curve fitting is performed on the mapped temperature and temperature difference of preset feature pixels to obtain the correspondence between the mapped temperature and the temperature difference. Those skilled in the art will understand that the curve fitting process is prior art and will not be described in detail here.

[0030] Based on S300, the functional relationship between temperature difference and mapped temperature can be obtained, which can correct the error in mapped temperature caused by certain reasons (such as deviation of the preset mapping relationship in the current scene, or color distortion of the surface image of fire hose, etc.), and improve the accuracy of subsequent actual temperature calculation.

[0031] S400 obtains the actual temperature corresponding to each pixel in the surface image of the fire hose based on the correspondence between the mapped temperature and the temperature difference.

[0032] In one specific implementation, the mapped temperature of any pixel in the surface image of the fire hose is substituted into the correspondence between the mapped temperature and the temperature difference to obtain the temperature difference of the pixel, and the sum of the temperature difference of the pixel and the mapped temperature is determined as the actual temperature of the pixel.

[0033] Based on S400, the mapping temperature of each pixel in the surface image can be corrected based on the functional relationship between the temperature difference obtained from S300 and the mapping temperature. This compensates for temperature deviations caused by certain reasons, making the corrected temperature closer to the true temperature and providing more reliable temperature data for subsequent damage degree analysis.

[0034] S500 determines the degree of damage to the fire hose based on the actual temperature corresponding to each pixel in the surface image of the fire hose.

[0035] As an optional specific implementation, S500 includes: S510, determine whether the actual temperature corresponding to each pixel in the surface image of the fire hose is greater than or equal to a preset temperature threshold. If it is greater, determine that the corresponding pixel is a suspected damaged pixel; otherwise, determine that the corresponding pixel is an undamaged pixel.

[0036] Optionally, the preset temperature threshold can be an empirical value, for example, the preset temperature threshold is 60℃.

[0037] S520: If the number of connected components of suspected damaged pixels is less than or equal to a preset threshold for the number of connected components, or if the area ratio of the largest suspected damaged pixel connected component is greater than or equal to a preset area ratio threshold, then proceed to S530; otherwise, proceed to S540.

[0038] As a specific implementation, the preset threshold for the number of connected components and the preset threshold for the area ratio are both empirical values. The area ratio of the connected component of the largest suspected damaged pixel is the ratio of the area of ​​the connected component of the largest suspected damaged pixel to the area of ​​the connected components of all suspected damaged pixels. Those skilled in the art will know that the process of obtaining connected components is prior art and will not be described in detail here.

[0039] As a specific implementation, when the number of connected regions of suspected damaged pixels is less than or equal to a preset connected region threshold, or the area ratio of the largest suspected damaged pixel connected region is greater than or equal to a preset area ratio threshold, it is determined that the damage is concentrated in a local area, possibly caused by the continuous action of a high-temperature source (such as flame burning) or local defects in the water hose, which is prone to causing breakage risk, and S530 is executed. Conversely, if the damage points are determined to be scattered, it is possibly caused by environmental temperature fluctuations, aging, or the accumulation of multiple minor damages, and S540 is executed.

[0040] S530, min(∑ n i=1w i / n,100%) was determined as the degree of damage to the fire hose, w i The weight of the i-th suspected damaged pixel is the ratio of the actual temperature of the suspected damaged pixel to the preset temperature threshold. The value of i ranges from 1 to n, where n is the number of pixels in the surface image of the fire hose, and min() is the minimum value.

[0041] S540, the ratio of the number of suspected damaged pixels to the number of pixels in the surface image of the fire hose is determined as the degree of damage to the fire hose.

[0042] Based on S510-S540, this embodiment distinguishes damage types through connected component analysis of suspected damaged pixels. For local damage, it often manifests as small-area high-connectivity regions, triggering weighted evaluation and providing early warning of high-risk points. For large-area damage, it often manifests as large-area dispersed overheating, triggering quantity proportion evaluation and quantifying the overall failure probability. Thus, this embodiment realizes the switching of different evaluation processes under different damage types, avoiding the limitations of a single evaluation process, making it more realistic and safer.

[0043] This embodiment obtains the mapped temperature of preset feature pixels in the surface image of the fire hose by establishing a pre-defined mapping relationship between the color and temperature of the fire hose. Based on the actual temperature of the mapped feature pixels, it obtains the correspondence between the mapped temperature and the temperature difference. Based on this correspondence, the mapped temperature of any pixel in the surface image of the fire hose can be corrected to obtain the actual temperature of that pixel. The actual temperature is more accurate than the mapped temperature, and judging the degree of hose damage based on the actual temperature can improve the accuracy of the judgment result. This embodiment can complete damage assessment by acquiring the surface image of the fire hose, enabling real-time and convenient detection of the degree of damage to thermochromic fire hoses in fire application scenarios.

[0044] As a specific implementation method, such as Figure 2 As shown, the fire hose includes: an inner lining layer 4, which forms the hose pipe for conveying extinguishing media; a reinforcing layer 3, located outside the inner lining layer 4, for improving the strength and compressive strength of the thermochromic visible fire hose; a thermochromic coating 2, uniformly coated on the surface of the reinforcing layer 3, using at least one thermochromic material capable of reversible color change within a preset temperature range; and an outer protective layer 1, covering the outside of the thermochromic coating 2 for protecting it; the outer protective layer 1 is made of a transparent material.

[0045] In this embodiment, the inner lining 4 is made of a material with good water resistance, chemical corrosion resistance and flexibility, such as polyurethane or rubber, to transport the fire extinguishing medium and ensure the sealing of the inside of the hose.

[0046] In this embodiment, the reinforcing layer 3 is woven from high-strength fiber materials, such as polyester, nylon, or aramid fibers, to provide the hose with sufficient strength and pressure resistance, preventing the hose from breaking under high pressure.

[0047] In this embodiment, the thermochromic coating 2 is made of a thermochromic material with a suitable color-changing temperature range, good color-changing sensitivity, and stability. The formulation of the thermochromic material is adjusted according to different application scenarios and temperature monitoring requirements to achieve different color-changing temperature points and color change combinations. For example, a higher color-changing temperature threshold can be set for some high-temperature fire scenes, while a lower color-changing temperature threshold can be set for some locations that may have a risk of localized overheating.

[0048] Thermochromic coating 2 can also use microcapsule thermochromic powder. This thermochromic powder changes color with temperature (color-changing temperature range: 0-70℃). Monitoring is performed in the lower temperature range. When heated, the internal structure of the powder changes, resulting in a color change. When cooled, the powder returns to its original structure and color, a reversible process. For example, Runba WS6020 is a bright purple thermochromic powder. This pigment can change from colorless to purple. When the temperature rises to a specific activation temperature, it changes from colorless to purple, and when the temperature drops, the color returns to its original color. This pigment is a fine, spherical powder with a thermochromic pigment inside and an insoluble transparent coating on the outside. The thermochromic pigment is very sensitive to the external environment. The coating layer enhances the stability and chemical resistance of the pigment, protecting it from corrosion by other chemicals and improving the applicability of the product. Thermochromic powder comes in a wide variety of colors, and the temperature range for color change can be adjusted. Different series of thermochromic pigments can be mixed and matched, or the proportion of thermochromic powder mixed in the thermochromic coating 2 can be adjusted to create different colors at different temperatures.

[0049] Sodium chromate can be incorporated into the thermochromic coating 2. and iron oxide Sodium chromate can provide early warning of color change in high-temperature ranges. It turns orange-red at temperatures above 300°C, and is iron oxide. (It will turn a distinct red color when the temperature rises to approximately 500°C. The reinforcing layer may contain aramid fibers and / or polyester fibers. Polyester fibers have a decomposition point of 300°C and an ignition point of 390°C, while aramid fibers begin to decompose above 370°C and have an ignition point of 650°C. This is achieved by incorporating sodium chromate into the thermochromic coating 2.) and iron oxide The design allows for different levels of warning. The initial warning is as follows: when the hose surface turns orange-red, indicating a temperature above 300°C, the polyester fibers may begin to decompose and fail, leading to hose breakage. Immediate action should be taken to prevent further damage. When the hose surface turns a distinct red, indicating a temperature above 500°C, the polyester fibers are burning and the aramid fibers are nearing combustion, suggesting potential serious damage. Immediate action should be taken to prevent severe consequences. The thermochromic coating 2 has a thickness of 10-50μm and can be applied evenly to the reinforcing layer using advanced coating processes such as spraying, dipping, or roller coating. During the coating process, the thickness and uniformity of the coating are strictly controlled to ensure accurate temperature changes across the hose. The coated hose is then cured to ensure a strong bond between the thermochromic coating and the reinforcing layer, improving adhesion and durability. The curing process can employ thermal curing, light curing, or a combination of both, with the appropriate curing conditions selected based on the characteristics of the coating material.

[0050] In this embodiment, the thermochromic coating 2 uses a thermochromic material that can undergo reversible color changes within a preset temperature range. For example, at room temperature, the thermochromic coating 2 displays one color (e.g., green); when the temperature rises to a certain threshold (e.g., 40°C), the thermochromic coating 2 changes to another color (e.g., yellow); when the temperature further rises to a higher threshold (e.g., 60°C), the thermochromic coating 2 changes color again (e.g., turns red). Through this color change, firefighters can also intuitively judge the temperature range of different parts of the fire hose, promptly identify high-temperature danger zones, and avoid problems such as rupture and leakage caused by overheating of the hose.

[0051] In this embodiment, the outer protective layer 1 is made of wear-resistant, high-temperature resistant, and anti-aging materials, such as polyvinyl chloride, fluororubber, or ceramic coating, to protect the thermochromic coating from wear, chemical corrosion, and high temperature effects from the external environment, thereby extending the service life of the water hose.

[0052] This embodiment applies the properties of thermochromic materials (temperature-sensitive color changes) to fire hoses, and sets the outer protective layer 1 to be transparent, which facilitates real-time and intuitive temperature monitoring: through the color change of the thermochromic coating 2, firefighters can understand the temperature of various parts of the fire hose in real time and intuitively without the aid of any additional equipment, promptly identify high-temperature danger areas, avoid problems such as cracking and leakage caused by overheating of the fire hose, and improve the safety of firefighting operations; it is beneficial to assist firefighting decision-making: based on the temperature display of different parts of the fire hose, firefighters can more accurately judge the direction of fire spread and the location of heat sources at the fire scene, thereby formulating more reasonable firefighting strategies and improving firefighting efficiency; it is beneficial to improve the durability of fire hoses: because the high temperature problem of fire hoses can be detected and dealt with in a timely manner, damage to fire hoses caused by overheating is reduced, the service life of fire hoses is extended, and firefighting costs are reduced.

[0053] Moreover, in this embodiment, the thermochromic coating 2 is applied to the surface of the reinforcing layer, between the inner lining layer 4 and the outer protective layer 1. This position is relatively stable, which allows the color change to be observed through the transparent outer protective layer 1, while avoiding direct contact between the coating and the extinguishing medium or direct exposure to the external environment. This effectively protects the thermochromic coating 2, improves the stability and reliability of the thermochromic coating 2, and increases the service life of the fire hose.

[0054] The thermochromic visual fire hose provided in this embodiment allows firefighters to monitor the temperature of various parts of the fire hose in real time and intuitively without any additional equipment, based on the color changes of the thermochromic coating. This enables them to promptly identify high-temperature hazard areas and prevent problems such as rupture and leakage caused by overheating, thus improving the safety of firefighting operations. Based on the temperature display of different parts of the hose, firefighters can more accurately determine the direction of fire spread and the location of heat sources at the fire scene, thereby developing more scientific and reasonable firefighting strategies and improving firefighting efficiency. Because it can promptly detect and address high-temperature issues in the hose, it reduces damage caused by overheating, extends the hose's service life, and lowers firefighting costs. This thermochromic visual fire hose requires no complicated installation or maintenance process; firefighters can operate it as easily as using a regular fire hose.

[0055] In one specific implementation, a temperature-sensing optical fiber is embedded in the reinforcement layer to achieve interval temperature measurement. Optionally, the temperature-sensing optical fiber is used to achieve equal-interval temperature measurement, with an interval of L. Thus, this embodiment uses distributed optical fiber sensing technology to add optical fiber temperature measurement function while maintaining the original thermochromic function of fire hoses, providing more accurate and quantifiable temperature data.

[0056] Example 2: This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: Obtain a surface image of the fire hose.

[0057] The mapped temperature of preset feature pixels in the surface image of the fire hose is obtained based on the preset mapping relationship between the color and temperature of the fire hose.

[0058] The correspondence between the mapped temperature and the temperature difference is obtained based on the mapped temperature and the actual temperature of the preset feature pixels; the temperature difference is the difference between the actual temperature and the mapped temperature.

[0059] The actual temperature corresponding to each pixel in the surface image of the fire hose is obtained by the correspondence between the mapped temperature and the temperature difference.

[0060] The degree of damage to the fire hose is determined by the actual temperature corresponding to each pixel in the surface image of the fire hose.

[0061] Example 3: This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: Obtain a surface image of the fire hose.

[0062] The mapped temperature of preset feature pixels in the surface image of the fire hose is obtained based on the preset mapping relationship between the color and temperature of the fire hose.

[0063] The correspondence between the mapped temperature and the temperature difference is obtained based on the mapped temperature and the actual temperature of the preset feature pixels; the temperature difference is the difference between the actual temperature and the mapped temperature.

[0064] The actual temperature corresponding to each pixel in the surface image of the fire hose is obtained by the correspondence between the mapped temperature and the temperature difference.

[0065] The degree of damage to the fire hose is determined by the actual temperature corresponding to each pixel in the surface image of the fire hose.

[0066] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0067] While specific embodiments of the invention have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of the invention. It should also be understood that various modifications can be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims

1. A method for identifying the degree of damage to fire hoses, characterized in that, The fire hose is a thermochromic fire hose, and the method includes the following steps: S100, acquire surface image of fire hose; S200: Obtain the mapped temperature of preset feature pixels in the surface image of the fire hose according to the preset mapping relationship between the color and temperature of the fire hose. S300, obtain the correspondence between the mapped temperature and the temperature difference based on the mapped temperature and the actual temperature of the preset feature pixel; the temperature difference is the difference between the actual temperature and the mapped temperature; S400: Obtain the actual temperature corresponding to each pixel in the surface image of the fire hose according to the correspondence between the mapped temperature and the temperature difference. S500 determines the degree of damage to the fire hose based on the actual temperature corresponding to each pixel in the surface image of the fire hose. The S500 includes: S510, determine whether the actual temperature of each pixel in the surface image of the fire hose is greater than or equal to a preset temperature threshold. If it is greater, determine that the corresponding pixel is a suspected damaged pixel; otherwise, determine that the corresponding pixel is an undamaged pixel. S520: If the number of connected components of suspected damaged pixels is less than or equal to a preset threshold for the number of connected components, or the area ratio of the largest suspected damaged pixel connected component is greater than or equal to a preset area ratio threshold, then proceed to S530; otherwise, proceed to S540. S530, min(∑ n i=1 w i w i is the weight of the ith suspected damage pixel point, the weight of the ith suspected damage pixel point is the ratio of the actual temperature of the suspected damage pixel point to the preset temperature threshold, the value range of i is 1 to n, n is the number of pixel points of the surface image of the fire hose, min() is the minimum value. S540, the ratio of the number of suspected damaged pixels to the number of pixels in the surface image of the fire hose is determined as the degree of damage to the fire hose.

2. The method for identifying the degree of damage to fire hoses according to claim 1, characterized in that, The distance between any two adjacent preset feature pixels along the extension direction of the fire hose is d, where d = L / k, L is the preset temperature sampling point interval of the fire hose, and k is the physical length corresponding to a unit pixel of the surface image of the fire hose.

3. The method for identifying the degree of damage to fire hoses according to claim 2, characterized in that, L is obtained based on the thermal diffusivity of the fire hose, the preset response time, the thermal conductivity of the fire hose, the preset risk level coefficient, the medium flow velocity, and the preset gradient sensitivity coefficient. L is positively correlated with the thermal diffusivity, preset response time, and thermal conductivity of the fire hose material, and negatively correlated with the preset risk level coefficient, the medium flow velocity, and the preset gradient sensitivity coefficient.

4. The method for identifying the degree of damage to fire hoses according to claim 1, characterized in that, S300 includes: taking the mapped temperature as the independent variable and the temperature difference as the dependent variable, performing curve fitting on the mapped temperature and temperature difference of preset feature pixels to obtain the correspondence between the mapped temperature and the temperature difference.

5. The method for identifying the degree of damage to fire hoses according to claim 1, characterized in that, S400 includes: substituting the mapped temperature corresponding to any pixel in the surface image of the fire hose into the correspondence between the mapped temperature and the temperature difference value, obtaining the temperature difference value of the pixel, and determining the sum of the temperature difference value of the pixel and the mapped temperature as the actual temperature of the pixel.

6. The method for identifying the degree of damage to fire hoses according to claim 1, characterized in that, The fire hose includes: an inner lining layer (4), which forms the pipe of the fire hose and is used to transport the fire extinguishing medium; a reinforcing layer (3), which is located outside the inner lining layer (4) and is used to improve the strength and compressive strength of the thermochromic visual fire hose; a thermochromic coating (2), which is uniformly coated on the surface of the reinforcing layer (3) and uses at least one thermochromic material, which can undergo reversible color change within a preset temperature range; and an outer protective layer (1), which covers the outside of the thermochromic coating (2) and is used to protect the thermochromic coating (2); the outer protective layer (1) is made of a transparent material.

7. The method for identifying the degree of damage to fire hoses according to claim 6, characterized in that, Temperature sensing fiber is embedded in the enhancement layer (3), and the temperature sensing fiber is used to realize interval temperature measurement.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for identifying the degree of damage to fire hoses as described in any one of claims 1 to 7.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for identifying the degree of damage to fire hoses as described in any one of claims 1 to 7.