Deformation hidden danger area extraction method and device and storage medium

The firework algorithm is used to screen the foundation deformation monitoring data and set threshold hierarchical fireworks, which solves the problem of long screening time of foundation deformation monitoring data in the prior art, improves the screening efficiency and accuracy, and realizes efficient identification of deformation hazard areas.

CN118962618APending Publication Date: 2024-11-15CHINA NONFERROUS METAL CHANGSHA SURVEY & DESIGN INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410942799.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, the screening process of foundation deformation monitoring radar data requires multiple screening of data points with cumulative deformation values ​​not less than different thresholds, resulting in too long screening time.

Method used

The firework algorithm is used to filter the cumulative deformation monitoring data after preprocessing, and all fireworks are graded by setting thresholds to avoid repeated screening of cells of different specifications in the cumulative deformation value matrix.

Benefits of technology

The screening time of cells is shortened, the screening efficiency is improved, and the timeliness and accuracy of identification of deformation hazard areas is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962618A_ABST
    Figure CN118962618A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of disaster prediction, and discloses a deformation hidden danger area extraction method and device and a storage medium, and the extraction method comprises the steps: obtaining the accumulated deformation monitoring data of a radar, carrying out the data preprocessing of the accumulated deformation monitoring data, and carrying out the screening of the preprocessed data through employing a fireworks algorithm, and screening out early warning point cells to obtain a deformation hidden danger area. According to the method, the preprocessed data is screened by adopting the firework algorithm, all fireworks in the accumulated deformation value matrix are graded by setting the threshold value, and cells of different specifications in the accumulated deformation value matrix do not need to be repeatedly screened, so that the screening time of the cells is shortened, and the screening efficiency of the cells is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of disaster prediction, and in particular to a method for extracting a deformation potential risk area, an extraction device and a storage medium. Background Art

[0002] At present, the data of ground deformation monitoring radar is generally expressed in the form of a grid. The data of the grid is generally the cumulative deformation value of the radar's corresponding monitoring object. Mathematically expressed, the radar's cumulative deformation monitoring data set is an M×N matrix, where M and N are both natural numbers, and the value of the matrix element is the cumulative deformation value.

[0003] In order to predict disasters, it is necessary to analyze points or areas with large cumulative deformation. The current method is to obtain results through the DBSCAN clustering algorithm. For example, all data points with cumulative deformation values ​​not less than 25, all data points with cumulative deformation values ​​not less than 30, and all data points with cumulative deformation values ​​not less than 35 are screened from the obtained data set in turn. It is necessary to screen the data of different indicators in the obtained data set multiple times, which leads to a long screening time for the data set.

[0004] In view of this, the existing technology still needs to be improved and developed. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method, device and storage medium for extracting deformation potential risk areas, aiming to solve the technical problem that the existing clustering algorithm needs to screen the data of different indicators in the data set multiple times, resulting in a long screening time.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] A method for extracting a deformation potential risk area, the method comprising:

[0008] Step S1: Obtain the accumulated deformation monitoring data of the radar, which is recorded as a matrix D. The matrix D is an M×N matrix with a row number of m and a column number of n;

[0009] Step S2: Perform data preprocessing on the matrix D obtained in step S1, specifically: traverse the elements, take the absolute value of the negative elements to make them positive, and obtain the preprocessed data;

[0010] Step S3: Using the fireworks algorithm to filter the preprocessed data, filter out the warning point cells, and obtain the deformation potential risk area;

[0011] The use of the fireworks algorithm to screen the preprocessed data specifically includes:

[0012] Step S3.1, randomly select k elements in the matrix D as randomly generated k initial fireworks; calculate the fitness value fitness of each matrix element through the objective function fo i , and select the maximum fitness fmax and the minimum fitness fmin; where: fo(m,n) = -D mn , D mn Represents the matrix element in the mth row and nth column of matrix D; 1≤i≤k;

[0013] Step S3.2: Calculate the explosion scale S of k fireworks respectively i and explosion radius A i ;

[0014] in:

[0015]

[0016]

[0017] ∈ is the minimum value to prevent division by zero error; q is the total number of new sparks generated in each iteration; Amax is the maximum range of new sparks generated in each explosion;

[0018] Step S3.3: Generate new sparks for k fireworks according to the explosion scale and explosion range, and add them to the set T 0 ;

[0019] Step S3.4, calculate the average value of all fireworks fitness values ​​and set it as the threshold Sd; filter out all fireworks with fitness values ​​greater than the set threshold Sd to form a set W, that is, the filtered warning point cells.

[0020] Preferably, the steps between step S3.3 and step S3.4 further include:

[0021] The mutation operation is as follows: randomly generate r new sparks in the matrix D and add them to the set T 0 Get the set T 1 , calculate the set T 1 The fitness values ​​of all fireworks in , and sort the fitness values ​​from large to small, select the first k replacement sets T 0 Sparks in; the value of r is int(0.1*q), int() is the rounding function.

[0022] Preferably, the mutation operation and step S3.4 further include:

[0023] Iteration operation, specifically: the set T obtained by completing the mutation operation 0 Return to step S3.2 to iterate until the maximum number of iterations max_iter is reached.

[0024] Preferably, the values ​​of the matrix elements corresponding to the fireworks in the set W are set to 0, and steps S3.1 to S3.4 are repeated to obtain warning point cells of different levels.

[0025] Preferably, in step S3.3: the number of new fireworks generated according to the explosion scale and explosion range of each firework is S i The positive integer obtained by rounding; Generate new fireworks according to the explosion scale and explosion range of each firework. The range of the new fireworks is centered on the current firework and extends int(A i ) rows or columns to form a local matrix.

[0026] Preferably, the value of k is 10, the value of q is 100, the value of Amax is 5, and the value of max_iter is 50.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] The present application discloses a method for extracting a deformation hidden danger area, the extraction method comprising: obtaining the accumulated deformation monitoring data of the radar, preprocessing the accumulated deformation monitoring data, and screening the preprocessed data using a fireworks algorithm, screening out the warning point cells, and obtaining the deformation hidden danger area. The present invention uses a fireworks algorithm to screen the preprocessed data, and by setting a threshold value, all fireworks in the accumulated deformation value matrix are graded, and there is no need to repeatedly screen cells of different specifications in the accumulated deformation value matrix, which shortens the screening time of the cells and improves the screening efficiency of the cells.

[0029] The present invention also provides a device for extracting deformation potential area, comprising: a memory and a processor, wherein the memory stores a deformation potential area extraction program; when the deformation potential area extraction program is executed by the processor, it is used to implement the operation of the above-mentioned deformation potential area extraction method.

[0030] The present invention also provides a storage medium, which includes a computer-readable storage medium, and the storage medium stores a deformation potential area extraction program, and when the deformation potential area extraction program is executed by a processor, it is used to implement the operation of the above-mentioned deformation potential area extraction method. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] 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 the structures shown in these drawings without paying creative work.

[0032] Figure 1 A flow chart of the method for extracting deformation potential risk areas provided by the present invention;

[0033] Figure 2 Schematic diagram of the initial fireworks positions extracted for the first level warning;

[0034] Figure 3 Schematic diagram of the deformation position extracted for the first-level warning;

[0035] Figure 4 Schematic diagram of the initial fireworks positions extracted for the second-level warning;

[0036] Figure 5 Schematic diagram of the deformation location extracted for the second-level warning;

[0037] Figure 6 Schematic diagram of the initial fireworks positions extracted for the third level warning;

[0038] Figure 7 Schematic diagram of the deformation position extracted for the third-level warning;

[0039] Figure 8 Schematic diagram of the initial fireworks positions extracted for the Level 4 warning;

[0040] Fig. 9 Schematic diagram of the deformation position extracted for the fourth-level warning;

[0041] Fig.10 This is a functional principle diagram of the device for extracting deformation potential risk areas provided by the present invention.

[0042] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] The method, device and storage medium for extracting deformation potential areas provided by the present application are further described in detail with reference to the accompanying drawings and examples to make the purpose, technical solution and effect of the present application clearer and more specific. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.

[0044] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0045] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0046] Example

[0047] Exemplary Methods

[0048] In order to predict disasters, it is necessary to analyze points or areas with large cumulative deformation. In the prior art, the DBSCAN clustering algorithm is used to obtain results, which requires multiple screening of data of different indicators in the obtained data set, resulting in a long screening time for the data set.

[0049] In response to the technical problems existing in the prior art, this embodiment provides a method for extracting deformation hidden danger areas. By setting grading thresholds of different warning levels, all fireworks in the cumulative deformation value matrix are divided to obtain multiple graded fireworks sets. There is no need to repeatedly screen cells of different specifications in the cumulative deformation value matrix, which shortens the screening time of the cells and improves the screening efficiency of the cells.

[0050] like Figure 1 As shown, Figure 1 Flow chart of a method for extracting deformation potential areas. Specifically, this embodiment provides a method for extracting deformation potential areas, and the extraction method includes the following steps:

[0051] Step S1: Obtain the accumulated deformation monitoring data of the radar. The accumulated deformation monitoring data of the radar is an M×N matrix D, where: M and N are both natural numbers, and the value of the matrix element is the accumulated deformation value. The grid (matrix) represents one of the cells (matrix elements) with the row and column numbers (m, n), that is, the accumulated deformation value of the cell U (m, n) is the matrix element Dmn. Where: 1≤m≤M, 1≤n≤N, m and n are both natural numbers. In this embodiment, M=2334, N=1000.

[0052] Step S2: Perform data preprocessing on the matrix D obtained in step S1, specifically: traverse the elements, take the absolute value of the negative elements to make them positive, and obtain the preprocessed data.

[0053] Step S3: Using the fireworks algorithm to filter the preprocessed data, filter out the warning point cells, and obtain the deformation potential risk area;

[0054] The use of the fireworks algorithm to screen the preprocessed data specifically includes:

[0055] Step S3.1, randomly select k elements in the matrix D as randomly generated k initial fireworks; calculate the fitness value fitness of each matrix element through the objective function fo i , and select the maximum fitness fmax and the minimum fitness fmin; where: fo(m,n) = -D mn , D mn Represents the matrix element in the mth row and nth column of matrix D; 1≤i≤k; the value of k is 10.

[0056] Step S3.2: Calculate the explosion scale S of k fireworks respectively i and explosion radius A i ;

[0057] in:

[0058]

[0059]

[0060] ∈ is the minimum value to prevent zero division error; q is the total number of new sparks generated in each iteration, and the preferred value of q is 100; Amax is the maximum range of new sparks generated in each explosion, and the preferred value of Amax is 5; j is a variable, and its value is 1≤j≤k;

[0061] Step S3.3: Generate new sparks for k fireworks according to the explosion scale and explosion range, and add them to the set T 0 ; Here, the preferred number is: the number of new fireworks generated according to the explosion scale and explosion range of each firework is S iThe positive integer obtained by rounding; Generate new fireworks according to the explosion scale and explosion range of each firework. The range of the new fireworks is centered on the current firework and extends int(A i ) rows or columns to form a local matrix.

[0062] Step S3.4, calculate the average value of all fireworks fitness values ​​and use it as the set threshold Sd; filter out all fireworks with fitness values ​​greater than the set threshold Sd to form a set W, that is, the filtered warning point cells.

[0063] This embodiment is further preferred: between step S3.3 and step S3.4, the following is further included:

[0064] The mutation operation is as follows: randomly generate r new sparks in the matrix D and add them to the set T 0 Get the set T 1 , calculate the set T 1 The fitness values ​​of all fireworks in , and sort the fitness values ​​from large to small, select the first k replacement sets T 0 Sparks in; the value of r is int(0.1*q), int() is the rounding function.

[0065] In this embodiment, it is further preferred that the mutation operation and step S3.4 further include:

[0066] Iteration operation, specifically: the set T obtained by completing the mutation operation 0 Return to step S3.2 to iterate until the maximum number of iterations max_iter is reached. In this embodiment, the value of max_iter is 50.

[0067] In this embodiment, K-level warnings can be set, where K is a positive integer. The smaller K is, the more serious the hidden danger is. Here, K=4 is preferably set, that is, level 1 warning, level 2 warning, level 3 warning and level 4 warning are set, as follows:

[0068] Level 1 warning process:

[0069] Step S3.1, randomly select k elements in the matrix D as randomly generated k initial fireworks; calculate the fitness value fitness of each matrix element through the objective function fo i , and screen out the maximum fitness fmax and the minimum fitness fmin;

[0070] Step S3.2: Calculate the explosion scale S of k fireworks respectively i and explosion radius A i ;

[0071] Step S3.3: Generate new sparks for k fireworks according to the explosion scale and explosion range, and add them to the set T0 ;

[0072] Step S3.4, calculate the average fitness value of all fireworks and use it as the set threshold Sd1; filter out all fireworks with fitness values ​​greater than the first-level set threshold Sd1 to form a set W, that is, the filtered first-level warning point cells are obtained, and the first-level warning identification hotspot area is obtained. In this embodiment: the first-level set threshold Sd1 = 28.95, a total of 334 cells, see Figure 2 and Figure 3 .

[0073] Secondary warning process: Set the values ​​of the matrix elements corresponding to the fireworks in the set W after the first-level warning to 0, and repeat steps S3.1-S3.4 to filter out all fireworks with fitness values ​​greater than the second-level set threshold Sd2 to form a set W, that is, to obtain the filtered second-level warning point cells, and obtain the hot spot area identified by the second-level warning. In this embodiment: the second-level set threshold Sd2 = 12.31, a total of 5365 cells, see Figure 4 and Figure 5 .

[0074] Level 3 warning process: Set the values ​​of the matrix elements corresponding to the fireworks in the set W after the level 2 warning to 0, and repeat steps S3.1-S3.4 to filter out all fireworks with fitness values ​​greater than the level 3 threshold value Sd3 to form a set W, that is, to obtain the filtered level 3 warning point cells, and obtain the hotspot area identified by the level 3 warning. In this embodiment: the level 3 threshold value Sd3 = 11.30, with a total of 1023 cells, see Figure 6 and Figure 7 .

[0075] Level 4 warning process: Set the values ​​of the matrix elements corresponding to the fireworks in the set W after the level 3 warning to 0, and repeat steps S3.1-S3.4 to filter out all fireworks with fitness values ​​greater than the level 4 threshold value Sd4 to form a set W, that is, the filtered level 4 warning point cells are obtained, and the hot spot area identified by the level 4 warning is obtained. In this embodiment: the level 4 threshold value Sd4 = 9.12, a total of 2966 cells, see Figure 8 and Fig. 9 .

[0076] Specifically, the method for extracting deformation hidden danger areas provided in this embodiment has at least the following beneficial effects: by setting grading thresholds for different warning levels, various levels of deformation risk areas are divided in a cumulative deformation value matrix with a large number of cells, and different deformation hidden danger areas are obtained, thereby avoiding multiple screening of cells in the cumulative deformation value matrix; the timeliness and accuracy of safety warnings are greatly improved, and technical support is provided for early identification, prevention and scientific management decisions of disasters.

[0077] Exemplary Devices

[0078] like Fig.10 As shown, Fig.10 This is a functional schematic diagram of a device for extracting deformation hidden danger areas. Based on the above embodiments, this embodiment further provides a device for extracting deformation hidden danger areas, which includes a memory and a processor; the memory stores a program for extracting deformation hidden danger areas, and the program for extracting deformation hidden danger areas is used to implement the operation of the method for extracting deformation hidden danger areas as described above when executed by the processor. Further preferably, the device for extracting deformation hidden danger areas includes a processor, a memory, an interface, and a display screen connected via a system bus; wherein the processor is used to provide computing and control capabilities; the memory includes a storage medium and an internal memory, the storage medium stores an operating system and a computer program, and the internal memory provides an environment for the operation of the operating system and the computer program in the storage medium; the interface is used to connect external devices, such as mobile terminals, computers, and other devices; the display screen is used to display the corresponding extraction information of deformation hidden danger areas.

[0079] When the computer program is executed by the processor, it is used to implement a method for extracting a deformation potential risk area.

[0080] It can be understood by those skilled in the art that Fig.10 The functional principle diagram of the device for extracting the deformation potential area shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the device for extracting the deformation potential area to which the solution of the present invention is applied. Specifically, the device for extracting the deformation potential area may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0081] In one embodiment, a storage medium is provided, which is a computer-readable storage medium, and which stores a deformation potential area extraction program. When the deformation potential area extraction program is executed by the processor, it is used to implement the operation of the deformation potential area extraction method as described above.

[0082] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile storage medium. When the computer program is executed, it can include the processes of each embodiment of the above-mentioned method. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile memory and / or volatile memory.

[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for extracting deformation potential areas, characterized in that: The extraction method comprises: Step S1: Obtain the accumulated deformation monitoring data of the radar, which is recorded as a matrix D. The matrix D is an M×N matrix with a row number of m and a column number of n; Step S2: Perform data preprocessing on the matrix D obtained in step S1, specifically: traverse the elements, take the absolute value of the negative elements to make them positive, and obtain the preprocessed data; Step S3: Using the fireworks algorithm to filter the preprocessed data, filter out the warning point cells, and obtain the deformation potential risk area; The use of the fireworks algorithm to screen the preprocessed data specifically includes: Step S3.1, randomly select k elements in the matrix D as randomly generated k initial fireworks; calculate the fitness value fitness of each matrix element through the objective function fo i , and select the maximum fitness fmax and the minimum fitness fmin; where: fo(m,n) = -D mn , D mn Represents the matrix element in the mth row and nth column of matrix D; 1≤i≤k; Step S3.2: Calculate the explosion scale S of k fireworks respectively i and explosion radius A i ; in: ∈ is the minimum value to prevent division by zero error; q is the total number of new sparks generated in each iteration; Amax is the maximum range of new sparks generated in each explosion; Step S3.3, generate new sparks for k fireworks according to the explosion scale and explosion range, and add them to the set T0; Step S3.4, calculate the average value of all fireworks fitness values ​​and set it as the threshold Sd; filter out all fireworks with fitness values ​​greater than the set threshold Sd to form a set W, that is, the filtered warning point cells.

2. The method for extracting deformation potential areas according to claim 1, characterized in that: The steps S3.3 and S3.4 also include: The mutation operation is as follows: randomly generate r new sparks in the matrix D, add them to the set T0 to obtain the set T1, calculate the fitness values ​​of all fireworks in the set T1, and sort the fitness values ​​from large to small, and select the first k to replace the sparks in the set T0; the value of r is int(0.1*q), and int() is the rounding function.

3. The method for extracting deformation potential areas according to claim 2, characterized in that: The mutation operation and step S3.4 also include: The iterative operation is specifically: returning the set T0 obtained after the mutation operation to step S3.2 for iteration until the maximum number of iterations max_iter is reached.

4. The method for extracting deformation potential areas according to claim 3, characterized in that: Set the values ​​of the matrix elements corresponding to the fireworks in the set W to 0, and repeat steps S3.1 to S3.4 to obtain warning point cells of different levels.

5. The method for extracting deformation potential areas according to claim 4, characterized in that: In the step S3.3: the number of new fireworks generated according to the explosion scale and explosion range of each firework is a positive integer obtained by rounding Si; the new fireworks are generated according to the explosion scale and explosion range of each firework, and the range of the new fireworks is centered on the current firework and extends to int(A i ) rows or columns to form a local matrix.

6. The method for extracting deformation potential areas according to claim 5, characterized in that: The value of k is 10, the value of q is 100, the value of Amax is 5, and the value of max_iter is 50.

7. A device for extracting deformation potential areas, characterized in that: include: A memory and a processor, wherein the memory stores an extraction program for areas with deformation potential; The deformation potential area extraction program is used to implement the operation of the deformation potential area extraction method as claimed in any one of claims 1 to 6 when executed by the processor.

8. A storage medium, characterized in that: The storage medium includes a computer-readable storage medium, wherein the storage medium stores a deformation potential area extraction program, and when the deformation potential area extraction program is executed by a processor, it is used to implement the operation of the deformation potential area extraction method according to any one of claims 1 to 6.