A civil air defense door position detection method and system
By acquiring the location information of each monitoring point of the air-raid shelter door, calculating the relative displacement change rate and drawing the offset trajectory, the problem of inaccurate capture of the position change of the air-raid shelter door in the existing technology is solved, and the accurate monitoring and visualization of the displacement of the air-raid shelter door is realized.
Patent Information
- Application Number
- CN202410094093.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-01-23
AI Technical Summary
Existing methods for detecting air-raid shelter doors are insufficient to accurately capture the rapid positional changes of air-raid shelter doors during emergencies, resulting in inaccurate deviation trajectories.
By acquiring the location information of each monitoring point of the air-raid shelter door, determining the offset point, calculating the relative displacement change rate, drawing the offset trajectory, and combining tilt angle and vector synthesis technology, the overall displacement trend and abnormal area of the air-raid shelter door can be accurately determined.
It achieves accurate description and visualization of the displacement of air defense doors, has a wider monitoring range, can accurately obtain the offset trajectory, avoids missed or false judgments, dynamically captures displacement trends, and is suitable for different practical scenarios.
Smart Images

Figure CN118129671B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of civil defense door technology, specifically to a method and system for detecting the position of a civil defense door. Background Technology
[0002] With the acceleration of urbanization and the increase in the number of densely populated areas, the construction and maintenance of civil defense (air defense) projects have become particularly important. As a crucial component of civil defense projects, air defense doors play a vital role in protecting personnel and important assets from explosions, radioactive material leaks, and natural disasters, both in wartime and peacetime. Therefore, ensuring the normal operation and accurate positioning of air defense doors is essential to guaranteeing their protective function.
[0003] Currently, existing methods for detecting air-raid shelter doors mainly involve recognizing images of the doors to obtain their overall displacement information, thereby analyzing their offset trajectory. However, in practical applications, when a sudden event occurs, the position of the air-raid shelter door can shift rapidly and instantaneously. Analyzing the offset trajectory using existing methods for recognizing air-raid shelter door images often fails to accurately capture these rapid positional changes, resulting in inaccurate offset trajectories. Summary of the Invention
[0004] This application provides a method and system for detecting the position of a civil defense door, which can accurately obtain the offset trajectory of the civil defense door.
[0005] Firstly, this application provides a method for detecting the position of a civil defense door, including: Obtain the location information of each monitoring point in the air-raid shelter door, and determine at least one offset point among the monitoring points based on the location information. Based on each of the aforementioned offset points, determine the relative displacement change rate of the air defense door within a preset time period; If the relative displacement change rate is greater than or equal to the preset change rate, then the offset trajectory of each offset point within the preset time period is determined according to the displacement direction and displacement amount of each offset point. The target offset trajectory of the air defense door is determined based on the offset trajectory of each offset point.
[0006] By employing the aforementioned technical solution, the location information of each monitoring point within the air-raid shelter door is acquired, identifying the offset points where significant displacement occurs. Based on the data from these offset points, the relative displacement change rate of the air-raid shelter door over a period of time is calculated, enabling the assessment of the overall displacement trend. When the change rate exceeds a threshold, an offset trajectory is further plotted based on the displacement direction and magnitude of the offset points, thus locating abnormal displacement areas within the air-raid shelter door. By synthesizing the displacement trajectories of each offset point, a target offset trajectory representing the entire displacement process of the air-raid shelter door is determined, achieving a precise description and visualization of the door's displacement effect. By setting up multiple monitoring points to acquire displacement data, covering all key areas of the air-raid shelter door, the monitoring range is broadened. Through vector synthesis and trajectory fitting, a precise assessment of the overall door displacement effect is achieved, enabling accurate acquisition of the air-raid shelter door's offset trajectory.
[0007] Optionally, based on the location information, the current position coordinates of each monitoring point are determined; based on the current position coordinates of each monitoring point and the standard position coordinates of each monitoring point, the offset of each monitoring point is determined; if the offset of a monitoring point is greater than a preset offset, then the monitoring point is used as the offset point.
[0008] By employing the above technical solution, the real-time position coordinates of each monitoring point are obtained and compared with standard coordinates to calculate the actual offset of the monitoring point. This offset directly reflects the magnitude of the monitoring point's displacement. By setting a preset offset as a judgment threshold, it is possible to accurately determine whether the monitoring point has experienced displacement exceeding the allowable range. Compared to simply relying on the difference in position information to determine the offset point, calculating the actual displacement can more accurately judge the displacement effect of the monitoring point, avoiding missed or false judgments due to measurement errors, and improving the accuracy of offset point determination.
[0009] Optionally, based on the displacement data of each offset point, a displacement vector of each offset point is constructed; based on each displacement vector, the total displacement vector of the air defense door is determined, and based on the total displacement vector of the air defense door and the preset time, the relative displacement change rate of the air defense door is calculated.
[0010] By employing the above technical solution, displacement data for each offset point is collected, and a displacement vector representing the magnitude and direction of the displacement is constructed. This vector intuitively reflects the displacement trend of the offset point. Then, the displacement vectors of each offset point are synthesized to obtain a total displacement vector representing the overall displacement effect of the air-raid shelter door. Based on this total displacement vector and the rate of change over time, compared to directly using offset calculations, the total displacement vector calculated using vector synthesis technology can more comprehensively and accurately reflect the overall displacement effect of the air-raid shelter door.
[0011] Optionally, the displacement velocity of each offset point is determined based on the offset amount of each offset point and the preset duration; and each displacement vector is constructed based on the displacement velocity and displacement direction of each offset point.
[0012] By employing the above technical solution, the average displacement velocity of each offset point over a period of time is calculated, eliminating the influence of time and more accurately reflecting the displacement trend of the offset point. Based on the obtained displacement velocity, a displacement vector is constructed by combining it with displacement direction data. The magnitude and direction of the vector correspond to the velocity magnitude and displacement direction, respectively. Compared to directly using displacement quantities, introducing displacement velocity allows the obtained displacement vector to more accurately express the displacement characteristics of the offset point. By calculating displacement velocity and constructing a displacement vector based on velocity, the lag of simple displacement quantity calculation is avoided, enabling dynamic capture of the displacement trend of the offset point and constructing an accurate displacement vector reflecting real-time displacement characteristics.
[0013] Optionally, the tilt angle of the air-raid shelter door is obtained; the total displacement vector and the tilt angle of the air-raid shelter door are substituted into the displacement formula to obtain the relative displacement change rate of the air-raid shelter door within the preset time period; wherein, the displacement formula is: In the formula, R represents the rate of change of relative displacement, ω i This represents the offset weight of the i-th offset point. Let represent the displacement vector of the i-th offset point, and n represent the total number of offset points. M represents the magnitude of the total displacement vector, Δt represents the preset duration, A represents the initial influence coefficient when the air-raid shelter door tilts due to structural settlement, B represents the tilt attenuation coefficient, θ represents the tilt angle, C represents the earthquake influence coefficient, L represents the earthquake intensity, and d represents the distance coefficient. If the air-raid shelter door is affected by the mitigating effect of structural settlement, then M = 1; if the air-raid shelter door is affected by the instantaneous effect of a strong earthquake, then M = 0.
[0014] By adopting the above technical solution, the calculation of the relative displacement change rate is enhanced by adding a step of obtaining the tilt angle and incorporating it into the displacement calculation formula, thus achieving greater accuracy in calculating the change rate by considering the tilt factor. Real-time tilt data of the air-raid shelter door is acquired, and the tilt angle is substituted into the displacement formula along with the total displacement vector to calculate the change rate. Compared to direct calculation based on the displacement vector, incorporating the tilt factor eliminates its influence on displacement, making the obtained change rate more accurately reflect the pure displacement change trend. This displacement calculation formula comprehensively considers various influencing factors, simulates the displacement change law, and allows the change rate calculation to be applicable to different practical scenarios through parameter determination. Obtaining real-time tilt data and incorporating it into the formula eliminates the interference of tilt on displacement judgment, enabling the change rate to accurately determine the displacement trend of the door.
[0015] Optionally, if the relative displacement change rate is less than the preset change rate, the target offset area in the air defense door is determined according to the number of each offset point.
[0016] By employing the above technical solution, when the rate of change is normal, the number of offset points is counted to determine if there are any cases of excessive local displacement. Compared to relying solely on the overall rate of change, this approach can pinpoint local displacement issues and achieve precise location. Based on the distribution of offset points, local areas with significant displacement are identified and designated as target displacement areas. Further calculation of the offset point density and risk rate within these areas allows for a quantitative assessment of the severity of displacement. Compared to simply judging based on the overall rate of change, this approach enables the location and risk assessment of local displacement issues.
[0017] Optionally, the offset point density of each structural region in the air-raid shelter is determined based on the number and location of each offset point; the risk rate of each structural region is determined based on the offset point density; if there is a structural region with a risk rate greater than a preset risk rate, then that structural region is taken as the target offset region.
[0018] By adopting the above technical solution, the determination of the target displacement region incorporates steps for calculating the density of displacement points and the risk rate, enabling precise assessment of regional displacement risk. Based on the number and location of displacement points, the density of displacement points in each structural region is calculated, reflecting the displacement distribution within the region. The risk rate is calculated and compared with a threshold to accurately determine the degree of displacement risk in the region. Compared to simply judging based on the number of displacement points, this solution, by introducing parameters such as displacement point density and risk rate, avoids the subjectivity of relying solely on quantity and achieves quantitative analysis of regional displacement risk. Structural regions with high risk rates are identified as target displacement regions, enabling precise location of problem areas with severe local displacement.
[0019] A second aspect of this application provides a civil defense door position detection system.
[0020] A third aspect of this application provides an electronic device.
[0021] A civil defense door position detection system includes a memory, a processor, and a program stored in the memory and executable on the processor. When the program is loaded and executed by the processor, it implements a civil defense door position detection method.
[0022] A fourth aspect of this application provides a computer-readable storage medium.
[0023] A computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement a method for detecting the position of a civil defense door.
[0024] In summary, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: By adopting the technical solution of this application, the location information of each monitoring point in the air-raid shelter door is obtained, the offset points where significant displacement occurs in the air-raid shelter door are determined, and the relative displacement change rate of the air-raid shelter door over a period of time is calculated based on the data of the offset points, thus realizing the judgment of the overall displacement trend of the air-raid shelter door. When the change rate exceeds a threshold, the offset trajectory is further drawn based on the displacement direction and displacement amount of the offset points, thus realizing the location of abnormal displacement areas in the air-raid shelter door. By synthesizing the displacement trajectories of each offset point, the target offset trajectory representing the entire displacement process of the air-raid shelter door is determined, realizing the accurate description and visualization of the displacement effect of the air-raid shelter door. By setting up multiple monitoring points to obtain displacement data, covering all key areas of the air-raid shelter door, the monitoring range is wider; through vector synthesis and trajectory fitting, the accurate judgment of the overall displacement effect of the door body is realized, and the offset trajectory of the air-raid shelter door can be accurately obtained. Attached Figure Description
[0025] Figure 1 This is a flowchart illustrating a method for detecting the position of a civil defense door provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a civil defense door position detection system disclosed in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.
[0026] Explanation of reference numerals in the attached drawings: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. Detailed Implementation
[0027] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0028] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0029] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0030] This application provides a method for detecting the position of a civil defense door. In one embodiment, please refer to... Figure 1 , Figure 1 This is a flowchart illustrating the method for detecting the position of a civil defense door provided in this application. This method can be implemented using a computer program, which can be integrated into an application or run as a standalone utility application. The method can also be implemented using a microcontroller and can run on a civil defense door position detection system based on the von Neumann architecture. Specifically, the method may include the following steps: Step 101: Obtain the location information of each monitoring point in the air-raid shelter door, and determine at least one offset point among the monitoring points based on the location information.
[0031] Monitoring points refer to sensing devices installed on or inside the surface of air-raid shelter doors to detect changes in the door's position. These monitoring points can utilize sensors capable of precise position monitoring, such as GPS positioning modules or multi-axis accelerometers.
[0032] Civil defense doors refer to protective doors installed in public places such as civil basements and subway stations.
[0033] Location information refers to various data that reflect the spatial coordinates of a monitoring point. In the embodiments of this application, location information can be understood as the three-dimensional spatial coordinate data of the monitoring point. This coordinate data can be collected in real time by sensors installed at the monitoring point.
[0034] Specifically, based on the location information of the monitoring points, the deviation between the actual coordinates and the standard coordinates of each monitoring point can be calculated. If the positional deviation of a monitoring point exceeds a preset displacement threshold, it can be determined that the monitoring point has been displaced and identified as an offset point. The setting of the displacement threshold needs to consider factors such as the door material and monitoring accuracy. The displacement of monitoring points often reflects the deformation of a local area of the air-raid shelter door or a change in its overall position. The purpose of determining the offset points is to provide a basis for subsequent analysis of door displacement trends and early warning. By finding offset points with significant displacement, it is possible to infer the potential problem areas of the air-raid shelter door, and subsequent displacement monitoring can be carried out in a targeted manner to ensure the safety of the air-raid shelter door.
[0035] Based on the above embodiments, as an optional embodiment, step 101, which involves determining at least one offset point among the monitoring points according to the location information, may further include the following steps: Step 201: Determine the current location coordinates of each monitoring point based on the location information.
[0036] Among them, location coordinates refer to a set of numerical values representing the coordinates of the monitoring point in three-dimensional space. It intuitively reflects the spatial location of the monitoring point.
[0037] Specifically, information containing location data is received from each monitoring point, reflecting the real-time spatial coordinates of the monitoring points. To determine whether a monitoring point has shifted, it is necessary to first determine the current three-dimensional coordinates of each monitoring point, i.e., its location coordinates, based on the received raw location data. The determination of location coordinates can be accomplished through coordinate transformation. For example, if the location information uses latitude, longitude, and altitude data, it can be converted into X, Y, and Z coordinates in the local three-dimensional Cartesian coordinate system of the monitoring terminal's location using coordinate transformation formulas. If the location information itself is a three-dimensional coordinate value, it can be directly used to determine the current location coordinates of each monitoring point, which forms the basis for subsequent calculations of the monitoring point's displacement.
[0038] Step 202: Determine the offset of each monitoring point based on its current position coordinates and standard position coordinates; if the offset of a monitoring point is greater than the preset offset, then the monitoring point is used as the offset point.
[0039] The offset refers to the distance difference between the current coordinates of the monitoring point and its standard coordinates. It reflects the magnitude of the displacement of the monitoring point relative to the standard position.
[0040] Specifically, after determining the current position coordinates of each monitoring point, the monitoring terminal needs to compare them with the corresponding standard position coordinates to determine the deviation distance between the two coordinates, i.e., calculate the displacement of the monitoring point. The standard coordinates of the monitoring point can be obtained through calibration during the initialization of the monitoring system; they represent the normal position of the monitoring point. The greater the deviation distance between the current coordinates and the standard coordinates, the more significant the displacement of the monitoring point. The magnitude of the displacement can be obtained by calculating the distance between the two coordinates in three dimensions. If the displacement exceeds a pre-set position change threshold, it can be determined that the monitoring point has undergone displacement beyond the allowable range, and the monitoring point is identified as an offset point.
[0041] Step 102: Determine the relative displacement rate of the air-raid shelter door within a preset time period based on each offset point.
[0042] The relative displacement change rate refers to the ratio of the total displacement of the air defense door within a given time to its own size, reflecting the speed at which the overall position of the air defense door changes.
[0043] Specifically, once the offset points are determined, the monitoring terminal needs to use the displacement information of these offset points to determine the overall displacement trend and rate of change of the air-raid shelter door within a preset time period (e.g., 24 hours). This can be achieved by collecting displacement amount and direction data for all offset points during this period, and constructing displacement trend vectors for each offset point based on this data. Then, the displacement vectors of all offset points can be synthesized to obtain the overall displacement vector of the air-raid shelter door. The total displacement vector of the air-raid shelter door reflects its overall displacement direction and amount. Dividing the total displacement of the air-raid shelter door by the preset time period yields the average relative displacement change rate of the air-raid shelter door during this period. The relative displacement change rate directly reflects the speed and trend of the overall position change of the air-raid shelter door, and is an important basis for determining whether the displacement of the air-raid shelter door is normal.
[0044] Based on the above embodiments, as an optional embodiment, step 102: determining the relative displacement change rate of the air-raid shelter door within a preset time period according to each offset point may further include the following steps: Step 301: Construct the displacement vector of each offset point based on the displacement data of each offset point.
[0045] The displacement vector refers to the characteristic quantity that represents the displacement of the offset point in vector form. It reflects the magnitude and trend of the displacement through the magnitude and direction of the vector.
[0046] Displacement data refers to various relevant data used to describe the displacement of offset points, mainly including the offset amount and displacement direction of each offset point.
[0047] Specifically, displacement and direction data for each offset point are collected over a period of time. These data reflect the displacement characteristics of each offset point. Displacement data can include the magnitude and direction of the displacement, such as left or right. The displacement can be obtained by multiplying the displacement rate of the offset point by time. Based on the displacement and direction of each offset point, a displacement vector representing the displacement trend of that offset point can be constructed. The length of the vector represents the magnitude of the displacement, and the direction of the vector represents the displacement direction. The displacement vector intuitively reflects the displacement of each offset point, which is beneficial for further analysis of the displacement correlation between offset points and for determining the overall displacement trend of the gate.
[0048] Based on the above embodiments, as an optional embodiment, step 301, which involves constructing the displacement vector of each offset point based on the displacement data of each offset point, may further include the following steps: Step 311: Determine the displacement velocity of each offset point based on the offset amount and preset duration.
[0049] Specifically, after determining the displacement of each offset point, it is also necessary to obtain the displacement velocity data of each offset point over a period of time. A preset time period, such as 24 hours, can be selected, and the displacement of each offset point within these 24 hours can be statistically analyzed. Then, the displacement of each offset point is divided by the preset time of 24 hours to obtain the average displacement velocity of each offset point within that time period. Displacement velocity reflects the speed of displacement of the offset point and can more intuitively determine the displacement trend. Unlike displacement volume, it eliminates the influence of time. Obtaining the displacement velocity data of each offset point lays the foundation for constructing the displacement vector and further calculating the overall displacement vector of the air-raid shelter door.
[0050] Step 312: Construct each displacement vector based on the displacement velocity and displacement direction of each offset point.
[0051] Specifically, after acquiring the displacement velocity and direction data for each offset point, the monitoring terminal needs to immediately construct a displacement vector for subsequent displacement analysis. The purpose of constructing the displacement vector is to more intuitively represent the displacement characteristics of the offset point. The magnitude and direction of the vector correspond to the displacement velocity and direction, respectively, comprehensively reflecting the displacement trend of the offset point. The starting point of the displacement vector is determined, for example, set as the origin of the coordinate system; then the direction of the vector is set according to the displacement direction data; and then the length of the vector is set according to the displacement velocity data. Finally, a displacement vector representing the displacement trend of the offset point is obtained. By acquiring the displacement vector, the displacement trends of different offset points can be expressed using an easily observable graphical vector method.
[0052] Step 302: Determine the total displacement vector of the air defense door based on each displacement vector, and calculate the relative displacement change rate of the air defense door based on the total displacement vector of the air defense door and the preset time.
[0053] The total displacement vector refers to the composite vector representing the overall displacement trend of the air-raid shelter door over a period of time, reflecting the direction and amount of displacement. In the embodiments of this application, the total displacement vector can be understood as a single result vector obtained by synthesizing the displacement vectors of all offset points.
[0054] Specifically, after constructing the displacement vector of each offset point, the monitoring terminal can calculate the overall displacement vector of the air-raid shelter door using a vector synthesis method. By connecting the head and tail of the displacement vectors of each offset point and superimposing them, the synthesized result is the overall displacement vector of the air-raid shelter door within that time period. After obtaining the total displacement vector of the air-raid shelter door, the relative displacement change rate of the air-raid shelter door can be calculated. Substituting the length of the total displacement vector of the air-raid shelter door within that time period and the preset duration into the displacement formula, the average relative displacement change rate of the air-raid shelter door within that time period can be obtained.
[0055] Based on the above embodiments, as an optional embodiment, step 302: determining the relative displacement change rate of the air-raid shelter door within a preset time period according to each offset point, this step may further include the following steps: Step 313: Obtain the tilt angle of the air-raid shelter door; substitute the total displacement vector and tilt angle of the air-raid shelter door into the displacement formula to obtain the relative displacement rate of the air-raid shelter door within a preset time period; where the displacement formula is: In the formula, R represents the rate of change of relative displacement, ω i This represents the offset weight of the i-th offset point. Let represent the displacement vector of the i-th offset point, and n represent the total number of offset points. M represents the magnitude of the total displacement vector, Δt represents the preset duration, A represents the initial influence coefficient when the air-raid shelter door tilts due to structural settlement, B represents the tilt attenuation coefficient, θ represents the tilt angle, C represents the earthquake influence coefficient, L represents the earthquake intensity, and d represents the distance coefficient. If the air-raid shelter door is affected by the mitigating effect of structural settlement, then M = 1; if the air-raid shelter door is affected by the instantaneous effect of a strong earthquake, then M = 0.
[0056] Specifically, to accurately calculate the displacement change rate of the air-raid shelter door, in addition to the total displacement vector, the tilt of the door itself also needs to be considered. Because tilt affects the final displacement effect, the monitoring terminal needs to acquire real-time tilt data of the air-raid shelter door, which can be collected using devices such as gyroscopes. After obtaining the tilt angle of the air-raid shelter door, the displacement change rate can be calculated. By substituting the total displacement vector, tilt angle, and preset time duration into the displacement calculation formula and performing the calculation, the average relative displacement change rate of the air-raid shelter door during this period can be obtained. The displacement formula considers different offset scenarios in both gradual and instantaneous scenarios, such as foundation settlement and earthquakes. The displacement change rate comprehensively considers the influence of displacement vector and tilt, accurately reflecting the displacement trend of the air-raid shelter door and is a key parameter for accurately judging the displacement effect. By acquiring tilt data and incorporating it into the formula calculation, this step achieves the goal of accurately judging the displacement change rate of the air-raid shelter door.
[0057] In the displacement formula, R represents the rate of change of the position of the air-raid shelter door per unit time, i.e., the rate of change of relative displacement. The magnitude of the total displacement vector represents the distance the air-raid shelter door has moved from its initial position. The longer the magnitude of the total displacement vector, the greater the displacement of the air-raid shelter door. A represents the initial influence coefficient when structural settlement causes the air-raid shelter door to tilt, B represents the rate at which the increase in tilt angle weakens the impact on structural stability, and C represents the proportionality factor of the influence of earthquake intensity on tilt angle. This section comprehensively considers whether the displacement of the air-raid shelter door occurs instantaneously or gradually. M=1 represents a gradual displacement process, which often takes a relatively long time. M=0 represents an instantaneous displacement process during a sudden event, which is usually short but involves a large displacement. This formula combines multiple factors to simulate the rate of displacement change that the air-raid shelter door may experience under specific conditions. The determination of each parameter needs to be based on experimental data, field measurements, or engineering experience, obtained through actual observation and experimental testing of existing air-raid shelter doors.
[0058] Step 103: If the relative displacement change rate is greater than or equal to the preset change rate, then determine the offset trajectory of each offset point within the preset time period based on the displacement direction and displacement amount of each offset point.
[0059] The offset trajectory refers to the displacement path of the offset point over a period of time, and is visualized to reflect the displacement process of the offset point. The offset trajectory can be understood as a displacement curve plotted based on the displacement direction and displacement amount of the offset point over a period of time.
[0060] Specifically, when the rate of change is greater than or equal to a preset value, it indicates an abnormal displacement. To further pinpoint the exact location of the displacement anomaly, it is necessary to analyze the displacement details of each offset point. Displacement direction and magnitude data for each offset point are collected over a period of time; this data visually reflects the displacement characteristics of each point. Then, based on this displacement data, the displacement trajectory of each offset point over that time period is plotted as a visual curve. The changes in the direction and curvature of the displacement trajectory reflect the displacement process. By comparing the displacement trajectories of different points, the correlation between displacements can be determined, identifying abnormally correlated areas with similar displacement trajectories. This allows for targeted analysis of the fault causes and the development of appropriate solutions.
[0061] Step 104: Determine the target offset trajectory of the air-raid shelter door based on the offset trajectory of each offset point.
[0062] The target offset trajectory refers to the composite displacement trajectory that reflects the overall displacement trend of the air-raid shelter door. It integrates the displacement characteristics of each offset point to reflect the overall displacement process of the door. The target offset trajectory can be understood as a trajectory curve that represents the entire displacement process of the air-raid shelter door, determined based on the displacement trajectory analysis of each monitoring point.
[0063] Specifically, after obtaining the displacement trajectory of each offset point, it is necessary to further determine the target offset trajectory reflecting the overall displacement trend of the air-raid shelter door based on these offset trajectories. By comparing the displacement trajectories of each offset point, the main displacement directions and trajectory change patterns are identified, and the target offset trajectory that can represent the entire door displacement process is determined. This target trajectory integrates the displacement characteristics of each offset point and reflects the overall displacement direction and trend of the air-raid shelter door within that time period.
[0064] For example, a method for fitting the offset trajectory of a fire-fighting door may include collecting multiple displacement data points for each offset point within a monitoring period, and plotting the displacement trajectory curve for each offset point based on the displacement direction and magnitude. The curves are then formatted uniformly, for example, converted to curves in a two-dimensional time-displacement coordinate system. A fitting curve (such as the least squares method) is found to maximize its fit with the trajectory curves of each offset point using a relevant curve fitting algorithm. This fitting curve is iteratively optimized, with parameters continuously adjusted to represent the main trends and characteristics of each curve. This fitted curve is ultimately obtained as the target trajectory curve for the fire-fighting door, comprehensively reflecting the commonalities of the curves at each offset point and reflecting the overall displacement process of the fire-fighting door. The target curve is analyzed to determine the displacement direction and uniformity of the fire-fighting door. If the target curve does not match the displacement curves of some points, there may be localized abnormal displacement. This curve fitting method can obtain a target trajectory curve reflecting the overall displacement trend, enabling a visual assessment of the fire-fighting door's displacement effect.
[0065] Based on the above embodiments, as an optional embodiment, in step 103: if the relative displacement change rate is greater than or equal to a preset change rate, then the offset trajectory of each offset point within a preset time period is determined according to the displacement direction and displacement amount of each offset point. After this step, the following steps may also be included: Step 401: If the relative displacement change rate is less than the preset change rate, then determine the target offset area in the air defense door based on the number of each offset point.
[0066] Specifically, when the calculated relative displacement change rate of the air-raid shelter door is lower than the normal change threshold, it indicates that the overall displacement is within a controllable range. However, it is still necessary to check whether there are any excessive local displacements. The specific method is that the monitoring terminal will count the number of offset points exceeding a certain displacement range. If only a few points have excessive displacement, it can be determined that there is a local displacement problem. If the displacement points in a large area have excessive displacement, overall reinforcement is required. By statistically identifying the target offset area, it is possible to distinguish between minor overall displacement and severe local displacement, allowing for targeted maintenance measures instead of blindly reinforcing the entire area. This saves manpower and materials, and the detection and handling of early local displacements can prevent the problem from escalating and causing overall impact.
[0067] Based on the above embodiments, as an optional embodiment, step 401, which determines the target offset area in the air-raid shelter door according to the number of offset points, may further include the following steps: Step 411: Determine the density of offset points in each structural area of the air-raid shelter door based on the number and location of each offset point.
[0068] Offset point density refers to the distribution of offset points within a specific structural region. It reflects the displacement monitoring coverage density of that region. Offset point density can be understood as the numerical result obtained by dividing the total number of offset points within a structural region by the area of that region.
[0069] Specifically, after determining the target displacement area of the air-raid shelter door, it is necessary to conduct an in-depth analysis of the displacement of each structural component within that area. Determining the displacement point density for each structural area is crucial for assessing the uniformity of displacement distribution and identifying displacement fault points. The total number of displacement points within each structural area is counted and divided by the area of that area to calculate the displacement point density for each region. Then, the displacement point densities of each region are compared to determine the uniformity of the density distribution. If a region has a higher displacement point density, it can be determined that the displacement problem in that region is more severe and requires priority attention.
[0070] Step 412: Determine the risk rate of each structural region based on the density of each offset point; if there is a structural region with a risk rate greater than the preset risk rate, then the structural region is taken as the target offset region.
[0071] Specifically, after obtaining the offset point density data for each structural region, it is necessary to further calculate the risk rate for each region to determine the severity of the displacement. The risk rate is a crucial parameter for assessing the severity of regional displacement. The calculation method involves comparing the offset point density of each region with a preset risk rate threshold. If the risk rate of a region exceeds the threshold, it indicates that the displacement problem in that region is severe and may lead to local or overall safety accidents. Structural regions with risk rates exceeding the limit are identified as target offset regions. Once the target offset regions are identified, detailed inspections and reinforcement measures can be implemented immediately within these regions to control risks and ensure the safe use of civil defense projects.
[0072] Reference Figure 2 This application provides a civil defense door position detection system, which includes: an information acquisition module, an information processing module, a trajectory generation module, and a trajectory fitting module, wherein: The information acquisition module is used to acquire the location information of each monitoring point in the air defense door, and determine at least one offset point among the monitoring points based on the location information. The information processing module is used to determine the relative displacement change rate of the air defense door within a preset time period based on each offset point; The trajectory generation module is used to determine the offset trajectory of each offset point within a preset time period based on the displacement direction and displacement amount of each offset point if the relative displacement change rate is greater than or equal to the preset change rate. The trajectory fitting module is used to determine the target offset trajectory of the air defense door based on the offset trajectory of each offset point.
[0073] Based on the above embodiments, the information acquisition module is also used to determine the current position coordinates of each monitoring point according to the position information; determine the offset of each monitoring point according to the current position coordinates of each monitoring point and the standard position coordinates of each monitoring point; if the offset of the monitoring point is greater than the preset offset, then the monitoring point is used as the offset point.
[0074] Based on the above embodiments, the information processing module is also used to construct the displacement vector of each offset point according to the displacement data of each offset point; determine the total displacement vector of the air defense door according to each displacement vector; and calculate the relative displacement change rate of the air defense door according to the total displacement vector of the air defense door and the preset time.
[0075] Based on the above embodiments, the information processing module further includes determining the displacement velocity of each offset point according to the offset amount and preset duration of each offset point; and constructing each displacement vector according to the displacement velocity and displacement direction of each offset point.
[0076] Based on the above embodiments, the information processing module further includes acquiring the tilt angle of the air-raid shelter door; substituting the total displacement vector and tilt angle of the air-raid shelter door into the displacement formula to obtain the relative displacement change rate of the air-raid shelter door within a preset time period; wherein, the displacement formula is: In the formula, R represents the rate of change of relative displacement, ω i This represents the offset weight of the i-th offset point. Let represent the displacement vector of the i-th offset point, and n represent the total number of offset points. M represents the magnitude of the total displacement vector, Δt represents the preset duration, A represents the initial influence coefficient when the air-raid shelter door tilts due to structural settlement, B represents the tilt attenuation coefficient, θ represents the tilt angle, C represents the earthquake influence coefficient, L represents the earthquake intensity, and d represents the distance coefficient. If the air-raid shelter door is affected by the mitigating effect of structural settlement, then M = 1; if the air-raid shelter door is affected by the instantaneous effect of a strong earthquake, then M = 0.
[0077] Based on the above embodiments, the trajectory generation module is also used to determine the target offset area in the air defense door according to the number of each offset point if the relative displacement change rate is less than the preset change rate.
[0078] Based on the above embodiments, the trajectory generation module further includes determining the offset point density of each structural area in the air defense door according to the number and location of each offset point; determining the risk rate of each structural area according to the offset point density; and if there is a structural area with a risk rate greater than the preset risk rate, then the structural area is taken as the target offset area.
[0079] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0080] This application also discloses an electronic device. (See reference...) Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 300 may include: at least one processor 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.
[0081] The communication bus 302 is used to enable communication between these components.
[0082] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0083] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0084] The processor 301 may include one or more processing cores. The processor 301 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling data stored in the memory 305. Optionally, the processor 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 301 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface graphics, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 301.
[0085] The memory 305 may include random access memory (RAM) or read-only memory. Optionally, the memory 305 may include a non-transitory computer-readable storage medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned processor 301. (Refer to...) Figure 3 The memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a method of detecting the position of a civil defense door.
[0086] exist Figure 3 In the illustrated electronic device 300, the user interface 303 is mainly used to provide an input interface for the user and acquire user input data; while the processor 301 can be used to call an application program stored in the memory 305 for a method of detecting the position of a civil defense door. When executed by one or more processors 301, the electronic device 300 performs one or more methods as described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0087] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0088] In the various embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0089] 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 network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0090] Furthermore, the functional units in the various embodiments of this application 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.
[0091] 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 device (CMD). Based on this understanding, the technical solution of this application, 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 memory 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 of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0092] The above are merely exemplary embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will readily conceive of those skilled in the art upon consideration of the specification and the disclosure of practical truths.
[0093] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for detecting the position of a civil defense door, characterized in that, include: Obtain the location information of each monitoring point in the air-raid shelter door, and determine the offset point of each monitoring point based on the location information. Based on each of the aforementioned offset points, determine the relative displacement change rate of the air defense door within a preset time period; If the relative displacement change rate is greater than or equal to the preset change rate, then the offset trajectory of each offset point within the preset time period is determined according to the displacement direction and displacement amount of each offset point. The target offset trajectory of the air defense door is determined based on the offset trajectory of each offset point. The step of determining the relative displacement change rate of the air defense door within a preset time period based on each of the offset points includes: constructing a displacement vector for each of the offset points based on the displacement data of each of the offset points; determining the total displacement vector of the air defense door based on each of the displacement vectors; and calculating the relative displacement change rate of the air defense door based on the total displacement vector of the air defense door and the preset time period. The displacement data includes the offset and displacement direction of each offset point. Constructing the displacement vector of each offset point based on the displacement data of each offset point includes: determining the displacement velocity of each offset point based on the offset and the preset duration; and constructing the displacement vector based on the displacement velocity and displacement direction of each offset point. The step of determining the total displacement vector of the air-raid shelter door based on each of the displacement vectors, and calculating the relative displacement change rate of the air-raid shelter door based on the total displacement vector of the air-raid shelter door and the preset time duration, includes: Obtain the tilt angle of the air-raid shelter door; Substituting the total displacement vector and the tilt angle of the air defense door into the formula, the relative displacement change rate of the air defense door within the preset time period is obtained; The formula is as follows: ; In the formula, R represents the rate of change of relative displacement, ω i This represents the offset weight of the i-th offset point. Let represent the displacement vector of the i-th offset point, and n represent the total number of offset points. M represents the magnitude of the total displacement vector, Δt represents the preset duration, A represents the initial influence coefficient when the air-raid shelter door tilts due to structural settlement, B represents the tilt attenuation coefficient, θ represents the tilt angle, C represents the earthquake influence coefficient, L represents the earthquake intensity, and d represents the distance coefficient. If the air-raid shelter door is affected by the mitigating effect of structural settlement, then M = 1; if the air-raid shelter door is affected by the instantaneous effect of a strong earthquake, then M = 0.
2. The method for detecting the position of a civil defense door according to claim 1, characterized in that, The step of determining the offset point among the monitoring points based on the location information includes: Based on the location information, determine the current location coordinates of each monitoring point; The offset of each monitoring point is determined based on its current position coordinates and its standard position coordinates. If the offset of the monitoring point is greater than the preset offset, then the monitoring point is used as the offset point.
3. The method for detecting the position of a civil defense door according to claim 1, characterized in that, The method further includes: If the relative displacement change rate is less than the preset change rate, then the target offset area in the air defense door is determined according to the number of each offset point.
4. The method for detecting the position of a civil defense door according to claim 3, characterized in that, The step of determining the target offset area in the air-raid shelter door based on the number of each offset point includes: The density of offset points in each structural region of the air-raid shelter door is determined based on the number and location of each offset point. The risk rate of each structural region is determined based on the density of each offset point. If there exists a structural region with a risk rate greater than a preset risk rate, then that structural region will be used as the target offset region.
5. A system for detecting the position of a civil defense door, used to implement the method for detecting the position of a civil defense door as described in any one of claims 1-4, characterized in that, The system includes: The information acquisition module is used to acquire the location information of each monitoring point in the air-raid shelter door, and determine the offset point of each monitoring point based on the location information. The information processing module is used to determine the relative displacement change rate of the air defense door within a preset time period based on each of the offset points; The trajectory generation module is used to determine the offset trajectory of each offset point within the preset time period based on the displacement direction and displacement amount of each offset point if the relative displacement change rate is greater than or equal to the preset change rate. The trajectory fitting module is used to determine the target offset trajectory of the air defense door based on the offset trajectory of each offset point.
6. An electronic device, characterized in that, The device includes a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to enable the electronic device to perform a method for detecting the position of a civil defense door as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the steps of the method for detecting the position of a civil defense door as described in any one of claims 1-4.
Citation Information
Patent Citations
Wireless Detection System and Method for Inter-story Displacement of Building Structures under Vibration Environment
CN102299948A
Method for monitoring an automatic door system as well as system with an automatic door system
WO2023031261A1
