Earthquake early warning and indoor people number identification linkage method and device

By integrating earthquake early warning and indoor number identification functions, combining the seismic fortification intensity of the building, dynamically determine the earthquake intensity and indoor number, and determining the linkage alarm level, it solves the problem that earthquake early warning equipment in the existing technology cannot dynamically perceive indoor number, and achieves more accurate earthquake early warning and emergency rescue, improving disaster response efficiency.

CN120126283APending Publication Date: 2025-06-10GUILIN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510282022.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

Existing earthquake early warning equipment cannot dynamically perceive the number of people indoors, making it difficult to achieve rapid linkage of rescue decisions in emergency scenarios, reducing disaster response efficiency.

Method used

By deeply integrating the earthquake early warning function with the indoor personnel identification function, using acceleration sensors and human presence sensors, seismic waves and indoor number information is obtained in real time, combined with the building's seismic fortification intensity, the earthquake intensity and indoor number are automatically determined, and the linkage alarm level is determined.

Benefits of technology

More accurate earthquake early warning and emergency rescue have been achieved, the efficiency and reliability of earthquake disaster response have been improved, the targeted and timely rescue operations have been ensured, and the casualties and property losses have been minimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120126283A_ABST
    Figure CN120126283A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of earthquake early warning and personnel identification, and discloses an earthquake early warning and indoor people number identification linkage method and device, and the method comprises the steps: obtaining earthquake waves in real time through an acceleration sensor, and carrying out the band-pass filtering, and obtaining the earthquake waves with a high signal-to-noise ratio; according to the seismic waves with the high signal-to-noise ratio, the maximum acceleration value, the maximum speed value and the maximum displacement value are worked out, and the seismic instrument intensity is predicted; acquiring seismic parameters issued by a national public early warning system; obtaining the position of the indoor building and the earthquake fortification intensity; the hypo-central distance is calculated according to the epicenter, the epicenter depth and the position of the indoor building, the earthquake early warning intensity is calculated according to the magnitude and the hypo-central distance, and the earthquake intensity is calculated according to the seismic instrument intensity and the earthquake early warning intensity; the number of indoor people is obtained in real time through a human body existence sensor; according to the seismic intensity, the seismic fortification intensity and the number of indoor people, determining a linkage alarm grade; and according to the linkage alarm level, alarming and sending alarm information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of earthquake early warning and personnel identification, and particularly relates to a method and device for the linkage of earthquake early warning and indoor number of people identification, which can be applied to families, office places, schools and other indoor environments to provide more accurate earthquake disaster response capabilities. Background Art

[0002] Earthquake disasters are often sudden and highly destructive. Timely and accurate early warning is of great significance for reducing casualties and property losses. At present, there are already earthquake early warning devices that can give an alarm several seconds to dozens of seconds before the arrival of destructive seismic waves, reducing the casualties and property losses caused by earthquakes. However, traditional earthquake early warning devices usually only have the functions of earthquake monitoring and alarm, and cannot dynamically sense the number of people in the affected place. On the other hand, indoor number of people identification technology has been widely used in the fields of security, building management, etc. It can combine millimeter wave radar, infrared or other human presence sensors to detect the number of people in the room in real time. However, existing technologies mostly use the two separately and cannot specifically process earthquake early warning information according to the specific situation of indoor personnel. In emergency scenarios, such as when a strong earthquake comes, only one of the earthquake information or personnel information can be grasped, making it difficult to achieve rapid linkage of rescue decisions, resulting in limited actual disaster response efficiency.

[0003] Therefore, how to combine the functions of earthquake early warning and indoor number of people identification, so that the device can grasp the dynamic number of people in the room while detecting earthquake early warning information, and can control the alarm strategy or rescue dispatch according to the earthquake early warning information and the dynamic number of people, has become an urgent technical problem to be solved. Summary of the Invention

[0004] To solve the problems existing in the prior art, the present invention provides a method and device for the linkage of earthquake early warning and indoor number of people identification. By deeply integrating the earthquake early warning function and the indoor personnel identification function, automatically determining the earthquake intensity and indoor number of people information, and combining with the seismic fortification intensity of the building, triggering a more accurate alarm level in a linkage manner, thereby improving the efficiency and reliability of earthquake early warning and emergency rescue.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A method for the linkage of earthquake early warning and indoor number of people identification, the method comprising:

[0007] Utilize an acceleration sensor to obtain seismic waves in real time, perform band-pass filtering on the seismic waves to obtain seismic waves with high signal-to-noise ratio;

[0008] According to the seismic waves with high signal-to-noise ratio, calculate the maximum acceleration value, the maximum velocity value and the maximum displacement value, and predict the earthquake instrument intensity according to the maximum acceleration value, the maximum velocity value and the maximum displacement value;

[0009] Obtain the earthquake parameters released by the national public early warning system, including: magnitude, epicenter, and focal depth;

[0010] Obtain the location and seismic fortification intensity of the building where the indoor area is located;

[0011] Calculate the distance from the earthquake source according to the epicenter, the focal depth, and the location of the building where the indoor area is located, calculate the earthquake early warning intensity according to the magnitude and the distance from the earthquake source, and calculate the earthquake intensity according to the earthquake instrument intensity and the earthquake early warning intensity;

[0012] Obtain the number of people indoors in real time through a human presence sensor;

[0013] Determine the linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors;

[0014] Alarm and send alarm information according to the linkage alarm level.

[0015] Preferably, the seismic wave includes acceleration data in three directions, and the sampling frequency is set to 100 Hz. Among them, the three directions are: east-west direction, north-south direction, and vertical direction.

[0016] Preferably, perform band-pass filtering on the seismic wave to obtain a seismic wave with high signal-to-noise ratio, including:

[0017] Perform band-pass filtering on the acceleration data in the three directions of the seismic wave respectively. The band-pass filtering uses a 4th-order Butterworth filter, and the frequency range is set to 0.075 Hz - 18 Hz to filter out the noise and interference signals in the data.

[0018] Preferably, predicting the earthquake instrument intensity according to the maximum acceleration value, the maximum velocity value, and the maximum displacement value includes:

[0019] Ii = a × lg 10 (PA) + b × lg 10 (PV) + c × lg 10 (PD) + d

[0020] In the formula, Ii is the earthquake instrument intensity, PA is the maximum acceleration value, PV is the maximum velocity value, PD is the maximum displacement value, and a, b, c, d are regression coefficients.

[0021] Preferably, calculating the earthquake intensity according to the earthquake instrument intensity and the earthquake early warning intensity includes:

[0022] I = w1 × Ii + w2 × Iw

[0023] Wherein, I is the seismic intensity, Ii is the seismic instrument intensity, Iw is the earthquake early warning intensity, w1 and w2 are weights, and the sum of the two is 1.

[0024] Preferably, determining the linkage alarm level according to the seismic intensity, the seismic fortification intensity, and the number of people indoors includes:

[0025] Construct a prediction model for building damage probability based on the seismic intensity and the seismic fortification intensity, and judge the damaged state of the building during an earthquake;

[0026] Predict the number of casualties based on the damage probability of the building and the number of people indoors;

[0027] Determine the linkage alarm level based on the damaged state of the building and the number of casualties during the earthquake.

[0028] Preferably, the prediction model for building damage probability is:

[0029]

[0030] Wherein, P is the building damage probability, I is the seismic intensity, I 0 is the seismic fortification intensity, k is the coefficient for adjusting the steepness of the probability curve, and α is the structural correction coefficient related to the structural type, construction quality, and service life of the building.

[0031] Preferably, predicting the number of casualties based on the damage probability of the building and the number of people indoors includes:

[0032] C = β·N·P

[0033] Wherein, C is the number of casualties, N is the number of people indoors in the building, P is the building damage probability, and β is the casualty ratio coefficient, and the value range is from 0 to 1.

[0034] The present invention also provides a device for the linkage of earthquake early warning and indoor number recognition. The system is used to implement any one of the above methods. The device includes: a seismic wave acquisition module, a seismic instrument intensity calculation module, a seismic parameter acquisition module, a building parameter acquisition module, a seismic intensity calculation module, an indoor number acquisition module, a linkage alarm level determination module, and an alarm sending module;

[0035] The seismic wave acquisition module is used to use an acceleration sensor to acquire seismic waves in real time; perform band-pass filtering on the seismic waves to obtain seismic waves with high signal-to-noise ratio;

[0036] The seismic instrument intensity calculation module is used to find the maximum acceleration value, the maximum velocity value, and the maximum displacement value according to the seismic waves with high signal-to-noise ratio; predict the seismic instrument intensity according to the maximum acceleration value, the maximum velocity value, and the maximum displacement value;

[0037] The earthquake parameter acquisition module is used to acquire earthquake parameters issued by the national public early warning system, including magnitude, epicenter, and focal depth;

[0038] The building parameter acquisition module is used to acquire the location and seismic fortification intensity of the building to which the indoor area belongs;

[0039] The earthquake intensity calculation module is used to calculate the source distance based on the epicenter, the focal depth, and the location of the building to which the indoor area belongs; calculate the earthquake early warning intensity based on the magnitude and the source distance; calculate the earthquake intensity based on the earthquake instrument intensity and the earthquake early warning intensity;

[0040] The indoor number acquisition module is used to acquire the number of people indoors in real time through a human presence sensor;

[0041] The linkage alarm level determination module is used to determine the linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors;

[0042] The alarm sending module is used to alarm and send alarm information according to the linkage alarm level.

[0043] The present invention also provides an electronic device for earthquake early warning and indoor number recognition linkage alarm, including a circuit, an acceleration sensor, a human presence sensor, a sound and light alarm, network communication electronic components, a processor, a memory, and a program stored on the memory and capable of running calculations. The acceleration sensor, the human presence sensor, the sound and light alarm, the network communication electronic components, the processor, and the memory are connected through the circuit. When the processor executes the program, the method described in any one of the above is implemented.

[0044] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0045] The present invention calculates the earthquake instrument intensity by monitoring seismic waves, and then combines the earthquake parameters provided by the national earthquake public early warning system to calculate the earthquake early warning intensity. By combining the earthquake instrument intensity and the earthquake early warning intensity, the earthquake intensity is accurately determined, significantly improving the prediction ability of the earthquake impact. In addition, the present invention combines the earthquake intensity, the seismic fortification intensity of the building, and the number of people indoors to determine the linkage alarm level, so that the alarm level covers more dimensional information, thereby realizing accurate alarm. This method enables the rescue team to preferentially arrange evacuation and rescue work according to the distribution of affected people in case of emergency, ensuring the pertinence and timeliness of the rescue operation, and thus minimizing casualties and property losses to the greatest extent.

[0046] The present invention is applicable to various indoor environments such as homes, offices, schools, etc., and can provide flexible and effective early warning and personnel protection solutions for different scenarios, thereby improving the overall level of earthquake prevention and disaster reduction. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the present invention, the accompanying drawings required for use in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other accompanying drawings based on these drawings without creative efforts.

[0048] Figure 1 is a flowchart of a method for earthquake early warning and indoor population identification linkage alarm provided by an embodiment of the present invention;

[0049] Figure 2 is a schematic diagram of a device for earthquake early warning and indoor population identification linkage alarm provided by an embodiment of the present invention;

[0050] Figure 3 is a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0052] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0053] Embodiment 1

[0054] As Figure 1 shown, the embodiment of the present invention provides a method for earthquake early warning and indoor population identification linkage alarm, including:

[0055] Step 101: Use an acceleration sensor to obtain seismic waves in real time.

[0056] The seismic waves include acceleration data in three directions (east-west direction, north-south direction, and vertical direction), and the sampling frequency is set to 100 Hz.

[0057] Step 102: Perform band-pass filtering on the seismic waves to obtain seismic waves with high signal-to-noise ratio.

[0058] Band-pass filtering is performed on the acceleration data in three directions of the seismic waves respectively. A 4th-order Butterworth filter is used for the band-pass filtering, and the frequency range is set to 0.075 Hz - 18 Hz to filter out the noise and interference signals in the data.

[0059] Step 103: Based on the seismic waves with high signal-to-noise ratio, find the maximum acceleration value, maximum velocity value, and maximum displacement value.

[0060] For the acceleration data in three directions of the seismic waves with high signal-to-noise ratio, perform one-time integration respectively to obtain the velocity data in three directions, and perform one-time integration on the velocity data in three directions respectively to obtain the displacement data in three directions. Calculate the maximum value of the combined acceleration (square root of the sum of squares) of the acceleration data in three directions as the maximum acceleration value, calculate the maximum value of the combined (square root of the sum of squares) velocity of the velocity data in three directions as the maximum velocity value, and calculate the maximum value of the combined (square root of the sum of squares) displacement of the displacement data in three directions as the maximum displacement value.

[0061] Step 104: Predict the seismic instrument intensity based on the maximum acceleration value, maximum velocity value, and maximum displacement value.

[0062] Use the maximum acceleration value, maximum velocity value, and maximum displacement value to construct an empirical formula for predicting the seismic instrument intensity.

[0063] Ii = a × lg 10 (PA) + b × lg 10 (PV) + c × lg 10 (PD) + d (1)

[0064] In the formula, Ii is the seismic instrument intensity, PA is the maximum acceleration value (unit: cm / s / s), PV is the maximum velocity value (unit: cm / s), PD is the maximum displacement value (unit: cm), and a, b, c, d are regression coefficients. The regression coefficients can be obtained by regression from historical earthquake records. Usually, PA, PV, and Pd are all respectively correlated with Ii to a certain extent. Here, PA, PV, and Pd are jointly used to construct formula (1) to predict Ii to improve the accuracy of predicting Ii.

[0065] Step 105: Obtain the earthquake parameters released by the national public warning system, including: magnitude, epicenter, and focal depth.

[0066] Step 106: Obtain the location of the building where the indoor area is located.

[0067] The location of the building where the indoor area is located consists of longitude and latitude.

[0068] Step 107: Calculate the source distance based on the epicenter, focal depth, and the location of the building where the indoor area is located;

[0069] Calculate the distance through longitude and latitude to determine the distance between the epicenter and the location of the building where the indoor area is located, which is used as the epicentral distance, and then calculate the focal distance using formula (2).

[0070]

[0071] In the formula, D is the focal distance (unit: km), R is the epicentral distance (unit: km), and H is the focal depth (unit: km).

[0072] Step 108: Calculate the earthquake early warning intensity based on the magnitude and the focal distance.

[0073] Iw = e × M + f × log 10 (D) + g (3)

[0074] In the formula, Iw is the earthquake early warning intensity, M is the magnitude, D is the focal distance (unit: km), and e, f, and g are regression coefficients. The regression coefficients can be obtained by regression of historical earthquake records. The earthquake early warning intensity is the earthquake intensity calculated from the magnitude and the focal distance determined by the earthquake early warning system.

[0075] Step 109: Calculate the earthquake intensity based on the earthquake instrument intensity and the earthquake early warning intensity.

[0076] I = w1 × Ii + w2 × Iw (4)

[0077] In the formula, I is the earthquake intensity, Ii is the earthquake instrument intensity, Iw is the earthquake early warning intensity, w1 and w2 are weights, and the sum of the two is 1. w1 and w2 can be empirically set according to the actual operation effect, and both are taken as 0.5 here.

[0078] Step 110: Obtain the number of people indoors in real time through a human presence sensor.

[0079] Step 111: Obtain the seismic fortification intensity of the building where the indoor area is located.

[0080] Step 112: Determine the linkage alarm level based on the earthquake intensity, the number of people indoors, and the seismic fortification intensity.

[0081] Based on the earthquake intensity and the seismic fortification intensity, construct a prediction model for the probability of building damage (formula (5)) to judge the damaged state of the building during an earthquake.

[0082]

[0083] In the formula, P is the probability of building damage, I is the earthquake intensity, I 0is the seismic fortification intensity, k is the coefficient for adjusting the steepness of the probability curve, and α is the structural correction coefficient related to factors such as the structural type of the building, construction quality, and service life. The values of K and α can be determined based on the earthquake damage investigation data of historical earthquakes. In the conventional case, k takes the value of 1, α for reinforced concrete structures takes the value of 1.1, α for brick-concrete structures takes the value of 1.0, and α for old buildings takes the value of 0.9.

[0084] According to the damage probability P, the building status is divided into the following four categories:

[0085] Slight damage (0 ≤ P < 0.3): The building is basically safe, and there may only be slight non-structural damage;

[0086] Moderate damage (0.3 ≤ P < 0.7): The building may have moderate damage, and the structural stability is affected to a certain extent;

[0087] Severe damage (0.7 ≤ P < 0.9): The building may have severe damage, and the structural stability significantly decreases;

[0088] Devastating damage (P ≥ 0.9): The building is very likely to collapse or be devastated.

[0089] According to the damage probability P and the number of people indoors, the following formula is used to predict the number of casualties (including serious injuries and deaths).

[0090] C = β·N·P (6)

[0091] In the formula, C is the number of casualties (rounded to an integer), N is the number of people indoors in the building, P is the building damage probability, and β is the casualty proportion coefficient, whose value range is from 0 to 1 and is determined according to factors such as the personnel distribution and evacuation conditions in the building. In the conventional case, β takes the value of 1.

[0092] According to the status of the building during the earthquake and the number of casualties, determine the linkage alarm level:

[0093] Level 0: The status of the building is slight damage;

[0094] Level 1: The status of the building is moderate damage, and the number of casualties is 1 - 3;

[0095] Level 2: The status of the building is moderate damage, and the number of casualties is 4 - 9;

[0096] Level 3: The status of the building is moderate damage, and the number of casualties is 10 - 29;

[0097] Level 4: The status of the building is moderate damage, and the number of casualties is more than 30;

[0098] Level 5: The status of the building is severe damage, and the number of casualties is 1 - 3;

[0099] Level 6: The building is severely damaged, and the number of casualties is 4 - 9;

[0100] Level 7: The building is severely damaged, and the number of casualties is 10 - 29;

[0101] Level 8: The building is severely damaged, and the number of casualties is over 30;

[0102] Level 9: The building is destructively damaged, and the number of casualties is 1 - 3;

[0103] Level 10: The building is destructively damaged, and the number of casualties is 4 - 9;

[0104] Level 11: The building is destructively damaged, and the number of casualties is 10 - 29;

[0105] Level 12: The building is destructively damaged, and the number of casualties is over 30.

[0106] Step 113: Alarm and release alarm information according to the linkage alarm level.

[0107] When the linkage alarm level is level 1, voice broadcast "An earthquake has occurred, and the house is safe", and send the linkage alarm level, earthquake intensity, seismic fortification intensity, number of people indoors, building status, and number of casualties to the emergency rescue department.

[0108] When the linkage alarm level is greater than or equal to level 2, give an audible and visual alarm, and send the linkage alarm level, earthquake intensity, seismic fortification intensity of the building, and number of people indoors to the emergency rescue department.

[0109] Embodiment 2

[0110] As Figure 2 shown, a device for earthquake early warning and indoor number recognition linkage alarm includes:

[0111] An earthquake wave acquisition module 201, configured to use an acceleration sensor to acquire earthquake waves in real time; perform band - pass filtering on the earthquake waves to obtain earthquake waves with high signal - to - noise ratio;

[0112] An earthquake instrument intensity calculation module 202, configured to obtain the maximum acceleration value, maximum velocity value, and maximum displacement value according to the earthquake waves with high signal - to - noise ratio; predict the earthquake instrument intensity according to the maximum acceleration value, maximum velocity value, and maximum displacement value;

[0113] An earthquake parameter acquisition module 203, configured to acquire earthquake parameters released by the national public early warning system, including: magnitude, epicenter, and focal depth;

[0114] A building parameter acquisition module 204, configured to acquire the location and seismic fortification intensity of the building where it is located indoors;

[0115] The earthquake intensity calculation module 205 is configured to calculate the distance from the earthquake source according to the epicenter, the depth of the earthquake source, and the location of the building where the indoor area belongs; calculate the earthquake early warning intensity according to the magnitude and the distance from the earthquake source; calculate the earthquake intensity according to the earthquake instrument intensity and the earthquake early warning intensity;

[0116] The indoor number acquisition module 206 is configured to obtain the number of people indoors in real time through a human presence sensor;

[0117] The linkage alarm level determination module 207 is configured to determine the linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors;

[0118] The alarm sending module 208 is configured to give an alarm and send an alarm message according to the linkage alarm level.

[0119] Embodiment III

[0120] As Figure 3 shown, an electronic device for earthquake early warning and indoor number recognition linkage alarm provided by an embodiment of the present invention includes: an acceleration sensor, a human presence sensor, an audible and visual alarm, network communication electronic components, a processor, a memory, and a program stored on the memory and capable of running calculations. The acceleration sensor, the human presence sensor, the audible and visual alarm, the network communication electronic components, the processor, and the memory are connected by a circuit. When the program is executed by the processor, the method described in any of the above embodiments is implemented.

[0121] The above-described embodiments are only descriptions of the preferred embodiments of the present invention, and do not limit the scope of the present invention. Without departing from the design spirit of the present invention, various deformations and improvements made by those of ordinary skill in the art to the technical solutions of the present invention shall fall within the protection scope determined by the claims of the present invention.

Claims

1. A method for linking earthquake early warning and indoor number recognition, characterized in that: The method comprises: Acquire seismic waves in real time using an acceleration sensor, and perform bandpass filtering on the seismic waves to obtain seismic waves with a high signal-to-noise ratio; According to the seismic wave with high signal-to-noise ratio, the maximum acceleration, the maximum velocity and the maximum displacement are obtained, and the seismic instrument intensity is predicted according to the maximum acceleration, the maximum velocity and the maximum displacement; Obtain earthquake parameters issued by the national public warning system, including magnitude, epicenter and focal depth; Obtain the location and seismic fortification intensity of the building to which the room belongs; Calculate the focal distance according to the epicenter, the focal depth, and the location of the building to which the room belongs, calculate the earthquake warning intensity according to the magnitude and the focal distance, and calculate the earthquake intensity according to the seismic instrument intensity and the earthquake warning intensity; Get the number of people in the room in real time through human presence sensors; Determining a linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors; According to the linkage alarm level, an alarm is generated and an alarm message is sent.

2. The method according to claim 1, characterized in that The seismic wave includes acceleration data in three directions, and the sampling frequency is set to 100 Hz, wherein the three directions are: east-west direction, north-south direction and vertical direction.

3. The method according to claim 2, characterized in that Bandpass filtering is performed on the seismic wave to obtain a seismic wave with a high signal-to-noise ratio, including: The acceleration data of the three directions of the seismic wave are band-pass filtered respectively. The band-pass filtering adopts a 4th-order Butterworth filter with a frequency range set to 0.075 Hz-18 Hz to filter out noise and interference signals in the data.

4. The method according to claim 1, characterized in that Prediction of seismic instrument intensity based on maximum acceleration, maximum velocity and maximum displacement includes: Iiia×lg 10 (PA)+b×lg 10 (PV)+c×lg 10 (PD)+d Where Ii is the seismic instrument intensity, PA is the maximum acceleration, PV is the maximum velocity, PD is the maximum displacement, and a, b, c, and d are regression coefficients.

5. The method according to claim 1, characterized in that Calculating the earthquake intensity according to the earthquake instrument intensity and the earthquake early warning intensity includes: I=w1×Ii+w2×Iw Where I is the earthquake intensity, Ii is the seismic instrument intensity, Iw is the earthquake warning intensity, w1 and w2 are weights, and the sum of the two is 1.

6. The method according to claim 1, characterized in that Determining the linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors includes: According to the earthquake intensity and seismic fortification intensity, a model for predicting the probability of building damage is constructed to determine the damage state of the building when an earthquake occurs; Predict casualties based on the probability of building damage and the number of people inside; The linkage alarm level is determined based on the damage status of the buildings and the number of casualties during the earthquake.

7. The method according to claim 6, characterized in that The model for predicting building damage probability is: Where P is the probability of building damage, I is the earthquake intensity, I0 is the seismic fortification intensity, k is the coefficient for adjusting the steepness of the probability curve, and α is the structural correction coefficient related to the structural type, building quality, and service life of the house.

8. The method according to claim 7, characterized in that Based on the probability of damage to the building and the number of people inside, the predicted casualties include: C=β·N·P Where C is the number of casualties, N is the number of people indoors in the building, P is the probability of building damage, and β is the casualty ratio coefficient, which ranges from 0 to 1.

9. A device for linkage between earthquake early warning and indoor number recognition, the system being used to implement the method described in any one of claims 1 to 8, characterized in that: The device comprises: a seismic wave acquisition module, a seismic instrument intensity calculation module, a seismic parameter acquisition module, a building parameter acquisition module, a seismic intensity calculation module, an indoor number acquisition module, a linkage alarm level determination module, and an alarm sending module; The seismic wave acquisition module is used to acquire seismic waves in real time using an acceleration sensor; and to perform band-pass filtering on the seismic waves to obtain seismic waves with a high signal-to-noise ratio; The seismic instrument intensity calculation module is used to obtain the maximum acceleration, the maximum velocity and the maximum displacement according to the seismic wave with high signal-to-noise ratio; and predict the seismic instrument intensity according to the maximum acceleration, the maximum velocity and the maximum displacement; The earthquake parameter acquisition module is used to obtain earthquake parameters released by the national public early warning system, including: magnitude, epicenter and focal depth; The building parameter acquisition module is used to obtain the location and seismic fortification intensity of the building to which the room belongs; The earthquake intensity calculation module is used to calculate the focal distance according to the epicenter, the focal depth, and the location of the building to which the room belongs; calculate the earthquake early warning intensity according to the magnitude and the focal distance; calculate the earthquake intensity according to the seismic instrument intensity and the earthquake early warning intensity; The indoor number acquisition module is used to acquire the number of indoor people in real time through a human presence sensor; The linkage alarm level determination module is used to determine the linkage alarm level according to the earthquake intensity, the seismic fortification intensity, and the number of people indoors; The alarm sending module is used to alarm and send alarm information according to the linkage alarm level.

10. An electronic device for earthquake early warning and indoor number recognition linkage alarm, characterized in that: The invention comprises a circuit, an acceleration sensor, a human presence sensor, an audible and visual alarm, network communication electronic components, a processor, a memory, and a program stored in the memory and capable of running calculations. The acceleration sensor, the human presence sensor, the audible and visual alarm, the network communication electronic components, the processor, and the memory are connected via a circuit. When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.