Quantitative Characterization Method and Apparatus Based on Spatiotemporal Topological Analysis of Ultraviolet Fluorescence Response

By constructing a spatiotemporal topology map of ultraviolet fluorescence response and performing path search, the problem of multi-starting point and multi-branch propagation of ultraviolet fluorescence response signals in water bodies was solved, enabling precise monitoring and diagnosis of the water disinfection process.

CN121830615BActive Publication Date: 2026-07-17SICHUAN INST OF PROD QUALITY SUPERVISION INSPECTION & TESTING (SICHUAN QUALITY & TECH REVIEW & EVALUATION CENT) +2

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SICHUAN INST OF PROD QUALITY SUPERVISION INSPECTION & TESTING (SICHUAN QUALITY & TECH REVIEW & EVALUATION CENT)
Filing Date
2026-03-11
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify the spatial relationship of ultraviolet fluorescence response signals in water bodies, and it is difficult to quantify the multi-starting point and multi-branch propagation behavior, which makes it difficult to accurately monitor and diagnose the water disinfection process.

Method used

By constructing a spatiotemporal topology graph of ultraviolet fluorescence response and combining it with path search, we can achieve structured modeling and quantitative characterization of the propagation behavior of ultraviolet fluorescence response. We use timestamps to align and merge the datasets to generate a time series dataset of ultraviolet images. Based on spatial adjacency relationships, we construct a spatiotemporal topology graph to perform path search and time gradient calculation.

Benefits of technology

It enables quantitative characterization of ultraviolet fluorescence response propagation behavior, solves the problems of multi-starting point, multi-branch propagation and link cross-interference, and provides a basis for precise monitoring and diagnosis of water disinfection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121830615B_ABST
    Figure CN121830615B_ABST
Patent Text Reader

Abstract

This invention discloses a quantitative characterization method and apparatus based on spatiotemporal topology analysis of ultraviolet fluorescence response, relating to the field of water body detection technology. The method includes: acquiring ultraviolet image sequence data of a target area, and generating an ultraviolet image time series dataset after temporal ordering and spatial alignment; traversing the fluorescence intensity sequence of each spatial pixel unit, determining the first fluorescence response time based on preset response judgment conditions, and generating a label set; constructing an ultraviolet fluorescence spatiotemporal topology graph based on spatial adjacency relationships, with spatial pixel units as topology nodes and the first fluorescence response time difference as edge weights; determining the response propagation path set by performing path search on the spatiotemporal topology data, calculating temporal gradient information, and generating a quantified result vector. This solves the problem of quantifying the spatiotemporal behavior caused by multi-starting point and multi-branch propagation of ultraviolet fluorescence response during ultraviolet sterilization of water bodies, and realizes structured modeling and quantitative characterization of fluorescence response propagation behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of water body detection technology, specifically to a quantitative characterization method and apparatus based on spatiotemporal topological analysis of ultraviolet fluorescence response. Background Technology

[0002] Ultraviolet fluorescence response technology is widely used in water disinfection and ultraviolet sterilization processes. Ultraviolet irradiation induces specific fluorescence responses in dissolved organic matter, microbial structural units, and suspended particulate matter in water. The temporal changes in these signals can be used to monitor ultraviolet irradiation intensity, sterilization dose stability, and microbial inactivation processes, providing a data foundation for photoelectric detection in water treatment.

[0003] In actual detection scenarios, the ultraviolet fluorescence response signal exhibits spatial non-uniformity, temporal complexity, and complex propagation patterns. Uneven signal distribution makes it difficult to correlate response times at different spatial locations. The signal changes over time in a complex manner, easily affected by fluctuations in water flow velocity, local obstruction by suspended particles, and changes in ultraviolet irradiation stability, leading to time drift, abrupt changes in intensity, and non-monotonic variations. The response propagates spatially with multiple starting points and branches, resulting in multiple propagation links intersecting under complex flow conditions.

[0004] Existing technologies based on time extraction of single-point fluorescence responses cannot accurately identify the sequential relationship between responses at spatial locations and lack the ability to structurally model the spatiotemporal behavior of ultraviolet fluorescence responses. This makes it difficult to quantify and express multi-starting point and multi-branch propagation behavior, which restricts the accurate monitoring and diagnosis of water disinfection processes. Summary of the Invention

[0005] In view of the above problems, the present invention provides a quantitative characterization method and device based on spatiotemporal topology analysis of ultraviolet fluorescence response. By combining the temporal and spatial relationship of ultraviolet fluorescence response, a spatiotemporal topology map is constructed, and quantitative characterization is achieved based on path search, thereby realizing structured modeling and quantitative characterization of the propagation behavior of ultraviolet fluorescence response during ultraviolet sterilization in water.

[0006] In a first aspect, embodiments of the present invention provide a quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response, the quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response comprising: The ultraviolet image sequence data of the target area is obtained, and the time sequence and spatial alignment are performed according to the temporal and spatial information of each ultraviolet image to generate an ultraviolet image time series dataset. Based on the ultraviolet image time series dataset, the fluorescence intensity sequence corresponding to each spatial pixel unit is traversed, the first fluorescence response time is determined according to the preset response judgment condition, and the first response time label set is generated. Based on the first response time tag set, an ultraviolet fluorescence spatiotemporal topology map is constructed according to the spatial adjacency relationship between spatial pixel units within the target area to obtain response spatiotemporal topology data; Based on the aforementioned ultraviolet fluorescence spatiotemporal topology map, path search is performed on the response spatiotemporal topology data to determine the set of response propagation paths. The temporal gradient information on each path is calculated, and a vector of quantified results of ultraviolet fluorescence response propagation paths is generated as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.

[0007] In some embodiments, aligning and merging the target dataset using timestamps includes: The generated ultraviolet image time series dataset includes: The ultraviolet image sequence data is sorted chronologically based on the acquisition timestamp to form an ordered image sequence. The sorted ultraviolet images are spatially aligned, and image registration technology is used to map images from different times to the same target region reference coordinate system. A set of dual-indexed image sequences is constructed using the spatial coordinates of the spatial pixel unit in the target region as the index key and the ultraviolet image pixel value sequence under the corresponding time information as the index value.

[0008] In some embodiments, the preset response determination conditions include a background baseline removal rule, an intensity change amplitude rule, and a continuous duration rule; the method further includes: Before determining the first fluorescence response time, background baseline calibration is performed on the fluorescence intensity sequence to remove the influence of the initial time period using baseline reference values.

[0009] In some embodiments, constructing a spatiotemporal topology map of ultraviolet fluorescence based on the spatial adjacency relationship between spatial pixel units within the target region includes: Spatial pixel units are used as topological nodes, and the node attribute is the first fluorescence response time of the corresponding spatial pixel unit; The time difference of the first fluorescence response between any two adjacent spatial pixel units is used as the edge weight of the topological edge; A topological connection structure is established based on a preset adjacency relationship determination template, wherein the template defines the neighborhood range between spatial pixel units.

[0010] In some embodiments, the edge weights of the topological edges undergo edge weight symbol recording processing; the method further includes: During the path search process, edge weight symbols are checked, node time consistency is checked, and time discrepancies are eliminated based on edge weight symbols.

[0011] In some embodiments, the path search of the response spatiotemporal topology data includes: The topological node with the earliest first fluorescence response time in the ultraviolet fluorescence spatiotemporal topology map is used as the starting point for path search. The recursive expansion of the path node sequence determines the monotonicity of the execution time progression direction of adjacent topological nodes based on the edge weight information of the topological edges. If the first fluorescence response time of an adjacent node is greater than that of the current node and the edge weights are the same, then the node is added to the path sequence; otherwise, the expansion is terminated.

[0012] In some embodiments, the temporal gradient information is a temporal gradient vector formed based on the time difference of the first fluorescence response of adjacent nodes in the path node sequence; the ultraviolet fluorescence response propagation path quantization result vector includes path length, path temporal gradient vector, path temporal gradient direction identifier, and path temporal gradient consistency index.

[0013] In some embodiments, when recursively expanding the path node sequence, the method further includes: performing multi-branch path detection on topological nodes outside the path search starting point, and when multiple candidate paths are detected, selecting the optimal path based on the path time gradient consistency index.

[0014] In some embodiments, the ultraviolet fluorescence response propagation path quantization result vector is used by external processing modules to verify the water disinfection effect, assess equipment status, or monitor water quality processes.

[0015] Secondly, embodiments of the present invention provide a quantitative characterization device based on spatiotemporal topological analysis of ultraviolet fluorescence response, comprising: The acquisition module is used to acquire ultraviolet image sequence data of the target area, and to perform temporal ordering and spatial alignment processing based on the temporal and spatial location information of each ultraviolet image to generate an ultraviolet image time series dataset. The fluorescence response analysis module is used to traverse the fluorescence intensity sequence corresponding to each spatial pixel unit based on the ultraviolet image time series dataset, determine the first fluorescence response time according to the preset response judgment conditions, and generate the first response time label set. The spatiotemporal topology construction module is used to construct an ultraviolet fluorescence spatiotemporal topology map based on the first response time tag set and the spatial adjacency relationship between spatial pixel units within the target area, thereby obtaining response spatiotemporal topology data; The characterization output module is used to perform path search on the response spatiotemporal topology data based on the ultraviolet fluorescence spatiotemporal topology map, determine the set of response propagation paths, calculate the temporal gradient information on each path, and generate a quantification result vector of ultraviolet fluorescence response propagation path as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.

[0016] This invention provides a quantitative characterization method and apparatus based on spatiotemporal topology analysis of ultraviolet fluorescence response. By constructing a spatiotemporal topology map of ultraviolet fluorescence response time according to spatial pixel units, the fluorescence response generated during ultraviolet sterilization in water can be transformed from a discrete time series into a data expression with spatial structure relationships. This solves the problem that fluorescence response time cannot form a stable spatial correlation due to water flow, local shading, and light disturbance. By performing path search and time gradient calculation on the ultraviolet fluorescence spatiotemporal topology map, a unified description of the propagation process of ultraviolet fluorescence response in the spatiotemporal dimension can be achieved, solving the problem that the response behavior caused by multi-starting point propagation, multi-branch propagation, and link intersection is difficult to quantify.

[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0018] The invention will now be described in more detail with reference to embodiments and the accompanying drawings.

[0019] Figure 1 A schematic flowchart of a quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response proposed in an embodiment of the present invention is shown. Figure 2 A structural block diagram of a quantitative characterization device based on spatiotemporal topological analysis of ultraviolet fluorescence response, proposed in one embodiment of the present invention, is shown. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0021] During water disinfection and ultraviolet sterilization, ultraviolet irradiation induces specific ultraviolet fluorescence responses in dissolved organic matter, microbial structural units, and suspended particulate matter in the water. The temporal changes in ultraviolet fluorescence signals can reflect the intensity of ultraviolet irradiation, the stability of sterilization dosage, and the inactivation process of microorganisms in the water. Therefore, monitoring and analyzing the water sterilization process using ultraviolet imaging or ultraviolet fluorescence detection methods has become an important research direction in the field of photoelectric detection technology for water treatment. This type of detection process usually relies on ultraviolet imaging equipment to record changes in fluorescence response under different irradiation intensities and water flow rates, thereby providing a data foundation for verifying the effectiveness of water disinfection, monitoring water quality processes, and diagnosing operational status.

[0022] The inventors discovered that in actual underwater ultraviolet sterilization detection scenarios, ultraviolet fluorescence response signals exhibit characteristics such as uneven spatial distribution, complex temporal variation patterns, and significant influence from light disturbances. This makes it difficult to directly model the variation process of ultraviolet fluorescence response time at different spatial locations. Fluctuations in water flow velocity can cause time drift in fluorescence responses at the same spatial location. Local shading by suspended particles in the water can cause abrupt changes in fluorescence intensity. Changes in ultraviolet irradiation stability can lead to non-monotonic changes in the response signal over time. These factors make it difficult for traditional time extraction methods based on single-point fluorescence responses to accurately identify the sequence of responses between different spatial locations. Furthermore, since ultraviolet fluorescence responses in water exhibit multi-starting point and multi-branch propagation patterns in space, multiple propagation links may cross and interfere under complex flow conditions.

[0023] To address the aforementioned issues, the applicant proposes a quantitative characterization method and apparatus based on spatiotemporal topology analysis of ultraviolet fluorescence response. This method aims to resolve the problem found in the aforementioned studies that ultraviolet fluorescence response in water exhibits a multi-starting point and multi-branch propagation pattern in space, leading to multiple propagation links interfering with each other under complex flow conditions. This invention constructs a spatiotemporal topology map by combining the temporal and spatial relationships of ultraviolet fluorescence response and achieves quantitative characterization based on path search, thereby realizing structured modeling and quantitative characterization of the propagation behavior of ultraviolet fluorescence response during ultraviolet sterilization in water.

[0024] The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response will be described in detail in the following examples.

[0025] The following describes the application scenarios of the quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response provided in the embodiments of the present invention: Please see Figure 1 , Figure 1 This is a schematic flowchart of a quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response provided in an embodiment of the present invention. In this embodiment, the quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response can be applied to, for example... Figure 2 This is illustrated in a quantitative characterization device 300 based on spatiotemporal topological analysis of ultraviolet fluorescence response. The following section focuses on... Figure 1 The process shown is described in detail. This quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response may include S110 to S140.

[0026] S110: Obtain ultraviolet image sequence data of the target area, and perform temporal ordering and spatial alignment processing based on the temporal and spatial information of each ultraviolet image to generate an ultraviolet image time series dataset.

[0027] In this embodiment, the time information is the acquisition timestamp recorded when the ultraviolet imaging device acquires each frame of image, and the spatial location information is the imaging geometric parameters corresponding to each frame of image and the spatial correspondence in the image coordinate system.

[0028] The temporal sorting is based on the acquisition timestamp of all ultraviolet images to form an ordered image sequence. The spatial alignment process uses image registration technology, geometric correction based on feature point matching, or coordinate transformation technology based on external pose parameters to map images at different times to the same target area reference coordinate system, ensuring that the same spatial location corresponds to the same coordinates in all images.

[0029] After generating the ultraviolet image time series dataset, its structure is a set of dual-indexed image sequences composed of a combination of spatial pixel unit index and temporal information index, which supports subsequent analysis.

[0030] In this embodiment, in actual detection, ultraviolet image data often leads to analysis errors due to misaligned acquisition time or inconsistent spatial references. This step solves the problem of insufficient data preprocessing by time sorting and spatial alignment, providing a consistent reference for fluorescence response analysis.

[0031] In some implementations, generating a time-series dataset of ultraviolet images in S110 includes S111 to S113.

[0032] S111: Organize the ultraviolet image sequence data in chronological order, sort all ultraviolet images based on the acquisition timestamp, and form an ordered image sequence.

[0033] In this embodiment, the temporal order is achieved by iteratively traversing the ultraviolet image sequence, extracting the acquisition timestamp of each frame, and arranging them in ascending or descending order of time to form a continuous sequence in the time dimension. This ensures the continuity of the fluorescence intensity sequence on the time axis and avoids misjudgment of the response caused by time jumps.

[0034] To address the potential disruption in image acquisition time caused by fluctuations in water flow velocity, this sub-step eliminates time bias through forced sorting, ensuring the accuracy of subsequent response time extraction.

[0035] S112: Spatial alignment processing is performed on the sorted ultraviolet images, and image registration technology is used to uniformly map images at different times to the same target region reference coordinate system.

[0036] In this embodiment, the spatial alignment process is based on a feature point matching algorithm to identify common spatial features in different images, calculate the transformation matrix between images, and map all images to a reference coordinate system; so that the position of each spatial pixel unit is fixed in the time series, reducing coordinate drift caused by changes in imaging angle.

[0037] To address the potential spatial shift in ultraviolet images caused by device movement or vibration, this sub-step employs registration technology to eliminate spatial inconsistencies, providing a stable foundation for spatial topology construction.

[0038] S113: Construct a set of dual-indexed image sequences using the spatial coordinates of the spatial pixel unit in the target region as the index key and the ultraviolet image pixel value sequence under the corresponding time information as the index value.

[0039] In this embodiment, the spatial pixel unit is a fixed coordinate unit in the aligned image, and each unit has the same index in all images. The structure of the dual-index set is a hash table or a multidimensional array, which uses coordinates as keys to quickly retrieve pixel value sequences, improving the efficiency of time series queries.

[0040] To address the issue that traditional image data management methods cannot efficiently support spatiotemporal correlation queries, this sub-step optimizes data storage through a dual-index structure, facilitating subsequent traversal and processing.

[0041] S120: Based on the ultraviolet image time series dataset, the fluorescence intensity sequence corresponding to each spatial pixel unit is traversed, the first fluorescence response time is determined according to the preset response judgment conditions, and the first response time label set is generated.

[0042] In this embodiment, the traversal processing uses spatial pixel units as indices to sequentially read their fluorescence intensity sequences, i.e., sequences of pixel values ​​changing over time, and scans each time point using a sliding window or iterative pointer. Preset response determination conditions include background baseline removal rules, intensity change magnitude rules, and continuous duration rules: the background baseline removal rule uses the statistical value of the intensity sequence in the initial time period, such as the mean, as the baseline, and subsequent data are exempt from the baseline influence; the intensity change magnitude rule compares the net change with a preset threshold; the continuous duration rule requires the change state to continuously exceed the duration threshold. The first fluorescence response time is the time point at which all rules are first satisfied, and the tag set uses spatial pixel units as keys and time as values.

[0043] To address the issue that fluorescence signals are susceptible to noise and baseline drift in practical applications, a multi-rule joint decision-making approach is used to resolve the problem of unrobustible response time extraction and improve reliability.

[0044] In some implementations, the preset response determination conditions include background baseline removal rules, intensity change amplitude rules, and continuous duration rules. Before determining the first fluorescence response time, background baseline calibration is performed on the fluorescence intensity sequence to remove the influence of the initial time period using the baseline reference value.

[0045] In this embodiment, the background baseline calibration calculates the baseline value based on the fluorescence intensity sequence of the spatial pixel unit in the initial time period, and subtracts the baseline from the entire sequence to obtain the net change, so as to ensure that the response judgment is based on the real change rather than the baseline fluctuation. In view of the possible ambient light interference in the early stage of ultraviolet irradiation, the baseline calibration solves the signal distortion problem and improves the judgment accuracy.

[0046] S130: Based on the first response time tag set, construct the ultraviolet fluorescence spatiotemporal topology map according to the spatial adjacency relationship between spatial pixel units in the target area to obtain response spatiotemporal topology data.

[0047] In this embodiment, spatial adjacency is determined based on a preset adjacency determination template, such as a four-neighbor or eight-neighbor template, which defines the connectivity between pixel units. The spatiotemporal topology graph uses spatial pixel units as topological nodes, with the node attribute being the first fluorescence response time; the time difference between adjacent units is used as the edge weight of the topological edge, and the edge weight includes sign information, where positive and negative can represent the direction of time progression. The construction process uses a graph generation algorithm, such as neighborhood scanning, to traverse all nodes and edges, forming a node set and an edge set.

[0048] Since the propagation of ultraviolet fluorescence response in space presents difficulties due to the association of multiple starting points, a topological graph is used to transform discrete-time data into a spatial structure, thus solving the problem of propagation relationship modeling.

[0049] In some implementations, S130 constructs an ultraviolet fluorescence spatiotemporal topology map based on the spatial adjacency relationship between spatial pixel units within the target region, including S131 to S133, wherein: S131: Spatial pixel units are used as topological nodes, and the node attribute is the first fluorescence response time of the corresponding spatial pixel unit.

[0050] In this embodiment, each spatial pixel unit has a unique spatial coordinate identifier after spatial alignment, serving as the basic node unit of the topology graph. The node attribute stores the first fluorescence response time value determined in step S120 for that spatial pixel unit; this time value is stored as a timestamp or relative time format. Topology nodes are generated by traversing all spatial pixel units, creating a node data structure for each unit. The node ID is generated based on spatial coordinates, and the attribute field records the first fluorescence response time. This ensures that the temporal information of each spatial location can be integrated into the topology structure. Addressing the non-uniform distribution of ultraviolet fluorescence response in space, using spatial pixel units as topology nodes effectively maintains spatial resolution, providing a refined spatial foundation for subsequent propagation path analysis.

[0051] S132: Use the time difference of the first fluorescence response between any two adjacent spatial pixel units as the edge weight of the topological edge.

[0052] In this embodiment, the establishment of topological edges is based on spatial adjacency. For any two spatially adjacent pixel units, the difference in their first fluorescence response time is calculated as the weight value of the connecting edge. The edge weight calculation includes absolute value and sign. The absolute value can be used to represent the magnitude of the time difference, and the sign can be used to represent the direction of time progression. A positive sign indicates time increment, and a negative sign indicates time decrement. The edge weight attribute record adopts a structured storage method, containing time difference value, sign identifier, and associated node pair information. Edge weight sign recording processing is performed on the edge weights of the topological edges. This step transforms time information into topological relationships through edge weight calculation, providing a quantitative basis for spatiotemporal propagation analysis and directional information for subsequent path search.

[0053] S133: Establish a topological connection structure based on a preset adjacency relationship determination template. The template defines the neighborhood range between spatial pixel units.

[0054] In this embodiment, the preset adjacency determination template adopts a neighborhood definition method commonly used in image processing, including a four-neighborhood template or an eight-neighborhood template. The template determines the connection relationship between spatial pixel units by defining the neighborhood radius and direction set. The establishment of the topological connection structure is achieved by traversing all spatial pixel units and applying the neighborhood template to each unit to identify its neighboring units, thereby generating the edge set of the entire graph. Considering that different application scenarios may require different spatial granularities, this step provides flexibility through a configurable adjacency template, ensuring the rationality of the topological connection while adapting to different spatial analysis needs. The topological graph can accurately reflect the potential path of fluorescence response propagation within the target area.

[0055] In some implementations, the edge weights of the topological edges are processed by recording edge weight symbols; the method also includes: during the path search process, edge weight symbol verification, node time consistency verification, and time difference anomaly removal are performed based on the edge weight symbols. In this embodiment, the edge weight symbol recording process synchronously stores the symbols when calculating the time difference. The edge weight symbol verification checks the consistency between the symbol and the progression direction, and corrects it if there is a discrepancy; the node time consistency verification verifies the monotonicity of the path node time series; the time difference filtering process removes outliers based on a preset time difference interval. To address the issue of unreliable topology data caused by noise or alignment errors, this embodiment uses multiple kernels to solve the problem of unreliable topology data.

[0056] S140: Based on the spatiotemporal topology map of ultraviolet fluorescence, path search is performed on the spatiotemporal topology data of the response to determine the set of response propagation paths, the temporal gradient information on each path is calculated, and a vector of quantified results of ultraviolet fluorescence response propagation paths is generated as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.

[0057] In this embodiment, path search starts with the node with the earliest response time in the topology graph, recursively expands to adjacent nodes, and performs monotonicity judgment based on edge weight signs and time differences: only when the time of an adjacent node is greater than that of the current node and the edge weight signs are consistent, is it added to the path. The time gradient information is the time gradient vector formed by the time differences of adjacent nodes in the path, and the quantized result vector includes path length, time gradient vector, direction identifier, and consistency index. The output vector is used by external modules for further analysis.

[0058] To address the quantization difficulties caused by the intersection of multiple propagation paths, this step uses path search and temporal gradient calculation to uniformly describe the propagation behavior and achieve structured output.

[0059] In some implementations, path searching is performed on the response spatiotemporal topology data in S140, including S141 to S143, wherein: S141: The topological node with the earliest first fluorescence response time in the ultraviolet fluorescence spatiotemporal topology map is used as the starting point for path search.

[0060] In this embodiment, the starting point for path search is determined by traversing the initial fluorescence response time attributes of all topological nodes in the spatiotemporal topology graph and identifying the node with the smallest time value as the search starting point. Specifically, a min-heap sort algorithm or a linear scan method can be used to quickly locate the earliest response node, ensuring the search begins from the initial response position in the time dimension. The selection of the starting node provides a spatiotemporal reference for subsequent path expansion, ensuring the continuity of the propagation path in the time dimension. When there may be multiple starting points for the ultraviolet fluorescence response, using the earliest response node as a single starting point ensures the identification of the most important propagation path, providing a clear time frame for subsequent analysis.

[0061] S142: Recursively expand the path node sequence, and judge the monotonicity of the execution time progression direction of adjacent topological nodes based on the edge weight information of the topological edges.

[0062] In this embodiment, the recursive expansion is implemented using a depth-first search algorithm, starting from the starting node and sequentially visiting its neighboring nodes. The specific process of monotonicity judgment includes: obtaining the edge weight information of the topological edges between the current node and its neighboring nodes, verifying whether the first fluorescence response time of the neighboring node is greater than that of the current node, and whether the edge weight sign indicates the direction of time increase. During the recursive process, a path stack is maintained to record the current path node sequence to ensure the logical consistency of the expansion. This step takes into account that water flow may cause complex and variable fluorescence response propagation directions. This step ensures the logical rationality of the identified path in the time dimension through strict monotonicity judgment, avoiding path confusion caused by time backtracking.

[0063] S143: When the first fluorescence response time of an adjacent node is greater than that of the current node and the edge weights are the same, add it to the path sequence; otherwise, terminate the expansion.

[0064] In this embodiment, the termination condition for path expansion is a dual judgment: time progression relationship and edge weight symbol consistency. The time progression relationship is, for example, the time of the adjacent node is greater than the time of the current node. The edge weight symbol consistency is, for example, the symbol represents the positive time difference. When either condition is not met, the expansion in the current direction is immediately terminated, and the search in other directions is backtracked to the previous node. This effectively prevents the generation of infinite recursion or invalid paths, and ensures the efficiency and quality of path search.

[0065] In some implementations, the temporal gradient information is a temporal gradient vector formed based on the time difference of the first fluorescence response of adjacent nodes in the path node sequence; the quantization result vector of the ultraviolet fluorescence response propagation path includes the path length, the path temporal gradient vector, the path temporal gradient direction identifier, and the path temporal gradient consistency index.

[0066] In this embodiment, the time gradient vector stores the time difference in node order, the direction is identified by the uniform qualitative symbol of the vector, and the consistency index calculates the coefficient of variation of the time difference to quantify the spatiotemporal characteristics of the propagation behavior for efficient comparison and analysis.

[0067] In some implementations, when recursively expanding the path node sequence, the method further includes: performing multi-branch path detection on topological nodes outside the path search starting point, and when multiple candidate paths are detected, selecting the optimal path based on the path time gradient consistency index.

[0068] In this embodiment, multi-branch path detection uses a graph traversal algorithm to identify all possible paths starting from the origin, and a consistency index to evaluate the time difference stability of each path, thus avoiding ambiguity in results that may be caused by multi-branch propagation.

[0069] In some implementations, the quantization result vector of the ultraviolet fluorescence response propagation path is used by external processing modules to verify the water disinfection effect, assess equipment status, or monitor water quality processes.

[0070] In this embodiment, the external processing module can be a monitoring unit of the water treatment system, which uses the quantified result vector to evaluate sterilization efficiency or diagnose equipment malfunctions.

[0071] In summary, this invention acquires ultraviolet image sequence data of the target area, and generates an ultraviolet image time series dataset through temporal ordering and spatial alignment. It then iterates through the fluorescence intensity sequence of each spatial pixel unit, determines the first fluorescence response time based on preset response judgment conditions, and generates a label set. Based on spatial adjacency relationships, it constructs an ultraviolet fluorescence spatiotemporal topology graph, using spatial pixel units as topology nodes and the first fluorescence response time difference as edge weights. By performing path search on the spatiotemporal topology data, it determines the set of response propagation paths, calculates temporal gradient information, and generates a quantified result vector. This solves the problem of quantifying the spatiotemporal behavior caused by the multi-starting point and multi-branch propagation of ultraviolet fluorescence response during ultraviolet sterilization of water bodies. It achieves structured modeling and quantitative characterization of fluorescence response propagation behavior, providing a reliable basis for verifying water disinfection effects and assessing equipment status.

[0072] Please see Figure 2 , Figure 2 A structural block diagram of a quantitative characterization device 300 based on spatiotemporal topology analysis of ultraviolet fluorescence response provided by the present invention includes: an acquisition module 310, a fluorescence response analysis module 320, a spatiotemporal topology construction module 330, and a characterization output module 340, wherein: The acquisition module 310 is used to acquire ultraviolet image sequence data of the target area, and to perform time-series sorting and spatial alignment processing based on the time information and spatial location information of each ultraviolet image to generate an ultraviolet image time series dataset.

[0073] The fluorescence response analysis module 320 is used to traverse the fluorescence intensity sequence corresponding to each spatial pixel unit based on the ultraviolet image time series dataset, determine the first fluorescence response time according to the preset response judgment conditions, and generate the first response time label set.

[0074] The spatiotemporal topology construction module 330 is used to construct an ultraviolet fluorescence spatiotemporal topology map based on the first response time tag set and the spatial adjacency relationship between spatial pixel units within the target area, thereby obtaining response spatiotemporal topology data.

[0075] The characterization output module 340 is used to perform path search on the response spatiotemporal topology data based on the ultraviolet fluorescence spatiotemporal topology map, determine the set of response propagation paths, calculate the temporal gradient information on each path, and generate a vector of quantified results of ultraviolet fluorescence response propagation paths, which serves as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.

[0076] It should be noted that the device embodiments in this invention correspond to the aforementioned method embodiments. The specific principles in the device embodiments can be found in the content of the aforementioned method embodiments, and will not be repeated here.

[0077] In the several embodiments provided in this example, the coupling between modules can be electrical, mechanical, or other forms of coupling.

[0078] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0079] This application also provides an electronic device capable of performing the above-described quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response. The electronic device may be a communication device, a mobile phone, a computer, or a portable computer.

[0080] The electronic device also includes a processor and a memory. The memory stores programs that can execute the contents of the foregoing embodiments, and the processor can execute the programs stored in the memory.

[0081] This application also provides a computer-readable storage medium. This computer-readable storage medium stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0082] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the quantitative characterization method based on ultraviolet fluorescence response spatiotemporal topology analysis described in the various optional implementations above.

[0083] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response, characterized in that, The method includes: The ultraviolet image sequence data of the target area is obtained, and the time sequence and spatial alignment are performed according to the temporal and spatial information of each ultraviolet image to generate an ultraviolet image time series dataset. Based on the aforementioned ultraviolet image time series dataset, the fluorescence intensity sequence corresponding to each spatial pixel unit is traversed. The first fluorescence response time is determined according to preset response judgment conditions, generating a first response time label set. The preset response judgment conditions include background baseline removal rules, intensity change amplitude rules, and continuous duration rules: the background baseline removal rule uses the statistical value of the intensity sequence in the initial time period as the baseline, and the influence of the baseline is removed from subsequent data; the intensity change amplitude rule compares the net change with a preset threshold; the continuous duration rule requires the change state to continuously exceed the duration threshold; the first fluorescence response time is the time point when all rules are first satisfied. Based on the first response time tag set, an ultraviolet fluorescence spatiotemporal topology map is constructed according to the spatial adjacency relationship between spatial pixel units within the target area to obtain response spatiotemporal topology data; Based on the aforementioned ultraviolet fluorescence spatiotemporal topology map, path search is performed on the response spatiotemporal topology data to determine the set of response propagation paths. The temporal gradient information on each path is calculated, and a vector of quantified results of ultraviolet fluorescence response propagation paths is generated as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.

2. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The generated ultraviolet image time series dataset includes: The ultraviolet image sequence data is sorted chronologically based on the acquisition timestamp to form an ordered image sequence. The sorted ultraviolet images are spatially aligned, and image registration technology is used to map images from different times to the same target region reference coordinate system. A set of dual-indexed image sequences is constructed using the spatial coordinates of the spatial pixel unit in the target region as the index key and the ultraviolet image pixel value sequence under the corresponding time information as the index value.

3. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The preset response determination conditions include background baseline removal rules, intensity change amplitude rules, and continuous duration rules; the method further includes: Before determining the first fluorescence response time, background baseline calibration is performed on the fluorescence intensity sequence to remove the influence of the initial time period using baseline reference values.

4. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The step of constructing a spatiotemporal topology map of ultraviolet fluorescence based on the spatial adjacency relationship between spatial pixel units within the target region includes: Spatial pixel units are used as topological nodes, and the node attribute is the first fluorescence response time of the corresponding spatial pixel unit; The time difference of the first fluorescence response between any two adjacent spatial pixel units is used as the edge weight of the topological edge; A topological connection structure is established based on a preset adjacency relationship determination template, wherein the template defines the neighborhood range between spatial pixel units.

5. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 4, characterized in that, The edge weights of the topological edges are processed by recording edge weight symbols; The method further includes: During the path search process, edge weight symbols are checked, node time consistency is checked, and time discrepancies are eliminated based on edge weight symbols.

6. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The path search of the response spatiotemporal topology data includes: The topological node with the earliest first fluorescence response time in the ultraviolet fluorescence spatiotemporal topology map is used as the starting point for path search. The recursive expansion of the path node sequence determines the monotonicity of the execution time progression direction of adjacent topological nodes based on the edge weight information of the topological edges. If the first fluorescence response time of an adjacent node is greater than that of the current node and the edge weights are the same, then the node is added to the path sequence; otherwise, the expansion is terminated.

7. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The time gradient information is a time gradient vector formed based on the time difference of the first fluorescence response of adjacent nodes in the path node sequence; the ultraviolet fluorescence response propagation path quantification result vector includes path length, path time gradient vector, path time gradient direction identifier and path time gradient consistency index.

8. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 6, characterized in that, When recursively expanding the path node sequence, the method further includes: performing multi-branch path detection on topological nodes outside the path search starting point; when multiple candidate paths are detected, selecting the optimal path based on the path time gradient consistency index.

9. The quantitative characterization method based on spatiotemporal topological analysis of ultraviolet fluorescence response according to claim 1, characterized in that, The quantization result vector of the ultraviolet fluorescence response propagation path is used by the external processing module to verify the water disinfection effect, assess the equipment status, or monitor the water quality process.

10. A quantitative characterization device based on spatiotemporal topological analysis of ultraviolet fluorescence response, characterized in that, The device includes: The acquisition module is used to acquire ultraviolet image sequence data of the target area, and to perform temporal ordering and spatial alignment processing based on the temporal and spatial location information of each ultraviolet image to generate an ultraviolet image time series dataset. The fluorescence response analysis module is used to process the fluorescence intensity sequence corresponding to each spatial pixel unit based on the ultraviolet image time series dataset, determine the first fluorescence response time according to preset response judgment conditions, and generate a first response time label set. The preset response judgment conditions include background baseline removal rules, intensity change amplitude rules, and continuous duration rules: the background baseline removal rule uses the statistical value of the intensity sequence in the initial time period as the baseline, and the influence of the baseline is removed from subsequent data; the intensity change amplitude rule compares the net change with a preset threshold; the continuous duration rule requires the change state to continuously exceed the duration threshold; the first fluorescence response time is the time point when all rules are first met. The spatiotemporal topology construction module is used to construct an ultraviolet fluorescence spatiotemporal topology map based on the first response time tag set and the spatial adjacency relationship between spatial pixel units within the target area, thereby obtaining response spatiotemporal topology data; The characterization output module is used to perform path search on the response spatiotemporal topology data based on the ultraviolet fluorescence spatiotemporal topology map, determine the set of response propagation paths, calculate the temporal gradient information on each path, and generate a quantification result vector of ultraviolet fluorescence response propagation path as a quantitative characterization output of the spatiotemporal behavior of ultraviolet fluorescence response in the target region.