A fish migration behavior analysis method based on motion state event recognition

By using a motion state event recognition method combined with fish acoustic localization and flow field observation system, the instantaneous behavioral response of fish in changing flow fields is analyzed, which solves the problem of quantifying the migratory behavior and hydrodynamic elements of multi-species fish and provides a precise basis for ecological scheduling.

CN123158102APending Publication Date: 2026-11-24CHINA INST OF WATER RESOURCES & HYDROPOWER RES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611314514.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies are insufficient to analyze the instantaneous behavioral responses of fish in real-world changing flow fields in situ environments, and lack thresholds for quantifying the migration needs of multiple fish species, resulting in a lack of precise basis for ecological regulation.

Method used

A motion state event recognition method was adopted, which uses a fish acoustic positioning system and a flow field observation system to obtain sub-meter-level trajectory spatiotemporal sequences and measured flow field data. The spatiotemporal alignment and data integration were combined with a two-dimensional hydrodynamic numerical model to identify the fish motion state, establish a hydrodynamic response model, and analyze the fish migration behavior.

Benefits of technology

This study enables the quantitative analysis of the nonlinear interaction between the migratory behavior of multiple fish species and hydrodynamic factors in the in-situ environment of the wild, providing a precise basis for ecological scheduling and meeting practical conservation needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158102A_ABST
    Figure CN123158102A_ABST
Patent Text Reader

Abstract

This invention discloses a method for analyzing fish migration behavior based on motion state event recognition. The method includes: identifying target fish species based on a target fish screening and evaluation system and multidimensional attribute data of native migratory fish in target waters; acquiring sub-meter-level trajectory spatiotemporal sequences and measured flow field data based on a fish acoustic positioning system and a flow field observation system; determining a spatiotemporally continuous flow field simulation dataset based on the measured flow field data; determining synchronous flow field parameters by spatiotemporally aligning the dataset with the sub-meter-level trajectory spatiotemporal sequences; calculating trajectory motion characteristic parameters based on the sub-meter-level trajectory spatiotemporal sequences; and obtaining a motion state and flow field association dataset by combining the synchronous flow field parameters; determining state transition events and state maintenance events based on the motion state and flow field association dataset; and generating fish migration behavior analysis results based on the state transition events and state maintenance events. Through the technical solution of this invention, the mechanism of fish migration can be clarified, providing an effective foundation for the protection of migratory fish.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fish migration behavior research, and in particular to a method for analyzing fish migration behavior based on motion state event recognition. Background Technology

[0002] Migration is a crucial element for the continuation of migratory fish populations. However, with the development and construction of water conservancy and hydropower projects, the connectivity of natural rivers has been disrupted, and hydrological rhythms have changed. This has led to increasingly severe problems such as obstructed migratory channels for fish, resulting in a drastic decline in migratory fish resources. Therefore, restoring fish habitats through ecological regulation has become an industry consensus in order to alleviate the severe decline in migratory fish populations.

[0003] In existing technologies, indoor flume experiments or aquaculture pond observations are commonly used to clarify the response mechanisms of fish migration behavior to the hydrodynamic environment, thereby enabling the conservation of migratory fish through these mechanisms. However, the experimental scenarios in these technologies are disconnected from actual river channels, making it difficult to capture the instantaneous behavioral responses of fish under changing flow fields. This means that the behavioral patterns derived from such experiments often cannot be directly applied to practical engineering scheduling, severely limiting the applicability of the research results. Secondly, existing experimental methods lack systematic quantitative means for addressing the differentiated needs of multiple species. This makes it difficult to balance the conservation objectives of different species in actual ecological management.

[0004] Therefore, how to analyze the instantaneous behavioral response of fish in real changing flow fields in in situ environments in the wild, and quantify and extract universal and specific migration demand thresholds for multiple species, is a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0005] This invention provides a method for analyzing fish migration behavior based on motion state event recognition. It can solve the problem that the nonlinear interaction relationship and specific threshold of multi-species fish migration behavior and complex hydrodynamic elements in real flow fields in the field are difficult to quantify and analyze, resulting in a lack of accurate basis for ecological scheduling.

[0006] According to one aspect of the present invention, a method for analyzing fish migration behavior based on motion state event recognition is provided, comprising: The target fish species are determined based on a pre-defined target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish in the target waters. Based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, the sub-meter level trajectory spatiotemporal sequence and flow field measured data of the target fish object are acquired simultaneously. The flow field measured data is used as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. The trajectory motion feature parameters of the target fish object are calculated based on the sub-meter-level trajectory spatiotemporal sequence, and the motion state of the target fish object is identified based on the trajectory motion feature parameters and the synchronous flow field parameters to obtain a motion state and flow field association dataset. Based on the motion state and flow field association dataset, trajectory points that are temporally adjacent and have the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are determined as state transition events. State maintenance events are extracted within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. Based on the state transition boundary of the state transition event, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, a state transition hydrodynamic response model is established, the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed, and the hydrodynamic correlation conditions and motion response characteristics are extracted based on the trajectory points within the event of the state maintenance event, a state maintenance hydrodynamic response model is established, and the state maintenance response law is analyzed. Based on the hydrodynamic response probability, hydrodynamic trigger threshold, and state maintenance response pattern, the fish migration behavior analysis results of the target fish object are generated.

[0007] According to another aspect of the present invention, a fish migration behavior analysis device based on motion state event recognition is provided, comprising: The target fish identification module is used to identify target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. The data acquisition and simulation module is used to simultaneously acquire the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish object based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, and use the measured flow field data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The state recognition module is used to spatiotemporally align the sub-meter-level trajectory spatiotemporal sequence with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset, determine the synchronous flow field parameters corresponding to each trajectory point, calculate the trajectory motion feature parameters of the target fish object based on the sub-meter-level trajectory spatiotemporal sequence, and identify the motion state of the target fish object based on the trajectory motion feature parameters and the synchronous flow field parameters, thereby obtaining a motion state and flow field association dataset. The event segmentation module is used to merge trajectory points that are temporally adjacent and have the same motion state into motion state segments based on the motion state and flow field association dataset, determine the boundary between adjacent motion state segments where motion state changes occur as state transition events, and extract state maintenance events within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. The response analysis module is used to extract the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition based on the state transition boundary of the state transition event, establish a state transition hydrodynamic response model, analyze the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event, and extract the hydrodynamic correlation conditions and motion response characteristics based on the trajectory points within the event of the state maintenance event, establish a state maintenance hydrodynamic response model, and analyze the state maintenance response law. The result generation module is used to generate the fish migration behavior analysis results of the target fish object based on the hydrodynamic response probability, hydrodynamic trigger threshold and state maintenance response law.

[0008] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the fish migration behavior analysis method based on motion state event recognition according to any embodiment of the present invention.

[0009] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the fish migration behavior analysis method based on motion state event recognition as described in any embodiment of the present invention.

[0010] The technical solution of this invention determines the target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. Then, based on the fish acoustic positioning system and flow field observation system corresponding to the target waters, the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish species are acquired simultaneously. Using the measured flow field data as input, a spatiotemporal continuous flow field simulation dataset corresponding to the target fish species is determined based on a two-dimensional hydrodynamic numerical model. Further, the sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. Based on the sub-meter-level trajectory spatiotemporal sequence, the trajectory motion characteristic parameters of the target fish species are calculated, and the motion state of the target fish species is identified based on the trajectory motion characteristic parameters and the synchronous flow field parameters, resulting in a dataset relating the motion state to the flow field. Furthermore, based on the motion state and flow field association dataset, temporally adjacent trajectory points with the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are identified as state transition events. Within each motion state segment, state maintenance events are extracted according to a preset time window, resulting in a motion event and flow field association dataset. Further, based on the state transition boundaries of state transition events, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, establishing a state transition hydrodynamic response model. The hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed. Based on the trajectory points within the state maintenance event, hydrodynamic association conditions and motion response characteristics are extracted, establishing a state maintenance hydrodynamic response model and analyzing the state maintenance response law. Finally, based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, the fish migration behavior analysis results for the target fish species are generated. Taking into account the conservation needs of multiple migratory fish species, sub-meter-level migration behavior trajectory tracking experiments and refined simulations of experimental river flow field conditions were conducted. This resulted in a database linking fish migration behavior and flow field at the second-level scale. Simultaneously, deep learning was employed to analyze the complex nonlinear interactions between fish behavior and hydrological elements, clarifying the broadly adaptable hydrodynamic preferences for maintaining fish migration channels and meeting practical ecological management needs. This approach addresses the difficulty in quantifying and analyzing the nonlinear interactions and specific thresholds between multi-species fish migration behavior and complex hydrodynamic elements in real-world in-situ flow fields, which previously lacked precise basis for ecological management. This provides an effective foundation for migratory fish conservation.

[0011] 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

[0012] 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.

[0013] Figure 1 This is a flowchart of a method for analyzing fish migration behavior based on motion state event recognition according to Embodiment 1 of the present invention; Figure 2 This is a flowchart of a method for analyzing fish migration behavior based on motion state event recognition according to Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of the flow measurement area provided according to Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of the experimental area provided in Embodiment 2 of the present invention; Figure 5 This is a schematic diagram of a fish migration behavior analysis device based on motion state event recognition according to Embodiment 3 of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device that implements the fish migration behavior analysis method based on motion state event recognition according to an embodiment of the present invention. Detailed Implementation

[0014] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.

[0015] It should be noted that the terms "preset," "target," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0016] Example 1 Figure 1 This is a flowchart of a method for analyzing fish migration behavior based on motion state event recognition, provided in Embodiment 1 of the present invention. This embodiment is applicable to the analysis of nonlinear interactions and specific thresholds between the migration behavior of multiple fish species and complex hydrodynamic elements in real in-situ flow fields. This method can be executed by a fish migration behavior analysis device based on motion state event recognition. This device can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes: S110. Target fish species are determined based on a pre-set target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish species in the target waters.

[0017] In this context, "target fish" can refer to fish species or groups of interest for the research objective. "Target fish subjects" can refer to the fish species or individual groups ultimately selected as experimental and research objects. "Pre-defined target fish screening and evaluation system" can refer to a pre-established evaluation framework for assessing and screening target fish. For example, the pre-defined target fish screening and evaluation system may include evaluation indicators, scoring criteria, and weighting rules. "Target water area" can refer to a pre-selected research area. For example, the target water area may be a natural river, a section of a river, a reservoir area, a section of a river where fish passage facilities are located, or an artificial ecological experimental channel, etc. "Native migratory fish" can refer to fish species natively distributed in the target water area and possessing natural migratory habits. "Multidimensional attribute data" can refer to multidimensional information data used to describe and evaluate candidate fish. Typically, multidimensional attribute data can include indicators from multiple levels, such as biology, ecology, geography, and conservation biology.

[0018] S120. Based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, simultaneously acquire the sub-meter level trajectory spatiotemporal sequence and flow field measured data of the target fish object, and use the flow field measured data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model.

[0019] Among them, a fish acoustic positioning system can refer to a monitoring system that uses the principles of acoustic signal propagation and reception to perform real-time spatial positioning of target fish implanted with acoustic tags. Typically, a fish acoustic positioning system includes acoustic positioning receivers deployed along an in-situ experimental river channel and a standard signal source for spatial calibration of the acoustic positioning receivers. An acoustic positioning receiver can refer to a transducer and its associated signal acquisition and processing unit used to receive ultrasonic or acoustic pulse signals transmitted by the acoustic transmitter corresponding to the target object. A standard signal source can refer to an acoustic transmitting device used to perform spatial calibration and ensure positioning accuracy of the acoustic positioning receiver array. By completing positioning accuracy calibration through a standard signal source, the system's planar positioning accuracy can be ensured to reach sub-meter level. A flow field observation system can refer to a set of instruments and equipment used to synchronously monitor the water flow characteristics within a target observation site. Typically, a flow field observation system includes at least one target monitoring section deployed along an in-situ experimental river channel. The target monitoring section includes at least one target flow measurement vertical section, equipped with flow velocity monitoring equipment, and water level and temperature monitoring equipment. A monitoring cross-section can refer to a cross-sectional location in a river channel that is perpendicular to the main flow direction. Typically, multiple monitoring cross-sections are deployed in a single river segment to control spatial variations. A target monitoring cross-section can refer to a monitoring cross-section selected for acquiring measured flow field data. For example, in this embodiment of the invention, the number of target monitoring cross-sections within the target watershed can be set to no less than three. A flow measurement vertical can refer to a vertical line position within the monitoring cross-section, defined along the cross-sectional direction. Typically, each flow measurement vertical represents a velocity profile measurement location. A target flow measurement vertical can refer to a specific vertical position within the target monitoring cross-section selected for configuring velocity monitoring equipment. For example, in this embodiment of the invention, to ensure the accuracy of flow field monitoring in the experimental river channel, the number of target flow measurement verticals can be set to no less than five.

[0020] Among them, the sub-meter-level trajectory spatiotemporal sequence refers to a time-series dataset of the position coordinates and corresponding timestamps of a target fish object recorded at a second-level time resolution, under the condition that the spatial positioning accuracy is better than sub-meter level. The measured flow field data refers to the hydrological and hydraulic parameter data synchronously collected at the experimental site through a flow field observation system. The input conditions refer to the boundary conditions and initial conditions used to drive the operation of the two-dimensional hydrodynamic numerical model. The two-dimensional hydrodynamic numerical model refers to a numerical calculation model based on two-dimensional shallow water equations, used to simulate the spatiotemporal changes of the river flow field. The target two-dimensional hydrodynamic numerical model refers to a two-dimensional hydrodynamic numerical model instance that, after calibration and verification with measured topographic data and measured flow field data for the target observation site, can accurately simulate the spatiotemporal changes of the flow field at that site. The spatiotemporally continuous flow field simulation dataset refers to the flow field parameter dataset output by the calibrated and verified two-dimensional hydrodynamic numerical model, covering the entire spatial range of the target observation site and the entire experimental time range.

[0021] S130. The sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. The trajectory motion feature parameters of the target fish object are calculated based on the sub-meter-level trajectory spatiotemporal sequence, and the motion state of the target fish object is identified based on the trajectory motion feature parameters and the synchronous flow field parameters to obtain a motion state and flow field association dataset.

[0022] In this context, a grid cell refers to the smallest computational unit generated during the spatial discretization of a two-dimensional hydrodynamic numerical model, i.e., a unit within an unstructured triangular or structured quadrilateral grid. Spatiotemporal alignment refers to the process of precisely matching the trajectory spatiotemporal sequence with the flow field simulation dataset in both time and space dimensions. A trajectory point refers to a single data record in the sequence. For example, a trajectory point can contain the planar coordinates and temporal information of the target fish object at a specific moment. Synchronized flow field parameters refer to the flow field simulation data precisely matched with each trajectory point in time and space through spatiotemporal alignment. Trajectory motion characteristic parameters refer to quantitative indicators used to describe the kinematic characteristics of fish, calculated based on the spatiotemporal information of adjacent trajectory points in a sub-meter-level trajectory spatiotemporal sequence. Motion state refers to the behavioral motion pattern category of the target fish object at a certain moment or within a certain time period. The motion state and flow field associated dataset refers to a comprehensive dataset formed by integrating the motion state labels of each trajectory point with the corresponding trajectory motion characteristic parameters and synchronized flow field parameters.

[0023] S140. Based on the motion state and flow field association dataset, merge the trajectory points that are temporally adjacent and have the same motion state into motion state segments, determine the boundary between adjacent motion state segments where motion state changes as state transition events, and extract state maintenance events within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset.

[0024] In this context, a motion state segment can refer to a continuous time segment with the same state label, formed by merging temporally adjacent continuous trajectory points with the same motion state. A state transition event can refer to the process of switching motion state types between two adjacent motion state segments. Typically, a state transition event can specifically correspond to the spatiotemporal boundary between two motion state segments. A preset time window can refer to a pre-defined scale for dividing time, number of trajectory points, or spatial distance when extracting state maintenance events from within a motion state segment. A state maintenance event can refer to a continuous sub-segment within a single motion state segment, extracted according to a preset time window, that continuously maintains the same motion state. A motion event and flow field association dataset can refer to a comprehensive dataset formed by combining state transition events and state maintenance events.

[0025] S150. Based on the state transition boundary of the state transition event, extract the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition, establish a state transition hydrodynamic response model, analyze the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event, and extract the hydrodynamic correlation conditions and motion response characteristics based on the trajectory points within the event of the state maintenance event, establish a state maintenance hydrodynamic response model, and analyze the state maintenance response law.

[0026] The state transition boundary can refer to the dividing moment between two adjacent motion state segments and its corresponding spatial location. The absolute hydrodynamic condition can refer to the directly observed or simulated value of the flow parameters at a certain moment or spatiotemporal location. The hydrodynamic change characteristic can refer to the amount or rate of change of the absolute hydrodynamic condition after the transition boundary relative to the absolute hydrodynamic condition before the transition boundary. The state transition hydrodynamic response model can refer to a mathematical model established using the absolute hydrodynamic conditions before and after the transition and the hydrodynamic change characteristic as explanatory variables, and whether a specific state transition occurs as the response variable. The hydrodynamic response probability can refer to the probability value of a specific type of state transition event occurring under a specific combination of hydrodynamic conditions. The hydrodynamic trigger threshold can refer to the critical hydrodynamic critical value or critical interval that triggers a specific state transition. The hydrodynamic correlation condition can refer to the hydrodynamic condition parameters at the location of each trajectory point in the state maintenance event. The motion response characteristic can refer to a quantitative indicator used to describe the motion performance of the target fish during state maintenance. The state maintenance hydrodynamic response model can refer to a mathematical model established using hydrodynamic conditions as explanatory variables and motion response characteristics as response variables. State maintenance response law refers to the functional relationship and statistical law of the movement response characteristics of fish under specific maintenance states as a function of hydrodynamic conditions.

[0027] S160. Based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, generate the fish migration behavior analysis results of the target fish object.

[0028] The analysis results of fish migration behavior can refer to the knowledge-based findings obtained after analyzing the combined state transition hydrodynamic response model and state maintenance hydrodynamic response model, which provide a quantitative relationship between the migration behavior of a target fish and hydrodynamic conditions. For example, the analysis results of fish migration behavior at least include state transition triggering conditions and state maintenance motion efficiency rules. State transition triggering conditions can include: what water flow changes lead to the fish switching behavior, the corresponding response probability, and the trigger threshold. State maintenance motion efficiency rules can include: the changing patterns of fish swimming speed, propulsion efficiency, path selection, and other motion indicators under specific water flow conditions.

[0029] The technical solution of this invention determines the target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. Then, based on the fish acoustic positioning system and flow field observation system corresponding to the target waters, the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish species are acquired simultaneously. Using the measured flow field data as input, a spatiotemporal continuous flow field simulation dataset corresponding to the target fish species is determined based on a two-dimensional hydrodynamic numerical model. Further, the sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. Based on the sub-meter-level trajectory spatiotemporal sequence, the trajectory motion characteristic parameters of the target fish species are calculated, and the motion state of the target fish species is identified based on the trajectory motion characteristic parameters and the synchronous flow field parameters, resulting in a dataset relating the motion state to the flow field. Furthermore, based on the motion state and flow field association dataset, temporally adjacent trajectory points with the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are identified as state transition events. Within each motion state segment, state maintenance events are extracted according to a preset time window, resulting in a motion event and flow field association dataset. Further, based on the state transition boundaries of state transition events, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, establishing a state transition hydrodynamic response model. The hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed. Based on the trajectory points within the state maintenance event, hydrodynamic association conditions and motion response characteristics are extracted, establishing a state maintenance hydrodynamic response model and analyzing the state maintenance response law. Finally, based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, the fish migration behavior analysis results for the target fish species are generated. Taking into account the conservation needs of multiple migratory fish species, sub-meter-level migration behavior trajectory tracking experiments and refined simulations of experimental river flow field conditions were conducted. This resulted in a database linking fish migration behavior and flow field at the second-level scale. Simultaneously, deep learning was employed to analyze the complex nonlinear interactions between fish behavior and hydrological elements, clarifying the broadly adaptable hydrodynamic preferences for maintaining fish migration channels and meeting practical ecological management needs. This approach addresses the difficulty in quantifying and analyzing the nonlinear interactions and specific thresholds between multi-species fish migration behavior and complex hydrodynamic elements in real-world in-situ flow fields, which previously lacked precise basis for ecological management. This provides an effective foundation for migratory fish conservation.

[0030] Example 2 Figure 2This is a flowchart of a method for analyzing fish migration behavior based on motion state event recognition, provided in Embodiment 2 of the present invention. This embodiment is a refinement based on the above embodiment. Specifically, this embodiment refines the process of "spatiotemporally aligning the sub-meter-level trajectory spatiotemporal sequence with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset, determining the synchronous flow field parameters corresponding to each trajectory point, calculating the trajectory motion feature parameters of the target fish object based on the sub-meter-level trajectory spatiotemporal sequence, and identifying the motion state of the target fish object based on the trajectory motion feature parameters and the synchronous flow field parameters to obtain a motion state and flow field association dataset". Specifically, this can include: converting the coordinates of the trajectory points in the sub-meter-level trajectory spatiotemporal sequence to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and performing time matching of the trajectory point time with the simulation time of the spatiotemporal continuous flow field simulation dataset to obtain the matched trajectory point spatial coordinates; based on the trajectory point spatial coordinates, determining the target grid cell corresponding to the trajectory point in the flow field simulation grid at each matched time, and extracting the flow velocity, water depth, flow direction, and other parameters of the target grid cell. Eddy volume and neighborhood hydrodynamic parameters are used as synchronous flow field parameters. The neighborhood hydrodynamic difference parameters are determined by the difference in hydrodynamic conditions between the grid cell containing the trajectory and neighboring grid cells, including at least one of velocity difference, depth difference, and eddy volume difference. Based on the temporal and spatial information of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence, trajectory motion characteristic parameters of the target fish are calculated. These trajectory motion characteristic parameters include at least time interval, spatial displacement, velocity, and direction of motion. The trajectory motion characteristic parameters and the synchronous flow field parameters are input into a preset temporal state recognition model. The model identifies the initial motion state of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence, determining the initial motion state of each trajectory point. The motion state includes upstream, downstream, stationary, and random motion states. Trajectory points with consecutive identical initial motion states are merged into an initial motion state segment, and this segment is corrected based on preset flow field response rules to obtain the final motion state and final motion state segment of each trajectory point, forming a motion state and flow field association dataset. Figure 2 As shown, the method includes: S210. Target fish species are determined based on a pre-set target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish species in the target waters.

[0031] In an optional implementation, the step of determining the target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish in the target waters includes: Step a1: Obtain multidimensional attribute data of native migratory fish in the target waters; wherein the multidimensional attribute data includes at least life history characteristics, protection level and dam construction impact factors.

[0032] Among these, life history characteristics refer to multi-dimensional information describing the biological characteristics and ecological habits of fish at various stages throughout their life cycle. For example, life history characteristics may include lifespan, age at sexual maturity, reproductive cycle, spawning habits, diet, and habitat depth. Conservation level refers to a graded indicator reflecting the degree of concern and threat status of a target fish species in terms of both legal protection and endangered status. Dam construction impact factor refers to a quantitative evaluation indicator reflecting the degree of disturbance and threat caused by the construction and operation of water conservancy projects to the target fish population and its habitat.

[0033] Step a2: Quantify and score the multidimensional attribute data based on the preset target fish screening and evaluation system and preset evaluation weights to obtain the quantitative scoring results.

[0034] The preset evaluation weights refer to numerical coefficients pre-defined in the target fish screening and evaluation system to measure the relative importance of each evaluation indicator. Typically, protection level and dam construction impact factors may be assigned higher weights. It is worth noting that the specific weight values ​​can be pre-determined by those skilled in the art based on research objectives or ecological scheduling needs; this embodiment of the invention does not impose specific limitations on this. The quantitative scoring result refers to the comprehensive numerical score obtained by weighting the multidimensional attribute data of each candidate fish according to the preset evaluation system and weights.

[0035] Step a3: Based on the quantitative scoring results and the reproductive characteristic parameters of the native migratory fish, perform cluster analysis to determine the target fish species; wherein, the reproductive characteristic parameters include at least spawning water temperature and spawning type.

[0036] Among these, reproductive characteristic parameters can refer to quantitative or categorical parameters used to describe the specific aquatic environmental conditions required for fish reproductive activities. Spawning water temperature can refer to the suitable water temperature range required for target fish to carry out spawning activities or the water temperature conditions corresponding to the peak spawning period. Spawning type can refer to the types of fish reproductive strategies classified according to the physical characteristics of fish eggs and the way they attach to the spawning substrate.

[0037] Specifically, after obtaining a basic list of all native migratory fish species in the target waters, multidimensional attribute data such as life history characteristics, protection levels, and dam construction impact factors are collected for each species. Then, based on research objectives or ecological regulation needs, evaluation weights are pre-set for each evaluation indicator. The qualitative descriptions of each indicator are converted into quantitative scores, multiplied by their corresponding weights, and summed to obtain a quantitative score for each fish species. Finally, based primarily on the quantitative scores, and combined with the reproductive characteristic parameters of suitable spawning temperature range and spawning type for each fish species, cluster analysis is performed on the basic fish list. That is, the fish are divided into multiple ecological functional groups according to spawning temperature and spawning type. Within each functional group, the species with the highest quantitative scores are preferentially selected as representative experimental subjects, thereby identifying several typical fish species from different functional groups as the final target fish species. This ensures that the selected experimental fish species have clear protection priorities and ecological representativeness, while also covering the diversity of different spawning types and water temperature requirements.

[0038] S220. Based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, simultaneously acquire the sub-meter level trajectory spatiotemporal sequence and flow field measured data of the target fish object, and use the flow field measured data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model.

[0039] In an optional implementation, the fish acoustic positioning system and flow field observation system based on the target water area simultaneously acquire the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish object, and use the measured flow field data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model, including: Step b1: Determine the target inflow / outflow input conditions based on the preset inflow / outflow input condition rules.

[0040] The inflow / outflow input conditions can refer to the combination of parameters used to create and regulate the flow field environment within the site. For example, inflow / outflow input conditions may include upstream inflow flow rate and downstream outflow water level. Preset inflow / outflow input condition rules can refer to a pre-defined set of control parameters and operating procedures used to determine the values ​​of inflow / outflow input conditions at each level. For example, preset inflow / outflow input condition rules may include flow rate classification rules, water level control rules, stabilization time rules, operating condition switching sequence rules, and repetition rules, etc. Target inflow / outflow input conditions can refer to the specific combination of operating condition parameters determined according to the preset inflow / outflow input condition rules for the current experimental session.

[0041] Step b2: Under the input conditions of the target inflow and outflow, the target fish object is tracked in real time based on the fish acoustic positioning system corresponding to the target water area to determine the target plane coordinates corresponding to the target fish object.

[0042] Among them, planar coordinates can refer to the spatial position of the fish object on a two-dimensional horizontal plane. Target planar coordinates can refer to the spatial planar position of the target fish object at a specific moment.

[0043] Step b3: Under the target inflow and outflow input conditions, the river flow field is monitored synchronously based on the flow field observation system to obtain measured flow field data.

[0044] The river flow field conditions can refer to the actual observed values ​​of water flow movement within the target observation site. For example, the river flow field conditions can include elements such as velocity distribution, water level changes, and flow rate.

[0045] Step b4: Synchronously collect the weather conditions and light intensity corresponding to the target plane coordinates as environmental background parameters, and associate the environmental background parameters, target plane coordinates and corresponding timestamps at the corresponding collection time to obtain a sub-meter level trajectory spatiotemporal sequence with a preset time resolution.

[0046] Here, "weather conditions" refers to the type of ambient weather during the experiment. For example, weather conditions could be sunny, cloudy, overcast, or rainy. "Light intensity" refers to the quantitative measurement of ambient light intensity during the experiment. "Environmental background parameters" refers to recorded data on external environmental factors that may affect fish behavior, excluding core hydrodynamic conditions. "Time stamp" refers to the specific moment each trajectory point was collected. Typically, timestamps are used to identify the temporal location of the data. "Preset time resolution" refers to a pre-defined fixed time interval between adjacent trajectory points in a sub-meter-level trajectory spatiotemporal sequence.

[0047] Step b5: Construct a computational grid based on the measured topography corresponding to the target water area and establish a basic two-dimensional hydrodynamic numerical model. Use the measured water level process and flow process as boundary conditions, and use the measured flow field data for calibration and verification to obtain the target two-dimensional hydrodynamic numerical model.

[0048] Among these, measured topography refers to the underwater and land topographic elevation data of the river channel obtained through field measurements. Typically, measured topography reflects the spatial undulations of the riverbed. Computational grid refers to a network structure that discretizes the spatial extent of the target observation site into a finite number of computational cells. Typically, the computational grid is the spatial discretization carrier for numerical solutions of hydrodynamic numerical models. Basic two-dimensional hydrodynamic numerical model refers to the initial version of the two-dimensional hydrodynamic numerical model using default or empirical parameters before calibration and verification with measured data from the target observation site. Water level process refers to a continuous recording sequence of water level changes over time at a specific cross-section within the target observation site. Flow process refers to a continuous recording sequence of flow rate changes over time at the inlet cross-section of the target observation site. Boundary conditions refer to the boundary conditions required for solving the hydrodynamic numerical model. Typically, the upstream boundary conditions are for the flow process, and the downstream boundary conditions are for the water level process.

[0049] Step b6: Using the water level process and flow rate process in the measured flow field data as upper and lower input conditions, perform global unsteady flow calculation on the target water area based on the target two-dimensional hydrodynamic numerical model, and output flow velocity, water depth and vorticity data at a time step consistent with the sub-meter level trajectory spatiotemporal sequence to form a spatiotemporal continuous flow field simulation dataset.

[0050] Specifically, after identifying the target fish species, a pre-defined inflow / outflow input condition rule is first determined based on the hydraulic regulation capacity of the target observation site. Then, the target inflow / outflow input conditions required for the current experiment are selected from this rule. After the target inflow / outflow input conditions stabilize, the fish acoustic localization system and the flow field observation system are simultaneously activated. The acoustic localization system tracks the target fish with implanted acoustic tags in real time. After receiving the tag signals from multiple receivers deployed in the site, the planar coordinates of the target fish at each moment are calculated. Simultaneously, the flow field observation system simultaneously measures and records measured data of the river flow field, such as flow velocity, water level, and flow rate, at a fixed monitoring section and in the vertical direction of the flow measurement. During the trajectory acquisition process, the weather conditions and light intensity at the corresponding moment are also recorded as environmental background parameters. Then, the planar coordinates, corresponding timestamps, and environmental background parameters of each trajectory point are correlated to form a sub-meter level trajectory spatiotemporal sequence with a pre-defined time resolution. Based on this, portable real-time dynamic carrier phase differential technology (Real-Time) is used. Using equipment such as kinematic (RTK), unmanned surface vessels, or drones, underwater and land topography of the target observation site was measured and dense topographic point clouds were obtained. Based on this, an unstructured triangular computational grid was constructed and a basic two-dimensional hydrodynamic numerical model was established. The measured water level process and flow rate process were used as the downstream and upstream boundary conditions to drive the model operation. Then, multiple sets of independent measured hydrological data within the experimental period were selected to calibrate and verify the model, resulting in a qualified target two-dimensional hydrodynamic numerical model. Finally, the water level process and flow rate process in the measured flow field data were used as the upstream and downstream input conditions to drive the model to perform global unsteady flow calculations on the target observation site. The flow velocity, water depth, and vorticity data of each grid cell were output time-by-time with a time step consistent with the sub-meter-level trajectory spatiotemporal sequence, thus forming a spatiotemporally continuous flow field simulation dataset covering the entire site and the entire experimental period, providing a data source for the subsequent synchronous flow field parameter extraction of each trajectory point.

[0051] S230. Transform the coordinates of the trajectory points in the sub-meter level trajectory spatiotemporal sequence to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and perform time matching between the trajectory point time and the simulation time of the spatiotemporal continuous flow field simulation dataset to obtain the matched trajectory point spatial coordinates.

[0052] Here, the spatial coordinate system refers to the mathematical coordinate reference system used to describe the spatial location of the target fish and the target observation site. The simulation time refers to the discrete time point corresponding to the output of the flow field simulation results by the two-dimensional hydrodynamic numerical model. The spatial coordinates of the trajectory points refer to the planar position representation of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence in the spatial coordinate system adopted by the flow field simulation dataset after coordinate transformation.

[0053] S240. Based on the spatial coordinates of the trajectory point, determine the target grid cell corresponding to the trajectory point in the flow field simulation grid at each matching time, and extract the flow velocity, water depth, flow direction, vorticity, and neighborhood hydrodynamic parameters of the target grid cell as synchronous flow field parameters; wherein, the neighborhood hydrodynamic difference parameters are determined by the difference in hydrodynamic conditions between the grid cell where the trajectory is located and the neighboring grid cells, including at least one of the following: velocity difference, water depth difference, and vorticity difference.

[0054] The flow field simulation grid refers to the computational grid system formed after spatial discretization of the target observation site. The target grid cell refers to the flow field simulation grid cell that contains or is closest to the spatial coordinates of a certain trajectory point.

[0055] S250. Based on the time and space information of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence, calculate the trajectory motion characteristic parameters of the target fish object; wherein, the trajectory motion characteristic parameters include at least time interval, spatial displacement, motion speed and motion direction.

[0056] The time information refers to the timestamp data corresponding to each trajectory point in the sub-meter-level trajectory spatiotemporal sequence. The spatial information refers to the planar coordinate data of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence.

[0057] S260. Input the trajectory motion characteristic parameters and the synchronous flow field parameters into a preset temporal state recognition model, and use the temporal state recognition model to identify the initial motion state of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence, and determine the initial motion state of each trajectory point; wherein, the motion state includes an upward state, a downward state, a stationary state, and a random motion state.

[0058] The preset temporal state recognition model can refer to a pre-constructed mathematical model or algorithm for temporally dependent state recognition of trajectory point sequences. Typically, the preset temporal state recognition model can infer the most probable motion state at each moment in the time dimension based on input features. The initial motion state can refer to the motion state label output after directly recognizing each trajectory point through the preset temporal state recognition model, without correction by flow field response rules.

[0059] S270. Merge trajectory points with the same initial motion state into an initial motion state segment, and modify the initial motion state segment based on the preset flow field response rules to obtain the final motion state and final motion state segment of each trajectory point, forming a motion state and flow field related dataset.

[0060] The initial motion state segment can refer to a preliminary time segment formed by merging consecutive trajectory points that are temporally adjacent and have the same initial motion state, resulting in a segment with the same initial state label. The preset flow field response rule can refer to a pre-defined set of judgment rules used to verify and correct the motion state labels of trajectory points in conjunction with flow field conditions. The final motion state can refer to the optimal motion state label finally determined for each trajectory point after correcting the initial motion state segment using the preset flow field response rule. The final motion state segment can also refer to a time segment formed by merging consecutive trajectory points that are temporally adjacent and have the same final motion state, resulting in a segment with the same final state label.

[0061] Specifically, after obtaining the spatiotemporal continuous flow field simulation dataset, firstly, spatiotemporal alignment preprocessing is performed on each trajectory point in the sub-meter-level trajectory spatiotemporal sequence: its planar coordinates are transformed from the original local coordinate system of the acoustic positioning system to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and its timestamp is matched with the simulation time of the flow field simulation dataset, thereby determining the matching time and spatial position of each trajectory point at that time, i.e., the spatial coordinates of the trajectory point; then, for the spatial coordinates of each trajectory point, a spatial positioning search is performed in the flow field simulation grid system at each matching time to find the target grid cell containing the coordinate point, and the flow velocity, water depth, flow direction, vorticity, and neighborhood hydrodynamic difference parameters are extracted from the grid cell and its neighboring grid cells as the synchronous flow field parameters of the trajectory point at that time; simultaneously, based on the temporal and spatial information of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence, the time interval, spatial displacement, velocity, and motion of each trajectory point are calculated. The trajectory motion characteristic parameters, such as direction, are combined with the synchronous flow field parameters of each trajectory point to form a feature vector, which is then input into a preset temporal state recognition model. This model outputs the initial motion state of each trajectory point while considering the continuity of the states of adjacent trajectory points. Then, trajectory points with consecutive initial motion states are merged into initial motion state segments. Within each initial motion state segment, segment-level features such as cumulative motion distance, duration, average motion speed, upstream net displacement, countercurrent motion ratio, trajectory-flow angle, and propulsion efficiency are calculated. Based on preset flow field response rules, each initial motion state segment is re-judged and corrected. Finally, the final motion state label of each trajectory point and the final motion state segment formed by merging trajectory points with consecutive final states are obtained. The final state label is written back to the records of each trajectory point and organized into a comprehensive dataset containing trajectory motion characteristic parameters, synchronous flow field parameters, and final motion state labels, i.e., a motion state and flow field association dataset. This achieves precise spatiotemporal matching between sub-meter-level trajectory points and spatiotemporally continuous flow field simulation datasets on a second-level scale, ensuring that each trajectory point can obtain synchronous flow field parameters that precisely correspond to its spatiotemporal location, providing reliable hydrodynamic environment data support for subsequent motion state identification.

[0062] S280. Based on the individual target fish object and time sequence, organize and sort the final motion state segments in the motion state and flow field association dataset to obtain the target motion state segment sequence.

[0063] The target motion state segment can refer to the final motion state segment included in the current analysis process after screening and sorting. The target motion state segment sequence can refer to the ordered arrangement formed after sorting the target motion state segments according to the individual target fish and the chronological order of occurrence.

[0064] S290. Compare the motion states of adjacent target motion state segments in the target motion state segment sequence. When the motion states of adjacent target motion state segments are different, determine the state boundary between the adjacent target motion state segments as a state transition event.

[0065] S2100. Within each of the target motion state segments, extract the state maintenance event according to a preset time window.

[0066] S2110. Associate the state transition events and state maintenance events with the corresponding hydrodynamic conditions and motion characteristic parameters to obtain a motion event and flow field association dataset.

[0067] Hydrodynamic conditions can refer to a combination of quantitative parameters used to describe the hydrodynamic environment in which the target fish species exists. For example, hydrodynamic conditions may include single or combined hydraulic elements such as flow velocity, water depth, flow direction, vorticity, and water level.

[0068] Specifically, after obtaining the motion state and flow field association dataset, firstly, the dataset is grouped by individual target fish. For each individual, all final motion state segments are sorted chronologically to form their respective target motion state segment sequences. For example, fish A: state segment 1 ascending, state segment 2 stationary, state segment 3 ascending, state segment 4 descending, etc. Then, adjacent target motion state segments in each sequence are traversed, comparing their motion state labels. When the motion states of two adjacent target motion state segments differ (e.g., ascending, stationary, ascending again), the state boundary between these two segments—that is, the end time of the previous segment or the next segment—is determined. The starting time is determined as the state transition event, and the state before the transition, the state after the transition, and the transition boundary time are recorded. Simultaneously, within each target motion state segment, to avoid a single long-term state segment obscuring internal motion details and fluctuations, it is divided into several continuous time segments according to a preset time window, such as a fixed 5-second window. Each segment is treated as a state maintenance event, recording its maintenance state type, start and end times, and duration. Finally, the obtained state transition events and state maintenance events are associated with their respective hydrodynamic conditions and motion characteristic parameters, forming a motion event and flow field association dataset. Each transition event record includes the state before and after the transition, the boundary time, and the corresponding hydrodynamic changes; each maintenance event record includes the maintenance state type, start and end times, duration, and the flow field and motion parameter sequence for each trajectory point within the event. Therefore, by organizing and sorting the final motion state segments according to both the individual target fish and temporal dimensions, it ensures that motion state segments from different individuals are logically independent and temporally continuous and complete, avoiding misjudgments of state transitions caused by mixing motion segments from different fish species, and providing the correct data arrangement order for accurate comparison between adjacent state segments. By associating state transition events and state maintenance events with corresponding hydrodynamic conditions and motion characteristic parameters, each event possesses not only behavioral semantics but also environmental semantics, forming an event-level association dataset with complete data dimensions and clear causal logic. This provides structured input data for the subsequent construction of state transition hydrodynamic response models and state maintenance hydrodynamic response models, avoiding the potential loss of temporal information or ambiguity of event boundaries when directly modeling events based on point-level data.

[0069] S2120. Based on the state transition boundary of the state transition event, extract the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition, establish a state transition hydrodynamic response model, analyze the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event, and extract the hydrodynamic correlation conditions and motion response characteristics based on the trajectory points within the event of the state maintenance event, establish a state maintenance hydrodynamic response model, and analyze the state maintenance response law.

[0070] In an optional implementation, the step of extracting the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition based on the state transition boundary of the state transition event, establishing a state transition hydrodynamic response model, and analyzing the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event includes: Step c1: Extract the pre-transition state, post-transition state, and transition boundary time of each state transition event from the motion event and flow field association dataset.

[0071] Here, the pre-transition state refers to the motion state of the target fish object before the state transition event occurs. The post-transition state refers to the motion state of the target fish object after the state transition event occurs. The transition boundary time refers to the specific moment when the state transition event occurs. For example, the transition boundary time can be the critical point at which the pre-transition state segment ends and the post-transition state segment begins.

[0072] Step c2: Using the transfer boundary time as a benchmark, extract the statistical values ​​of hydrodynamic conditions within the preset time window before transfer and the preset time window after transfer, respectively, as the absolute hydrodynamic conditions before transfer and the absolute hydrodynamic conditions after transfer, and calculate the amount or rate of change of the hydrodynamic conditions after transfer relative to the hydrodynamic conditions before transfer, as the hydrodynamic change characteristics.

[0073] The hydrodynamic condition statistics refer to representative values ​​obtained by statistically processing the hydrodynamic parameters corresponding to each trajectory point within a preset time window. The absolute hydrodynamic conditions before transfer refer to the statistical values ​​of the hydrodynamic conditions at the target fish's location within a preset time window before the transfer boundary. The absolute hydrodynamic conditions after transfer refer to the statistical values ​​of the hydrodynamic conditions at the target fish's location within a preset time window after the transfer boundary.

[0074] Step c3: Classify the state transition events according to the state before and after the transition to obtain various state transition patterns, and count the frequency and proportion of occurrence of each state transition pattern to determine the target state transition type to be analyzed.

[0075] Here, a state transition pattern can refer to a transition type obtained by classifying state transition events according to the combination of pre-transition and post-transition states. A target state transition type can refer to a specific transition pattern selected from various state transition patterns as the analytical object of the state transition hydrodynamic response model.

[0076] Step c4: Using the target state transition type as the target event, state transition events with the same pre-transition state as the sample set, whether the target state transition type occurs as the response variable, and the pre-transition hydrodynamic absolute conditions, post-transition hydrodynamic absolute conditions, and hydrodynamic change characteristics as explanatory variables, establish a state transition hydrodynamic response model.

[0077] The target event can refer to the set of all state transition events that belong to the target state transition type.

[0078] Step c5: Using the sample data corresponding to the target state transition type as input, and based on the state transition hydrodynamic response model, analyze and obtain the hydrodynamic response probability and hydrodynamic trigger threshold corresponding to the target state transition type.

[0079] Specifically, after obtaining the dataset of motion events and flow field correlation, firstly, all state transition event records are extracted from the dataset, including three basic pieces of information for each record: the state before transition, the state after transition, and the transition boundary time. Then, using the transition boundary time of each state transition event as a benchmark, the trajectory points and their corresponding hydrodynamic parameters within a preset time window are traced backward, and statistical values ​​are calculated as the absolute conditions for hydrodynamic changes before transition. The same extraction and statistical analysis are then performed on the preset time window backward, serving as the absolute conditions for hydrodynamic changes after transition. The hydrodynamic change characteristics are obtained by subtracting the pre-transition conditions from the post-transition conditions. Simultaneously, all state transition events are classified according to the pre-transition and post-transition states, and the frequency and proportion of each type of pattern are statistically analyzed. The transition pattern with the highest frequency and proportion is identified as the one to be solved. The process involves analyzing the target state transition type. Next, using the target state transition type as the target event, and all events with the same pre-transition state but a post-transition state not of the target type as negative samples, we establish a state transition hydrodynamic response model. The occurrence of the target state transition type is used as the response variable, and the absolute hydrodynamic conditions before and after the transition, along with hydrodynamic change characteristics, are used as explanatory variables. Finally, using the sample data corresponding to the target state transition type as input, the model is used to perform predictive scanning and sensitivity analysis on different combinations of hydrodynamic conditions. A curve showing the change in response probability with each hydrodynamic factor is plotted, and the inflection point or probability threshold method of piecewise regression is used to extract the hydrodynamic trigger threshold, thus ultimately obtaining the hydrodynamic response probability and key trigger threshold for the target state transition type. This effectively controls the interference of baseline state differences on model estimation, improving the unbiasedness of response probability estimation and the accuracy of hydrodynamic threshold determination.

[0080] In an optional implementation, the step of extracting hydrodynamic correlation conditions and motion response characteristics based on the intra-event trajectory points of the state-maintaining event, establishing a state-maintaining hydrodynamic response model, and analyzing the state-maintaining response law includes: Step d1: Extract the maintenance state type, trajectory point sequence within the event, and hydrodynamic conditions corresponding to each trajectory point from the motion event and flow field association dataset.

[0081] Here, the maintenance state type can refer to the category of motion state corresponding to the state maintenance event. The trajectory point sequence within an event can refer to an ordered set of all trajectory points contained in a single state maintenance event arranged in chronological order.

[0082] Step d2: Using each trajectory point in the sequence of trajectory points within the event as an analysis unit, calculate the motion response characteristics corresponding to each trajectory point; wherein, the motion response characteristics include at least one of the following: motion speed, motion direction, angle between trajectory direction and flow direction, flow velocity, net displacement, cumulative path length, path straightness, propulsion efficiency, and path selection characteristics.

[0083] Step d3: Group the state maintenance events according to the state maintenance type and establish state maintenance hydrodynamic response models respectively; wherein, the state maintenance hydrodynamic response model uses hydrodynamic conditions as explanatory variables and motion response characteristics as response variables.

[0084] Step d4: Based on the state maintenance hydrodynamic response model, analyze the state maintenance response law of the motion response characteristics under each maintenance state type as the hydrodynamic conditions change.

[0085] Specifically, after obtaining the dataset of motion events and flow field associations, the process begins with extracting records of all state maintenance events from the dataset. This includes the maintenance state type, the sequence of trajectory points within the event, and the corresponding hydrodynamic parameters for each record. Then, each trajectory point in the sequence of trajectory points within each state maintenance event is used as the basic analysis unit, and its motion response characteristics are calculated individually. Next, all trajectory points in each state maintenance event are grouped according to their maintenance state type, and a state maintenance hydrodynamic response model is established for each group. In each grouped model, hydrodynamic conditions are used as explanatory variables, and motion response characteristics are used as response variables. Algorithms such as linear mixed-effects models or generalized additive models are employed for modeling. Finally, based on the trained state maintenance hydrodynamic response models for each group, partial dependency analysis is used to plot the response curves of each motion response characteristic as a function of various hydrodynamic factors. Response thresholds and suitable hydrodynamic ranges are extracted, thus obtaining the complete response law of motion response characteristics under each maintenance state type as a function of hydrodynamic conditions. This makes the extraction of response laws for each state more accurate and targeted.

[0086] S2130. Based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, generate the fish migration behavior analysis results of the target fish object.

[0087] The technical solution of this invention determines the target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. Then, based on the fish acoustic positioning system and flow field observation system corresponding to the target waters, the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish species are acquired simultaneously. Using the measured flow field data as input, a spatiotemporal continuous flow field simulation dataset corresponding to the target fish species is determined based on a two-dimensional hydrodynamic numerical model. Further, the coordinates of the trajectory points in the sub-meter-level trajectory spatiotemporal sequence are transformed to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and the time of the trajectory points is time-matched with the simulation time of the spatiotemporal continuous flow field simulation dataset to obtain the matched spatial coordinates of the trajectory points. Based on the spatial coordinates of the trajectory points, the target grid cell corresponding to the trajectory point is determined in the flow field simulation grid at each matched time, and the velocity, water depth, flow direction, vorticity, and neighborhood hydrodynamic parameters of the target grid cell are extracted as synchronous flow field parameters. Based on the temporal and spatial information of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence, the trajectory motion characteristic parameters of the target fish species are calculated. The trajectory motion characteristic parameters and synchronous flow field parameters are input into a preset temporal state recognition model. This model identifies the initial motion state of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence, determining the initial motion state of each point. Trajectory points with consecutive identical initial motion states are merged into initial motion state segments, which are then corrected based on preset flow field response rules to obtain the final motion state and final motion state segments for each trajectory point, forming a motion state and flow field association dataset. Further, based on the individual target fish and the time sequence, the final motion state segments in the motion state and flow field association dataset are organized and sorted to obtain a target motion state segment sequence. The motion states of adjacent target motion state segments in the target motion state segment sequence are compared. When the motion states of adjacent target motion state segments differ, the state boundary between them is defined as a state transition event. Within each target motion state segment, state maintenance events are extracted according to a preset time window. The state transition events and state maintenance events are associated with their corresponding hydrodynamic conditions and motion characteristic parameters, respectively, to obtain a motion event and flow field association dataset. Furthermore, based on the state transition boundary of the state transition event, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, and a state transition hydrodynamic response model is established. The hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed. Then, based on the intra-event trajectory points of the state maintenance event, hydrodynamic correlation conditions and motion response characteristics are extracted, and a state maintenance hydrodynamic response model is established, analyzing the state maintenance response law. Finally, based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, the fish migration behavior analysis results of the target fish species are generated.Taking into account the conservation needs of multiple migratory fish species, sub-meter-level migration behavior trajectory tracking experiments and refined simulations of experimental river flow field conditions were conducted. This resulted in a database linking fish migration behavior and flow field at the second-level scale. Simultaneously, deep learning was employed to analyze the complex nonlinear interactions between fish behavior and hydrological elements, clarifying the broadly adaptable hydrodynamic preferences for maintaining fish migration channels and meeting practical ecological management needs. This approach addresses the difficulty in quantifying and analyzing the nonlinear interactions and specific thresholds between multi-species fish migration behavior and complex hydrodynamic elements in real-world in-situ flow fields, which previously lacked precise basis for ecological management. This provides an effective foundation for migratory fish conservation.

[0088] Based on the above embodiments, in order to improve the accuracy of the experimental results, the middle 100m of the meandering experimental river channel in the target watershed can be selected as the experimental area, and the lower 50m of the intake gate can be selected as the flow measurement area. Figure 3 The diagram shows a flow measurement area provided in an embodiment of the present invention. Specifically, the flow measurement area is arranged from top to bottom with an iron debris screen, a flow stabilizer, an acoustic flow meter, and a flow measurement bridge. To ensure accurate flow measurement, after a single experiment begins, flow meter measurements and manual flow measurements can be performed simultaneously. The manual flow measurement uses a 5-vertical-line, 3-point method. Figure 4 The diagram shows the experimental area provided in this embodiment of the invention. Specifically, the experimental area includes two straight river sections and two turning river sections. An iron fish-blocking net is placed at each end of the overall area to prevent the experimental fish from escaping. Three dredged areas and three filled areas are set up in the upstream straight river section to create differentiated flow velocities in the river channel. Typical cross-sectional velocity measuring bridges are set up in the maximum dredged area, the maximum filled area, and the downstream straight river channel to monitor the flow field of the experimental river channel. Regarding instrument deployment, a total of 10 high-precision acoustic positioning receivers (i.e., hydrophones) are deployed from top to bottom in the experimental area. One water level gauge is placed in each of the upstream, middle, and downstream sections of the river channel. Additionally, one mercury thermometer is placed in each of the maximum dredged area, the maximum filled area, and the downstream straight river channel. It is worth noting that... Figure 4 In the diagram, a triangle represents a water level gauge, a rhombus represents a hydrophone, and a hexagon represents a thermometer.

[0089] Example 3 Figure 5 This is a schematic diagram of a fish migration behavior analysis device based on motion state event recognition, provided in Embodiment 3 of the present invention. Figure 5 As shown, the device includes: a target fish identification module 310, a data acquisition and simulation module 320, a state recognition module 330, an event division module 340, a response analysis module 350, and a result generation module 360; Among them, the target fish identification module 310 is used to identify target fish objects based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish in the target waters; The data acquisition and simulation module 320 is used to simultaneously acquire the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish object based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, and use the measured flow field data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The state recognition module 330 is used to spatiotemporally align the sub-meter-level trajectory spatiotemporal sequence with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset, determine the synchronous flow field parameters corresponding to each trajectory point, calculate the trajectory motion feature parameters of the target fish object based on the sub-meter-level trajectory spatiotemporal sequence, and identify the motion state of the target fish object based on the trajectory motion feature parameters and the synchronous flow field parameters, thereby obtaining a motion state and flow field associated dataset. The event segmentation module 340 is used to merge trajectory points that are temporally adjacent and have the same motion state into motion state segments based on the motion state and flow field association dataset, determine the boundary between adjacent motion state segments where motion state changes as state transition events, and extract state maintenance events within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. The response analysis module 350 is used to extract the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition based on the state transition boundary of the state transition event, establish a state transition hydrodynamic response model, analyze the hydrodynamic response probability and hydrodynamic trigger threshold corresponding to the state transition event, and extract the hydrodynamic correlation conditions and motion response characteristics based on the trajectory points within the event of the state maintenance event, establish a state maintenance hydrodynamic response model, and analyze the state maintenance response law. The result generation module 360 ​​is used to generate the fish migration behavior analysis results of the target fish object based on the hydrodynamic response probability, the hydrodynamic trigger threshold and the state maintenance response law.

[0090] The technical solution of this invention determines the target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. Then, based on the fish acoustic positioning system and flow field observation system corresponding to the target waters, the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish species are acquired simultaneously. Using the measured flow field data as input, a spatiotemporal continuous flow field simulation dataset corresponding to the target fish species is determined based on a two-dimensional hydrodynamic numerical model. Further, the sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. Based on the sub-meter-level trajectory spatiotemporal sequence, the trajectory motion characteristic parameters of the target fish species are calculated, and the motion state of the target fish species is identified based on the trajectory motion characteristic parameters and the synchronous flow field parameters, resulting in a dataset relating the motion state to the flow field. Furthermore, based on the motion state and flow field association dataset, temporally adjacent trajectory points with the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are identified as state transition events. Within each motion state segment, state maintenance events are extracted according to a preset time window, resulting in a motion event and flow field association dataset. Further, based on the state transition boundaries of state transition events, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, establishing a state transition hydrodynamic response model. The hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed. Based on the trajectory points within the state maintenance event, hydrodynamic association conditions and motion response characteristics are extracted, establishing a state maintenance hydrodynamic response model and analyzing the state maintenance response law. Finally, based on the hydrodynamic response probability, hydrodynamic triggering threshold, and state maintenance response law, the fish migration behavior analysis results for the target fish species are generated. Taking into account the conservation needs of multiple migratory fish species, sub-meter-level migration behavior trajectory tracking experiments and refined simulations of experimental river flow field conditions were conducted. This resulted in a database linking fish migration behavior and flow field at the second-level scale. Simultaneously, deep learning was employed to analyze the complex nonlinear interactions between fish behavior and hydrological elements, clarifying the broadly adaptable hydrodynamic preferences for maintaining fish migration channels and meeting practical ecological management needs. This approach addresses the difficulty in quantifying and analyzing the nonlinear interactions and specific thresholds between multi-species fish migration behavior and complex hydrodynamic elements in real-world in-situ flow fields, which previously lacked precise basis for ecological management. This provides an effective foundation for migratory fish conservation.

[0091] Optionally, the state recognition module 330 can be specifically used to: transform the coordinates of trajectory points in the sub-meter-level trajectory spatiotemporal sequence to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and perform time matching between the trajectory point time and the simulation time of the spatiotemporal continuous flow field simulation dataset to obtain the matched trajectory point spatial coordinates; based on the trajectory point spatial coordinates, determine the target grid cell corresponding to the trajectory point in the flow field simulation grid at each matching time, and extract the velocity, water depth, flow direction, vorticity, and neighborhood hydrodynamic parameters of the target grid cell as synchronous flow field parameters; wherein, the neighborhood hydrodynamic difference parameters are determined by the difference in hydrodynamic conditions between the grid cell where the trajectory is located and the neighboring grid cells, including at least one of velocity difference, water depth difference, and vorticity difference; based on the time of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence Using spatial and temporal information, the trajectory motion characteristic parameters of the target fish object are calculated; wherein, the trajectory motion characteristic parameters include at least time interval, spatial displacement, motion velocity, and motion direction; the trajectory motion characteristic parameters and the synchronous flow field parameters are input into a preset temporal state recognition model, and the initial motion state of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence is identified by the temporal state recognition model to determine the initial motion state of each trajectory point; wherein, the motion state includes an upward state, a downward state, a stationary state, and a random motion state; trajectory points with consecutive identical initial motion states are merged into an initial motion state segment, and the initial motion state segment is corrected based on a preset flow field response rule to obtain the final motion state of each trajectory point and the final motion state segment, forming a motion state and flow field association dataset.

[0092] Optionally, the event segmentation module 340 can be specifically used to: organize and sort the final motion state segments in the motion state and flow field association dataset based on the individual target fish object and time sequence to obtain a target motion state segment sequence; compare the motion states of adjacent target motion state segments in the target motion state segment sequence, and when the motion states of adjacent target motion state segments are different, determine the state boundary between the adjacent target motion state segments as a state transition event; extract state maintenance events within each target motion state segment according to a preset time window; and associate the state transition events and state maintenance events with the corresponding hydrodynamic conditions and motion characteristic parameters to obtain a motion event and flow field association dataset.

[0093] Optionally, the response parsing module 350 can be specifically used to: extract the pre-transfer state, post-transfer state, and transfer boundary time of each state transition event from the motion event and flow field association dataset; using the transfer boundary time as a benchmark, extract the hydrodynamic condition statistics within the preset time window before and after the transfer, respectively, as the absolute hydrodynamic conditions before and after the transfer, and calculate the change or rate of change of the hydrodynamic conditions after the transfer relative to the hydrodynamic conditions before the transfer, as the hydrodynamic change characteristics; classify the state transition events according to the pre-transfer state and the post-transfer state to obtain various state transition modes, and statistically analyze the... The frequency and proportion of occurrence of various state transition modes are described to determine the target state transition type to be analyzed. Using the target state transition type as the target event, state transition events with the same pre-transition state as the sample set, whether the target state transition type occurs as the response variable, and the absolute hydrodynamic conditions before the transition, the absolute hydrodynamic conditions after the transition, and the hydrodynamic change characteristics as explanatory variables, a state transition hydrodynamic response model is established. Using the sample data corresponding to the target state transition type as input, and based on the state transition hydrodynamic response model, the hydrodynamic response probability and hydrodynamic trigger threshold corresponding to the target state transition type are analyzed.

[0094] Optionally, the response analysis module 350 can be specifically used to: extract the maintenance state type, trajectory point sequence within the event, and hydrodynamic conditions corresponding to each trajectory point from the motion event and flow field association dataset; calculate the motion response characteristics corresponding to each trajectory point using each trajectory point in the trajectory point sequence within the event as an analysis unit; wherein the motion response characteristics include at least one of motion velocity, motion direction, the angle between the trajectory direction and the flow direction, the flow velocity, net displacement, cumulative path length, path straightness, propulsion efficiency, and path selection characteristics; group each maintenance event based on the maintenance state type and establish a maintenance hydrodynamic response model for each; wherein the maintenance hydrodynamic response model uses hydrodynamic conditions as explanatory variables and motion response characteristics as response variables; and analyze the maintenance response law of the motion response characteristics changing with the hydrodynamic conditions under each maintenance state type based on the maintenance hydrodynamic response model.

[0095] Optionally, the target fish identification module 310 can be used to: acquire multidimensional attribute data of native migratory fish in the target water area; wherein the multidimensional attribute data includes at least life history characteristics, protection level, and dam construction impact factors; quantify and score the multidimensional attribute data based on a preset target fish screening and evaluation system and preset evaluation weights to obtain quantitative scoring results; and perform cluster analysis based on the quantitative scoring results and the reproductive characteristic parameters of the native migratory fish to identify target fish; wherein the reproductive characteristic parameters include at least spawning water temperature and spawning type.

[0096] Optionally, the data acquisition and simulation module 320 can be specifically used for: determining target inflow / outflow input conditions based on preset inflow / outflow input condition rules; under the target inflow / outflow input conditions, tracking the target fish object in real time based on the fish acoustic positioning system corresponding to the target water area, and determining the target plane coordinates corresponding to the target fish object; under the target inflow / outflow input conditions, synchronously monitoring the river flow field based on the flow field observation system to obtain measured flow field data; synchronously collecting the weather conditions and light intensity corresponding to the target plane coordinates as environmental background parameters, and associating the environmental background parameters, target plane coordinates, and corresponding data at the corresponding collection time. The timestamp is used to obtain a sub-meter-level trajectory spatiotemporal sequence with a preset time resolution. A computational grid is constructed based on the measured topography corresponding to the target water area, and a basic two-dimensional hydrodynamic numerical model is established. The measured water level process and flow rate process are used as boundary conditions. The measured flow field data are used for calibration and verification to obtain the target two-dimensional hydrodynamic numerical model. The water level process and flow rate process in the measured flow field data are used as upper and lower input conditions. The target two-dimensional hydrodynamic numerical model is used to perform global unsteady flow calculation on the target water area. The flow velocity, water depth, and vorticity data are output at a time step consistent with the sub-meter-level trajectory spatiotemporal sequence to form a spatiotemporally continuous flow field simulation dataset.

[0097] The fish migration behavior analysis device based on motion state event recognition provided in this embodiment of the invention can execute the fish migration behavior analysis method based on motion state event recognition provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.

[0098] Example 4 Figure 6A schematic diagram of an electronic device 410 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0099] like Figure 6 As shown, the electronic device 410 includes at least one processor 420 and a memory, such as a read-only memory (ROM) 430 or a random access memory (RAM) 440, communicatively connected to the at least one processor 420. The memory stores computer programs executable by the at least one processor. The processor 420 can perform various appropriate actions and processes based on the computer program stored in the ROM 430 or loaded into the RAM 440 from storage unit 490. The RAM 440 may also store various programs and data required for the operation of the electronic device 410. The processor 420, ROM 430, and RAM 440 are interconnected via a bus 450. An input / output (I / O) interface 460 is also connected to the bus 450.

[0100] Multiple components in electronic device 410 are connected to I / O interface 460, including: input unit 470, such as keyboard, mouse, etc.; output unit 480, such as various types of monitors, speakers, etc.; storage unit 490, such as disk, optical disk, etc.; and communication unit 4100, such as network card, modem, wireless transceiver, etc. Communication unit 4100 allows electronic device 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0101] Processor 420 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 420 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 420 performs the various methods and processes described above, such as the fish migration behavior analysis method based on motion state event recognition.

[0102] The method includes: The target fish species are determined based on a pre-defined target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish in the target waters. Based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, the sub-meter level trajectory spatiotemporal sequence and flow field measured data of the target fish object are acquired simultaneously. The flow field measured data is used as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. The trajectory motion feature parameters of the target fish object are calculated based on the sub-meter-level trajectory spatiotemporal sequence, and the motion state of the target fish object is identified based on the trajectory motion feature parameters and the synchronous flow field parameters to obtain a motion state and flow field association dataset. Based on the motion state and flow field association dataset, trajectory points that are temporally adjacent and have the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are determined as state transition events. State maintenance events are extracted within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. Based on the state transition boundary of the state transition event, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, a state transition hydrodynamic response model is established, the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed, and the hydrodynamic correlation conditions and motion response characteristics are extracted based on the trajectory points within the event of the state maintenance event, a state maintenance hydrodynamic response model is established, and the state maintenance response law is analyzed. Based on the hydrodynamic response probability, hydrodynamic trigger threshold, and state maintenance response pattern, the fish migration behavior analysis results of the target fish object are generated.

[0103] In some embodiments, the fish migration behavior analysis method based on motion state event recognition can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 490. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 410 via ROM 430 and / or communication unit 4100. When the computer program is loaded into RAM 440 and executed by processor 420, one or more steps of the fish migration behavior analysis method based on motion state event recognition described above can be performed. Alternatively, in other embodiments, processor 420 can be configured to perform the fish migration behavior analysis method based on motion state event recognition by any other suitable means (e.g., by means of firmware).

[0104] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0106] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0108] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0109] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0110] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0111] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for analyzing fish migration behavior based on motion state event recognition, characterized in that, include: The target fish species are determined based on a pre-defined target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish in the target waters. Based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, the sub-meter level trajectory spatiotemporal sequence and flow field measured data of the target fish object are acquired simultaneously. The flow field measured data is used as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The sub-meter-level trajectory spatiotemporal sequence is spatiotemporally aligned with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. The trajectory motion feature parameters of the target fish object are calculated based on the sub-meter-level trajectory spatiotemporal sequence, and the motion state of the target fish object is identified based on the trajectory motion feature parameters and the synchronous flow field parameters to obtain a motion state and flow field association dataset. Based on the motion state and flow field association dataset, trajectory points that are temporally adjacent and have the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where motion state changes are determined as state transition events. State maintenance events are extracted within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. Based on the state transition boundary of the state transition event, the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition are extracted, a state transition hydrodynamic response model is established, the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event are analyzed, and the hydrodynamic correlation conditions and motion response characteristics are extracted based on the trajectory points within the event of the state maintenance event, a state maintenance hydrodynamic response model is established, and the state maintenance response law is analyzed. Based on the hydrodynamic response probability, hydrodynamic trigger threshold, and state maintenance response pattern, the fish migration behavior analysis results of the target fish object are generated.

2. The method according to claim 1, characterized in that, The process involves spatiotemporally aligning the sub-meter-level trajectory spatiotemporal sequence with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset to determine the synchronous flow field parameters corresponding to each trajectory point. Based on the sub-meter-level trajectory spatiotemporal sequence, the process calculates the trajectory motion characteristic parameters of the target fish object and identifies the motion state of the target fish object based on the trajectory motion characteristic parameters and the synchronous flow field parameters, resulting in a motion state and flow field association dataset. This includes: The coordinates of the trajectory points in the sub-meter level trajectory spatiotemporal sequence are transformed to a spatial coordinate system consistent with the spatiotemporal continuous flow field simulation dataset, and the trajectory point time is matched with the simulation time of the spatiotemporal continuous flow field simulation dataset to obtain the matched trajectory point spatial coordinates. Based on the spatial coordinates of the trajectory point, the target grid cell corresponding to the trajectory point is determined in the flow field simulation grid at each matching time, and the flow velocity, water depth, flow direction, vorticity, and neighborhood hydrodynamic parameters of the target grid cell are extracted as synchronous flow field parameters; wherein, the neighborhood hydrodynamic difference parameters are determined by the difference in hydrodynamic conditions between the grid cell where the trajectory is located and the neighboring grid cells, including at least one of the following: flow velocity difference, water depth difference, and vorticity difference; Based on the temporal and spatial information of adjacent trajectory points in the sub-meter-level trajectory spatiotemporal sequence, the trajectory motion characteristic parameters of the target fish object are calculated; wherein, the trajectory motion characteristic parameters include at least time interval, spatial displacement, motion speed, and motion direction; The trajectory motion characteristic parameters and the synchronous flow field parameters are input into a preset temporal state recognition model. The temporal state recognition model is used to identify the initial motion state of each trajectory point in the sub-meter-level trajectory spatiotemporal sequence and determine the initial motion state of each trajectory point. The motion state includes an upward state, a downward state, a stationary state, and a random motion state. Trajectory points with consecutive initial motion states are merged into initial motion state segments, and the initial motion state segments are corrected based on preset flow field response rules to obtain the final motion state and final motion state segments of each trajectory point, forming a motion state and flow field association dataset.

3. The method according to claim 1, characterized in that, Based on the motion state and flow field association dataset, trajectory points that are temporally adjacent and have the same motion state are merged into motion state segments. The boundary between adjacent motion state segments where a change in motion state occurs is identified as a state transition event. Within each motion state segment, state maintenance events are extracted according to a preset time window to obtain a motion event and flow field association dataset, including: Based on the individual target fish object and its time sequence, the final motion state segments in the motion state and flow field association dataset are organized and sorted to obtain the target motion state segment sequence. Compare the motion states of adjacent target motion state segments in the target motion state segment sequence. When the motion states of adjacent target motion state segments are different, the state boundary between the adjacent target motion state segments is determined as a state transition event. Within each of the target motion state segments, state maintenance events are extracted according to a preset time window; The state transition events and state maintenance events are associated with the corresponding hydrodynamic conditions and motion characteristic parameters to obtain a dataset of motion events and flow field associations.

4. The method according to claim 1, characterized in that, The process involves extracting the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition based on the state transition boundary of the state transition event, establishing a state transition hydrodynamic response model, and analyzing the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event, including: Extract the pre-transition state, post-transition state, and transition boundary time of each state transition event from the motion event and flow field association dataset; Based on the transfer boundary time, the statistical values ​​of hydrodynamic conditions within the preset time window before transfer and the preset time window after transfer are extracted respectively, as the absolute hydrodynamic conditions before transfer and the absolute hydrodynamic conditions after transfer. The change or rate of change of the hydrodynamic conditions after transfer relative to the hydrodynamic conditions before transfer is calculated as the hydrodynamic change characteristics. The state transition events are classified according to the state before and after the transition to obtain various state transition patterns. The frequency and proportion of occurrence of each state transition pattern are statistically analyzed to determine the target state transition type to be analyzed. A state transition hydrodynamic response model is established using the target state transition type as the target event, state transition events with the same pre-transition state as the sample set, whether the target state transition type occurs as the response variable, and the hydrodynamic absolute conditions before the transition, the hydrodynamic absolute conditions after the transition, and the hydrodynamic change characteristics as explanatory variables. Using the sample data corresponding to the target state transition type as input, and based on the state transition hydrodynamic response model, the hydrodynamic response probability and hydrodynamic trigger threshold corresponding to the target state transition type are obtained analytically.

5. The method according to claim 1, characterized in that, The process involves extracting hydrodynamic correlation conditions and motion response characteristics from the trajectory points within the state-maintaining event, establishing a state-maintaining hydrodynamic response model, and analyzing the state-maintaining response patterns, including: Extract the maintenance state type, trajectory point sequence within the event, and hydrodynamic conditions corresponding to each trajectory point from the motion event and flow field association dataset. Using each trajectory point in the sequence of trajectory points within the event as an analysis unit, the motion response characteristics corresponding to each trajectory point are calculated; wherein, the motion response characteristics include at least one of the following: motion speed, motion direction, angle between trajectory direction and flow direction, flow velocity, net displacement, cumulative path length, path straightness, propulsion efficiency, and path selection characteristics; Based on the maintenance state type, each maintenance event is grouped, and a maintenance hydrodynamic response model is established for each; wherein, the maintenance hydrodynamic response model uses hydrodynamic conditions as explanatory variables and motion response characteristics as response variables. Based on the state maintenance hydrodynamic response model, the state maintenance response law of the motion response characteristics under each maintenance state type as the hydrodynamic conditions change is analyzed.

6. The method according to claim 1, characterized in that, The determination of target fish species based on a pre-defined target fish screening and evaluation system and multi-dimensional attribute data of native migratory fish in the target waters includes: Acquire multidimensional attribute data of native migratory fish species in the target waters; wherein, the multidimensional attribute data includes at least life history characteristics, conservation status, and dam construction impact factors; The multidimensional attribute data is quantitatively scored based on a preset target fish screening and evaluation system and preset evaluation weights to obtain quantitative scoring results. Cluster analysis was performed based on the quantitative scoring results and the reproductive characteristic parameters of the native migratory fish to determine the target fish species; wherein the reproductive characteristic parameters include at least spawning water temperature and spawning type.

7. The method according to claim 1, characterized in that, The fish acoustic localization system and flow field observation system based on the target water area simultaneously acquire the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish object. Using the measured flow field data as input, a spatiotemporal continuous flow field simulation dataset corresponding to the target fish object is determined based on the target two-dimensional hydrodynamic numerical model, including: The target inflow / outflow input conditions are determined based on preset inflow / outflow input condition rules; Under the input conditions of the target inflow and outflow, the target fish object is tracked in real time based on the fish acoustic positioning system corresponding to the target water area to determine the target plane coordinates corresponding to the target fish object; Under the target inflow and outflow input conditions, the river flow field is monitored synchronously based on the flow field observation system to obtain measured flow field data; The weather conditions and light intensity corresponding to the target plane coordinates are collected synchronously as environmental background parameters, and the environmental background parameters, target plane coordinates and corresponding timestamps at the corresponding collection time are associated to obtain a sub-meter level trajectory spatiotemporal sequence with a preset time resolution. A computational grid is constructed based on the measured topography corresponding to the target water area, and a basic two-dimensional hydrodynamic numerical model is established. The measured water level process and flow process are used as boundary conditions. The measured flow field data are used for calibration and verification to obtain the target two-dimensional hydrodynamic numerical model. Using the water level and flow rate processes in the measured flow field data as upper and lower input conditions, the target water area is calculated as a whole-domain unsteady flow based on the target two-dimensional hydrodynamic numerical model. The flow velocity, water depth and vorticity data are output at a time step consistent with the sub-meter-level trajectory spatiotemporal sequence to form a spatiotemporal continuous flow field simulation dataset.

8. A device for analyzing fish migration behavior based on motion state event recognition, characterized in that, include: The target fish identification module is used to identify target fish species based on a preset target fish screening and evaluation system and multidimensional attribute data of native migratory fish species in the target waters. The data acquisition and simulation module is used to simultaneously acquire the sub-meter-level trajectory spatiotemporal sequence and measured flow field data of the target fish object based on the fish acoustic positioning system and flow field observation system corresponding to the target water area, and use the measured flow field data as input conditions to determine the spatiotemporal continuous flow field simulation dataset corresponding to the target fish object based on the target two-dimensional hydrodynamic numerical model. The state recognition module is used to spatiotemporally align the sub-meter-level trajectory spatiotemporal sequence with the corresponding grid cells in the spatiotemporal continuous flow field simulation dataset, determine the synchronous flow field parameters corresponding to each trajectory point, calculate the trajectory motion feature parameters of the target fish object based on the sub-meter-level trajectory spatiotemporal sequence, and identify the motion state of the target fish object based on the trajectory motion feature parameters and the synchronous flow field parameters, thereby obtaining a motion state and flow field association dataset. The event segmentation module is used to merge trajectory points that are temporally adjacent and have the same motion state into motion state segments based on the motion state and flow field association dataset, determine the boundary between adjacent motion state segments where motion state changes occur as state transition events, and extract state maintenance events within each motion state segment according to a preset time window to obtain the motion event and flow field association dataset. The response analysis module is used to extract the absolute hydrodynamic conditions and hydrodynamic change characteristics before and after the state transition based on the state transition boundary of the state transition event, establish a state transition hydrodynamic response model, analyze the hydrodynamic response probability and hydrodynamic triggering threshold corresponding to the state transition event, and extract the hydrodynamic correlation conditions and motion response characteristics based on the trajectory points within the event of the state maintenance event, establish a state maintenance hydrodynamic response model, and analyze the state maintenance response law. The result generation module is used to generate the fish migration behavior analysis results of the target fish object based on the hydrodynamic response probability, hydrodynamic trigger threshold and state maintenance response law.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the fish migration behavior analysis method based on motion state event recognition as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the fish migration behavior analysis method based on motion state event recognition as described in any one of claims 1-7.