Risk early warning method and system based on disaster influence range and internet of things perception fusion
By processing multi-source disaster data to generate a unified impact range object, calculating the spatial relationship of video points and identifying the PTZ vibration level, the problem of disaster early warning relying on human experience has been solved, and the automation and accuracy of disaster early warning have been improved.
Patent Information
- Application Number
- CN202611467274.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-20
AI Technical Summary
Existing disaster early warning platforms rely on human experience and cannot accurately provide spatial information on the impact of video IoT points, resulting in large deviations in early warning results.
By acquiring raw disaster data from multiple sources and heterogeneous sources, preprocessing it to generate a unified disaster impact range object, calculating the spatial relationship of video IoT points, generating a perception task, and combining the attitude sequence of PTZ cameras to identify vibration levels, integrating multiple data to calculate risk scores, and outputting an alarm evidence package.
It improves the accuracy and reliability of disaster early warning results, automatically determines the duration of impact of video IoT points, optimizes the scheduling of video and algorithm resources, and reduces the false alarm rate.
Smart Images

Figure CN123142126A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of video sensing technology or other related fields. Specifically, it relates to a risk warning method and system based on the fusion of disaster impact range and Internet of Things sensing. Background Technology
[0002] Natural disaster risk early warning involves multiple fields. With the development of geographic information systems, the Internet of Things, video surveillance, edge computing, and artificial intelligence recognition technologies, the ways to obtain disaster information have become diversified. These technologies are characterized by multiple sources, different update times, different spatial representations, different levels of credibility, and continuous evolution. Disaster early warning platforms in related technologies can display disaster situations or video footage. The task triggering of video analysis or equipment operation and maintenance systems mostly comes from manual selection, fixed rounds, single thresholds, or general plans, making it difficult to achieve differentiated scheduling of limited video and algorithm resources during disasters.
[0003] Meanwhile, video platforms in related technologies often use manual point selection, fixed patrol plans, or single device threshold triggering to retrieve videos and algorithms. When disasters such as typhoons, rainstorms, wildfires, and earthquakes occur or are predicted to be imminent, managers usually need to switch back and forth between meteorological systems, GIS maps, video platforms, and equipment ledgers, manually select key points, increase patrol frequency, and conduct remote verification. This method not only relies on personnel experience but also makes it difficult to accurately provide the spatial basis of the affected points, the expected time of impact, and task priorities.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a risk warning method and system based on the fusion of disaster impact range and IoT sensing, which at least solves the technical problem in related technologies that video platforms for disaster warning analysis rely on human experience, cannot provide spatial evidence of the impact of video IoT points, and are prone to large deviations in disaster warning results.
[0006] To achieve the above objectives, according to one aspect of this application, a risk early warning method based on the fusion of disaster impact range and IoT sensing is provided, comprising: acquiring multi-source heterogeneous disaster raw data; preprocessing the multi-source heterogeneous disaster raw data to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information, wherein the preprocessing strategy includes at least one of the following: field mapping, coordinate transformation, and validity verification; within a preset risk time window, calculating the spatial relationship between video IoT points and the unified disaster impact range object; determining spatial matching data of the video IoT points based on the spatial relationship; and delineating the affected video IoT points, wherein the spatial matching data includes: expected impact duration, impact level, and matching reason, wherein the expected impact duration includes the expected entry time... The system calculates the time and expected departure time; based on the disaster type, impact level, scene and device status of the affected video IoT points, it filters parameters from a preset configuration template to generate a perception task and sends it to the video IoT devices. The perception task includes task type, sampling frequency and priority; it acquires the attitude sequence of the PTZ camera, performs continuous unfolding processing on the cross-boundary angles based on the attitude sequence, identifies and filters active motion features, and determines the vibration level of the PTZ camera based on the residual features; it fuses the spatial matching data, the vibration level of the PTZ camera, the image analysis data and the device status data to calculate a risk score, and outputs an alarm evidence package containing the disaster object and data version, impact range data, affected video IoT points, device status, risk score and suggested actions when the risk score exceeds a preset score threshold.
[0007] According to another aspect of the present invention, a risk warning system based on the fusion of disaster impact range and IoT sensing is also provided, comprising: a natural disaster data access and adaptation unit for acquiring multi-source heterogeneous disaster raw data; a unified disaster impact range object generation unit for preprocessing the multi-source heterogeneous disaster raw data to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and original data traceability information, wherein the preprocessing strategy includes at least one of the following: field mapping, coordinate transformation, and validity verification; a video IoT point resource management unit for managing all video IoT points; and a point spatiotemporal matching unit for calculating the spatial relationship between the video IoT points and the unified disaster impact range object within a preset risk time window, determining the spatial matching data of the video IoT points based on the spatial relationship, and delineating the affected video IoT points, wherein the spatial matching data includes: expected impact duration, impact level, and matching reason, wherein the expected impact duration... The duration includes the estimated entry time and estimated exit time; the perception task orchestration unit is used to select parameters from a preset configuration template based on the disaster type, impact level, scene and device status of the affected video IoT points, generate perception tasks, and send them to the video IoT devices, wherein the perception task includes task type, sampling frequency and priority; the perception result access unit is used to receive the perception task, obtain the attitude sequence of the PTZ camera, continuously expand the cross-boundary angle based on the attitude sequence, identify and filter active motion features, and determine the vibration level of the PTZ camera based on the residual features; the comprehensive risk judgment unit is used to fuse the spatial matching data, the vibration level of the PTZ camera, the image analysis data and the device status data to calculate the risk score; the alarm evidence package unit is used to output an alarm evidence package containing the disaster object and data version, impact range data, affected video IoT points, device status, risk score and suggested actions when the risk score exceeds a preset score threshold.
[0008] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the risk warning method based on the fusion of disaster impact range and Internet of Things sensing, as described above.
[0009] According to another aspect of the present invention, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the risk warning method based on the fusion of disaster impact range and Internet of Things sensing as described above.
[0010] According to another aspect of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of the risk warning method based on the fusion of disaster impact range and IoT sensing as described in any one of the above embodiments.
[0011] In this disclosure, raw data of multi-source heterogeneous disasters are acquired, and the raw data is preprocessed to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information. The preprocessing strategies include at least one of the following: field mapping, coordinate transformation, and validity verification. Within a preset risk time window, the spatial relationship between video IoT points and the unified disaster impact range object is calculated. Based on the spatial relationship, spatial matching data for the video IoT points is determined, and the affected video IoT points are delineated. The spatial matching data includes: expected impact duration, impact level, and matching reason. The expected impact duration includes the expected entry time and expected exit time. Based on the disaster type, impact level, and affected... The system detects and analyzes the scenarios and device status affecting video IoT points. Parameters are selected from a preset configuration template to generate perception tasks, which are then distributed to the video IoT devices. Each perception task includes task type, sampling frequency, and priority. The system acquires the attitude sequence of the PTZ camera, continuously unfolds the cross-boundary angles based on the attitude sequence, identifies and filters active motion features, and determines the vibration level of the PTZ camera based on the residual features. It then fuses spatial matching data, the vibration level of the PTZ camera, image analysis data, and device status data to calculate a risk score. If the risk score exceeds a preset threshold, it outputs an alarm evidence package containing the disaster object and data version, impact range data, affected video IoT points, device status, risk score, and suggested actions.
[0012] In this disclosure, a unified, computable disaster impact range object can be constructed, and then automated spatiotemporal matching can be achieved based on the risk time window. The duration of the impact of video IoT points can be automatically determined, spatial matching data can be generated, and multi-source data fusion can be used to achieve comprehensive disaster risk assessment. This improves the accuracy and reliability of disaster early warning results, thereby solving the technical problem in related technologies that video platforms for disaster early warning analysis rely on human experience and cannot provide spatial evidence of the impact of video IoT points, which easily leads to large deviations in disaster early warning results. Attached Figure Description
[0013] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0014] Figure 1A hardware structure block diagram of a computer terminal (or mobile device) for implementing a risk warning method based on the fusion of disaster impact range and IoT sensing is shown.
[0015] Figure 2 This is a flowchart of an optional risk warning method based on the fusion of disaster impact range and IoT sensing according to an embodiment of the present invention;
[0016] Figure 3 This is a schematic diagram of a risk early warning system based on the fusion of the impact range of natural disasters and video IoT sensing according to an embodiment of the present invention;
[0017] Figure 4 This is a schematic diagram of a disaster impact range object model according to an embodiment of the present invention;
[0018] Figure 5 This is a flowchart of an optional point-to-point spatiotemporal matching according to an embodiment of the present invention;
[0019] Figure 6 This is a flowchart of an optional perception task orchestration according to an embodiment of the present invention;
[0020] Figure 7 This is a flowchart of an optional integrated scoring and alarm evidence package according to an embodiment of the present invention;
[0021] Figure 8 This is a flowchart of an optional early warning and handling closed loop according to an embodiment of the present invention;
[0022] Figure 9 This is a schematic diagram of an optional risk warning system based on the fusion of disaster impact range and IoT sensing according to an embodiment of the present invention;
[0023] Figure 10 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0024] 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.
[0025] It should be noted that the terms "first," "second," etc., 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 a 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.
[0026] To facilitate understanding of the present invention by those skilled in the art, some terms or nouns involved in the various embodiments of the present invention are explained below:
[0027] A pan-tilt-zoom (PTZ) is a camera that has the functions of horizontal rotation, vertical tilt, and zoom, used to achieve all-round monitoring and detail capture of video footage.
[0028] The wind radius refers to the circular or elliptical area around the center of a typhoon where winds of varying intensities (such as level 7, 10, and 12) are distributed. It is used to define the extent of a typhoon's influence.
[0029] Quadrants are regions that divide the wind circle into four directions: northeast, southeast, southwest, and northwest. They are used to describe the asymmetry of the typhoon wind circle radius in a more detailed way.
[0030] A buffer zone is a safe or risky extended area of a certain width set around the predicted path or impact polygon of a typhoon to cover the uncertainty of the path prediction.
[0031] Pan angle, also known as Pan angle, refers to the angle at which a camera lens rotates horizontally around its vertical axis, used to control the left and right direction of the image.
[0032] Tilt angle, or Tilt Angle, refers to the angle at which a camera lens tilts vertically around its horizontal axis, used to control the vertical direction of the image.
[0033] Normalization refers to the process of converting Pan angle data to a uniform range (such as 0-360 degrees) to eliminate differences in format between different data sources.
[0034] Wrapping Expansion refers to the algorithm that handles pan angles crossing 0-degree / 360-degree boundaries. It avoids generating false large numerical jumps by calculating and accumulating the minimum angular difference between adjacent samples, thus realistically reflecting the camera's motion trajectory.
[0035] The residual refers to the high-frequency fluctuation component remaining after removing the trend term (such as slow drift or active motion) from the original attitude signal, and is used to characterize the micro-vibration of the equipment.
[0036] Theil-Sen regression, or Theil-Sen Estimator, is a robust linear fitting method that fits a trend line by calculating the median of the slope for all data points. It is insensitive to outliers and is used to accurately remove the trend term of slow gimbal drift.
[0037] Median filtering is a non-linear digital filtering technique used to smooth signals and remove impulse noise (such as interface jump values) while preserving the main characteristics of the signal.
[0038] Root Mean Square (RMS) is a statistical measure used to measure the energy or fluctuation intensity of a residual sequence, and is often used as one of the indicators for judging the level of volatility.
[0039] Geographic Information System (GIS) is a computer system used to collect, store, analyze, and display geospatial data.
[0040] Application Programming Interface (API) refers to the interface specifications for data interaction and function calls between different modules of a system.
[0041] It should be noted that the risk warning method and device based on the fusion of disaster impact range and IoT sensing in this disclosure can be used in the field of video sensing technology for risk warning based on the fusion of disaster impact range and video IoT sensing, and can also be used in any field other than the field of video sensing technology for risk warning based on the fusion of disaster impact range and video IoT sensing. This disclosure does not limit the application field of the risk warning method and device based on the fusion of disaster impact range and IoT sensing.
[0042] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, and displayed data, etc.) collected in this public disclosure are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data are handled with corresponding access points, allowing users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.
[0043] It should be noted that in this disclosure, customer information is collected and analyzed, and users are provided with corresponding operation entry points to choose whether to agree to or reject the automated decision results; if the user chooses to reject, the process will proceed to the expert decision-making process.
[0044] The following embodiments of the present invention can be applied to various risk warning systems / applications / devices based on the fusion of disaster impact range and IoT sensing. The present invention is applicable to risk warning scenarios before and after natural disasters, such as natural disaster monitoring and early warning, and urban infrastructure operation and maintenance. It is also applicable to safety inspection scenarios for critical infrastructure such as communication towers, port high points, road monitoring, bridges, and tunnels.
[0045] This invention can unify heterogeneous disaster data into a computable impact range object, realize automated spatiotemporal matching of disaster information and video IoT points, solve the problems of low efficiency and easy omission in manual screening of key points, and dynamically arrange perception tasks based on disaster context, which can optimize the scheduling strategy of limited video and algorithm resources and improve the targeted utilization of resources.
[0046] Furthermore, this invention effectively distinguishes between active equipment control and passive vibration caused by disasters through active motion filtering of the gimbal and multi-feature vibration classification, thereby reducing the false alarm rate.
[0047] The present invention will now be described in detail with reference to various embodiments.
[0048] Example 1
[0049] According to an embodiment of the present invention, a risk warning method based on the fusion of disaster impact range and Internet of Things sensing is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0050] The risk warning method based on the fusion of disaster impact range and IoT sensing provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal or similar computing device. Figure 1 A hardware block diagram of a computer terminal (or mobile device) for implementing a risk early warning method based on the fusion of disaster impact range and IoT sensing is shown. Figure 1 As shown, computer terminal 10 (or mobile device) may include one or more ( Figure 1 The processor 102 (which may include, but is not limited to, a microprocessor MCU (Microcontroller Unit) or a programmable gate array (FPGA)) is shown as 102a, 102b, ..., 102n. It also includes a memory 104 for storing data and a transmission device 106 for communication functions. In addition, it may include: a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0051] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0052] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the risk warning method based on the fusion of disaster impact range and IoT sensing in this embodiment of the application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the aforementioned risk warning method based on the fusion of disaster impact range and IoT sensing. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0053] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0054] The display can be, for example, a touchscreen liquid crystal display (LCD), which allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0055] Under the aforementioned operating environment, this application provides the following: Figure 2 The method shown is a risk warning method based on the fusion of disaster impact range and IoT sensing. Figure 2 This is a flowchart of an optional risk warning method based on the fusion of disaster impact range and IoT sensing according to an embodiment of the present invention, such as... Figure 2 As shown, the method includes the following steps S201 to S205. The present invention will be described in detail below with reference to each implementation step.
[0056] Step S201: Obtain the original data of multi-source heterogeneous disasters, preprocess the original data of multi-source heterogeneous disasters, and generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity and original data traceability information. The preprocessing strategy includes at least one of the following: field mapping, coordinate transformation and validity verification.
[0057] Optionally, the steps of acquiring raw data of multi-source heterogeneous disasters, preprocessing the raw data, and generating a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information include: acquiring raw data of multi-source heterogeneous disasters of the type of disaster to be monitored, wherein each type of disaster raw data includes at least the following fields: data source, release time, reception time, coordinate reference, original message reference, and field mapping version; validating the field names, time format, coordinate reference, and data validity in the raw data of multi-source heterogeneous disasters, and writing the valid disaster raw data into the object generation unit, which generates a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information, wherein the unified disaster impact range object also includes: disaster identifier, disaster type, data source identifier, spatial geometric type, confidence level, coordinate system, and object version number, and the spatial geometric type includes point, line, surface, raster, and buffer; and writing anomaly records for invalid data, expired data, or raw data whose coordinates cannot be converted in the raw data of multi-source heterogeneous disasters.
[0058] It should be noted that invalid, expired, or non-convertible original data in multi-source heterogeneous disaster raw data can be directly written into the anomaly log. This ensures that high-quality data within the valid time window participates in risk calculation, preventing erroneous data from interfering with early warning results. Simultaneously, the anomaly log can be used to monitor data source quality and assist the operations and maintenance team in troubleshooting data access issues. By transforming heterogeneous disaster raw data into a unified object with a standard structure, clear timeliness, and spatial geometric attributes, the disaster data is transformed from information display to a machine-computable object. This provides an accurate, reliable, and traceable spatial reference system for subsequent automated spatiotemporal matching of video IoT points, improving the automation level of the early warning system and the accuracy of data processing.
[0059] Optionally, the verified original disaster data is written into the object generation unit, and the object generation unit generates a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and original data traceability information. This includes: when the disaster type is a typhoon disaster, obtaining the actual path points, forecast path points, central pressure, maximum wind speed, direction of movement, speed of movement, four-quadrant radii of wind circles of different levels, and impact polygons of the typhoon disaster; controlling the object generation unit to sort the actual path points and forecast path points according to the time sequence, and generating wind circle surfaces of corresponding intensity levels according to the wind circle radii at each forecast time; generating predicted path buffer surfaces according to adjacent forecast points and preset lateral distances, or using the verified wind circle impact polygons as the impact surface of the typhoon disaster, wherein each wind circle surface, buffer surface, or impact surface of the typhoon disaster is associated with a corresponding effective time period, impact intensity, and data version.
[0060] This invention can receive standardized typhoon data messages from meteorological departments or upstream operational systems, covering typhoon kinematic parameters and spatial impact range parameters. Then, the control object generation unit sorts the actual and predicted path points according to a time sequence. It should be noted that establishing the temporal logic of typhoon movement through time sorting helps to accurately predict the future spatial location and trajectory of the typhoon. Subsequently, wind circle surfaces corresponding to the intensity level can be generated based on the wind circle radius at each forecast time. These wind circle surfaces can be constructed as asymmetrical or symmetrical geometric polygons based on the four quadrant radii to more accurately reflect the spatial distribution characteristics of typhoon wind force. This transforms discrete radius data into continuous spatial geometric objects, enabling video IoT points to perform spatial inclusion, intersection, or distance calculations, thereby quantifying the degree to which points are affected by the typhoon.
[0061] Furthermore, this embodiment can generate a predicted path buffer surface based on adjacent forecast points and a preset lateral distance, or use the validated wind circle influence polygon as the typhoon disaster impact surface. It should be noted that the predicted path buffer surface is used to cover the uncertainty range of typhoon path prediction, while the wind circle influence polygon directly defines the strong wind area. This dual-track spatial representation mechanism helps to comprehensively cover the areas that may be affected by the typhoon, avoiding the omission of key monitoring points due to path prediction deviations, and improving the completeness of risk delineation. Each wind circle surface, buffer surface, or impact surface of the typhoon disaster is associated with a corresponding effective time period, impact intensity, and data version. This clearly defines the effective range and corresponding risk level of each spatial geometric object on the time axis, enabling dynamic judgment of whether a point is within the influence range of a specific intensity during subsequent spatiotemporal matching. It also supports tracing or correcting historical matching results based on the latest data version, improving the timeliness and accuracy of disaster risk assessment.
[0062] Step S202: Within the preset risk time window, calculate the spatial relationship between video IoT points and objects within the unified disaster impact range, determine the spatial matching data of video IoT points based on the spatial relationship, and delineate the affected video IoT points. The spatial matching data includes: the expected duration of impact, the impact level, and the matching reason. The expected duration of impact includes the expected entry time and the expected exit time.
[0063] Optionally, within a preset risk time window, the steps of calculating the spatial relationship between video IoT points and objects within a unified disaster impact area, determining spatial matching data for video IoT points based on the spatial relationship, and delineating affected video IoT points include: acquiring multiple types of point resource objects maintained by the point resource management unit, wherein the multiple types of point resource objects include at least one of the following: PTZ cameras, poles, road monitoring equipment, and sensor equipment, and each type of resource object includes at least point identifier, channel identifier, latitude and longitude, scene label, equipment type, available capabilities, online status, responsible unit, and historical risk baseline; if any video IoT point has no latitude and longitude coordinates, fails coordinate verification, or has an online status of being deregistered, an unmatchable status is output, and the data is not accepted. The system generates data on video IoT points. Starting from the current moment, a preset risk time window is established. Within this window, the spatial relationships between video IoT points and objects within the affected area are calculated (including inclusion, intersection, shortest distance, and buffer zones). Based on these spatial relationships, the time when a video IoT point first satisfies the preset spatial relationship is determined as the expected entry time, and the time when it last satisfies the preset spatial relationship is determined as the expected departure time, thus obtaining the expected duration of the impact. The system outputs spatial matching data containing spatial relationships, disaster indicators, video IoT point identifiers, expected duration of impact, impact level, and matching reasons. For typhoon disasters, matching reasons include: being located within a preset level wind circle, intersecting with a rainstorm warning area, or being less than a preset distance from the predicted path.
[0064] In this embodiment, if any video IoT point has no latitude and longitude coordinates, fails coordinate verification, or is logged out of the online status, an unmatchable status is output, and data from that video IoT point is not received. This eliminates the interference of invalid or unavailable resources on the calculation results, avoids misjudging offline or coordinate-less devices as "unaffected", and thus maintains the accuracy of the matching results and the effectiveness of resource scheduling.
[0065] The system establishes a preset risk time window starting from the current moment. Within this window, it calculates the inclusion, intersection, shortest distance, or buffer relationships between video IoT points and objects within the affected area to obtain spatial relationships. Specifically, based on GIS spatial analysis algorithms, it quantifies the spatial topological relationship between video IoT points and disaster-affected areas, transforming static location matching into dynamic spatiotemporal association. The time when a video IoT point first satisfies the preset spatial relationship is determined as the expected entry time, and the time when it last satisfies the preset spatial relationship is determined as the expected departure time. This depicts the temporal characteristics of the points' impact from the disaster, enabling the system to predict the arrival time and duration of risks in advance, guiding the perception task to execute within an appropriate time window. By establishing a preset risk time window and calculating the dynamic spatial relationship between points and disaster objects, the system achieves automated and precise delineation of affected points.
[0066] Step S203: Based on the disaster type, impact level, scene and device status of the affected video IoT points, parameters are selected from the preset configuration template to generate a perception task, which is then sent to the video IoT device. The perception task includes task type, sampling frequency and priority.
[0067] This embodiment establishes a disaster context-driven perception task orchestration mechanism, which combines static location resources with dynamic disaster situations to achieve automated generation and differentiated scheduling of perception tasks, avoiding the lag and subjectivity caused by manual intervention. Optionally, the step of selecting parameters from a preset configuration template, generating a perception task, and distributing it to the video IoT device based on the disaster type, impact level, scene and device status of the affected video IoT points includes: obtaining multiple pre-stored disaster configuration templates, wherein each disaster configuration template includes: disaster type, impact level range, applicable scene label, device capability conditions, task type, algorithm service identifier, sampling frequency, execution cycle, priority, timeout policy, review policy, and alarm threshold; selecting multiple disaster configuration templates in the order of disaster type, impact level, location scene, device capability, and online status to obtain a preset configuration template; and selecting parameters from the preset configuration template to generate a perception task based on the disaster type, impact level, scene and device status of the affected video IoT points, and distributing it to the video IoT device, wherein the task record of the perception task includes task identifier, disaster identifier, location identifier, template version, task type, algorithm service identifier, sampling interval, execution cycle, priority, start time, failure time, retry policy, and execution status.
[0068] This embodiment can pre-build a standardized task configuration library, solidifying best practices for different disaster scenarios into templates, reducing system configuration complexity, and supporting rapid adaptation and reuse across multiple disaster types and scenarios. Then, multiple disaster configuration templates are filtered according to the order of disaster type, impact level, location scenario, equipment capabilities, and online status to obtain a preset configuration template. It should be noted that through multi-dimensional condition matching, the most suitable configuration strategy for the current location and disaster status is accurately located from the template library. Subsequently, for scenarios and equipment status based on disaster type, impact level, affected video IoT locations, parameters are filtered from the preset configuration template to generate perception tasks, which are then distributed to the video IoT devices. This can generate structured task instructions, clearly defining the specific parameters for task execution and lifecycle management rules.
[0069] Step S204: Obtain the attitude sequence of the PTZ camera, continuously unfold the cross-boundary angles based on the attitude sequence, identify and filter active motion features, and determine the vibration level of the PTZ camera based on the remaining residual features.
[0070] This embodiment introduces a refined processing mechanism for gimbal attitude sequences to solve the problem that it is difficult to distinguish between active device control and passive vibration caused by disasters in a single video frame or simple angle change. This improves the accuracy of vibration recognition, reduces false alarms caused by gimbal preset position calls, cruise or manual control, and enhances the confidence of early warning results.
[0071] Optionally, the steps of acquiring the attitude sequence of the PTZ camera, continuously unfolding the cross-boundary angles based on the attitude sequence, identifying and filtering active motion features, and determining the vibration level of the PTZ camera based on the remaining residual features include: within the task validity period of the perception task, acquiring the time-stamped horizontal rotation angle and vertical pitch angle at a preset sampling interval; for sequences where the horizontal rotation angle crosses the boundaries of 0 degrees and 360 degrees, continuously unfolding them according to the minimum angle difference between adjacent samples, converting each horizontal rotation angle into degrees and normalizing it to a half-open interval, processing the normalized value according to modality, and extracting the first valid normalized value after modality processing as the unfolded angle; for subsequent samples, calculating the adjacent normalized angle difference, and performing preset degree processing when the adjacent normalized angle difference is greater than 180 degrees; When the absolute value of the adjacent normalized angle difference is 180 degrees, the sign is determined based on the most recent non-zero unfolding direction. When there is no available historical direction, or when the angular velocity after unfolding in both directions exceeds the allowable angular velocity of the device, the sample is marked as an uncertain direction sample. Uncertain direction samples are not used as the sole basis for determining the vibration of the PTZ camera. The original trajectory path length, net displacement, path straightness, number of direction reversals, and duration of continuous unidirectional movement of the attitude sequence are calculated. When the path length is greater than a preset length threshold, the net displacement ratio exceeds a preset ratio threshold, the path straightness is higher than a preset straightness threshold, and the number of direction reversals is lower than a preset reversal number threshold, it is determined to be an active motion feature. Active motion features are filtered, and the cause of active motion exclusion is output.
[0072] It should be noted that by eliminating the illusion of periodic jumps in angle data through modal processing, discrete angle values can be transformed into continuous linear trajectories, avoiding false large jumps caused by the 0-degree / 360-degree boundaries, thus truly reflecting the actual rotation process of the gimbal lens. For example, for a sequence of horizontal rotation angles (or defined as pan angles) that cross the 0-degree and 360-degree boundaries, continuous expansion is performed based on the minimum angle difference between adjacent samples to avoid false large jumps caused by crossing zero points. Specifically, each original horizontal rotation angle can first be converted to degrees and normalized to a half-open interval [0°, 360°). The normalized value p_i is calculated as p_i = ((pan_i mod 360) + 360) mod 360; therefore, -1°, -180°, and 361° returned by the interface can be converted to 359°, 180°, and 1°, respectively.
[0073] It should be noted that in this embodiment, samples that do not fall within the agreed angle range of the device interface, cannot be converted into numerical values, or have missing timestamps are marked as invalid samples by the system and are not included in the expansion.
[0074] For subsequent samples, the adjacent normalized angle difference is calculated. If the adjacent normalized angle difference is greater than 180 degrees, a preset degree system is applied. This preset degree system application may include subtracting or adding 360 degrees to maintain the continuity of the angle. For example, the first valid normalized value is taken as the unfolded angle u_0. For the i-th subsequent sample, the adjacent normalized angle difference d_i = p_i - p_(i-1) is first calculated. When d_i > 180°, d_i = d_i - 360° is set. When d_i < -180°, d_i = d_i + 360° is set. Then, u_i = u_(i-1) + d_i is set. Therefore, when the adjacent samples are 359°, 0°, and 1°, the unfolded sequence is 359°, 360°, and 361°; when the adjacent samples are 1°, 359°, and 358°, the unfolded sequence is 1°, -1°, and -2°. Neither of these will result in a false large jump across the zero point.
[0075] When the absolute value of the difference between adjacent normalized angles is 180 degrees, the sign is determined based on the most recent non-zero unfolding direction. If no available historical direction exists, or if the angular velocity after unfolding in both directions exceeds the device's allowable angular velocity, the sample is marked as an uncertain direction sample to avoid making incorrect judgments in case of data conflicts or anomalies. It should be noted that the unfolding angle in this embodiment is only used to calculate the trajectory length, net displacement, trend term, and residual features. When displaying the output, it can be remapped back to the [0°, 360°) interval as needed.
[0076] It should be noted that when the path length exceeds a preset length threshold, the net displacement percentage exceeds a preset percentage threshold, the path straightness exceeds a preset straightness threshold, and the number of direction reversals is lower than a preset reversal number threshold, it is identified as an active motion feature. Active motion features are then filtered out. That is, when the path length is large, the net displacement percentage is high, the straightness is high, and the number of direction reversals is low, it is identified as a candidate for active motion caused by preset position calls, cruise control, or manual control, and the reasons for active motion exclusion are output. Through multi-dimensional kinematic feature combinations, active control behaviors such as preset position calls, cruise control, or manual remote control are identified, and active motion is removed from vibration detection, retaining passive vibration signals caused by external factors such as wind load and earthquakes. Through continuous unfolding of attitude sequences, direction correction, and active motion feature filtering, high-precision identification of the PTZ camera's vibration state is achieved, effectively distinguishing between the device's own active control behaviors and passive vibrations caused by external disasters, reducing the false alarm rate. At the same time, the output reasons for active motion exclusion enhance the interpretability of the judgment process.
[0077] Optionally, the step of determining the vibration level of the PTZ camera based on the residual characteristics includes: for attitude sequences not excluded by active motion, obtaining trend terms by using robust linear fitting, median filtering, or sliding window trend fitting; excluding trend terms from the horizontal rotation angle sequence and the vertical pitch angle sequence to obtain the residual sequence; calculating the root mean square of the residual, preset percentile amplitude, adjacent step size, vector acceleration, number of direction reversals, length of continuous activity segment, and activity ratio for the residual sequence, and determining the vibration level of the PTZ camera according to the preset sequence threshold set.
[0078] It should be noted that robust algorithms such as robust linear fitting, median filtering, or sliding window trend fitting are used to extract low-frequency drift or slowly changing components from the attitude sequence, distinguishing slow equipment drift or background noise from high-frequency disaster vibration signals, thus improving the anti-interference capability of trend term extraction. Furthermore, trend terms can be excluded from the horizontal rotation angle sequence and the vertical pitch angle sequence to obtain the remaining residual sequence, separating high-frequency fluctuation components. These components often correspond to the micro-vibrations caused by external forces (such as wind or seismic inertial forces) acting on the gimbal, avoiding interference from low-frequency trends in vibration intensity assessment.
[0079] It should be noted that the root mean square of the residual reflects the overall energy level, the preset percentile amplitude (e.g., P90) characterizes the typical vibration intensity, adjacent step sizes and vector acceleration reflect the drastic changes, and the number of direction reversals and activity segment characteristics describe the persistence and regularity of the vibration. The vibration level of the PTZ camera is determined based on a preset set of sequence thresholds. Based on a joint judgment rule of multi-dimensional features, the vibration can be classified into no abnormality, mild, moderate, or severe levels, achieving graded early warning of vibration status. It can effectively capture the micro-vibration characteristics caused by natural disasters, eliminate interference from equipment drift and active movement, and provide objective and stable vibration level results.
[0080] Step S205: Integrate spatial matching data, vibration level of PTZ camera, image analysis data and equipment status data to calculate risk score. If the risk score exceeds the preset score threshold, output an alarm evidence package containing disaster object and data version, affected range data, affected video IoT points, equipment status, risk score and suggested actions.
[0081] The process involves normalizing disaster impact evidence, spatial matching data, gimbal attitude evidence, video analysis evidence, equipment status evidence, scene weights, and historical baselines, and then calculating a weighted risk score based on the scene weights. For example, the following formula can be used for quantification: RiskScore=min(100,(0.30×S_space+0.30×S_shake+0.25×S_video+0.15×S_device)×W_scene), where RiskScore is the risk score, S_space refers to spatial matching data, S_shake refers to the vibration level of the gimbal camera, S_video refers to video analysis data (video captured by the physical video device), S_device refers to equipment status data, and W_scene refers to the scene weight. Normalization eliminates differences in data units and value ranges, achieving standardized output of risk levels.
[0082] If the risk score exceeds a preset threshold, an alarm evidence package is output, containing the disaster object and data version, impact range data, affected video IoT points, device status, risk score, and suggested actions. A structured, immutable evidence package can be generated, binding disaster data version information, geometric references to the impact range, spatiotemporal matching records of points, video screenshots or clips, gimbal attitude curves, algorithm output results, and a scoring cause vector.
[0083] Through the above steps, raw data of multi-source heterogeneous disasters can be obtained. This raw data is then preprocessed to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information. The preprocessing strategies include at least one of the following: field mapping, coordinate transformation, and validity verification. Within a preset risk time window, the spatial relationship between video IoT points and the unified disaster impact range object is calculated. Based on this spatial relationship, spatial matching data for the video IoT points is determined, and the affected video IoT points are delineated. The spatial matching data includes: expected impact duration, impact level, and matching reason. The expected impact duration includes the expected entry time and expected exit time. Based on disaster type, impact level, and impact intensity, the data is further processed. The system identifies the scene and device status of affected video IoT points, filters parameters from a preset configuration template to generate perception tasks, and distributes these tasks to the video IoT devices. Each perception task includes task type, sampling frequency, and priority. It acquires the attitude sequence of the PTZ camera, continuously unfolds the cross-boundary angles based on the attitude sequence, identifies and filters active motion features, and determines the vibration level of the PTZ camera based on the remaining residual features. It then fuses spatial matching data, PTZ camera vibration level, image analysis data, and device status data to calculate a risk score. If the risk score exceeds a preset threshold, it outputs an alarm evidence package containing the disaster object and data version, impact range data, affected video IoT points, device status, risk score, and suggested actions. In this embodiment, a unified, computable disaster impact range object can be constructed. Then, based on the risk time window, automated spatiotemporal matching is achieved to automatically determine the duration of the impact of video IoT points, generate spatial matching data, and use multi-source data fusion to achieve comprehensive disaster risk assessment. This improves the accuracy and reliability of disaster early warning results, thereby solving the technical problem in related technologies where video platforms for disaster early warning analysis rely on human experience and cannot provide spatial evidence of the impact of video IoT points, which easily leads to large deviations in disaster early warning results.
[0084] Optionally, after calculating the risk score by integrating spatial matching data, PTZ camera vibration levels, image analysis data, and device status data, the process further includes: normalizing and weighting the spatial matching data, PTZ camera vibration levels, image analysis data, device status data, scene weights, and historical baselines to calculate the risk score; and determining the risk level through risk circuit breaker rules, service circuit breaker rules, and degradation rules when the disaster type is a typhoon disaster. Specifically, the risk circuit breaker rules include: outputting a high-risk level when the video IoT point is located within the first-level wind circle and the PTZ camera vibration level is severe; and outputting a high-risk level when the video IoT point is located within the first-level wind circle and the PTZ camera vibration level is severe. When the predicted coverage area of a video IoT point is not yet available and the device is offline, a risk level awaiting manual verification is generated. If the video output from a video IoT point exhibits abnormalities but lacks disaster impact or continuous evidence, a low-risk level or a status awaiting review is output. Specifically, the service circuit breaker rules include: for video streams, if a preset number of consecutive streaming, snapshot, or decoding failures occur within a preset observation window, or if a single response exceeds a preset time limit, the video evidence status is marked as available, and repeated requests are suspended. For algorithm services, if the task queuing length, response timeout ratio, or failure ratio reaches a threshold within a preset service window, it is marked as overloaded or unavailable, and the delivery of non-target priority tasks is stopped.
[0085] In the case of a typhoon disaster, risk levels are determined through risk-based circuit breaker rules, service circuit breaker rules, and degradation rules. It should be noted that the introduction of circuit breaker and degradation mechanisms aims to address extreme situations such as surges in system load or fragile data links during peak disaster periods. While ensuring core risk warning functions are maintained, these mechanisms optimize system resource allocation and prevent delays in critical alarms due to non-critical task congestion.
[0086] The risk triggering rules include: When a video IoT point is within a level 1 wind zone and the PTZ camera experiences severe vibration, a high-risk level is output. This can directly trigger the highest-level alarm based on both high-confidence spatial overlap and high-intensity physical vibration, achieving second-level high-risk warnings in the most severely affected areas and shortening emergency response time. When the video IoT point is outside its predicted coverage area and the device is offline, a risk requiring manual verification is generated. This can identify blind spots in high-risk areas where the sensing link is interrupted, prompting maintenance personnel or emergency command personnel to focus on these undetectable "black box" areas, guiding resources towards critical missing points and preventing disaster omissions due to equipment failure. When the video output from the video IoT point exhibits abnormalities but lacks disaster hit or continuous evidence, a low-risk level or a status requiring verification is output. This can filter out momentary abnormalities caused by local environmental interference (such as birds flying by or leaves swaying), reducing false alarm rates, avoiding misjudging non-hazardous visual noise as risk events, reducing invalid work orders, and maintaining the accuracy of the early warning system.
[0087] Specifically, the service circuit breaker rules include: For video streams, if a preset number of consecutive streaming, capture, or decoding failures occur within a preset observation window, or if a single response exceeds a preset time limit, the video evidence status is marked as available, and repeated requests are suspended. It should be noted that "marked as available" here, in context, should be understood as marked as "unavailable" or triggering circuit breaker protection to stop unnecessary retries. For algorithm services, if the task queuing length, response timeout ratio, or failure ratio reaches a threshold within a preset service window, it is marked as overloaded or unavailable, and the delivery of non-target priority tasks is stopped. This allows for dynamic monitoring of the algorithm service's health status and processing capacity, prioritizing analysis tasks for high-priority locations (such as key facilities located within the core wind farm) when the system is overloaded, ensuring the continuity of perception for critical risk points.
[0088] In addition, this embodiment can also construct a dedicated data access and processing module for flood scenarios, which integrates discrete rainfall monitoring points, grid forecast data, and static geographic waterlogging hazard data into dynamic risk area geometric objects. Optionally, it also includes: in the case of rainstorm flooding disaster, receiving rainfall grid, short-term precipitation forecast, waterlogging-prone areas and water level station data, generating rainstorm impact range objects with different effective time periods and risk levels; screening cameras that intersect with waterlogging-prone areas or whose surrounding distance is less than a threshold; replacing gimbal attitude detection with waterlogging area, water level line, vehicle traffic status, rain curtain obstruction and equipment online status detection, and performing the processing chain of impact range object determination, point spatiotemporal matching, perception task generation, risk scoring, and evidence package generation.
[0089] This embodiment can filter cameras that intersect with or are within a distance of less than a threshold from areas prone to flooding, such as roads, tunnels, bridges, and pumping stations. It's important to note that through spatial geometric calculations, it automatically identifies key infrastructure monitoring points affected by torrential rain and flooding from massive video resources, narrowing the scope of the sensing task and concentrating limited video analysis computing power on high-risk areas, avoiding ineffective scanning of unaffected areas. Then, it replaces PTZ (pan-tilt-zoom) attitude detection with detection of flood area, water level, vehicle traffic status, rain cover obstruction, and equipment online status. It executes a processing chain involving object determination within the affected area, spatiotemporal matching of points, generation of sensing tasks, risk scoring, and generation of evidence packages. This approach can adapt to situations lacking PTZ vibration characteristics in torrential rain scenarios, utilizing visual intelligence algorithms to extract water surface features, traffic obstruction, and environmental severity as risk evidence. By introducing dedicated data sources and sensing feature replacement schemes for torrential rain and flooding scenarios, it achieves a unified architecture support for multi-hazard risk early warning, enabling the system to flexibly utilize visual recognition capabilities to compensate for the lack of physical vibration data in non-typhoon scenarios, while maintaining a standardized process from data access and spatiotemporal matching to evidence closure.
[0090] The following describes in detail another optional implementation method.
[0091] The purpose of this invention is to provide a risk warning system based on the fusion of the impact range of natural disasters and video IoT sensing, in order to solve the problems that heterogeneous disaster data cannot be uniformly used in spatiotemporal calculations, affected video IoT points cannot be automatically delineated, sensing tasks cannot be dynamically arranged according to the disaster context, active movement of PTZ cameras is easily misjudged, and alarms lack verifiable evidence and parameter feedback.
[0092] I. System Architecture and Components.
[0093] Figure 3 This is a schematic diagram of a risk early warning system based on the fusion of the impact range of natural disasters and video IoT sensing according to an embodiment of the present invention, such as... Figure 3 As shown, it includes: an application handling layer, a risk warning platform, a data capability layer, and a basic resource layer, providing unified operation management, unified security protection, and unified standards and specifications for each layer. The application handling layer can include: a disaster risk map, a list of key locations, alarm evidence packages, and work order closure and review. The risk warning platform includes: a natural disaster-video-physical fusion warning engine unit, a unified disaster object unit, a location spatiotemporal matching unit, a perception task orchestration unit, a multi-source risk judgment unit, and an evidence package generation unit. It can realize task scheduling gateway, evidence association service, rule and template service, message and work order service, model / algorithm service orchestration, historical baseline management, parameter version management, data quality monitoring, disaster configuration template library, impact range object library, video IoT resource library, and risk and work order archive library. The data and capability layer includes: disaster data access and standardization, video IoT access and resource management, video intelligence and PTZ attitude perception. The basic resource layer includes: meteorological / hydrological / emergency data sources, video surveillance and IoT devices, industry contingency plans and work order systems, cloud / edge / network computing resources, and map and spatial services.
[0094] The risk early warning system based on the fusion of natural disaster impact range and video IoT perception includes a natural disaster data access and adaptation unit, a unified disaster impact range object generation unit, a video IoT point resource management unit, a point spatiotemporal matching unit, a perception task orchestration unit, a perception result access unit, a comprehensive risk judgment unit, an alarm evidence package unit, a work order closed-loop and parameter feedback unit, and a map dashboard and interface unit. These units can be deployed on the same server, a distributed server, a cloud-edge collaborative node, or a combination thereof; data interaction between units occurs through interface calls, message queues, database read / write, or object storage. The system establishes disaster identifiers, point identifiers, task identifiers, risk identifiers, and work order identifiers for disaster events, point resources, perception tasks, risk results, and handling work orders, respectively, and utilizes these identifiers to achieve end-to-end association and traceability.
[0095] II. Specific Implementation Steps.
[0096] Step S1: Disaster data access and generation of unified impact scope objects.
[0097] Figure 4 This is a schematic diagram of a disaster impact range object model according to an embodiment of the present invention, including: disaster object field, spatial geometry field, timeliness field, intensity and confidence field, coordinate and accuracy field, original traceability field, and disaster type mapping (including typhoon, rainstorm flood, wildfire, earthquake, snow and ice disasters, etc.).
[0098] The natural disaster data access and adaptation unit acquires raw data on typhoons, rainstorms, wildfires, earthquakes, geological disasters, or snow disasters. Each raw data record at least the data source, release time, reception time, coordinate reference, original message reference, and field mapping version. In the typhoon implementation, the adaptation unit receives actual path points, forecast path points, central pressure, maximum wind speed, direction of movement, speed of movement, and the four-quadrant radii and impact polygons of different wind circles (e.g., level 7, 10, and 12). The unified disaster impact range object generation unit sorts the actual and forecast path points by time; generates wind circle surfaces corresponding to the intensity level based on the wind circle radius at each forecast time; generates predicted path buffer surfaces based on adjacent forecast points and preset lateral distances, or uses the impact polygons provided upstream after verification as the impact surface. Each wind circle surface, buffer surface, or impact surface is associated with a corresponding effective time period, impact intensity, and data version, thereby forming a set of impact range objects that can evolve over time.
[0099] The adaptation unit validates field names, time formats, coordinate representations, and data validity, and writes the validated data into the unified disaster impact range object generation unit. The generated impact range object includes at least: disaster identifier (e.g., TYP-001), disaster type (typhoon), data source identifier, spatial geometry type (area), spatial geometry value (geometric coordinates of a 10-level wind circle), effective start time (T+12), effective end time (T+18), impact intensity (10 levels), confidence level, coordinate system (WGS84), original data reference, and object version number (V1); where the spatial geometry type is point, line, area, raster, buffer, or a combination thereof. For invalid, expired, or coordinate-incompatible original data, the system writes an exception record without overwriting the most recent valid object.
[0100] For example, receiving the original typhoon record TYP-001 includes the actual path points, 24-hour forecast points, four-quadrant radii of the 7 / 10 / 12 level wind circles, and upstream impact polygons. After adaptation, a unified object is generated: the disaster identifier is TYP-001, the disaster type is typhoon, the spatial geometry is "10 level wind circle surface at forecast time T+12", the effective time is T+12 to T+18, the intensity level is 10, the confidence level is the upstream data validity identifier, the coordinate system is the unified geographic coordinate system, and the original message reference is raw_ref-001. The attached materials list the mapping between the original fields and the unified fields, for example, mapping the radii of the northeast, southeast, southwest, and northwest wind circles to four-quadrant radius fields; converting the upstream WKT polygons into impact surfaces; and marking expired messages as not suitable for automatic triggering. This verifies that different source paths, wind circles, and impact surfaces can be converted into a unified impact range object with timeliness and traceability information, as shown in Table 1 below.
[0101] Table 1. Parameter Table for Objects Affected by Unified Scope
[0102]
[0103] Step S2: Video IoT location resource modeling and spatiotemporal matching.
[0104] The video IoT site resource management unit maintains resources such as cameras, sites, and towers. Taking a high-point camera CAM-A001 in a port area as an example, its resource objects include site identifier, latitude and longitude, scene label (port area), device type (PTZ camera), callable capabilities (supports PTZ control), online status (online), and historical risk baseline.
[0105] Figure 5 This is a flowchart of an optional point-to-point spatiotemporal matching according to an embodiment of the present invention, such as... Figure 5 As shown, the process includes inputting a unified disaster impact range object, reading the risk time window, generating computable geometry, reading video IoT points, unifying and validating coordinates, calculating spatial relationships, determining whether the impact range is hit, including intersection and containment when hit, and calculating the nearest distance and pre-concern level when not hit, overlaying scene weights and historical baselines, outputting the point impact determination result, and generating a list of affected points.
[0106] The video IoT location resource management unit maintains resources such as cameras, PTZ cameras, site locations, poles, road monitoring points, port area high points, and sensors. Each resource object includes at least the location identifier, channel identifier, latitude and longitude, scene label, device type, available capabilities, online status, responsible unit, and historical risk baseline.
[0107] The point-to-point spatiotemporal matching unit establishes a preset risk time window starting from the current moment, such as 0 to 12 hours, 12 to 24 hours, or 24 to 48 hours in the future. For each video IoT point with valid coordinates, it calculates the inclusion, intersection, shortest distance, or buffer relationship between the point and objects within the unified disaster impact range. For impact range objects expressed by time period, the system determines the time when the video IoT point first meets the preset spatial relationship as the expected entry time and the time when it last meets the spatial relationship as the expected exit time, and outputs the expected duration of impact, impact level, and matching reason. Points without coordinates, with failed coordinate verification, or that have been deregistered are output as unmatchable and are not treated as normal unaffected points.
[0108] It should be noted that the matching record in this embodiment includes at least the disaster identifier, location identifier, identifier of the object within the hit impact range, spatial relationship, shortest distance, estimated entry time, estimated exit time, duration of impact, impact level, matching reason, and calculation version. The matching reason is at least used to indicate verifiable evidence such as "located within a preset level wind circle", "intersecting with the rainstorm warning surface", or "less than a preset distance from the predicted path".
[0109] For example, location CAM-A001 is a high-point camera in the port area. Its resource ledger records its coordinates, scene tag as "port area," and that it has PTZ capability and is online. Within the next 24-hour window, the system calculates the impact range of this location against the objects within the time frame of TYP-001. If the location first falls into the 10-level wind circle on T+12 and leaves the wind circle on T+18, a matching record is generated: Disaster identifier TYP-001, location identifier CAM-A001, spatial relationship "contains," estimated entry time T+12, estimated departure time T+18, duration 6 hours, impact level high, matching reason "located within the 10-level wind circle," and calculation version match-v1. For locations without valid coordinates, the system outputs "unmatchable" instead of "unaffected," as shown in Table 2 below.
[0110] Table 2. Spatiotemporal Matching Parameters between Disaster Impact Range and Video IoT Locations
[0111]
[0112] Step S3: Disaster context-driven perception task orchestration.
[0113] The perception task orchestration unit filters parameters from a pre-defined disaster configuration template based on spatial matching data. Each disaster configuration template includes at least the disaster type, impact level range, applicable scenario label, equipment capability conditions, task type, algorithm service identifier, sampling frequency, execution cycle, priority, timeout policy, review policy, and alarm threshold. The system filters templates in the order of disaster type-impact level-location scenario-equipment capability-online status, generates a perception task for each matching record, and sends it to the video platform, algorithm service, or edge execution node via an interface. The task record includes at least the task identifier, disaster identifier, location identifier, template version, task type, algorithm service identifier, sampling interval, execution cycle, priority, start time, expiration time, retry policy, and execution status.
[0114] Figure 6 This is a flowchart of an optional perception task orchestration according to an embodiment of the present invention, such as... Figure 6 As shown, the process includes: inputting the impact judgment results of the input points, reading the disaster configuration template, matching the disaster type with the location scenario, determining the candidate capability list, setting the sampling frequency, priority and time window according to the impact level, generating the perception task object, sending it to the video platform / edge node / algorithm service, and transmitting the perception results and evidence back.
[0115] For example, for high-point cameras on communication towers located within the 10-level typhoon wind circle and equipped with pan-tilt capabilities, high-priority tasks are generated, including pan-tilt attitude sampling, image capture, image jitter analysis, and tower tilt or foreign object identification. For road cameras located within areas at risk of rainstorm flooding, tasks are generated, including flood area identification, vehicle traffic status identification, and image availability detection. When the disaster range version, impact level, location status, or matching result changes, the system processes the task version according to the task execution status. For tasks in the pending execution state that have not yet generated video, attitude, or algorithmic evidence, if the new impact range object version changes the expected entry time, impact level, task type, sampling interval, or expiration time, the system marks the original task as replaced, retains its task identifier, generation basis, and reason for replacement, and generates a new task version under the same parent task identifier based on the new matching record; the new task version records the new range object version, template version, and parameter version.
[0116] For tasks that have already started execution or have generated evidence, the system does not rewrite the original task and its evidence, but instead creates a new related task version to perform subsequent sampling or analysis.
[0117] For example, at 08:00, based on the object version R1 of the typhoon's impact range, the system generates task version V1 of parent task TASK-001 for point CAM-A001. The task status is pending execution, and it is scheduled to perform attitude sampling and image capture at 5-minute intervals from 10:00 to 12:00. At 08:30, object version R2 is received. The calculation results show that the expected time for this point to enter the level 10 wind circle has been brought forward from 10:00 to 09:00, and the impact level has been adjusted from medium to high. Since TASK-001 / V1 has not yet been executed, the system marks it as replaced and generates TASK-001 / V2: the start time is adjusted to 09:00, the sampling interval is adjusted to 1 minute, a new tower tilt recognition task is added, and the reasons for the changes in R1, R2, and parameters are recorded. If TASK-001 / V1 has already generated capture or posture evidence at 08:20, the original evidence and execution record of V1 will be retained, and a new TASK-001 / V2 will be created to execute subsequent tasks. R2 will not overwrite the historical evidence of V1.
[0118] Step S4: Identification of abnormal gimbal attitude vibration and evidence collection.
[0119] During the mission's validity period, the sensing result access unit acquires the Pan (horizontal rotation) and Tilt (vertical pitch) angle sequences of CAM-A001 at 1-minute intervals.
[0120] For locations with gimbal capabilities, the sensing result access unit acquires the pan angle and tilt angle with timestamps at preset sampling intervals within the task validity period. The system first removes samples without timestamps, invalid values, and insufficient quantities; when there are insufficient valid samples, the system outputs "undeterminable".
[0121] For sequences where the pan angle crosses the boundaries of 0 degrees and 360 degrees, continuous expansion is performed based on the minimum angle difference between adjacent samples to avoid false large jumps caused by crossing zero. Specifically, the system first converts each original pan angle into degrees and normalizes it to a half-open interval [0°, 360°). The normalized value p_i is calculated as p_i = ((pan_i mod 360) + 360) mod 360. Therefore, -1°, -180° and 361° returned by the interface can be converted to 359°, 180° and 1° respectively.
[0122] For samples that do not fall within the agreed angle range of the device interface, cannot be converted into numerical values, or have missing timestamps, they are marked as invalid samples and do not participate in the unfolding. Then, the first valid normalized value is taken as the unfolded angle u_0. For the i-th subsequent sample, the difference between adjacent normalized angles d_i = p_i - p_(i-1) is calculated first. When d_i > 180°, d_i = d_i - 360° is set; when d_i < -180°, d_i = d_i + 360° is set; and u_i = u_(i-1) + d_i is set. Thus, when the adjacent samples are 359°, 0°, and 1°, the unfolded sequence is 359°, 360°, and 361°; when the adjacent samples are 1°, 359°, and 358°, the unfolded sequence is 1°, -1°, and -2°. Neither of these will form a false large jump across zero. When the absolute value of the difference between adjacent normalized angles, |d_i|, is exactly 180°, the sign is determined primarily based on the most recent non-zero unfolding direction. If no available historical direction exists, or if the angular velocity after unfolding in either direction exceeds the allowable angular velocity of the device, the sample is marked as an uncertain direction sample and is not used as a separate basis for vibration determination. The unfolding angle u_i is only used to calculate the trajectory length, net displacement, trend term, and residual characteristics; the output can be remapped back to the [0°, 360°) interval as needed.
[0123] Furthermore, the original trajectory path length, net displacement, path straightness, number of direction reversals, and duration of continuous unidirectional motion are calculated. When the path length is large, the net displacement ratio is high, the straightness is high, and the number of direction reversals is low, it is determined to be a candidate for active motion caused by preset position call, cruise, or manual control, and the reason for active motion exclusion is output.
[0124] It should be noted that for attitude sequences not excluded by active motion, the Theil-Sen robust linear fitting, median filtering, sliding window trend fitting, or other methods to resist abnormal trends are used to obtain the trend term, which is then subtracted from the pan and tilt sequences. The system calculates the root mean square of the residuals, P90 amplitude, adjacent step size, vector acceleration, number of direction reversals, length of continuous activity segments, and activity ratio for the residual sequence; and outputs the level of no abnormality, mild, moderate, or severe vibration according to a preset threshold. A single isolated spike, interface jump value, or short-term invalid value does not trigger severe vibration on its own. Attitude evidence includes at least the sampling window, number of valid samples, active motion determination result, trend parameters, residual characteristics, threshold version, vibration level, and triggering reason.
[0125] In one specific implementation, taking the Pan angle sequence as an example, the system performs the following processing:
[0126] Data preprocessing: Remove values without timestamps or invalid values. Normalize the original Pan angles to the range [0°, 360°). For example, the original value -1° is converted to 359°, and 361° is converted to 1°.
[0127] Continuous Unfolding Process: For cases crossing the 0° / 360° boundary, unfolding is performed based on the minimum angle difference between adjacent samples. If adjacent samples are 359°, 0°, and 1°, the normalized values are 359, 0, and 1, respectively. The difference is calculated as follows: 0 - 359 = -359° (>180°, subtracting 360° gives -1°), 1 - 0 = 1°. The unfolded sequence is 359°, 358°, and 359° to avoid spurious large jumps to 359°.
[0128] Active motion filtering: Calculate the trajectory path length, net displacement, straightness, and number of direction reversals. If the sequence shows a long path, large net displacement, high straightness, and few direction reversals, it is determined to be active motion such as preset position call or cruise, and is excluded with the reason recorded.
[0129] For example, pan / tilt attitude sequences are acquired within a 5-minute task window of CAM-A001. For continuous pan angle samples of 359 degrees, 0 degrees, and 1 degree, the system expands them to 359 degrees, 360 degrees, and 361 degrees to avoid false jumps of 359 degrees across zero points. If the sequence has characteristics such as long path, large net displacement, high straightness, and the number of direction reversals does not exceed a preset value, active motion is excluded and not judged as a disaster vibration. For sequences that are not excluded, the system uses robust trend fitting to remove slow drift and calculates the root mean square of residuals, P90 amplitude, adjacent step size, vector acceleration, number of direction reversals, and continuous activity segments. The corresponding vibration level is output only when multiple residual features simultaneously reach the moderate or severe threshold. A single interface jump value, insufficient effective samples, or a single point spike will output interface abnormality, undeterminable, or low-level prompts, respectively, without directly triggering severe vibration. Specific parameters are shown in Table 3 below.
[0130] Table 3. Parameters for Anomaly Detection of Gimbal Attitude Vibration
[0131]
[0132] Step S5: Comprehensive risk assessment and alarm evidence package generation.
[0133] The comprehensive risk assessment unit normalizes disaster impact data, spatial matching data, gimbal attitude data, video analysis data, device status data, scene weights, and historical baselines. As a non-limiting implementation, let the spatial impact component be S_space, the vibration component be S_shake, the video analysis component be S_video, and the device status component be S_device, all with values ranging from 0 to 100; let the scene weight be W_scene. Then the risk score is: RiskScore = min(100, (0.30×S_space + 0.30×S_shake + 0.25×S_video + 0.15×S_device) × W_scene). Specific weights, piecewise functions, and thresholds are configured according to the scene, and the configuration version is recorded.
[0134] Figure 7 This is a flowchart of an optional integrated scoring and alarm evidence package according to an embodiment of the present invention, such as... Figure 7 As shown, the process includes: inputting a collection score to determine disaster impact evidence (including hit range, distance, entry time and intensity), gimbal vibration evidence (including level, residual features and curves), image recognition evidence (including anomaly category, correction confidence, screenshots / fragments), equipment status evidence (including online, offline, image quality and sampling quality), business weight (including scene level, historical faults and responsibility time limits), comprehensive risk score, determining whether the alarm threshold, cause vector, and alarm evidence package have been reached, and finally pushing the data to the map dashboard and work order system.
[0135] For example, for CAM-A001 located within a level 10 typhoon circle, the system issues PTZ attitude sampling, image capture, and foreign object identification tasks based on the port area high-point template. With spatial influence component S_space=90, vibration component S_shake=70, image analysis component S_video=60, and device status component S_device=50, and scene weight W_scene=1.1, the risk score calculated using RiskScore=min(100,(0.30×S_space+0.30×S_shake+0.25×S_video+0.15×S_device)×W_scene) is 77.55. If the orange threshold is 70, an orange alarm is generated. The alarm evidence package includes the typhoon and wind circle version, location information, matching records, task records, video screenshots or clip references, PTZ curves, algorithm results, each scoring component, trigger rules, and suggested actions; the work order records the dispatch, acceptance, handling, review, and closure status. Specific parameters are shown in Table 4.
[0136] Table 4. Schematic diagram of typhoon video perception fusion early warning calculation rules
[0137]
[0138] Assuming the orange alarm threshold is 70, and RiskScore 77.55 > 70, an orange alarm is triggered.
[0139] Step S6: Work order closure and parameter feedback.
[0140] The work order closed-loop and parameter feedback unit generates work orders based on the risk level and dispatches them to the responsible unit. The responsible unit conducts remote review to confirm that the attitude change is indeed caused by wind force rather than preset position cruise, and determines it as a real risk and takes action.
[0141] The system also sets up risk circuit breakers, service circuit breakers, and degradation rules. Risk circuit breakers include: directly outputting a high-risk status when the location is within a high-level wind circle and the vibration level is severe; generating a risk requiring manual verification when the location is within the predicted coverage area and the equipment is offline; and outputting a low-risk or pending-verification status when there is only visual anomaly without disaster hit or continuous evidence. Service circuit breakers include: for video streams, if the system fails to pull, capture, or decode a preset number of times consecutively within a preset observation window, or if a single response exceeds a preset time limit, the system marks the video evidence status of the IoT location as unavailable, suspends high-frequency repeated requests to the video stream, and records the reason for failure, start time, and the most recent valid evidence reference; for algorithm services, if the task queuing length, response timeout ratio, or failure ratio reaches the corresponding threshold within a preset window, the system marks the corresponding algorithm service as overloaded or unavailable and stops delivering non-high-priority tasks to that service.
[0142] When the video stream is interrupted or the algorithm service is overloaded, the missing evidence components are not scored as zero in the risk score, nor is the existing disaster space risk reduced accordingly. The system performs retrying, switches to backup video streams or backup algorithm services, reduces the sampling frequency of non-key points, or generates tasks with insufficient evidence requiring manual verification, based on preset degradation strategies. If the disaster space matching reaches a high level but video evidence is unavailable, the system retains the disaster and equipment status evidence and outputs a risk pending verification, rather than outputting a low risk. After the circuit breaker is triggered, the system performs recovery verification with a probe request when the preset cooldown time expires. If the probe is successful, the service status is adjusted to "half-recovery," and recovery tasks are delivered according to the quota. Normal service is restored after the preset success conditions are met consecutively. If the probe fails, the cooldown time is extended and the degradation status is maintained. The risk result includes at least each scoring component, the availability status of each evidence component, the trigger rule identifier, the circuit breaker or degradation status, the risk level, and the cause vector. The alarm evidence package unit generates an unchangeable evidence package based on risk identifiers. The evidence package includes at least the disaster object and data version, geometric reference of the impact range, point resource information, spatiotemporal matching record, task record, video screenshot or clip reference, gimbal attitude evidence, image algorithm output, equipment status, scoring components, circuit breaker rules, risk level, suggested actions, and generation time.
[0143] The work order closure and parameter feedback unit creates or updates work orders based on risk level, responsibility area, and contingency plan rules, recording dispatch, acceptance, handling, review, closure, and false alarm flags. Conclusions confirmed through manual review or work order closure can be used, version by version, to adjust the historical baseline of subsequent disaster handling points, scenario weights, thresholds, or disaster configuration template parameters; simultaneously, the original parameter version, write-back time, and corresponding evidence package references are retained to avoid overwriting the original early warning basis.
[0144] Figure 8 This is a flowchart of an optional early warning and handling closed loop according to an embodiment of the present invention, such as... Figure 8 As shown, it includes: pre-disaster risk delineation, key location list, threshold and task pre-setting, real-time monitoring during disaster, automatic early warning and evidence package, remote verification, dispatch and handling, and post-disaster feedback.
[0145] The following is another specific implementation example. The system receives the real-time path of a typhoon, the predicted path for the next 24 hours, the 7 / 10 / 12 level wind circles, and the impact polygons, generating impact range objects divided according to the forecast period. Then, it reads the coordinates, scene labels, PTZ capabilities, and online status of coastal communication stations, port high points, and road cameras, calculating whether each location enters the wind circle or the predicted path buffer zone within the next 24-hour window. For high-point cameras located within the 10 level wind circle and equipped with PTZ capabilities, the system issues high-priority attitude sampling, image capture, and tilt / foreign object recognition tasks. If a camera is not judged as actively moving, and its attitude residual reaches moderate vibration, while simultaneously satisfying the condition of being "located within the 10 level wind circle" and exhibiting abnormal images twice consecutively, the system calculates a risk score according to the configured weights. When the score reaches the orange threshold, it generates an evidence package containing the wind circle version, estimated impact time, location coordinates, screenshots, attitude curves, algorithm results, and the reason for the score, and dispatches a remote review or on-site inspection work order to the responsible unit. If the attitude change is confirmed to be caused by preset position cruise, it is recorded as an active motion sample for subsequent point baseline correction.
[0146] In the alternative implementation of rainstorm-induced urban flooding, the system receives rainfall grids, short-term precipitation forecasts, data on flood-prone areas and water level stations, and generates rainstorm impact range objects with different effective time periods and risk levels; it filters cameras that intersect with flood-prone areas or whose surrounding distance is less than a threshold, such as roads, tunnels, bridges, and pumping station cameras; and it replaces gimbal attitude detection with detection of water accumulation area, water level, vehicle traffic status, rain curtain obstruction, and equipment online status. It should be noted that this implementation can still retain the processing link of impact range object-location spatiotemporal matching-sensing task-risk judgment-evidence package-work order feedback, indicating that the present invention is not limited to typhoon scenarios.
[0147] The above implementation method can standardize heterogeneous natural disaster data from different sources and with different formats (such as path points, wind circle radii, polygons, grids, etc.) into a unified calculation object containing spatial geometry, effective time window, impact intensity and original traceability information by constructing a unified disaster impact range object. This reduces the differences in coordinate system, time format and field definition between different data sources, and enables disaster data to directly participate in subsequent spatiotemporal calculations of video IoT points, reducing dependence on specific single data sources or fixed field structures.
[0148] The above implementation method can automatically generate a list of affected points based on a preset risk time window by calculating the inclusion, intersection, distance and buffer relationships between video IoT points and objects within a unified disaster impact range, and output the estimated entry time, estimated exit time and duration of impact.
[0149] This application realizes differentiated orchestration and resource optimization of perception tasks based on disaster context. This embodiment dynamically selects and generates perception tasks (including task type, sampling frequency, execution cycle, and priority) from a preset configuration template based on disaster type, impact level, location scene labels, and equipment capability status. This addresses the lack of context awareness in traditional fixed-round-robin or single-threshold triggering modes, enabling limited video computing power and algorithm resources to be flexibly configured and differentiated according to real-time risk levels.
[0150] The above-described embodiments of this application can improve the accuracy of vibration recognition by PTZ cameras and reduce the false alarm rate. By using Pan-angle surround deployment technology to eliminate false jumps caused by 0° / 360° boundaries, and utilizing multi-dimensional features such as path length, straightness, and the number of direction reversals to identify and filter active movements such as preset position calls and cruise, the remaining residual sequence undergoes robust detrending processing and multi-dimensional feature extraction to determine the vibration level. This distinguishes between the device's own active control behavior and passive vibrations caused by external natural disasters (such as wind and earthquakes), solving the technical problem that relying solely on maximum angle changes or image shaking can easily misjudge active control as vibration.
[0151] This embodiment constructs a standardized impact range object-location spatiotemporal matching-sensing task-risk scoring-evidence package-work order feedback processing link, and supports adaptation to different disaster scenarios by replacing the input data source (such as replacing the typhoon wind circle with the rainstorm water accumulation area) and sensing features (such as replacing the gimbal attitude with water accumulation area recognition), so as to support the early warning business of various natural disasters such as typhoons, rainstorms, wildfires, and earthquakes with a unified technical framework.
[0152] The following is a detailed description with reference to another embodiment.
[0153] Example 2
[0154] The risk warning system based on the fusion of disaster impact range and IoT sensing provided in this embodiment includes multiple implementation units. Each implementation unit corresponds to each implementation step in the above embodiment one. Its specific implementation method and beneficial effects can be referred to the foregoing method embodiment, and will not be repeated here.
[0155] Figure 9 This is a schematic diagram of an optional risk early warning system based on the fusion of disaster impact range and IoT sensing according to an embodiment of the present invention, such as... Figure 9 As shown, the risk warning system based on the fusion of disaster impact range and IoT perception may include: a natural disaster data access and adaptation unit 91, a unified disaster impact range object generation unit 92, a video IoT point resource management unit 93, a point spatiotemporal matching unit 94, a perception task orchestration unit 95, a perception result access unit 96, a comprehensive risk judgment unit 97, and an alarm evidence package unit 98.
[0156] Among them, the natural disaster data access and adaptation unit 91 is used to acquire raw data of multi-source heterogeneous disasters.
[0157] The unified disaster impact range object generation unit 92 is used to preprocess the original data of multi-source heterogeneous disasters and generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity and original data traceability information. The preprocessing strategy includes at least one of the following: field mapping, coordinate transformation and validity verification.
[0158] The video IoT point resource management unit 93 is used to manage all video IoT points.
[0159] The point-to-point spatiotemporal matching unit 94 is used to calculate the spatial relationship between video IoT points and objects within a unified disaster impact range within a preset risk time window, determine the spatial matching data of video IoT points based on the spatial relationship, and delineate the affected video IoT points. The spatial matching data includes: the expected duration of impact, the impact level, and the matching reason. The expected duration of impact includes the expected entry time and the expected exit time.
[0160] The perception task orchestration unit 95 is used to select parameters from the preset configuration template based on the disaster type, impact level, scene and device status of the affected video IoT points, generate perception tasks, and send them to the video IoT devices. The perception task includes task type, sampling frequency and priority.
[0161] The perception result access unit 96 is used to receive perception tasks, acquire the attitude sequence of the PTZ camera, continuously unfold the cross-boundary angles based on the attitude sequence, identify and filter active motion features, and determine the vibration level of the PTZ camera based on the residual features.
[0162] The integrated risk assessment unit 97 is used to integrate spatial matching data, vibration level of the PTZ camera, image analysis data and equipment status data to calculate a risk score.
[0163] Alarm Evidence Package Unit 98 is used to output an alarm evidence package containing disaster object and data version, affected area data, affected video IoT points, equipment status, risk score and suggested actions when the risk score exceeds the preset score threshold.
[0164] The aforementioned risk warning system based on the fusion of disaster impact range and IoT sensing can utilize a natural disaster data access and adaptation unit to acquire raw data of multi-source heterogeneous disasters; a unified disaster impact range object generation unit to preprocess the raw data of multi-source heterogeneous disasters and generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information. The preprocessing strategies include at least one of the following: field mapping, coordinate transformation, and validity verification; a video IoT point resource management unit to manage all video IoT points; and a point spatiotemporal matching unit to calculate the spatial relationship between video IoT points and the unified disaster impact range object within a preset risk time window, determine the spatial matching data of video IoT points based on the spatial relationship, and delineate the affected video IoT points. The spatial matching data includes: expected impact duration, impact level, and matching reason. The expected impact duration includes the expected entry time... The system comprises the following components: a perception task orchestration unit, a perception task distribution unit, and a perception result access unit. The perception task receives the perception task, acquires the attitude sequence of the PTZ camera, performs continuous unfolding processing on the cross-boundary angles based on the attitude sequence, identifies and filters active motion features, and determines the vibration level of the PTZ camera based on the remaining residual features. A comprehensive risk assessment unit integrates spatial matching data, PTZ camera vibration level, image analysis data, and device status data to calculate a risk score. An alarm evidence package unit outputs an alarm evidence package containing the disaster object and data version, impact range data, affected PTZ locations, device status, risk score, and suggested actions when the risk score exceeds a preset threshold. In this embodiment, a unified, computable disaster impact range object can be constructed. Then, based on the risk time window, automated spatiotemporal matching is achieved to automatically determine the duration of the impact of video IoT points, generate spatial matching data, and use multi-source data fusion to achieve comprehensive disaster risk assessment. This improves the accuracy and reliability of disaster early warning results, thereby solving the technical problem in related technologies where video platforms for disaster early warning analysis rely on human experience and cannot provide spatial evidence of the impact of video IoT points, which easily leads to large deviations in disaster early warning results.
[0165] Optionally, the unified disaster impact range object generation unit includes: a raw data acquisition module, used to acquire multi-source heterogeneous disaster raw data of the disaster type to be monitored, wherein each type of disaster raw data includes at least the following fields: data source, release time, reception time, coordinate reference, original message reference, and field mapping version; a data verification module, used to verify the field names, time format, coordinate reference, and data validity in the multi-source heterogeneous disaster raw data, and write the verified disaster raw data into the object generation unit, which generates a unified disaster impact range object containing spatial geometric values, effective time window, impact intensity, and raw data traceability information, wherein the unified disaster impact range object also includes: disaster identifier, disaster type, data source identifier, spatial geometric type, confidence level, coordinate system, and object version number, and the spatial geometric type includes point, line, surface, raster, and buffer; and an abnormal data writing module, used to write abnormal records for invalid data, expired data, or raw data whose coordinates cannot be converted in the multi-source heterogeneous disaster raw data.
[0166] Optionally, the data verification module includes: a typhoon disaster data acquisition submodule, used to acquire the actual path points, forecast path points, central pressure, maximum wind speed, direction of movement, speed of movement, four-quadrant radii of wind circles of different levels, and impact polygons of typhoon disasters when the disaster type is typhoon disaster; a path point sorting submodule, used to control the object generation unit to sort the actual path points and forecast path points according to the time sequence, and generate wind circle surfaces of corresponding intensity levels according to the wind circle radii at each forecast time; and a path buffer surface generation submodule, used to generate predicted path buffer surfaces according to adjacent forecast points and preset lateral distances, or to use the verified wind circle impact polygons as the impact surface of typhoon disasters, wherein each wind circle surface, buffer surface, or impact surface of typhoon disasters is associated with a corresponding valid time period, impact intensity, and data version.
[0167] Optionally, the point-to-point spatiotemporal matching unit includes: a point-to-point resource object acquisition module, used to acquire multiple types of point-to-point resource objects maintained by the point-to-point resource management unit, wherein the multiple types of point-to-point resource objects include at least one of the following: PTZ cameras, poles, road monitoring equipment, and sensor equipment, and each type of resource object includes at least point identifier, channel identifier, latitude and longitude, scene label, equipment type, callable capabilities, online status, responsible unit, and historical risk baseline; an unmatchable status output module, used to output an unmatchable status and not receive data from any video IoT point when it has no latitude and longitude coordinates, coordinate verification fails, or its online status is cancelled; and a spatial relationship calculation module, used to establish a preset risk time window starting from the current moment. Within a preset risk time window, the spatial relationships between video IoT points and objects within the affected area are calculated, including inclusion, intersection, shortest distance, or buffer relationships. The estimated duration of the impact module determines the estimated entry time based on the spatial relationships, and the estimated departure time based on the time when the video IoT points first meet the preset spatial relationships. The spatial matching data output module outputs spatial matching data containing spatial relationships, disaster identifiers, video IoT point identifiers, estimated duration of impact, impact level, and matching reasons. For typhoon disasters, matching reasons include: being located within a preset level wind circle, intersecting with a rainstorm warning surface, or being less than a preset distance from the predicted path.
[0168] Optionally, the perception result access unit includes: a disaster configuration template acquisition module, used to acquire multiple pre-stored disaster configuration templates, wherein each disaster configuration template includes: disaster type, impact level range, applicable scenario label, equipment capability conditions, task type, algorithm service identifier, sampling frequency, execution cycle, priority, timeout policy, review policy, and alarm threshold; a template filtering module, used to filter multiple disaster configuration templates in the order of disaster type, impact level, location scenario, equipment capability, and online status to obtain a preset configuration template; and a perception task generation module, used to filter parameters from the preset configuration templates based on disaster type, impact level, affected video IoT location scenario, and equipment status to generate perception tasks and distribute them to the video IoT devices, wherein the task record of the perception task includes task identifier, disaster identifier, location identifier, template version, task type, algorithm service identifier, sampling interval, execution cycle, priority, start time, failure time, retry policy, and execution status.
[0169] Optionally, the perception result access unit further includes: a gimbal angle acquisition module, used to acquire the timestamped horizontal rotation angle and vertical pitch angle at a preset sampling interval within the task validity period of the perception task; an angle difference expansion module, used to continuously expand the sequence of horizontal rotation angles that cross the boundaries of 0 degrees and 360 degrees according to the minimum angle difference between adjacent samples, convert each horizontal rotation angle into degrees and normalize it to a half-open interval, process the normalized value according to modality, and extract the first valid normalized value after modality processing as the expansion angle; and an adjacent normalized angle difference calculation module, used to calculate the adjacent normalized angle difference for subsequent samples, and perform preset degree processing when the adjacent normalized angle difference is greater than 180 degrees; when the absolute value of the adjacent normalized angle difference is 180 degrees, calculate the angle difference based on the nearest normalized angle difference. A non-zero unfolding direction determination symbol; an uncertain direction sample marking module, used to mark samples as uncertain direction samples when there is no available historical direction, or when the angular velocity after unfolding in both directions exceeds the allowable angular velocity of the device. Uncertain direction samples are not used as the sole basis for vibration judgment of the PTZ camera; an attitude sequence calculation module, used to calculate the original trajectory path length, net displacement, path straightness, number of direction reversals, and duration of continuous unidirectional movement of the attitude sequence; when the path length is greater than a preset length threshold, the net displacement ratio exceeds a preset ratio threshold, the path straightness is higher than a preset straightness threshold, and the number of direction reversals is lower than a preset reversal number threshold, it is determined to be an active motion feature, the active motion feature is filtered, and the active motion exclusion reason is output.
[0170] Optionally, the perception result access unit includes: a trend term acquisition module, used to acquire trend terms for attitude sequences not excluded by active motion by using robust linear fitting, median filtering, or sliding window trend fitting; a residual sequence determination module, used to exclude trend terms from horizontal rotation angle sequences and vertical pitch angle sequences to obtain residual residual sequences; and a vibration level determination module, used to calculate the root mean square of residuals, preset percentile amplitude, adjacent step size, vector acceleration, number of direction reversals, length of continuous activity segments, and activity ratio of the residual residual sequence, and determine the vibration level of the PTZ camera based on a preset sequence threshold set.
[0171] Optionally, the risk warning system based on the fusion of disaster impact range and IoT sensing further includes: a risk score calculation unit, used to calculate a risk score by fusing spatial matching data, PTZ camera vibration level, image analysis data, and device status data; then, normalizing and weighting the spatial matching data, PTZ camera vibration level, image analysis data, device status data, scene weights, and historical baselines to calculate the risk score; and a risk level determination unit, used to determine the risk level in the case of a typhoon disaster by using risk circuit breaker rules, service circuit breaker rules, and degradation rules; wherein, the risk circuit breaker rules include: when the video IoT point is located in the first-level wind circle and the PTZ camera... When the vibration level is severe, a high-risk level is output; when the video IoT point is within the predicted coverage area and the device is offline, a risk pending manual verification is generated; when the video output from the video IoT point has abnormal images and no disaster hit or continuous evidence, a low-risk level or a status pending review is output; among them, the service circuit breaker rules include: for video streams, if the streaming, capture, or decoding fails for a preset number of consecutive times within a preset observation window, or if a single response exceeds a preset time limit, the video evidence status is marked as available, and repeated requests are suspended; for algorithm services, if the task queuing length, response timeout ratio, or failure ratio reaches a threshold within a preset service window, it is marked as overloaded or unavailable, and the delivery of non-target priority tasks is stopped.
[0172] Optionally, the risk warning system based on the fusion of disaster impact range and IoT perception also includes: an urban flooding disaster data acquisition unit, used to receive rainfall grid, short-term precipitation forecast, waterlogged area and water level station data when the disaster type is rainstorm urban flooding disaster, and generate rainstorm impact range objects with different effective time periods and risk levels; a data filtering unit, used to filter roads, tunnels, bridges and pumping station cameras that intersect with waterlogged areas or whose surrounding distance is less than a threshold; and a processing link execution unit, used to replace gimbal attitude detection with water accumulation area, water level line, vehicle traffic status, rain curtain obstruction and equipment online status detection, and to execute the processing link of impact range object determination, point spatiotemporal matching, perception task generation, risk scoring and evidence package generation.
[0173] The aforementioned risk warning system based on the fusion of disaster impact range and IoT sensing may also include a processor and a memory. The aforementioned natural disaster data access and adaptation unit 91, unified disaster impact range object generation unit 92, video IoT point resource management unit 93, point spatiotemporal matching unit 94, sensing task orchestration unit 95, sensing result access unit 96, comprehensive risk judgment unit 97, alarm evidence package unit 98, etc., are all stored in the memory as program units. The processor executes the aforementioned program units stored in the memory to realize the corresponding functions.
[0174] The aforementioned processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and by adjusting kernel parameters, natural risk early warnings can be achieved based on the fusion of disaster impact range and IoT sensing.
[0175] The aforementioned memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0176] Example 3
[0177] Embodiments of this application may provide an electronic device. Figure 10 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 10 As shown, the electronic device may include: one or more ( Figure 10 (Only one is shown) Processor 1002, memory 10010, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0178] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the risk warning method and device based on the fusion of disaster impact range and IoT sensing in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned risk warning method based on the fusion of disaster impact range and IoT sensing. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0179] The processor can access information and applications stored in the memory via a transmission device to perform the following steps: acquire raw data of multi-source heterogeneous disasters; preprocess the raw data to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information; wherein the preprocessing strategy includes at least one of the following: field mapping, coordinate transformation, and validity verification; within a preset risk time window, calculate the spatial relationship between video IoT points and the unified disaster impact range object; determine the spatial matching data of video IoT points based on the spatial relationship; and delineate the affected video IoT points; wherein the spatial matching data includes: expected impact duration, impact level, and matching reason; the expected impact duration includes expected entry time and expected exit time. Based on the disaster type, impact level, affected video IoT locations, and device status, parameters are selected from a preset configuration template to generate a perception task, which is then distributed to the video IoT devices. The perception task includes task type, sampling frequency, and priority. The attitude sequence of the PTZ camera is acquired, and the angles across the boundary are continuously unfolded based on the attitude sequence to identify and filter active motion features. The vibration level of the PTZ camera is determined based on the residual features. Spatial matching data, PTZ camera vibration level, image analysis data, and device status data are fused to calculate a risk score. If the risk score exceeds a preset score threshold, an alarm evidence package containing the disaster object and data version, impact range data, affected video IoT locations, device status, risk score, and suggested actions is output.
[0180] Those skilled in the art will understand that Figure 10 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 10 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 10 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 10 The different configurations shown.
[0181] Those skilled in the art will understand that all or part of the steps in the various risk warning methods based on the fusion of disaster impact range and IoT sensing in the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0182] Example 4
[0183] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the risk warning method based on the fusion of disaster impact range and IoT sensing provided in Embodiment 1.
[0184] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the risk warning method based on the fusion of disaster impact range and Internet of Things sensing in any of the above embodiments.
[0185] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0186] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the risk warning method based on the fusion of disaster impact range and IoT sensing described in various embodiments of this application.
[0187] This application also provides a computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the risk warning method based on the fusion of disaster impact range and IoT sensing described in various embodiments of this application.
[0188] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0189] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0190] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0191] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0192] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0193] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0194] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A risk early warning method based on the fusion of disaster impact range and IoT sensing, characterized in that, include: Obtain raw data of multi-source heterogeneous disasters, preprocess the raw data of multi-source heterogeneous disasters, and generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity and raw data traceability information. The preprocessing strategy includes at least one of the following: field mapping, coordinate transformation and validity verification. Within a preset risk time window, the spatial relationship between video IoT points and objects within the unified disaster impact range is calculated. Based on the spatial relationship, spatial matching data of the video IoT points is determined, and the affected video IoT points are delineated. The spatial matching data includes: expected duration of impact, impact level, and matching reason. The expected duration of impact includes expected entry time and expected exit time. Based on the disaster type, impact level, scene and device status of the affected video IoT points, parameters are selected from the preset configuration template to generate a perception task, which is then sent to the video IoT device. The perception task includes task type, sampling frequency and priority. The attitude sequence of the PTZ camera is obtained, and the angles across the boundary are continuously unfolded based on the attitude sequence to identify and filter active motion features. The vibration level of the PTZ camera is determined based on the residual features. By integrating the spatial matching data, the vibration level of the PTZ camera, the image analysis data, and the device status data, a risk score is calculated. If the risk score exceeds a preset score threshold, an alarm evidence package is output, which includes the disaster object and data version, the scope of impact data, the affected video IoT points, the device status, the risk score, and the suggested actions.
2. The risk early warning method based on the fusion of disaster impact range and IoT sensing as described in claim 1, characterized in that, The steps of acquiring raw data on multi-source heterogeneous disasters, preprocessing the raw data, and generating a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and raw data traceability information include: Obtain raw data of multi-source heterogeneous disasters of the type of disaster to be monitored. The raw data of each type of disaster shall include at least the following fields: data source, release time, reception time, coordinate reference, original message reference, and field mapping version. The field names, time formats, coordinate references, and data validity of the original multi-source heterogeneous disaster data are verified, and the verified original disaster data is written into the object generation unit. The object generation unit generates a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and original data traceability information. The unified disaster impact range object also includes: disaster identifier, disaster type, data source identifier, spatial geometric type, confidence level, coordinate system, and object version number. The spatial geometric type includes points, lines, surfaces, grids, and buffers. For invalid data, expired data, or original data whose coordinates cannot be converted in the original data of the multi-source heterogeneous disaster, write an anomaly record.
3. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 2, characterized in that, The steps of writing the verified original disaster data into the object generation unit, and having the object generation unit generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity, and original data traceability information, include: In the case of a typhoon disaster, obtain the actual path point, forecast path point, central pressure, maximum wind speed, direction of movement, speed of movement, four-quadrant radius of wind circles of different levels, and affected polygon of the typhoon disaster. The object generation unit is controlled to sort the actual path points and forecast path points according to the time sequence, and generate wind circle surfaces with corresponding intensity levels based on the wind circle radius at each forecast time. A predicted path buffer surface is generated based on adjacent forecast points and a preset lateral distance. Alternatively, the wind circle influence polygon that has passed verification can be used as the impact surface of the typhoon disaster. Each wind circle surface, buffer surface, or impact surface of the typhoon disaster is associated with a corresponding effective time period, impact intensity, and data version.
4. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 1, characterized in that, Within a preset risk time window, the steps of calculating the spatial relationship between video IoT points and objects within the unified disaster impact area, determining spatial matching data for the video IoT points based on the spatial relationship, and delineating the affected video IoT points include: The system acquires multiple types of point resource objects maintained by the point resource management unit, wherein the multiple types of point resource objects include at least one of the following: pan-tilt-zoom cameras, poles, road monitoring equipment, and sensor equipment. Each type of resource object includes at least point identifier, channel identifier, latitude and longitude, scene label, equipment type, callable capabilities, online status, responsible unit, and historical risk baseline. If any of the aforementioned video IoT points has no latitude and longitude coordinates, fails coordinate verification, or is logged out, output an unmatchable status and do not receive data from that video IoT point. A preset risk time window is established starting from the current moment. Within the preset risk time window, the inclusion, intersection, shortest distance, or buffer relationship between video IoT points and objects within the affected area is calculated to obtain the spatial relationship. Based on the spatial relationship, the time when the video IoT point first meets the preset spatial relationship is determined as the expected entry time, and the time when the preset spatial relationship is last met is determined as the expected departure time, thus obtaining the expected duration of the impact. The output includes spatial matching data containing the spatial relationship, disaster identifier, location identifier of the video IoT point, expected duration of impact, impact level and matching reason. For typhoon disasters, the matching reason includes: located within a preset level wind circle, intersecting with the rainstorm warning surface, or less than a preset distance from the predicted path.
5. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 1, characterized in that, The steps of selecting parameters from a preset configuration template, generating a sensing task, and distributing it to the video IoT devices based on the disaster type, impact level, scene, and device status of the affected video IoT points include: Retrieve multiple pre-stored disaster configuration templates, each of which includes: disaster type, impact level range, applicable scenario label, equipment capability conditions, task type, algorithm service identifier, sampling frequency, execution cycle, priority, timeout policy, review policy, and alarm threshold; The preset configuration template is obtained by filtering the multiple disaster configuration templates in the order of disaster type, impact level, location scenario, equipment capability, and online status. For scenarios and device status based on disaster type, impact level, and affected video IoT points, parameters are selected from the preset configuration template to generate a perception task, which is then sent to the video IoT device. The task record of the perception task includes task identifier, disaster identifier, point identifier, template version, task type, algorithm service identifier, sampling interval, execution cycle, priority, start time, failure time, retry strategy, and execution status.
6. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 1, characterized in that, The steps of acquiring the attitude sequence of a PTZ camera, continuously unfolding the cross-boundary angles based on the attitude sequence, identifying and filtering active motion features, and determining the vibration level of the PTZ camera based on the remaining residual features include: Within the validity period of the sensing task, the horizontal rotation angle and vertical pitch angle with timestamps are acquired at a preset sampling interval; For sequences whose horizontal rotation angles cross the boundaries of 0 degrees and 360 degrees, continuous expansion is performed based on the minimum angle difference between adjacent samples. Each horizontal rotation angle is converted to degrees and normalized to a half-open interval. The normalized values are processed according to modality, and the first effective normalized value after modality processing is extracted as the expansion angle. For subsequent samples, the adjacent normalized angle difference is calculated, and if the adjacent normalized angle difference is greater than 180 degrees, the preset degree system is applied. When the absolute value of the difference between adjacent normalized angles is 180 degrees, the sign is determined based on the most recent non-zero expansion direction; If there is no available historical direction, or if the angular velocity after unfolding in both directions exceeds the allowable angular velocity of the device, the sample is marked as an uncertain direction sample. The uncertain direction sample is not used as the sole basis for determining the vibration of the PTZ camera. Calculate the original trajectory path length, net displacement, path straightness, number of direction reversals, and duration of continuous unidirectional motion of the attitude sequence; If the path length is greater than a preset length threshold, the net displacement ratio exceeds a preset ratio threshold, the path straightness is higher than a preset straightness threshold, and the number of direction reversals is lower than a preset reversal number threshold, the active motion feature is determined, the active motion feature is filtered, and the active motion exclusion reason is output.
7. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 6, characterized in that, The step of determining the vibration level of the PTZ camera based on the residual characteristics includes: For posture sequences that are not excluded by active motion, robust linear fitting, median filtering, or sliding window trend fitting are used to obtain the trend term. The trend term is removed from the horizontal rotation angle sequence and the vertical pitch angle sequence to obtain the remaining residual sequence; The root mean square of the residual, the preset percentile amplitude, the adjacent step size, the vector acceleration, the number of direction reversals, the length of the continuous active segment, and the activity ratio are calculated for the remaining residual sequence. The vibration level of the PTZ camera is determined according to the preset sequence threshold set.
8. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 1, characterized in that, After integrating the spatial matching data, the vibration level of the PTZ camera, the image analysis data, and the device status data to calculate the risk score, the method further includes: The spatial matching data, the vibration level of the PTZ camera, the image analysis data, the device status data, the scene weight, and the historical baseline are normalized and weighted to calculate the risk score. In the case of a typhoon disaster, the risk level is determined by risk circuit breaker rules, service circuit breaker rules, and downgrade rules. Among them, the risk circuit breaker rules include: when the video IoT point is in the first level wind circle and the vibration level of the PTZ camera is severe, output a high risk level; when the video IoT point is in the predicted coverage area and the device is offline, generate a risk to be manually verified; when the video output by the video IoT point has abnormal picture and there is no disaster hit or continuous evidence, output a low risk level or a status to be reviewed. Among them, the service circuit breaker rules include: for video streams, if the streaming, capture, or decoding fails for a preset number of consecutive times within a preset observation window, or if a single response exceeds a preset time limit, the video evidence status will be marked as available and repeated requests will be suspended; for algorithm services, if the task queuing length, response timeout ratio, or failure ratio reaches a threshold within a preset service window, it will be marked as overloaded or unavailable and non-target priority tasks will be stopped from being delivered.
9. The risk early warning method based on the fusion of disaster impact range and IoT sensing according to claim 1, characterized in that, Also includes: In the case of a disaster type of rainstorm and urban flooding, the system receives rainfall grid data, short-term precipitation forecasts, waterlogged areas and water level station data to generate rainstorm impact range objects with different effective time periods and risk levels. Cameras that intersect with or are located at distances less than a threshold from areas prone to flooding are selected. The system replaces gimbal attitude detection with the detection of water accumulation area, water level, vehicle traffic status, rain cover obstruction, and equipment online status, and performs a processing chain that includes determining the affected objects, spatiotemporal matching of points, generation of perception tasks, risk scoring, and generation of evidence packages.
10. A risk early warning system based on the fusion of disaster impact range and IoT sensing, characterized in that, include: The natural disaster data access and adaptation unit is used to acquire raw data of multi-source heterogeneous disasters; A unified disaster impact range object generation unit is used to preprocess the original data of the multi-source heterogeneous disaster to generate a unified disaster impact range object containing spatial geometric values, effective time windows, impact intensity and original data traceability information. The preprocessing strategy includes at least one of the following: field mapping, coordinate transformation and validity verification. The video IoT point resource management unit is used to manage all video IoT points; The point-to-spatial matching unit is used to calculate the spatial relationship between video IoT points and objects within the unified disaster impact range within a preset risk time window, determine the spatial matching data of the video IoT points based on the spatial relationship, and delineate the affected video IoT points. The spatial matching data includes: expected impact duration, impact level, and matching reason. The expected impact duration includes the expected entry time and the expected exit time. The perception task orchestration unit is used to select parameters from a preset configuration template based on the disaster type, impact level, scene and device status of the affected video IoT points, generate perception tasks, and send them to the video IoT devices. The perception task includes task type, sampling frequency and priority. The perception result access unit is used to receive perception tasks, acquire the attitude sequence of the PTZ camera, continuously expand the cross-boundary angle based on the attitude sequence, identify and filter active motion features, and determine the vibration level of the PTZ camera based on the residual features. The integrated risk assessment unit is used to integrate the spatial matching data, the vibration level of the PTZ camera, the image analysis data, and the equipment status data to calculate a risk score; The alarm evidence package unit is used to output an alarm evidence package containing disaster object and data version, affected area data, affected video IoT points, device status, risk score and suggested actions when the risk score exceeds a preset score threshold.
