Intelligent analysis method of massive data in smart cities based on edge computing

Through edge computing technology, the liquid level data and altitude of the rainwater outlet are analyzed, and the area is divided into different locations, which solves the problem of difficulty in accurately assessing the degree of flood in the existing technology, and realizes timely assessment and response to the degree of flood in urban areas, reducing flood disasters Influence.

CN118521450BActive Publication Date: 2024-11-19JIANGSU NETIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410987736.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-19
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The prior art is difficult to accurately obtain the flooding degree in various areas of the city through the liquid level data of the rainwater outlet, which makes it difficult to assess and respond to flood disaster risks in a timely manner.

Method used

Using intelligent analysis method for massive data in smart cities based on edge computing, the liquid level data and altitude of the rainwater outlet is obtained, and the local data and reference data are intercepted by preset interception range, and the fluctuations and trends of the liquid level data are analyzed, combining the location of the rainwater outlet Divide urban areas, calculate the degree of floods and allocate flood control and disaster relief resources.

Benefits of technology

Accurate assessment and timely response to the flooding degree in various areas of the city has been achieved to mitigate or avoid the impact of flood disasters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118521450B_ABST
    Figure CN118521450B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of resource allocation technology, and specifically to an intelligent analysis method for massive data in a smart city based on edge computing, including: obtaining liquid level data and altitude of all rainwater outlets; intercepting local data and reference data of the liquid level data; obtaining the danger level of the liquid level data according to the local data and reference data of the liquid level data, and obtaining the flood level of the rainwater outlet corresponding to the liquid level data; dividing the city into regions according to the location of the rainwater outlet in the city to obtain a number of urban areas; obtaining the flood level of the urban area according to the altitude and flood level of different rainwater outlets in the urban area; and allocating flood fighting and disaster relief personnel according to the flood level of the urban area. The present invention accurately obtains the flood level of the rainwater outlet by analyzing the fluctuation and trend of the liquid level data, and further obtains the flood level of the urban area, so as to reasonably allocate resources to reduce the impact of severe flood disasters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource allocation, and in particular to an intelligent analysis method for massive data in a smart city based on edge computing. Background Art

[0002] The main function of the rainwater inlet is to collect and guide precipitation to prevent water from causing damage inside or around buildings and avoid the occurrence of flood disasters. The specific flood situation can be obtained by analyzing the liquid level data of the rainwater inlet. However, due to the complex distribution and large number of rainwater inlets, if all data are directly transmitted to the computing center for analysis, the computing pressure of the center will be too high, and it will be difficult to obtain the risk of flood disasters in various areas of the city in a timely manner. Therefore, this embodiment proposes an intelligent analysis method for massive data of smart cities based on edge computing; however, since the liquid level data of each rainwater inlet will be affected by passing vehicles or pedestrians, it is not possible to simply use the liquid level data of the rainwater inlet to accurately obtain the degree of flooding in each area. Summary of the invention

[0003] The present invention provides an intelligent analysis method for massive data of smart cities based on edge computing to solve the existing problem that it is not possible to accurately obtain the flood degree of each area simply through the liquid level data of the rainwater outlet.

[0004] The intelligent analysis method of massive data in smart cities based on edge computing of the present invention adopts the following technical solutions:

[0005] The following steps are involved:

[0006] Get the liquid level data and altitude of all rainwater inlets;

[0007] Two interception ranges are preset to intercept the local data and the reference data of the liquid level data; the fluctuation risk level of the liquid level data is obtained according to the difference between the local data and the reference data of the liquid level data and the fluctuation level of the local data; the trend risk level of the liquid level data is obtained according to the distribution trend of the data in the local data of the liquid level data; the risk level of the liquid level data is obtained according to the fluctuation risk level and the trend risk level of the liquid level data, and the flood level of the rainwater outlet corresponding to the liquid level data is obtained;

[0008] According to the location of the rainwater outlet in the city, the city is divided into regions to obtain several urban areas; according to the difference between the altitudes of different rainwater outlets in the urban area and the degree of flooding, the difference factor of the urban area is obtained; according to the altitude and the degree of flooding of each rainwater outlet in the urban area, the diversion degree of each rainwater outlet in the urban area is obtained; according to the diversion degree of each rainwater outlet in the urban area, combined with the difference factor of the urban area, the flood degree of the urban area is obtained;

[0009] Flood relief personnel are assigned based on the severity of flooding in urban areas.

[0010] Preferably, the two interception ranges are preset to intercept the local data and the reference data of the liquid level data, and the specific method includes:

[0011] For the liquid level data of any rainwater outlet at the current moment, the previous liquid level data, recorded as the local data of the liquid level data; the front of the liquid level data data, recorded as the reference data of the liquid level data; and are the number of local data interceptions and the number of benchmark data interceptions, respectively, and Less than .

[0012] Preferably, the method of obtaining the degree of fluctuation risk of the liquid level data according to the difference between the local data of the liquid level data and the reference data and the degree of fluctuation of the local data includes the following specific methods:

[0013] For the liquid level data of any rainwater outlet at the current moment, the ratio of the mean of all local data of the liquid level data to the maximum liquid level data in the benchmark data of the liquid level data is taken as the height of the liquid level data;

[0014] The difference between the mean of all local data of the liquid level data and the mean of all benchmark data is recorded as the height fluctuation difference of the liquid level data; the fluctuation risk degree of the liquid level data is obtained according to the height fluctuation difference of the liquid level data, the height degree of the liquid level data, and the variance of all local data of the liquid level data;

[0015] The height fluctuation difference of the liquid level data, the height degree of the liquid level data and the variance of all local data of the liquid level data are positively correlated with the fluctuation danger degree of the liquid level data.

[0016] Preferably, the method of obtaining the trend danger level of the liquid level data according to the distribution trend of the data in the local data of the liquid level data includes the following specific methods:

[0017] For any liquid level data, perform first-order difference operation on the local data of the liquid level data to obtain all first-order difference operation results, take the sum of all first-order difference operation results as the change direction of the liquid level data, and record all positive numbers in the first-order difference operation results as the rising data of the liquid level data;

[0018] The difference between the first data and the largest data in the local data of the liquid level data is recorded as the change degree of the liquid level data; according to the change degree of the liquid level data, the number of rising data of the liquid level data, and the change direction of the liquid level data, the trend danger degree of the liquid level data is obtained;

[0019] The product of the change direction and the change degree of the liquid level data is positively correlated with the trend danger degree of the liquid level data; the number of rising data of the liquid level data is positively correlated with the trend danger degree of the liquid level data.

[0020] Preferably, the method of obtaining the danger level of the liquid level data according to the danger level of fluctuation and the danger level of trend of the liquid level data and obtaining the flood level of the rainwater outlet corresponding to the liquid level data includes the following specific methods:

[0021] For any rainwater outlet at the current moment, the average of the fluctuation danger level and the trend danger level of the rainwater outlet is taken as the flood level of the rainwater outlet.

[0022] Preferably, the city is divided into regions according to the locations of the rainwater inlets in the city to obtain a number of urban regions, including the following specific methods:

[0023] Obtain a city planning map, and mark the rainwater outlets in the city planning map. Use the k-means clustering algorithm to cluster the rainwater outlets in the city planning map to obtain several clusters, obtain the cluster center of each cluster, and for any pixel point in the city planning map, obtain the distance between the pixel point and each cluster center, and record the cluster center with the shortest distance as the cluster center to which the pixel point belongs; classify the area composed of pixels with the same cluster center as the same local area, and obtain all local areas; and record the area corresponding to the local area in the city as the urban area.

[0024] Preferably, the method of obtaining the difference factor of the urban area according to the difference between the altitudes of different rainwater outlets and the flood degree in the urban area includes the following specific methods:

[0025] For any urban area, the rainwater outlets in the urban area are sorted in ascending order according to their altitudes to obtain a rainwater outlet sequence in the urban area; the first half of the rainwater outlets in the sequence are recorded as low rainwater outlets, and the second half of the rainwater outlets in the sequence are recorded as high rainwater outlets; the difference between the mean flood degree of all low rainwater outlets at the current moment and the mean flood degree of all high rainwater outlets at the current moment is recorded as the difference factor of the urban area.

[0026] Preferably, the method of obtaining the diversion degree of each rainwater outlet in the urban area according to the altitude and flood degree of each rainwater outlet in the urban area includes the following specific methods:

[0027] For any stormwater outlet in any urban area, the altitude of the stormwater outlet with the lowest altitude in the urban area is taken as the base altitude of the urban area; the difference between the altitude of the stormwater outlet and the base altitude is recorded as the relative altitude of the stormwater outlet; the product of the relative altitude of the stormwater outlet and the flood degree is taken as the diversion degree of the stormwater outlet.

[0028] Preferably, the method of obtaining the flood degree of the urban area according to the diversion degree of each rainwater outlet in the urban area and the difference factor of the urban area includes the following specific methods:

[0029] For any urban area, the diversion degree of all stormwater outlets in the urban area is integrated to obtain the drainage pressure of the stormwater outlet with the lowest altitude in the urban area; the drainage pressure of the stormwater outlet with the lowest altitude in the urban area is multiplied by the difference factor of the urban area, and the product is normalized to obtain the flood degree of the urban area.

[0030] Preferably, the allocation of flood relief personnel according to the degree of flooding in the urban area includes the following specific methods:

[0031] A flood severity threshold for an urban area is preset; for any urban area, when the flood severity of the urban area is greater than the flood severity threshold for the urban area, personnel are immediately mobilized to the urban area for flood control and disaster relief.

[0032] The beneficial effects of the technical solution of the present invention are as follows: the present invention intercepts local data and reference data of liquid level data by presetting two interception ranges; obtains the fluctuation danger degree of liquid level data by assigning a large danger degree to liquid level data with high liquid level data and liquid level data fluctuation; further obtains the trend danger degree of liquid level data by analyzing the distribution trend of data in the local data of liquid level data, assigning a large danger degree to liquid level data with an upward trend and a small danger degree to liquid level data with a downward trend; obtains the danger degree of liquid level data according to the fluctuation danger degree and the trend danger degree of liquid level data, so as to accurately obtain the flooding degree of the rainwater outlet corresponding to the liquid level data;

[0033] The city is divided into regions according to the locations of storm water outlets in the city to obtain several urban areas. Since rainwater tends to flow into storm water outlets with low altitudes, the greater the difference in altitude between storm water outlets in an urban area, the greater the drainage pressure at the low storm water outlets at the seaside, that is, the urban area is more likely to experience flooding. By further combining the flood levels of different storm water outlets in the urban area, the flood level of the urban area can be accurately obtained in a short period of time. Flood control and disaster relief personnel are allocated according to the flood level of the urban area, thereby reducing or even avoiding the impact of flood disasters. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 This is a flowchart of the steps of the intelligent analysis method of massive data in smart cities based on edge computing of the present invention;

[0036] Figure 2 Flowchart to obtain flooding extent of urban area. DETAILED DESCRIPTION

[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation method, structure, features and effects of the intelligent analysis method of massive data of smart cities based on edge computing proposed by the present invention are described in detail as follows in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0039] The specific scheme of the intelligent analysis method of massive data in smart cities based on edge computing provided by the present invention is described in detail below with reference to the accompanying drawings.

[0040] See also Figure 1 , which shows a flowchart of a method for intelligent analysis of massive data in a smart city based on edge computing provided by an embodiment of the present invention, the method comprising the following steps:

[0041] Step S001: Obtain the liquid level data and altitude of all rainwater outlets.

[0042] It should be noted that the main function of the rainwater inlet is to collect and guide precipitation to prevent water from causing damage inside or around buildings and avoid flood disasters. However, due to the complex distribution and large number of rainwater in the city, if all data are directly transmitted to the computing center for analysis, the computing pressure of the center will be too high, and it is difficult to obtain the risk of flood disasters in various areas of the city in a timely manner. Therefore, this embodiment proposes an intelligent analysis method for massive data of smart cities based on edge computing to obtain the risk of flood disasters in various areas of the city in a timely manner. Therefore, it is necessary to obtain the liquid level data at each rainwater inlet first. Since rainwater tends to gather at low altitudes, it is also necessary to collect the altitude of each rainwater inlet.

[0043] A liquid level sensor is installed at each rainwater outlet to collect the liquid level data of each rainwater outlet in real time and obtain the altitude of each rainwater outlet.

[0044] Step S002: Preset two interception ranges to intercept local data and reference data of the liquid level data; obtain the fluctuation risk level of the liquid level data according to the difference between the local data and the reference data and the fluctuation level of the local data; obtain the trend risk level of the liquid level data according to the distribution trend of the data in the local data of the liquid level data; obtain the risk level of the liquid level data according to the fluctuation risk level and the trend risk level of the liquid level data, and obtain the flood level of the rainwater outlet corresponding to the liquid level data.

[0045] It should be noted that the specific purpose of this embodiment is to analyze the possibility of different areas in the city being affected by flood disasters. Therefore, it is necessary to first obtain the flood degree of the stormwater outlet. Since the liquid level data of each stormwater outlet will be affected by passing vehicles or pedestrians, the flood degree of the stormwater outlet cannot be simply obtained through the liquid level data of the stormwater outlet. Therefore, this embodiment intercepts the local data and baseline data of the liquid level data, analyzes the fluctuation of the liquid level data, and obtains the fluctuation risk degree of the liquid level data; further, according to the distribution trend of the liquid level data within the local time range, the trend risk degree of the liquid level data; combined with the fluctuation risk degree of the liquid level data and the trend risk degree, the flood degree of the stormwater outlet can be accurately obtained.

[0046] Preferably, in one embodiment of the present invention, for the liquid level data of any rainwater outlet at the current moment, the previous value of the liquid level data is liquid level data, recorded as the local data of the liquid level data; the front of the liquid level data data, recorded as the reference data of the liquid level data; and are the number of local data interceptions and the number of benchmark data interceptions, respectively, and Less than , and The specific value of can be set according to the actual situation. This embodiment does not make a hard requirement. , Describe; take the ratio of the mean of all local data of the liquid level data to the maximum liquid level data in the reference data of the liquid level data as the height of the liquid level data;

[0047] Furthermore, the difference between the mean of all local data of the liquid level data and the mean of all benchmark data is recorded as the height fluctuation difference of the liquid level data; according to the height fluctuation difference of the liquid level data and the height degree of the liquid level data, combined with the variance of all local data of the liquid level data, the fluctuation risk degree of the liquid level data is obtained;

[0048] The height fluctuation difference of the liquid level data, the height degree of the liquid level data and the variance of all local data of the liquid level data are positively correlated with the fluctuation danger degree of the liquid level data.

[0049] In an example, the specific calculation formula is:

[0050]

[0051] In the formula, Indicates the current moment The degree of fluctuation danger of each stormwater inlet; Indicates the current moment The height of the liquid level data of each stormwater inlet; Indicates the current moment The height fluctuation difference of the liquid level data of each stormwater inlet; Indicates the current moment The variance of all local data of the liquid level data of a stormwater inlet; represents the normalization function, and the normalization object is the average value of all rainwater outlets at all times. .

[0052] It should be noted that The larger the value of is, the The higher the liquid level at each rainwater outlet, and The larger the value, the The greater the fluctuation of the liquid level at a stormwater outlet, the higher the liquid level at a stormwater outlet and the more it fluctuates, the more likely it is that the stormwater outlet will not be able to drain the rainwater in time, resulting in flooding. The larger the value of The more likely a flood is to occur at a stormwater outlet, the more dangerous it is.

[0053] It should be further explained that the rainwater inlet is always draining water. Therefore, if the liquid level at the rainwater inlet shows a gradually decreasing trend, it means that the rainwater inlet can effectively discharge the rainwater. At this time, even if the liquid level at the rainwater inlet is high and fluctuates greatly, the rainwater inlet will not experience flooding. Therefore, it is also necessary to obtain the trend danger level of the liquid level data through the changing trend of the liquid level data.

[0054] Preferably, in one embodiment of the present invention, for any liquid level data, a first-order difference operation is performed on local data of the liquid level data to obtain all first-order difference operation results, the sum of all first-order difference operation results is used as the change direction of the liquid level data, and all positive numbers in the first-order difference operation results are recorded as rising data of the liquid level data;

[0055] Further, the difference between the first data and the largest data in the local data of the liquid level data is recorded as the degree of change of the liquid level data; according to the degree of change of the liquid level data, the number of rising data of the liquid level data, and the change direction of the liquid level data, the trend danger degree of the liquid level data is obtained;

[0056] The product of the change direction and the change degree of the liquid level data is positively correlated with the trend danger degree of the liquid level data; the number of rising data of the liquid level data is positively correlated with the trend danger degree of the liquid level data.

[0057] In an example, the specific calculation formula is:

[0058]

[0059] In the formula, Indicates the current moment Trend danger level of each stormwater inlet; Indicates the current moment The number of rising data of the liquid level data of each stormwater inlet; Indicates the current moment The number of local data of liquid level data of each stormwater inlet; Indicates the current moment The changing direction of the liquid level data of each rainwater inlet; Indicates the current moment The degree of change in the liquid level data of each stormwater inlet; represents the normalization function, and the normalization object is the average value of all rainwater outlets at all times. .

[0060] It should be noted that the more the number of rising data of the liquid level data is, the greater the trend of the liquid level rising is, that is, The larger the value of The more flooding may occur at the current moment, the more dangerous it is; It indicates the direction and degree of liquid level change. The larger the value is, the greater the liquid level rises at the current moment, that is, the more dangerous it is. The smaller the value is, the greater the tendency of the liquid level to drop at the current moment, that is, the safer it is.

[0061] It needs to be further explained that after obtaining the fluctuation danger level and trend danger level of the rainwater outlet at the current moment, the flood level of the rainwater outlet at the current moment can be obtained according to the fluctuation danger level and trend danger level of the rainwater outlet at the current moment.

[0062] Optionally, in one embodiment of the present invention, for any stormwater inlet at the current moment, the average of the fluctuation risk level and the trend risk level of the stormwater inlet is used as the flood level of the stormwater inlet.

[0063] At this point, the flooding degree of the rainwater outlet is obtained.

[0064] Step S003: Divide the city into regions according to the locations of the stormwater outlets in the city to obtain a number of urban areas; obtain the difference factors of the urban areas according to the differences in the altitudes of different stormwater outlets in the urban areas and the flood severity; obtain the diversion degree of each stormwater outlet in the urban area according to the altitude and the flood severity of each stormwater outlet in the urban area; obtain the flood severity of the urban area according to the diversion degree of each stormwater outlet in the urban area combined with the difference factors of the urban areas.

[0065] It should be noted that since each rainwater outlet will collect rainwater from its surrounding area, the city can be divided into several urban areas according to the distribution locations of all rainwater outlets in the city; at the same time, when the flood degree of the rainwater outlets with high altitudes in the urban area is large, the flood degree of the rainwater outlets with low altitudes will tend to be greater; therefore, the difference factor of the urban area can be obtained according to the difference between the altitudes of different rainwater outlets in the urban area and the flood degree; further, the diversion degree of each rainwater outlet is obtained, combined with the difference factor of the urban area, the flood degree of the urban area is obtained, and the possibility of flooding in each urban area can be accurately obtained.

[0066] Preferably, in one embodiment of the present invention, a city planning map is obtained, and the rainwater inlets in the city planning map are marked. The rainwater inlets in the city planning map are clustered into clusters, the is the number of clusters in the preset k-means clustering algorithm, The specific value of can be set according to the actual situation. This embodiment does not make a hard requirement. Give a narrative.

[0067] Furthermore, the cluster center of each cluster is obtained. For any pixel point in the city planning map, the distance between the pixel point and each cluster center is obtained, and the cluster center with the shortest distance is recorded as the cluster center to which the pixel point belongs; the area composed of pixels with the same cluster center is classified as the same local area, and all local areas are obtained; the area corresponding to the local area in the city is recorded as the urban area.

[0068] It should be noted that since rainwater will gather at low altitudes, for any urban area, the rainwater in the urban area will tend to gather at rainwater outlets with low altitudes. At the same time, when the flood degree of the rainwater outlets at high altitudes in the urban area is large, the flood degree of the rainwater outlets at low altitudes will tend to be greater; that is, the greater the difference in altitude between each rainwater outlet in the urban area, the more likely the urban area will be flooded. Therefore, the difference factor of the urban area can be obtained based on the difference in altitude between each rainwater outlet in the urban area. The difference factor of the urban area represents the altitude risk degree of the rainwater outlets in the urban area.

[0069] Optionally, in one embodiment of the present invention, for any urban area, the rainwater outlets in the urban area are sorted in ascending order according to the altitudes of the rainwater outlets in the urban area to obtain a rainwater outlet sequence in the urban area; the first half of the rainwater outlets in the sequence are recorded as low rainwater outlets, and the second half of the rainwater outlets in the sequence are recorded as high rainwater outlets; the difference between the mean flood degree of all low rainwater outlets at the current moment and the mean flood degree of all high rainwater outlets at the current moment is recorded as the difference factor of the urban area;

[0070] It should be noted that the larger the difference factor of an urban area is, the greater the flood degree of the low and medium rainwater outlets in the urban area is, the greater the flood degree of the high rainwater outlets. At this time, the drainage pressure at the low and medium rainwater outlets in the urban area is, that is, the more likely floods are to occur in the urban area. By combining the flood degree and altitude of each rainwater outlet in the urban area, the flood degree of each urban area can be obtained.

[0071] Optionally, in one embodiment of the present invention, for any stormwater inlet in any urban area, the altitude of the stormwater inlet with the lowest altitude in the urban area is used as the reference altitude of the urban area; the difference between the altitude of the stormwater inlet and the reference altitude is recorded as the relative altitude of the stormwater inlet; the product of the relative altitude of the stormwater inlet and the flood degree is used as the diversion degree of the stormwater inlet;

[0072] For any urban area, the diversion degree of all rainwater outlets in the urban area is integrated to obtain the drainage pressure of the rainwater outlet with the lowest altitude in the urban area; the drainage pressure of the rainwater outlet with the lowest altitude in the urban area is multiplied by the difference factor of the urban area, and the product is normalized to obtain the flood degree of the urban area;

[0073] In an example, the specific calculation formula is:

[0074]

[0075] In the formula, Indicates the extent of flooding in the urban area; Indicates The difference factors of urban areas; Indicates The number of stormwater inlets in each urban area; Indicates In the urban area The elevation of each stormwater inlet; Indicates Base altitude of the urban area; Indicates In the urban area the degree of flooding at each stormwater inlet; Represents the normalization function, and the normalized object is all urban areas .

[0076] It should be noted that the flood level of urban areas indicates the possibility of flooding in urban areas; Indicates In the urban area The altitude of the first rainwater outlet is The difference between the base altitudes of the urban areas is The larger the value of In the urban area The more rainwater is diverted from each rainwater outlet to the rainwater outlet with the lowest altitude, the more rainwater will flow to the rainwater outlet with the lowest altitude. The larger the value of In the urban area The higher the elevation of the rainwater outlet, the easier it is to divert the rainwater to the lowest rainwater outlet. The larger the value of The more rainwater is collected at the rainwater outlet with the lowest altitude in a city area, that is, the more likely the city area is to be flooded. Combined with the difference factors of the urban area, the degree of flooding in the urban area can be obtained.

[0077] Figure 2Flowchart to obtain flooding extent of urban area.

[0078] At this point, the flood severity of the urban area is obtained.

[0079] Step S004: Allocate flood relief personnel according to the flood severity in the urban area.

[0080] It should be noted that the flood degree of the urban area indicates the possibility of flooding in the urban area. After obtaining the flood degree of the urban area through step S003, the flood control and disaster relief resources can be reasonably arranged according to the flood degree of the urban area to reduce or even avoid the impact of flood disasters.

[0081] Optionally, in one embodiment of the present invention, a flood severity threshold for an urban area is preset. , The specific value of can be set according to the actual situation. This embodiment does not make a hard requirement. For any urban area, when the flooding degree of the urban area is greater than When a flood occurs, personnel will be immediately mobilized to the above-mentioned urban areas to carry out flood control and disaster relief.

[0082] It should be noted that this embodiment accurately obtains the flood degree of each rainwater outlet by analyzing the fluctuation and trend of the liquid level data, and further accurately obtains the flood degree of each urban area by combining the altitude of different rainwater outlets. The flood degree of the urban area can be used to reasonably arrange flood control and disaster relief resources to reduce or even avoid the impact of flood disasters.

[0083] At this point, this embodiment is completed.

[0084] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An intelligent analysis method for massive data in smart cities based on edge computing, characterized in that: The method comprises the following steps: Get the liquid level data and altitude of all rainwater inlets; Two interception ranges are preset to intercept the local data and the reference data of the liquid level data; the fluctuation risk level of the liquid level data is obtained according to the difference between the local data and the reference data of the liquid level data and the fluctuation level of the local data; the trend risk level of the liquid level data is obtained according to the distribution trend of the data in the local data of the liquid level data; the risk level of the liquid level data is obtained according to the fluctuation risk level and the trend risk level of the liquid level data, and the flood level of the rainwater outlet corresponding to the liquid level data is obtained; According to the location of the rainwater outlet in the city, the city is divided into regions to obtain several urban areas; according to the difference between the altitudes of different rainwater outlets in the urban area and the degree of flooding, the difference factor of the urban area is obtained; according to the altitude and the degree of flooding of each rainwater outlet in the urban area, the diversion degree of each rainwater outlet in the urban area is obtained; according to the diversion degree of each rainwater outlet in the urban area, combined with the difference factor of the urban area, the flood degree of the urban area is obtained; Allocate flood relief personnel based on the severity of flooding in urban areas; The two interception ranges are preset to intercept the local data and the reference data of the liquid level data, and the specific method includes: For the liquid level data of any rainwater outlet at the current moment, the previous liquid level data, recorded as the local data of the liquid level data; the front of the liquid level data data, recorded as the reference data of the liquid level data; and are the number of local data interceptions and the number of benchmark data interceptions, respectively, and Less than ; The specific method of obtaining the fluctuation risk degree of the liquid level data according to the difference between the local data of the liquid level data and the reference data and the fluctuation degree of the local data is as follows: For the liquid level data of any rainwater outlet at the current moment, the ratio of the mean of all local data of the liquid level data to the maximum liquid level data in the benchmark data of the liquid level data is taken as the height of the liquid level data; The difference between the mean of all local data of the liquid level data and the mean of all benchmark data is recorded as the height fluctuation difference of the liquid level data; the fluctuation risk degree of the liquid level data is obtained according to the height fluctuation difference of the liquid level data, the height degree of the liquid level data, and the variance of all local data of the liquid level data; The height fluctuation difference of the liquid level data, the height degree of the liquid level data, and the variance of all local data of the liquid level data are positively correlated with the fluctuation danger degree of the liquid level data; The specific method of obtaining the trend danger degree of the liquid level data according to the distribution trend of the data in the local data of the liquid level data is as follows: For any liquid level data, perform first-order difference operation on the local data of the liquid level data to obtain all first-order difference operation results, take the sum of all first-order difference operation results as the change direction of the liquid level data, and record all positive numbers in the first-order difference operation results as the rising data of the liquid level data; The difference between the first data and the largest data in the local data of the liquid level data is recorded as the change degree of the liquid level data; according to the change degree of the liquid level data, the number of rising data of the liquid level data, and the change direction of the liquid level data, the trend danger degree of the liquid level data is obtained; The product of the change direction and the change degree of the liquid level data is positively correlated with the trend danger degree of the liquid level data; the number of rising data of the liquid level data is positively correlated with the trend danger degree of the liquid level data; The method of obtaining the danger level of the liquid level data according to the danger level of fluctuation and the danger level of trend of the liquid level data and obtaining the flood level of the rainwater outlet corresponding to the liquid level data includes: For any rainwater inlet at the current moment, the average of the fluctuation danger level and the trend danger level of the rainwater inlet is used as the flood level of the rainwater inlet; The specific method of obtaining the difference factor of the urban area according to the difference between the altitudes of different rainwater outlets and the flood degree in the urban area includes: For any urban area, the rainwater outlets in the urban area are sorted in ascending order according to their altitudes to obtain a rainwater outlet sequence in the urban area; the first half of the rainwater outlets in the sequence are recorded as low rainwater outlets, and the second half of the rainwater outlets in the sequence are recorded as high rainwater outlets; the difference between the mean flood degree of all low rainwater outlets at the current moment and the mean flood degree of all high rainwater outlets at the current moment is recorded as the difference factor of the urban area; The specific method of obtaining the diversion degree of each rainwater outlet in the urban area according to the altitude and flood degree of each rainwater outlet in the urban area includes: For any stormwater inlet in any urban area, the altitude of the stormwater inlet with the lowest altitude in the urban area is taken as the base altitude of the urban area; the difference between the altitude of the stormwater inlet and the base altitude is recorded as the relative altitude of the stormwater inlet; the product of the relative altitude of the stormwater inlet and the flood degree is taken as the diversion degree of the stormwater inlet; The specific method for obtaining the flood degree of the urban area according to the diversion degree of each rainwater outlet in the urban area and the difference factor of the urban area is as follows: For any urban area, the diversion degree of all stormwater outlets in the urban area is integrated to obtain the drainage pressure of the stormwater outlet with the lowest altitude in the urban area; the drainage pressure of the stormwater outlet with the lowest altitude in the urban area is multiplied by the difference factor of the urban area, and the product is normalized to obtain the flood degree of the urban area.

2. The intelligent analysis method for massive data of smart cities based on edge computing according to claim 1 is characterized in that: The specific method of dividing the city into regions according to the location of the rainwater inlet in the city to obtain a number of urban regions includes: Obtain a city planning map, and mark the rainwater outlets in the city planning map. Use the k-means clustering algorithm to cluster the rainwater outlets in the city planning map to obtain several clusters, obtain the cluster center of each cluster, and for any pixel point in the city planning map, obtain the distance between the pixel point and each cluster center, and record the cluster center with the shortest distance as the cluster center to which the pixel point belongs; classify the area composed of pixels with the same cluster center as the same local area, and obtain all local areas; and record the area corresponding to the local area in the city as the urban area.

3. The intelligent analysis method for massive data of smart cities based on edge computing according to claim 1 is characterized in that: The specific method of allocating flood relief personnel according to the degree of flooding in the urban area includes: A flood severity threshold for an urban area is preset; for any urban area, when the flood severity of the urban area is greater than the flood severity threshold for the urban area, personnel are immediately mobilized to the urban area for flood control and disaster relief.