A lightning radiation source processing method, computer program product, device and medium
By generating the similarity between the target radiation source and the classified lightning, and determining the critical value based on the similarity between the radiation sources within the classified lightning, the problem of inaccurate lightning distinction in the prior art is solved, and a more accurate lightning radiation source treatment is achieved.
Patent Information
- Application Number
- CN202411481640.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-10-23
AI Technical Summary
The prior art is affected by human experience when detecting lightning, resulting in the ultra-long lightning being cut off, and the electromagnetic field noise is misjudged as lightning, resulting in a large number of false results, making it difficult to accurately distinguish lightning.
By obtaining the temporal and spatial information of the target radiation source, the similarity between the target radiation source and the classified lightning is generated, and the critical value is determined based on the similarity between the radiation sources within the classified lightning, and the target similarity is compared with the critical value to determine whether the target radiation source is classified as the classified lightning or as a new lightning.
This method can accurately reflect the space-time information between radiation sources, reduce human interference, improve the accuracy of lightning distinction, and ensure that the critical value can effectively distinguish whether the radiation source belongs to lightning.
Smart Images

Figure CN119004221B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and more specifically, to a lightning radiation source processing method, a computer program product, a device and a medium. Background Art
[0002] Lightning is a natural phenomenon, and its occurrence and development behavior can usually be detected by optical, electromagnetic and other means. Lightning detection is based on detecting lightning radiation sources. For example, different lightning is divided by calculating the density of radiation sources, and then judged and connected by time and space thresholds to analyze different lightning.
[0003] However, this method is influenced by human experience. It uses fixed time and distance thresholds to make judgments, which may cause some extremely long lightning to be truncated. In addition, clustering based on density may cause electromagnetic field noise to be included in lightning, resulting in a large number of erroneous results.
[0004] In summary, how to accurately distinguish lightning is a problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The purpose of the present invention is to provide a lightning radiation source processing method, which can solve the technical problem of how to accurately distinguish lightning to a certain extent. The present invention also provides a computer program product, an electronic device and a computer readable storage medium.
[0006] In a first aspect, a method for processing a lightning radiation source is provided, comprising:
[0007] Acquire information of a target radiation source to be identified, wherein the information of the target radiation source includes time information and space information of the target radiation source;
[0008] generating a target similarity between the target radiation source and the classified lightning according to the time information and the spatial information of the radiation source;
[0009] According to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined;
[0010] Comparing the target similarity with a critical value, and classifying the target radiation source into a classified lightning or using the target radiation source as a new classified lightning according to the comparison result;
[0011] The classified lightning is analyzed to obtain an analysis result, and the lightning is processed according to the analysis result.
[0012] On the other hand, the target radiation source includes a single radiation source, and generating a target similarity between the target radiation source and the classified lightning according to the time information and the spatial information of the radiation source, including:
[0013] Generate a first similarity between every two existing radiation sources in the classified lightning according to the time information and the spatial information of the radiation source;
[0014] generating an average similarity of the classified lightnings according to the first similarity;
[0015] Generate a similarity standard deviation of the classified lightning according to the first similarity and the similarity average;
[0016] generating a second similarity between the target radiation source and each of the existing radiation sources according to the time information and the space information of the radiation source;
[0017] The second similarity, the similarity average and the similarity standard deviation are processed to obtain a target similarity between the target radiation source and the classified lightning.
[0018] On the other hand, the second similarity, the similarity average and the similarity standard deviation are processed to obtain the target similarity between the target radiation source and the classified lightning, including:
[0019] Determining a similarity difference between the target radiation source and each of the existing radiation sources according to the similarity average value, the similarity standard deviation and the second similarity;
[0020] The similarity differences are accumulated to obtain the target similarity between the target radiation source and the classified lightning.
[0021] On the other hand, the number of the target radiation sources is greater than or equal to 2, and the target similarity between the target radiation source and the classified lightning is generated according to the time information and the spatial information of the radiation source, including:
[0022] generating a third similarity between each of the target radiation sources and each existing radiation source in the classified lightning according to the time information and the spatial information of the radiation source;
[0023] Screening out the minimum value of the third similarity;
[0024] The minimum value is taken as the target similarity between the target radiation source and the classified lightning.
[0025] On the other hand, based on the time information and spatial information of the radiation source, the similarity between the two radiation sources is generated, including:
[0026] Generate time difference information between two radiation sources;
[0027] Generate spatial difference information between two radiation sources;
[0028] A weighted operation is performed on the time difference information and the space difference information to generate a similarity between two radiation sources.
[0029] On the other hand, the spatial difference information between the two radiation sources is generated, including:
[0030] Generate the longitude difference between two radiants;
[0031] Generate the latitude difference between two radiants;
[0032] Generate the height difference between two radiation sources;
[0033] Generate a spatial distance between two radiation sources according to the longitude difference, the latitude difference and the altitude difference;
[0034] The spatial distance is used as the spatial difference information between the two radiation sources.
[0035] On the other hand, according to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined, including:
[0036] Get the set significance level;
[0037] The similarities between radiation sources in the classified lightning are adjusted according to the significance level to obtain the critical value of the classified lightning.
[0038] On the other hand, comparing the target similarity with a critical value, and classifying the target radiation source into a classified lightning or using the target radiation source as a new classified lightning according to the comparison result, including:
[0039] Compare the target similarity with the critical value in magnitude;
[0040] Detecting whether there is a critical value greater than or equal to the target similarity according to the comparison result;
[0041] If there is a target similarity greater than or equal to the critical value, the target radiation source is classified into the corresponding classified lightning;
[0042] If there is no critical value greater than or equal to the target similarity, the target radiation source is taken as a new classified lightning.
[0043] On the other hand, the classified lightning is analyzed to obtain the following analysis results:
[0044] Determine the lowest altitude of the radiant source in the classified lightning;
[0045] Get the set altitude value;
[0046] If the minimum height is less than the altitude value, generating an analysis result indicating that the classified lightning is ground-to-ground lightning;
[0047] If the minimum height is greater than or equal to the altitude value, an analysis result is generated indicating that the classified lightning is cloud lightning.
[0048] On the other hand, after generating the analysis result indicating that the classified lightning is ground-to-ground lightning, it also includes:
[0049] According to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the positive leader channel and negative leader channel of the classified lightning.
[0050] If the positive leader channel extends to the ground, the classified lightning is determined to be a positive ground-to-ground lightning;
[0051] If the negative leader channel extends to the ground, the classified lightning is determined to be a negative ground-to-ground lightning.
[0052] On the other hand, according to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the positive leader channel and negative leader channel of the classified lightning, including:
[0053] According to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the first cluster set and the second cluster set;
[0054] Generate an average spacing value between radiation sources in the first cluster set;
[0055] Generate an average spacing value between radiation sources in the second cluster set;
[0056] If the average spacing value of the first cluster set is smaller than the average spacing value of the second cluster set, the first cluster set is determined as a positive leading channel, and the second cluster set is determined as a negative leading channel;
[0057] If the average spacing value of the first cluster set is greater than the average spacing value of the second cluster set, the first cluster set is determined as a negative leading channel, and the second cluster set is determined as a positive leading channel.
[0058] On the other hand, information of the target radiation source to be identified is obtained, including:
[0059] Acquire information of the detected initial radiation source, wherein the information of the initial radiation source includes time information, spatial information, chi-square, and number of stations of the initial radiation source;
[0060] An initial radiation source whose chi-square is smaller than a first set value and whose number of sites is larger than a second set value is determined as a target radiation source;
[0061] Determining information of the target radiation source;
[0062] The number of sites includes the number of devices that detected the initial radiation source.
[0063] A computer program product comprises a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the steps of any one of the above lightning radiation source processing methods are implemented.
[0064] An electronic device, comprising:
[0065] Memory for storing computer programs;
[0066] A processor is used to implement the steps of any of the above-mentioned lightning radiation source processing methods when executing the computer program.
[0067] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned lightning radiation source processing methods are implemented.
[0068] The present invention provides a lightning radiation source processing method, which obtains information of a target radiation source to be identified, wherein the information of the target radiation source includes time information and space information of the target radiation source; generates a target similarity between the target radiation source and classified lightning according to the time information and space information of the radiation source; determines a critical value of the classified lightning according to the similarity between radiation sources in the classified lightning; compares the target similarity with the critical value, and classifies the target radiation source into the classified lightning or uses the target radiation source as a new classified lightning according to the comparison result; analyzes the classified lightning to obtain an analysis result, so as to process the lightning according to the analysis result. The beneficial effects of the present invention are as follows: based on the time information and space information of the radiation source itself, the target similarity between the target radiation source and the classified lightning is generated, so that the target similarity is not affected by the artificial definition of time and space, and can accurately reflect the time and space information between the radiation sources, providing a basis for the subsequent distinction of the radiation sources of different lightnings; and the similarity between the radiation sources in the classified lightning reflects the inherent characteristics of the radiation sources in the lightning, so if the critical value of the classified lightning is determined based on this, it is equivalent to determining the critical value based on the inherent characteristics of the classified lightning, eliminating human interference, and ensuring the ability of the critical value to accurately distinguish whether the radiation source belongs to lightning, so that the critical value can be used to accurately classify the radiation source in the future, and then the lightning can be accurately analyzed and processed. A computer program product, electronic device and computer-readable storage medium provided by the present invention also solve the corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0070] Figure 1 A flowchart of a lightning radiation source processing method provided by an embodiment of the present invention;
[0071] Figure 2 It is a structural schematic diagram of the lightning radiation source processing system of the present invention;
[0072] Figure 3 It is a data processing schematic diagram of the lightning radiation source processing system of the present invention;
[0073] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0074] Figure 5 Another structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0076] See also Figure 1 , Figure 1 A flowchart of a lightning radiation source processing method provided by an embodiment of the present invention.
[0077] A lightning radiation source processing method provided by an embodiment of the present invention may include the following steps:
[0078] Step S101: Acquire information of a target radiation source to be identified, where the information of the target radiation source includes time information and space information of the target radiation source.
[0079] In practical applications, the information of the target radiation source to be identified can be obtained first. The target radiation source to be identified refers to the radiation source that needs to be classified into a certain lightning, and the information of the target radiation source includes the time information and space information of the target radiation source. The time information is the generation time of the target radiation source, and the space information is the generation location of the target radiation source. In addition, the number of target radiation sources can be flexibly determined according to the application scenario.
[0080] In practical applications, lightning can be detected with the help of electromagnetic detection equipment such as fast antennas, slow antennas, and magnetic antennas to obtain the radiation source to be identified. However, considering the impact of the environment or the impact of the equipment itself, the radiation source initially detected may have errors. In order to avoid this situation and improve the accuracy of obtaining the radiation source, in the process of obtaining the information of the target radiation source to be identified, the information of the detected initial radiation source can be obtained, and the information of the initial radiation source includes the time information, spatial information, chi-square, and number of sites of the initial radiation source; the initial radiation source whose chi-square is less than the first set value and the number of sites is greater than the second set value is determined as the target radiation source, and the first set value and the second set value can be flexibly determined according to actual needs, for example, the first set value can be 5, 6, etc., and the second set value can be 4, 5, etc.; the information of the target radiation source is determined; wherein the number of sites includes the number of devices that detect the initial radiation source, that is, the number of sites of this radiation source is the number of devices that detect this radiation source.
[0081] Step S102: Generate target similarity between the target radiation source and the classified lightning according to the time information and space information of the radiation source.
[0082] Step S103: determining the critical value of the classified lightning according to the similarity between the radiation sources in the classified lightning.
[0083] Step S104: Compare the target similarity with the critical value, and classify the target radiation source into the classified lightning or use the target radiation source as a new classified lightning according to the comparison result.
[0084] In practical applications, considering that the development of the radiation source of lightning is basically forward, that is, within a certain angle range in front, and due to the limitation of the development speed of lightning in the atmosphere, the distance between adjacent radiation sources must be within a certain range, in other words, the time and space of the radiation source of the same lightning are relatively close, that is, there is similarity in time and space, so the radiation sources belonging to the same lightning can be clustered and screened based on this. Therefore, after obtaining the information of the target radiation source to be identified, the target similarity between the target radiation source and the classified lightning can be generated according to the time information and space information of the radiation source, so as to characterize the temporal and spatial correlation between the target radiation source and the classified lightning with the help of this target similarity. The classified lightning is the lightning that has been determined according to the radiation source, which can be a collection of classified radiation sources, etc.; according to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined, and this critical value is also the similarity threshold used to distinguish whether the radiation source belongs to lightning; the target similarity is compared with the critical value, and the target radiation source is classified into the classified lightning or the target radiation source is used as a new classified lightning according to the comparison result. It should be noted that in the initial stage of the operation of the method of the present invention, there is no classified lightning. At this time, the radiation sources collected for the first time can be used as classified lightning to ensure the normal operation of the method. Of course, there may be other ways to initialize the classified lightning, which are not specifically limited in the present invention.
[0085] In practical applications, since lightning development is continuous, the single-linkage algorithm can use the similarity between the two data points with the highest similarity in two combined data points as the similarity of the two combined data points, that is, the single-linkage algorithm can link to two points in different clusters but at two adjacent moments, that is, connect the last and possibly closest point in the previous cluster with the first point in the next cluster. If the radiation sources belonging to the same lightning are regarded as a cluster, the single-linkage algorithm can be applied to accurately calculate the similarity between the radiation sources. In other words, in the process of generating the similarity between two radiation sources based on the time information and spatial information of the radiation sources, the time difference information Δt between the two radiation sources can be generated; the spatial difference information Δd between the two radiation sources can be generated; and the time difference information and the spatial difference information can be weighted to generate the similarity between the two radiation sources. For example, To perform weighted operations on the time difference information and the space difference information, generate the similarity between the two radiation sources, where i and j represent the labels of a radiation source respectively, and S(i,j) represents the similarity between the two radiation sources; and are the coefficients for time and distance respectively.
[0086] In a specific application scenario, in the process of generating the spatial difference information between two radiation sources, the longitude difference Δlon between the two radiation sources can be generated; the latitude difference Δlat between the two radiation sources can be generated; the height difference Δh between the two radiation sources can be generated; based on the longitude difference, latitude difference and height difference, the spatial distance between the two radiation sources can be generated. For example, the longitude difference, latitude difference and height difference can be calculated through a spherical model to generate the spatial distance between the two radiation sources, etc.; the spatial distance is used as the spatial difference information between the two radiation sources.
[0087] In a specific application scenario, when the target radiation source is a single radiation source, in the process of generating the target similarity between the target radiation source and the classified lightning according to the time information and spatial information of the radiation source, the first similarity between every two existing radiation sources in the classified lightning can be generated according to the time information and spatial information of the radiation source; the average similarity of the classified lightning is generated according to the first similarity; the similarity standard deviation of the classified lightning is generated according to the first similarity and the similarity average; the second similarity between the target radiation source and each existing radiation source is generated according to the time information and spatial information of the radiation source; the second similarity, the similarity average and the similarity standard deviation are processed to obtain the target similarity between the target radiation source and the classified lightning. Among them, the generation principles of the first similarity and the second similarity are as above, and the generation formula of the similarity average of the classified lightning can be:
[0088] ;
[0089] The formula for generating the standard deviation of similarity of classified lightning can be:
[0090] ;
[0091] in, represents the average similarity of the classified lightning; f and k represent the number of an existing radiation source in the classified lightning; S(f,k) represents the first similarity of the corresponding radiation source; represents the standard deviation of the similarity of the classified lightning; n represents the total number of existing radiation sources in the classified lightning.
[0092] It can be seen from the implementation process that, in the case where the target radiation source is a single radiation source, the present invention first generates a first similarity between every two existing radiation sources in the classified lightning according to the time information and spatial information of the radiation source, so as to characterize the temporal and spatial correlation of the existing radiation sources in the classified lightning with the help of the first similarity; then, based on the first similarity, a similarity average value of the classified lightning is generated, and based on the first similarity and the similarity average value, a similarity standard deviation of the classified lightning is generated, so as to quantify the similarity of the existing radiation sources in the classified lightning with the help of the average value and the standard deviation; finally, based on the time information and spatial information of the radiation source, a second similarity between the target radiation source and each existing radiation source is generated, and the second similarity, the similarity average value and the similarity standard deviation are processed to obtain the target similarity between the target radiation source and the classified lightning, so as to analyze the target similarity by comprehensively analyzing the similarity between the target radiation source and each existing radiation source, which is equivalent to obtaining the target similarity by comprehensively analyzing the correlation between the target radiation source and each existing radiation source. Compared with the solution of selecting the second similarity as the target similarity alone, there are more reference factors, which can express the correlation between the target radiation source and the classified lightning, and facilitate the subsequent accurate classification of the target radiation source.
[0093] In a specific application scenario, in the process of processing the second similarity, the similarity average and the similarity standard deviation to obtain the target similarity between the target radiation source and the classified lightning, the similarity difference between the target radiation source and each existing radiation source can be determined according to the similarity average, the similarity standard deviation and the second similarity; the similarity difference is accumulated to obtain the target similarity between the target radiation source and the classified lightning. Among them, the generation formula of the similarity difference can be:
[0094] ;
[0095] The formula for generating target similarity can be:
[0096] ;
[0097] Where D represents the target radiation source; A m Indicates classified lightning; Z P Indicates the target similarity.
[0098] In a specific application scenario, when the number of target radiation sources is greater than or equal to 2, that is, when the target radiation source is a cluster that has been classified, in the process of generating the target similarity between the target radiation source and the classified lightning according to the time information and spatial information of the radiation source, the third similarity between each target radiation source and each existing radiation source in the classified lightning can be generated according to the time information and spatial information of the radiation source. The principle of generating the third similarity is as above; the minimum value of the third similarity is screened out; and the minimum value is used as the target similarity between the target radiation source and the classified lightning.
[0099] In a specific application scenario, in the process of determining the critical value of the classified lightning according to the similarity between the radiation sources in the classified lightning, the set significance level can be obtained, and the value of the significance level can be flexibly adjusted according to actual needs, for example, it can be 0.05, etc.; the similarity between the radiation sources in the classified lightning is adjusted according to the significance level to obtain the critical value of the classified lightning, for example, according to the chi-square distribution algorithm, the similarity between the radiation sources in the classified lightning can be adjusted according to the significance level to obtain the critical value of the classified lightning, etc.
[0100] It should be noted that, in the process of comparing the target similarity with the critical value and classifying the target radiation source into the classified lightning or taking the target radiation source as a new classified lightning according to the comparison result, the target similarity and the critical value can be compared in size; according to the comparison result, it is detected whether there is a critical value greater than or equal to the target similarity; if there is a critical value greater than or equal to the target similarity, the target radiation source is classified into the corresponding classified lightning; if there is no critical value greater than or equal to the target similarity, it indicates that the time correlation and spatial correlation of the target radiation source with the classified lightning are poor, and it can be considered that this target radiation source belongs to a new lightning, so the target radiation source can be used as the radiation source of the new classified lightning.
[0101] It should also be noted that the process of converting the acquired radiation source information into lightning information is also called clustering. Since the present invention converts time and space into similarity representations in machine learning, and regards each classified lightning as a cluster, and then merges clusters with high similarity according to certain rules, and continuously merges clusters with high similarity until a certain condition is met, the clustering process is equivalent to agglomerative hierarchical clustering. Therefore, the present invention is equivalent to combining machine learning and agglomerative hierarchical clustering to process lightning radiation sources, so as to accurately classify radiation sources of different lightning together and realize accurate identification of lightning.
[0102] Step S105: Analyze the classified lightning to obtain analysis results, and process the lightning according to the analysis results.
[0103] In practical applications, after obtaining classified lightning, the classified lightning can be analyzed to obtain analysis results, and then lightning can be processed according to the analysis results. For example, the analysis results can be used alone to establish a lightning model, or they can be coupled with the severe convection forecast model and short-term forecast model in weather forecast to provide richer detailed information, which is helpful for the development of coordinated forecast of lightning and convective weather; or lightning protection can be carried out according to the analysis results.
[0104] In practical applications, in the process of analyzing the classified lightning and obtaining the analysis results, the lightning type can be analyzed, for example, the lowest height of the radiation source in the classified lightning can be determined; the set altitude value is obtained, and the altitude value can be flexibly determined according to actual needs, such as 2km; if the lowest height is less than the altitude value, an analysis result is generated that characterizes the classified lightning as ground lightning; if the lowest height is greater than or equal to the altitude value, an analysis result is generated that characterizes the classified lightning as cloud lightning.
[0105] In specific application scenarios, after generating analysis results characterizing the classified lightning as ground-to-ground lightning, the existing radiation sources in the classified lightning can be clustered according to the similarity between the radiation sources to obtain the positive leader channel and negative leader channel of the classified lightning; if the positive leader channel extends to the ground, the classified lightning is determined to be a positive ground-to-ground lightning; if the negative leader channel extends to the ground, the classified lightning is determined to be a negative ground-to-ground lightning, so as to further distinguish the lightning types.
[0106] In a specific application scenario, in the process of clustering the existing radiation sources in the classified lightning according to the similarity between the radiation sources to obtain the positive leader channel and the negative leader channel of the classified lightning, the existing radiation sources in the classified lightning can be clustered according to the similarity between the radiation sources to obtain a first cluster set and a second cluster set; the average spacing value between the radiation sources in the first cluster set is generated; the average spacing value between the radiation sources in the second cluster set is generated; if the average spacing value of the first cluster set is smaller than the average spacing value of the second cluster set, the first cluster set is determined as the positive leader channel, and the second cluster set is determined as the negative leader channel; if the average spacing value of the first cluster set is larger than the average spacing value of the second cluster set, the first cluster set is determined as the negative leader channel, and the second cluster set is determined as the positive leader channel.
[0107] In a specific application scenario, it is considered that lightning has only two channels, the positive leader channel and the negative leader channel, and the positive and negative leader channels are different in jumping distance. In addition, the positive leader has fewer bifurcations, while the negative leader may have more bifurcations. Based on this, if lightning is clustered, two clusters can be obtained, corresponding to the positive and negative leader channels respectively. Therefore, the binary search method can be used to accurately and quickly cluster the classified lightning. That is, in the process of clustering the existing radiation sources in the classified lightning according to the similarity between the radiation sources, and obtaining the first cluster set and the second cluster set, the binary search method can be used to divide the complete classified lightning into positive and negative clusters. channels, for example, through the k-means algorithm, set K=2. In the initial stage, randomly select two radiation sources in the classified lightning as the initial class centers, which can also be called centroids; calculate the similarity between each radiation source and the centroid, and assign each point to the nearest centroid accordingly. In each iteration, recalculate the centroid of each class, which is the average position of all radiation sources in the class. Repeat the above steps, redistribute the radiation sources and update the centroid until the centroid position no longer changes significantly or the class assignment no longer changes. At this time, the algorithm has reached convergence, and finally obtains the first cluster set and the second cluster set.
[0108] In practical applications, in the process of analyzing the classified lightning and obtaining the analysis results, the maximum value, minimum value and average value of the intra-cluster spacing in the classified lightning can also be calculated to obtain the maximum jump distance, minimum jump distance and average jump distance of the classified lightning; the number of radiation sources in the classified lightning can also be counted; the distance between the farthest points in the classified lightning can also be used as the channel length; the radiation source points in the classified lightning can also be connected according to the time sequence, and each node, which is also the radiation source, is traversed, and the number of edges connected to it is calculated to obtain the degree of each node, and the nodes with a degree greater than 2 are screened out. These nodes are bifurcation points. After that, the path is split according to the bifurcation points, that is, starting from each bifurcation point, the path is tracked in different directions to obtain multiple independent sub-paths. Finally, the number of bifurcation points and bifurcated paths is counted to obtain the bifurcation characteristics of the lightning channel.
[0109] It should be noted that after obtaining the classified lightning, a post-processing program, such as MATLAB or Python, can be used to process the classified lightning to obtain a three-dimensional result image of lightning clustering, in which the positive and negative leader channels can be filled with red and blue, respectively, and the color depth represents the time. Afterwards, it is manually determined whether the classified lightning is reasonable. If it is unreasonable, the relevant parameters such as the inter-cluster similarity threshold and significance level can be adjusted to re-cluster the radiation source to obtain a new classified lightning until the manual requirements are met.
[0110] It should also be noted that the system for implementing the lightning radiation source processing method of the present invention can be flexibly configured, for example, Figure 2 As shown, it includes a data acquisition module at the front end, which is equipped with an antenna and a networked storage device. The main data processing module can be a server computing device, equipped with a data receiving module, a preprocessing module, and a data algorithm module. Finally, the results are visualized through the server and display devices. The processing process can be as follows Figure 3 shown.
[0111] The present invention provides a lightning radiation source processing method, which obtains information of a target radiation source to be identified, wherein the information of the target radiation source includes time information and space information of the target radiation source; generates a target similarity between the target radiation source and classified lightning according to the time information and space information of the radiation source; determines a critical value of the classified lightning according to the similarity between radiation sources in the classified lightning; compares the target similarity with the critical value, and classifies the target radiation source into the classified lightning or uses the target radiation source as a new classified lightning according to the comparison result; analyzes the classified lightning to obtain an analysis result, so as to process the lightning according to the analysis result. The beneficial effects of the present invention are as follows: based on the time information and space information of the radiation source itself, a target similarity between the target radiation source and the classified lightning is generated, so that the target similarity is not affected by the artificially defined time and space, and can accurately reflect the time and space information between the radiation sources, providing a basis for subsequently distinguishing the radiation sources of different lightnings; and the similarity between the radiation sources in the classified lightning reflects the inherent characteristics of the radiation sources in the lightning, so if the critical value of the classified lightning is determined based on this, it is equivalent to determining the critical value based on the inherent characteristics of the classified lightning, eliminating human interference, and ensuring the ability of the critical value to accurately distinguish whether the radiation source belongs to lightning, so that the critical value can be used to accurately classify the radiation source in the future, and then the lightning can be accurately analyzed and processed.
[0112] The present invention also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the lightning radiation source processing method provided in the embodiment of the present invention. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0113] An electronic device provided by an embodiment of the present invention includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the steps of the lightning radiation source processing method described in any of the above embodiments are implemented.
[0114] See also Figure 5Another electronic device provided in an embodiment of the present invention may also include: an input port 203 connected to the processor 202, used to transmit commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, used to display the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, used to realize communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), Universal Serial Bus (Universal Serial Bus, USB), High-Definition Multimedia Interface (High-Definition Multimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.
[0115] An embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the lightning radiation source processing method described in any of the above embodiments are implemented.
[0116] The computer-readable storage medium involved in the present invention includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.
[0117] A computer program product provided by an embodiment of the present invention includes a computer program / instruction. When the computer program / instruction is executed by a processor, the following steps are implemented:
[0118] Acquire information of a target radiation source to be identified, the information of the target radiation source including time information and space information of the target radiation source;
[0119] Generate target similarity between target radiation source and classified lightning according to time information and space information of radiation source;
[0120] According to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined;
[0121] The target similarity is compared with a critical value, and the target radiation source is classified into the classified lightning or the target radiation source is used as a new classified lightning according to the comparison result;
[0122] The classified lightning is analyzed to obtain analysis results, so as to process the lightning according to the analysis results.
[0123] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: generating a first similarity between every two existing radiation sources in the classified lightning according to the time information and space information of the radiation source; generating an average similarity of the classified lightning according to the first similarity; generating a standard deviation of the similarity of the classified lightning according to the first similarity and the similarity average; generating a second similarity between the target radiation source and each existing radiation source according to the time information and space information of the radiation source; and processing the second similarity, the similarity average and the similarity standard deviation to obtain a target similarity between the target radiation source and the classified lightning.
[0124] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: determining the similarity difference between a target radiation source and each existing radiation source based on a similarity average, a similarity standard deviation, and a second similarity; accumulating the similarity differences to obtain a target similarity between the target radiation source and the classified lightning.
[0125] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: when the number of target radiation sources is greater than or equal to 2, generating a third similarity between each target radiation source and each existing radiation source in the classified lightning according to the time information and spatial information of the radiation source; screening out the minimum value of the third similarity; and using the minimum value as the target similarity between the target radiation source and the classified lightning.
[0126] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: generating time difference information between two radiation sources; generating space difference information between the two radiation sources; performing weighted operations on the time difference information and the space difference information to generate the similarity between the two radiation sources.
[0127] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: generating a longitude difference between two radiation sources; generating a latitude difference between the two radiation sources; generating an altitude difference between the two radiation sources; generating a spatial distance between the two radiation sources based on the longitude difference, the latitude difference and the altitude difference; and using the spatial distance as spatial difference information between the two radiation sources.
[0128] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: obtaining a set significance level; adjusting the similarity between radiation sources in classified lightning according to the significance level to obtain a critical value of the classified lightning.
[0129] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: comparing the target similarity with a critical value in size; detecting whether there is a critical value greater than or equal to the target similarity based on the comparison result; if there is a critical value greater than or equal to the target similarity, classifying the target radiation source into the corresponding classified lightning; if there is no critical value greater than or equal to the target similarity, treating the target radiation source as a new classified lightning.
[0130] A computer program product provided by an embodiment of the present invention includes a computer program / instruction. When the computer program / instruction is executed by a processor, the following steps are implemented: determining the lowest height of the radiation source in the classified lightning; obtaining a set altitude value; if the lowest height is less than the altitude value, generating an analysis result characterizing that the classified lightning is ground lightning; if the lowest height is greater than or equal to the altitude value, generating an analysis result characterizing that the classified lightning is cloud lightning.
[0131] A computer program product provided by an embodiment of the present invention includes a computer program / instruction. When the computer program / instruction is executed by a processor, the following steps are implemented: after generating an analysis result characterizing that the classified lightning is a ground-to-ground lightning, the existing radiation sources in the classified lightning are clustered according to the similarity between the radiation sources to obtain a positive leader channel and a negative leader channel of the classified lightning; if the positive leader channel extends to the ground, the classified lightning is determined to be a positive ground-to-ground lightning; if the negative leader channel extends to the ground, the classified lightning is determined to be a negative ground-to-ground lightning.
[0132] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: clustering existing radiation sources in classified lightning according to the similarity between the radiation sources to obtain a first cluster set and a second cluster set; generating an average spacing value between the radiation sources in the first cluster set; generating an average spacing value between the radiation sources in the second cluster set; if the average spacing value of the first cluster set is smaller than the average spacing value of the second cluster set, determining the first cluster set as a positive leader channel and determining the second cluster set as a negative leader channel; if the average spacing value of the first cluster set is larger than the average spacing value of the second cluster set, determining the first cluster set as a negative leader channel and determining the second cluster set as a positive leader channel.
[0133] A computer program product provided by an embodiment of the present invention includes a computer program / instruction, which implements the following steps when executed by a processor: obtaining information of a detected initial radiation source, the information of the initial radiation source including time information, spatial information, chi-square, and number of sites of the initial radiation source; determining an initial radiation source whose chi-square is less than a first set value and whose number of sites is greater than a second set value as a target radiation source; determining information of the target radiation source; wherein the number of sites includes the number of devices that detect the initial radiation source.
[0134] For the description of the relevant parts of an electronic device, a computer-readable storage medium, and a computer program product provided by the embodiments of the present invention, please refer to the detailed description of the corresponding parts in the method for processing a lightning radiation source provided by the embodiments of the present invention, which will not be repeated here. In addition, the parts of the above technical solutions provided by the embodiments of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive repetition.
[0135] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0136] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing a lightning radiation source, characterized in that: include: Acquire information of a target radiation source to be identified, wherein the information of the target radiation source includes time information and space information of the target radiation source; generating a target similarity between the target radiation source and the classified lightning according to the time information and the spatial information of the radiation source; According to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined; Comparing the target similarity with a critical value, and classifying the target radiation source into a classified lightning or using the target radiation source as a new classified lightning according to the comparison result; Analyze the classified lightning to obtain analysis results, and process the lightning according to the analysis results; The target radiation source includes a single radiation source, and generating a target similarity between the target radiation source and the classified lightning according to the time information and space information of the radiation source includes: Generate a first similarity between every two existing radiation sources in the classified lightning according to the time information and the spatial information of the radiation source; generating an average similarity of the classified lightnings according to the first similarity; Generate a similarity standard deviation of the classified lightning according to the first similarity and the similarity average; generating a second similarity between the target radiation source and each of the existing radiation sources according to the time information and the space information of the radiation source; Processing the second similarity, the similarity average and the similarity standard deviation to obtain a target similarity between the target radiation source and the classified lightning; The second similarity, the similarity average and the similarity standard deviation are processed to obtain the target similarity between the target radiation source and the classified lightning, including: Determining a similarity difference between the target radiation source and each of the existing radiation sources according to the similarity average value, the similarity standard deviation and the second similarity; The similarity differences are accumulated to obtain the target similarity between the target radiation source and the classified lightning.
2. The lightning radiation source processing method according to claim 1, characterized in that: The number of the target radiation sources is greater than or equal to 2, and the target similarity between the target radiation sources and the classified lightning is generated according to the time information and space information of the radiation sources, including: generating a third similarity between each of the target radiation sources and each existing radiation source in the classified lightning according to the time information and the spatial information of the radiation source; Screening out the minimum value of the third similarity; The minimum value is taken as the target similarity between the target radiation source and the classified lightning.
3. The lightning radiation source processing method according to any one of claims 1 to 2, characterized in that: Based on the time information and spatial information of the radiation sources, the similarity between the two radiation sources is generated, including: Generate time difference information between two radiation sources; Generate spatial difference information between two radiation sources; A weighted operation is performed on the time difference information and the space difference information to generate a similarity between two radiation sources.
4. The lightning radiation source processing method according to claim 3, characterized in that: Generate spatial difference information between two radiation sources, including: Generate the longitude difference between two radiants; Generate the latitude difference between two radiants; Generate the height difference between two radiation sources; Generate a spatial distance between two radiation sources according to the longitude difference, the latitude difference and the altitude difference; The spatial distance is used as the spatial difference information between the two radiation sources.
5. The lightning radiation source processing method according to claim 3, characterized in that: According to the similarity between the radiation sources in the classified lightning, the critical value of the classified lightning is determined, including: Get the set significance level; The similarities between radiation sources in the classified lightning are adjusted according to the significance level to obtain the critical value of the classified lightning.
6. The lightning radiation source processing method according to claim 3, characterized in that: The target similarity is compared with a critical value, and the target radiation source is classified into a classified lightning or the target radiation source is used as a new classified lightning according to the comparison result, including: Compare the target similarity with the critical value in magnitude; Detecting whether there is a critical value greater than or equal to the target similarity according to the comparison result; If there is a target similarity greater than or equal to the critical value, the target radiation source is classified into the corresponding classified lightning; If there is no critical value greater than or equal to the target similarity, the target radiation source is taken as a new classified lightning.
7. The lightning radiation source processing method according to claim 1, characterized in that: Analyze the classified lightning and obtain the analysis results, including: Determine the lowest altitude of the radiant source in the classified lightning; Get the set altitude value; If the minimum height is less than the altitude value, generating an analysis result indicating that the classified lightning is ground-to-ground lightning; If the minimum height is greater than or equal to the altitude value, an analysis result is generated indicating that the classified lightning is cloud lightning.
8. The lightning radiation source processing method according to claim 7, characterized in that: After generating the analysis results characterizing the classified lightning as ground-to-ground lightning, it also includes: According to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the positive leader channel and negative leader channel of the classified lightning. If the positive leader channel extends to the ground, the classified lightning is determined to be a positive ground-to-ground lightning; If the negative leader channel extends to the ground, the classified lightning is determined to be a negative ground-to-ground lightning.
9. The lightning radiation source processing method according to claim 8, characterized in that: According to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the positive leader channel and negative leader channel of the classified lightning, including: According to the similarity between the radiation sources, the existing radiation sources in the classified lightning are clustered to obtain the first cluster set and the second cluster set; Generate an average spacing value between radiation sources in the first cluster set; Generate an average spacing value between radiation sources in the second cluster set; If the average spacing value of the first cluster set is smaller than the average spacing value of the second cluster set, the first cluster set is determined as a positive leading channel, and the second cluster set is determined as a negative leading channel; If the average spacing value of the first cluster set is greater than the average spacing value of the second cluster set, the first cluster set is determined as a negative leading channel, and the second cluster set is determined as a positive leading channel.
10. The lightning radiation source processing method according to claim 1, characterized in that: Obtain information about the target radiation source to be identified, including: Acquire information of the detected initial radiation source, wherein the information of the initial radiation source includes time information, spatial information, chi-square, and number of stations of the initial radiation source; An initial radiation source whose chi-square is smaller than a first set value and whose number of sites is larger than a second set value is determined as a target radiation source; Determining information of the target radiation source; The number of sites includes the number of devices that detected the initial radiation source.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the lightning radiation source processing method according to any one of claims 1 to 10 are implemented.
12. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the lightning radiation source processing method according to any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the lightning radiation source processing method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Radiation source identification method and device, equipment and storage medium
CN117421569A