Knowledge graph-driven groundwater-oriented method and device for building risk warning
A knowledge graph-driven groundwater-oriented method for building risk warning includes: extracting a relationship quadruple between groundwater level change and building structure change based on collected groundwater level data and building data; creating a cross-domain knowledge graph based on the relationship quadruple, and associating two different fields; updating the cross-domain knowledge graph in real time to realize the building risk warning caused by groundwater level changes. The risk warning is based on the causal relationship reflected in the factual data, making the risk warning more accurate, which can effectively solve the problem of the lack of risk warning system for buildings due to groundwater level changes in the related art.
1 . A building risk warning system, comprising:
an electronic device including a processor and a memory storing instructions, wherein the instructions, when executed by the processor, cause the electronic device to:
acquire groundwater level measurement data from a plurality of geographically distributed monitoring sensors through a real-time monitoring network and building data of a plurality of buildings, wherein the groundwater level measurement data comprises location coordinates and time-series groundwater level measurements corresponding to the location coordinates, and the building data comprises position coordinates of the buildings and structural information of the buildings at different time points;
process the time-series groundwater level measurements to determine groundwater level variations at the plurality of monitoring sensors over time;
process the structural information of the buildings to determine structural state changes of the buildings at the different time points;
determine, based on spatial relationships between the monitoring sensors and the buildings and temporal relationships of the time-series measurements, a physical interaction relationship representing an effect of the groundwater level variations on structural states of the buildings;
determine an influence degree corresponding to the physical interaction relationship;
construct a relationship quadruple including:
the groundwater level variations,
the structural state changes,
the physical interaction relationship, and
the influence degree;
construct a real-time cross-domain knowledge graph based on the relationship quadruple, wherein the cross-domain knowledge graph represents physical interaction relationships between groundwater conditions and the structural states of the buildings;
update the real-time cross-domain knowledge graph continuously based on newly acquired groundwater level measurement data and building data;
determine a structural stability condition of at least one building based on the real-time cross-domain knowledge graph and predefined structural safety criteria;
generate risk warning information corresponding to the structural stability condition; and
trigger, via a warning module of the electronic device, a risk warning operation for the at least one building, wherein the risk warning operation comprises:
activating an alarm mechanism;
generating an alarm prompt; and
outputting the alarm prompt via a user interface of the electronic device to provide real-time structural monitoring of the at least one building.
2 . The building risk warning system of claim 1 , wherein, to determine the groundwater level variations, the instructions cause the electronic device to:
acquire the time-series groundwater level measurements for each of the location coordinates to obtain groundwater level measurement of each location coordinate at each time point in a time series;
compare groundwater level measurement at a current time point with groundwater level measurement at a previous time point; and
determine, according to a comparison result, a groundwater level variation at the current time point for each location coordinate.
3 . The building risk warning system of claim 1 , wherein, to determine the structural state changes of the buildings, the instructions cause the electronic device to:
acquire the structural information of each building at each time point in a time series;
compare structural information at a current time point with structural information at a previous time point; and
determine, according to a comparison result, a structural state change of the building at the current time point.
4 . The building risk warning system of claim 1 , wherein, to determine the physical interaction relationship, the instructions cause the electronic device to:
according to a position coordinate of a building, obtain, from the groundwater level measurement data, time-series groundwater level measurements corresponding to location coordinates within a preset area range of the position coordinate; and
based on a same time point, determine a corresponding physical interaction relationship between the structural information of the building at different time points and the time-series groundwater level measurements corresponding to the building.
5 . The building risk warning system of claim 4 , wherein, to determine the physical interaction relationship and the influence degree, the instructions cause the electronic device to:
based on the physical interaction relationship between the groundwater level measurement data and the building data, take the building as a benchmark and input the time-series groundwater level measurements within the preset area range of the building and the building data into a preset hydrological model;
simulate, by the preset hydrological model, an influence of the groundwater level variations on a structure of the building, so as to obtain the physical interaction relationship;
in response to determining that the groundwater level variations have the physical interaction relationship with the structural state changes of the building, obtain groundwater level measurements within the preset area range of the building as influence degree judgment measurements; and
compare the influence degree judgment measurements with a preset influence degree threshold comparison table to obtain the influence degree,
wherein the preset influence degree threshold comparison table comprises a building structure name, a tolerable groundwater level height threshold range corresponding to the building structure name, and an influence degree corresponding to the tolerable groundwater level height threshold range.
6 . The building risk warning system of claim 1 , wherein, to update the real-time cross-domain knowledge graph continuously and determine the structural stability condition, the instructions cause the electronic device to:
acquire, in real time, variation measurements of the groundwater level variations and the structural state changes in the cross-domain knowledge graph;
predict, based on the variation measurements, a new physical interaction relationship and a new influence degree;
update the variation measurements, the new physical interaction relationship, and the new influence degree to the cross-domain knowledge graph as real-time measurement information; and
determine the structural stability condition of each building according to the real-time measurement information in the cross-domain knowledge graph and the predefined structural safety criteria.
7 . The building risk warning system of claim 1 , wherein the risk warning operation further comprises:
based on the position coordinates of the buildings, integrating the cross-domain knowledge graph correspondingly with a preset three-dimensional map of the buildings to obtain a visualization map, wherein the preset three-dimensional map comprises the position coordinates of the buildings and three-dimensional buildings at the position coordinates; and
presetting an interaction interface at a location of the three-dimensional buildings in the visualization map, wherein the interaction interface comprises real-time measurement display information, warning prompts, alarm prompts, and query.
8 . A method for building risk warning, comprising:
acquiring, by an electronic device including a processor, groundwater level measurement data from a plurality of geographically distributed monitoring sensors through a real-time monitoring network and building data of a plurality of buildings, wherein the groundwater level measurement data comprises location coordinates and time-series groundwater level measurements corresponding to the location coordinates, and the building data comprises position coordinates of the buildings and structural information of the buildings at different time points;
processing, by the electronic device, the time-series groundwater level measurements to determine groundwater level variations at the plurality of monitoring sensors over time;
processing, by the electronic device, the structural information of the buildings to determine structural state changes of the buildings at the different time points;
determining, by the electronic device, based on spatial relationships between the monitoring sensors and the buildings and temporal relationships of the time-series measurements, a physical interaction relationship representing an effect of the groundwater level variations on structural states of the buildings;
determining, by the electronic device, an influence degree corresponding to the physical interaction relationship;
constructing, by the electronic device, a relationship quadruple including:
the groundwater level variations,
the structural state changes,
the physical interaction relationship, and
the influence degree;
constructing, by the electronic device, a real-time cross-domain knowledge graph based on the relationship quadruple, wherein the cross-domain knowledge graph represents physical interaction relationships between groundwater conditions and building structural states;
updating, by the electronic device, the real-time cross-domain knowledge graph continuously based on newly acquired groundwater level measurement data and building data;
determining, by the electronic device, a structural stability condition of at least one building based on the real-time cross-domain knowledge graph and predefined structural safety criteria;
generating, by the electronic device, risk warning information corresponding to the structural stability condition; and
triggering, via a warning module of the electronic device, a risk warning operation for the at least one building, wherein the risk warning operation comprises:
activating an alarm mechanism;
generating an alarm prompt; and
outputting the alarm prompt via a user interface of the electronic device to provide real-time structural monitoring of the at least one building.
9 . A non-transitory computer-readable storage medium storing a plurality of instructions, wherein the instructions, when executed by a processor of an electronic device, cause the electronic device to perform operations comprising:
acquiring groundwater level measurement data from a plurality of geographically distributed monitoring sensors through a real-time monitoring network and building data of a plurality of buildings, wherein the groundwater level measurement data comprises location coordinates and time-series groundwater level measurements corresponding to the location coordinates, and the building data comprises position coordinates of the buildings and structural information of the buildings at different time points;
processing the time-series groundwater level measurements to determine groundwater level variations at the plurality of monitoring sensors over time;
processing the structural information of the buildings to determine structural state changes of the buildings at the different time points;
determining, based on spatial relationships between the monitoring sensors and the buildings and temporal relationships of the time-series measurements, a physical interaction relationship representing an effect of the groundwater level variations on structural states of the buildings;
determining an influence degree corresponding to the physical interaction relationship;
constructing a relationship quadruple including:
the groundwater level variations,
the structural state changes,
the physical interaction relationship, and
the influence degree;
constructing a real-time cross-domain knowledge graph based on the relationship quadruple, wherein the cross-domain knowledge graph represents physical interaction relationships between groundwater conditions and building structural states;
updating the real-time cross-domain knowledge graph continuously based on newly acquired groundwater level measurement data and building data;
determining a structural stability condition of at least one building based on the real-time cross-domain knowledge graph and predefined structural safety criteria;
generating risk warning information corresponding to the structural stability condition; and
triggering, via a warning module of the electronic device, a risk warning operation for the at least one building, wherein the risk warning operation comprises:
activating an alarm mechanism;
generating an alarm prompt; and
outputting the alarm prompt via a user interface of the electronic device to provide real-time structural monitoring of the at least one building.