Method and device for generating natural disaster impact and loss information based on power data
By obtaining and processing user-type power outage information and unit power loss value information, combined with the natural disaster event loss level identification model, the problems of inaccurate power loss analysis and low data analysis efficiency in the existing technology are solved, and more accurate economic Loss assessment and efficient disaster relief warning.
Patent Information
- Application Number
- CN202311120149.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2043-08-31
AI Technical Summary
When analyzing power losses after natural disasters, it is difficult to accurately calculate the economic losses in the affected area, and it is difficult to conduct timely data early warnings, reducing the efficiency of disaster event data analysis.
By obtaining the power outage information set and unit power loss value information corresponding to the user type, clustering processing is carried out to generate power loss information, and input it into the pre-trained natural disaster event loss level identification model to determine the disaster type and perform rescue alarm operations.
It improves the accuracy of economic losses caused by power outages, facilitates targeted post-disaster rescue, and improves the analysis efficiency of disaster event data.
Smart Images

Figure CN117196333B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method and device for generating natural disaster impact and loss information based on power data. Background Art
[0002] Natural disasters include earthquakes, typhoons, floods, rain, snow and ice disasters, etc. They occur frequently and are characterized by uncertainty and strong destructive power. Power facilities have the characteristics of wide coverage and strong timeliness. Moreover, both enterprises and residents are closely related to electricity nowadays. Electricity is truly ubiquitous in every household. Therefore, in the areas damaged by natural disasters, the degree of impact on power facilities can, to a certain extent, reflect the degree of damage caused by natural disasters, thereby helping disaster prevention and relief and avoiding further expansion of losses. It also conducts analysis on the impact range and economic losses of natural disasters, analyzes the power outages of residents and enterprises during natural disasters, and the economic losses caused by the power outage information, and provides power data support for disaster relief.
[0003] At present, the analysis of power loss in disaster-stricken areas usually adopts the following methods: evaluating the impact of the earthquake on the disaster-stricken areas based on communication data, conducting intelligent analysis of mobile phone location information, call density, and base station status, and comprehensively considering factors such as population density in the disaster area, call volume of special called numbers (110, 120), and base station damage. This method is used to provide reference guidance for the formulation of disaster relief strategies at a macro level.
[0004] However, the analysis of power loss using the above method usually has the following technical problems:
[0005] First, the economic losses caused by power outages after disasters are not calculated in detail for the affected areas, making it difficult to accurately carry out post-disaster rescue.
[0006] Second, it is difficult to issue timely data warnings for uploaded disaster event data, which reduces the efficiency of disaster event data analysis.
[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0008] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0009] Some embodiments of the present disclosure propose methods, devices, electronic devices and computer-readable media for generating natural disaster impact and loss information based on power data to solve one or more of the technical problems mentioned in the above background technology section.
[0010] In a first aspect, some embodiments of the present disclosure provide a method for generating natural disaster impact and loss information based on power data, the method comprising: for each user type, executing the following processing steps: obtaining a power outage information set corresponding to the target natural disaster of the above user type, wherein the power outage information in the above power outage information set comprises: user identification and power outage duration; obtaining unit power loss value information corresponding to the above user type; clustering the power outage information included in the above power outage information set according to the power outage duration to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; generating power loss information corresponding to the above user type according to the power outage information group set and the above unit power loss value information; determining the generated power loss information and the name of the above target natural disaster as disaster event data corresponding to the above target natural disaster; inputting the above disaster event data into a pre-trained natural disaster event loss level recognition model to obtain a natural disaster event loss level; selecting a disaster type corresponding to the above natural disaster event loss level from a preset disaster type group as a disaster event type; and performing a disaster rescue alarm operation according to the above disaster event type.
[0011] In a second aspect, some embodiments of the present disclosure provide a device for generating natural disaster impact and loss information based on power data, the device comprising: an acquisition unit, configured to perform the following processing steps for each user type: obtaining a power outage information set corresponding to a target natural disaster for the above user type, wherein the power outage information in the above power outage information set includes: a user identifier and a power outage duration; obtaining unit power loss value information corresponding to the above user type; clustering the power outage information included in the above power outage information set according to the power outage duration to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; and The above-mentioned unit power loss value information generates power loss information corresponding to the above-mentioned user type; the determination unit is configured to determine the generated each power loss information and the name of the above-mentioned target natural disaster as disaster event data corresponding to the above-mentioned target natural disaster; the input unit is configured to input the above-mentioned disaster event data into a pre-trained natural disaster event loss level recognition model to obtain the natural disaster event loss level; the selection unit is configured to select the disaster type corresponding to the above-mentioned natural disaster event loss level from a preset disaster type group as the disaster event type; the alarm unit is configured to perform disaster rescue alarm operation according to the above-mentioned disaster event type.
[0012] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0013] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0014] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the natural disaster impact and loss information generation method based on power data of some embodiments of the present disclosure, the accuracy of the economic losses caused by power outages is improved, and targeted post-disaster rescue is facilitated. Specifically, the reason why it is difficult to accurately carry out post-disaster rescue is that the detailed affected area has not been calculated for the economic losses caused by power outages after the disaster occurs, which makes it difficult to accurately carry out post-disaster rescue. Based on this, the natural disaster impact and loss information generation method based on power data of some embodiments of the present disclosure, first, for each user type, the following processing steps are performed: obtaining the power outage information set corresponding to the target natural disaster of the above user type, wherein the power outage information in the above power outage information set includes: user identification and power outage duration; obtaining the unit power loss value information corresponding to the above user type; according to the power outage duration, clustering the power outage information included in the above power outage information set to obtain a power outage information group set, wherein one power outage information group corresponds to a power outage time interval; according to the above power outage information group set and the above unit power loss value information, generate the power loss information corresponding to the above user type. In this way, the power loss of different types of users can be determined. Next, the generated power loss information and the name of the above-mentioned target natural disaster are determined as disaster event data corresponding to the above-mentioned target natural disaster. Then, the above-mentioned disaster event data is input into a pre-trained natural disaster event loss level recognition model to obtain the natural disaster event loss level. Thus, rescue operations can be performed according to the loss level. Afterwards, a disaster type corresponding to the above-mentioned natural disaster event loss level is selected from a preset disaster type group as the disaster event type. Finally, according to the above-mentioned disaster event type, a disaster rescue alarm operation is performed. Thus, corresponding rescue operations can be performed according to the disaster event type. Thereby, the accuracy of the economic losses caused by power outages is improved, and targeted post-disaster rescue is facilitated. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1 is a flow chart of some embodiments of a method for generating natural disaster impact and loss information based on power data according to the present disclosure;
[0017] Figure 2 is a schematic structural diagram of some embodiments of a device for generating natural disaster impact and loss information based on power data according to the present disclosure;
[0018] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0020] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0021] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0022] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0024] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0025] Figure 1The flowchart of some embodiments of the method for generating natural disaster impact and loss information based on power data according to the present disclosure is shown. The process 100 of some embodiments of the method for generating natural disaster impact and loss information based on power data according to the present disclosure is shown. The method for generating natural disaster impact and loss information based on power data includes the following steps:
[0026] Step 101: for each user type, perform the following processing steps:
[0027] Step 1011, obtaining a power outage information set corresponding to the target natural disaster of the above user type.
[0028] In some embodiments, the execution subject (for example, a computing device) of the method for generating natural disaster impact and loss information based on power data can obtain the power outage information set corresponding to the target natural disaster of the above-mentioned user type. Among them, the power outage information in the above-mentioned power outage information set includes: user identification and power outage duration. For example, user types can be divided into six types: residents, hazardous chemical enterprises, fireworks and firecrackers enterprises, industrial and commercial enterprises, non-coal mining enterprises, and coal mining enterprises. One power outage information corresponds to one user. That is, the power outage information of each user of the above-mentioned user type corresponding to the target natural disaster can be obtained from the power terminal. The target natural disaster can be a typhoon disaster, heavy rain, earthquake, mountain torrent and other disasters.
[0029] Step 1012, obtaining unit power loss value information corresponding to the above user type.
[0030] In some embodiments, the execution subject may obtain the unit power loss value information corresponding to the user type. Here, the unit power loss value information may be a preset value loss value of a one-hour power outage corresponding to the user type. For example, the unit power loss value information may be that a one-hour power outage causes a loss of 100 yuan for user type A.
[0031] Step 1013: cluster the power outage information included in the power outage information set according to the power outage duration to obtain a power outage information group set.
[0032] In some embodiments, the above-mentioned execution entity may cluster the various power outage information included in the above-mentioned power outage information set according to the power outage duration to obtain a power outage information group set. Among them, one power outage information group corresponds to a power outage time interval. For example, the power outage time interval may be: (0-1] hours; (1-2] hours; (2-3] hours; (3-4] hours; (4-5] hours, and so on. That is, the various power outage information with power outage durations belonging to the same power outage time interval may be clustered into one category to generate a power outage information group and obtain a power outage information group set.
[0033] Step 1014, generating power loss information corresponding to the above user type based on the above power outage information set and the above unit power loss value information.
[0034] In some embodiments, the execution entity may generate power loss information corresponding to the user type based on the power outage information set and the unit power loss value information.
[0035] In practice, the above-mentioned execution entity may generate the power loss information corresponding to the above-mentioned user type through the following steps:
[0036] In the first step, for each power outage information group in the power outage information group set, the following processing steps are performed:
[0037] In a first sub-step, the number of each power outage information included in the power outage information group is determined as the number of users experiencing power outages in the interval.
[0038] In the second sub-step, the product of the number of users experiencing power outages in the above-mentioned interval and the unit power loss value represented by the above-mentioned unit power loss value information is determined as the unit power loss information.
[0039] In the second step, the sum of the determined power loss information of each unit is determined as the power loss information corresponding to the above user type.
[0040] Step 102, the generated power loss information and the name of the target natural disaster are determined as disaster event data corresponding to the target natural disaster.
[0041] In some embodiments, the execution entity may determine the generated power loss information and the name of the target natural disaster as disaster event data corresponding to the target natural disaster. The name of the target natural disaster may be a pre-set identifier to uniquely represent the target natural disaster.
[0042] Optionally, obtain a sample set of disaster event data.
[0043] In some embodiments, the execution entity may obtain a disaster event data sample set, which may be historical disaster event data.
[0044] Optionally, a target disaster event data sample is selected from the above disaster event data sample set.
[0045] In some embodiments, the execution subject may select a target disaster event data sample from the disaster event data sample set, that is, may randomly select a disaster event data sample from the disaster event data sample set as the target disaster event data sample.
[0046] Optionally, the above-mentioned target disaster event data samples are input into an initial natural disaster event loss level identification model to obtain a natural disaster event loss level identification result.
[0047] In some embodiments, the execution entity may input the target disaster event data sample into an initial natural disaster event loss level identification model to obtain a natural disaster event loss level identification result. The initial natural disaster event loss level identification model may refer to an untrained convolutional neural network model. The natural disaster event loss level identification result may refer to the disaster loss level corresponding to the identified target disaster event data sample.
[0048] Optionally, according to a preset loss function, a loss value between the above-mentioned natural disaster event loss level identification result and the sample label corresponding to the above-mentioned target disaster event data sample is determined.
[0049] In some embodiments, the execution subject may determine the loss value between the natural disaster event loss level identification result and the sample label corresponding to the target disaster event data sample according to a preset loss function. For example, the preset loss function may be a hinge loss function, a cosine loss function, etc.
[0050] Optionally, in response to determining that the loss value is less than or equal to a preset loss value, the initial natural disaster event loss level identification model is determined as a trained natural disaster event loss level identification model.
[0051] In some embodiments, the execution entity may determine the initial natural disaster event loss level identification model as a trained natural disaster event loss level identification model in response to determining that the loss value is less than or equal to a preset loss value.
[0052] Step 103: input the above disaster event data into a pre-trained natural disaster event loss level recognition model to obtain the natural disaster event loss level.
[0053] In some embodiments, the execution entity may input the disaster event data into a pre-trained natural disaster event loss level identification model to obtain a natural disaster event loss level. For example, the pre-trained natural disaster event loss level identification model may refer to a pre-trained convolutional neural network model that takes the disaster event data as input and the natural disaster event loss level as output. The higher the natural disaster event loss level, the greater the loss.
[0054] Step 104: Select a disaster type corresponding to the loss level of the natural disaster event from a preset disaster type group as the disaster event type.
[0055] In some embodiments, the execution subject may select a disaster type corresponding to the loss level of the natural disaster event from a preset disaster type group as the disaster event type. A disaster type corresponds to a loss level. The disaster type may indicate the severity of the disaster event. For example, the disaster type may be a Class 1 disaster.
[0056] Step 105: Perform disaster rescue warning operations according to the above disaster event type.
[0057] In some embodiments, the execution subject may perform disaster rescue warning operations according to the disaster event type. For example, a corresponding number of power repair personnel may be arranged to perform power repair according to the severity of the disaster event type.
[0058] Optionally, time series features are extracted based on the number of disaster events corresponding to the above-mentioned disaster event type within a preset historical time period.
[0059] In some embodiments, the execution subject may extract time series features according to the number of disaster events corresponding to the above-mentioned disaster event type within a preset historical time period. The time series features include: the change value of the number of events and the rate of change of the number of events within the first preset number of unit periods within the preset historical time period; event statistics within the first preset number of unit periods. Among them, the event statistics include: the sum of the number of events, the mean, the median, the maximum value, the minimum value and the variance. The preset number may include at least one number. As an example, the preset numbers here may be 1, 2, 3, 5 and 7, respectively. That is to say, the time series features of the first and first, the second and first 2,... the seventh and first 7 unit periods may be taken respectively.
[0060] Optionally, the above time series features are input into a pre-trained abnormal time detection model to obtain an abnormal time threshold.
[0061] In some embodiments, the above-mentioned execution subject can input the above-mentioned time series features into a pre-trained abnormal time detection model to obtain an abnormal time threshold. Among them, the abnormal time detection model can be used to perform abnormal analysis on the input data. The abnormal time detection model here can be selected according to the actual situation. For example, an unsupervised model structure can be used, such as a distance-based algorithm. Such algorithms may include neighbor algorithms (KNN, K-NearestNeighbor), or K-means clustering algorithms, etc. Density-based algorithms such as DBScan (Density-BasedSpatial Clustering of Applications with Noise) or LOF (Local outlier factor) can also be used. The model can output the data anomaly score of each unit period, as well as the anomaly score threshold calculated by the model, to determine whether there are abnormal events (such as high-incidence events) in each unit period.
[0062] Optionally, based on the above abnormal time threshold, it is determined whether there is an abnormal event corresponding to the above disaster event type.
[0063] In some embodiments, the execution subject may determine whether there is an abnormal event corresponding to the disaster event type based on the abnormal time threshold. It may be determined whether the number of events of the disaster event type in each unit period is greater than (or less than) the abnormal threshold. If the number of events is greater than the abnormal threshold, it may be determined that there is an abnormal event of the disaster event type in the unit period.
[0064] Optionally, it is determined whether there is disaster warning information corresponding to the above-mentioned disaster event data in a preset disaster warning information set.
[0065] In some embodiments, the execution subject may determine whether there is disaster warning information corresponding to the disaster event data in the pre-set disaster warning information set. For example, each disaster warning information corresponds to a natural disaster event loss level. It may be determined whether there is disaster warning information corresponding to the disaster event data according to the natural disaster event loss level. The disaster warning information in the disaster warning information set may be configuration information corresponding to the warning information. The warning information may represent warning rules for warning processing of disaster event data.
[0066] In practice, the execution entity may determine whether there is disaster warning information corresponding to the disaster event data in the pre-set disaster warning information set by following the steps below:
[0067] The first step is to perform word segmentation processing on the fields included in the disaster event data to generate word groups. For example, the fields included in the disaster event data can be segmented by Jieba word segmentation / Chinese analysis to generate word groups.
[0068] The second step is to generate word attribute information corresponding to each word in the above word group to obtain a word attribute information group. The word attribute information can be the attribute of the content of the word corresponding to the word. For example, if the content of the word is "wind speed 30 meters / s", the corresponding word attribute information can be "wind force level".
[0069] The third step is to perform deduplication processing on each word attribute information in the above word attribute information group to generate a deduplication word attribute information group.
[0070] The fourth step is to extract warning attributes from each disaster warning information in the above disaster warning information set to generate a disaster warning attribute information group and obtain a disaster warning attribute information group set. The disaster warning attribute information may be the attribute of a specific word segmentation content in the disaster warning information.
[0071] The fifth step is to match each disaster warning attribute information group in the above-mentioned disaster warning attribute information group set with the above-mentioned deduplicated word attribute information group to generate matching information and obtain a matching information set. As an example, the above-mentioned execution subject can use a word similarity matching model to match each disaster warning attribute information group in the above-mentioned disaster warning attribute information group set with the above-mentioned deduplicated word attribute information group to generate matching information and obtain a matching information set. The word similarity matching model can be a model that matches the similarity between multiple words. In practice, the word similarity matching model can be a Transformer model.
[0072] Step 6: Selecting the disaster warning information whose corresponding matching information is the target matching information from the above disaster warning information set. The above target matching information represents the information that matches the disaster warning attribute information group with the above deduplicated word attribute information group.
[0073] Optionally, in response to determining that disaster warning information corresponding to the disaster event data exists in the disaster warning information set, a warning check is performed on the disaster event data based on the disaster warning information to generate a warning check result.
[0074] In some embodiments, the execution subject may, in response to determining that the disaster warning information set contains disaster warning information corresponding to the disaster event data, perform a warning check on the disaster event data according to the disaster warning information to generate a warning check result. The warning check may be a check process to determine whether the disaster event data complies with at least one warning rule corresponding to the disaster warning information. The check result may be: a result indicating that the disaster event data has passed the warning check, or a result indicating that the disaster event data has not passed the warning check.
[0075] Optionally, in response to determining that the warning test result indicates that the test is passed, the disaster event data is sent to an associated disaster analysis terminal.
[0076] In some embodiments, the execution subject may send the disaster event data to an associated disaster analysis terminal in response to determining that the warning test result indicates that the test is passed. The disaster analysis terminal may be a computing terminal that is communicatively connected to the execution subject and is used to further analyze the disaster event data.
[0077] The above-mentioned related contents, as an inventive point of the present disclosure, solve the technical problem 2 mentioned in the background technology, "the efficiency of disaster event data analysis is reduced." The factors that reduce the efficiency of disaster event data analysis are often as follows: it is difficult to timely issue data warnings for the uploaded disaster event data, which reduces the efficiency of disaster event data analysis. If the above-mentioned factors are solved, the effect of improving the efficiency of disaster event data analysis can be achieved. In order to achieve this effect, first, it is determined whether there is disaster warning information corresponding to the above-mentioned disaster event data in the pre-set disaster warning information set. Thus, the disaster event data can be preliminarily verified according to the set disaster warning information set. Thus, the analysis of the report can be preliminarily completed. Then, in response to determining that there is disaster warning information corresponding to the above-mentioned disaster event data in the above-mentioned disaster warning information set, the above-mentioned disaster event data is subjected to a warning test according to the above-mentioned disaster warning information to generate a warning test result. Finally, in response to determining that the above-mentioned warning test result indicates that the test is passed, the above-mentioned disaster event data is sent to the associated disaster analysis terminal. Thus, because the analysis of the report is preliminarily completed, the analysis efficiency of the disaster analysis terminal for the disaster event data can be accelerated.
[0078] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a device for generating natural disaster impact and loss information based on power data. These embodiments of the device for generating natural disaster impact and loss information based on power data are similar to Figure 1 Corresponding to the method embodiments shown, the device for generating natural disaster impact and loss information based on power data can be specifically applied to various electronic devices.
[0079] like Figure 2 As shown, some embodiments of the natural disaster impact and loss information generation device 200 based on power data include: an acquisition unit 201, a determination unit 202, an input unit 203, a selection unit 204 and an alarm unit 205. The acquisition unit 201 is configured to perform the following processing steps for each user type: obtaining a power outage information set corresponding to the target natural disaster of the above user type, wherein the power outage information in the above power outage information set includes: user identification and power outage duration; obtaining unit power loss value information corresponding to the above user type; clustering the power outage information included in the above power outage information set according to the power outage duration to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; generating a power loss value corresponding to the above user type according to the above power outage information group set and the above unit power loss value information. loss information; a determination unit 202 is configured to determine the generated power loss information and the name of the above-mentioned target natural disaster as disaster event data corresponding to the above-mentioned target natural disaster; an input unit 203 is configured to input the above-mentioned disaster event data into a pre-trained natural disaster event loss level recognition model to obtain a natural disaster event loss level; a selection unit 204 is configured to select a disaster type corresponding to the above-mentioned natural disaster event loss level from a preset disaster type group as a disaster event type; an alarm unit 205 is configured to perform a disaster rescue alarm operation according to the above-mentioned disaster event type.
[0080] It can be understood that the various units recorded in the natural disaster impact and loss information generation device 200 based on power data and the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the natural disaster impact and loss information generation device 200 based on power data and the units contained therein, and will not be repeated here.
[0081] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device (e.g., a computing device) 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0082] like Figure 3As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and task data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0083] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange task data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0084] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0085] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a mission data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated mission data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0086] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital task data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0087] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: for each user type, performs the following processing steps: obtains a power outage information set corresponding to the target natural disaster of the user type, wherein the power outage information in the power outage information set includes: user identification and power outage duration; obtains unit power loss value information corresponding to the user type; clusters the power outage information included in the power outage information set according to the power outage duration to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; generates power loss information corresponding to the user type according to the power outage information group set and the unit power loss value information; determines the generated power loss information and the name of the target natural disaster as disaster event data corresponding to the target natural disaster; inputs the disaster event data into a pre-trained natural disaster event loss level recognition model to obtain a natural disaster event loss level; selects a disaster type corresponding to the natural disaster event loss level from a preset disaster type group as a disaster event type; and performs a disaster rescue alarm operation according to the disaster event type.
[0088] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including product-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0089] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0090] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor comprising: an acquisition unit, a determination unit, an input unit, a selection unit, and an alarm unit. Among them, the names of these units do not constitute limitations on the units themselves in certain circumstances, for example, the determination unit may also be described as "a unit that determines the generated individual power loss information and the name of the above-mentioned target natural disaster as disaster event data corresponding to the above-mentioned target natural disaster".
[0091] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0092] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for generating natural disaster impact and loss information based on power data, comprising: For each user type, the following processing steps are performed: Acquire a power outage information set corresponding to a target natural disaster of the user type, wherein the power outage information in the power outage information set includes: a user identifier and a power outage duration; Obtaining unit power loss value information corresponding to the user type; According to the power outage duration, clustering is performed on each power outage information included in the power outage information set to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; generating power loss information corresponding to the user type according to the power outage information set and the unit power loss value information; The step of generating power loss information corresponding to the user type according to the power outage information set and the unit power loss value information includes: For each power outage information group in the power outage information group set, the following processing steps are performed: Determine the number of each power outage information included in the power outage information group as the number of users with power outage in the interval; Determine the unit power loss information by multiplying the number of power outage users in the section by the unit power loss value indicated by the unit power loss value information; Determining a sum of the determined individual units of power loss information as power loss information corresponding to the user type; Determine each generated power loss information and the name of the target natural disaster as disaster event data corresponding to the target natural disaster; Obtain a sample set of disaster event data; Selecting a target disaster event data sample from the disaster event data sample set; Inputting the target disaster event data sample into the initial natural disaster event loss level identification model to obtain the natural disaster event loss level identification result; Determine the loss value between the natural disaster event loss level identification result and the sample label corresponding to the target disaster event data sample according to a preset loss function; In response to determining that the loss value is less than or equal to a preset loss value, determining the initial natural disaster event loss level identification model as a trained natural disaster event loss level identification model; Inputting the disaster event data into a pre-trained natural disaster event loss level recognition model to obtain the natural disaster event loss level; Selecting a disaster type corresponding to the loss level of the natural disaster event from a preset disaster type group as the disaster event type; Perform disaster rescue warning operations according to the type of disaster event; The method further comprises: Extracting time series features according to the number of disaster events corresponding to the disaster event type within a preset historical time period, wherein the time series features include: a change value of the number of events and a change rate of the number of events within a preset number of unit periods within the preset historical time period; Inputting the time series features into a pre-trained abnormal time detection model to obtain an abnormal time threshold; Based on the abnormal time threshold, determining whether there is an abnormal event corresponding to the disaster event type; The method further comprises: Determining whether there is disaster warning information corresponding to the disaster event data in a preset disaster warning information set; In response to determining that the disaster warning information set contains disaster warning information corresponding to the disaster event data, performing a warning check on the disaster event data according to the disaster warning information to generate a warning check result; In response to determining that the early warning test result indicates that the test is passed, sending the disaster event data to an associated disaster analysis terminal; The step of determining whether there is disaster warning information corresponding to the disaster event data in the preset disaster warning information set includes: Performing word segmentation processing on the fields included in the disaster event data to generate word groups; Generate word attribute information corresponding to each word in the word group to obtain a word attribute information group; Deduplication processing is performed on each word attribute information in the word attribute information group to generate a deduplication word attribute information group; Performing warning attribute extraction processing on each disaster warning information in the disaster warning information set to generate a disaster warning attribute information group, thereby obtaining a disaster warning attribute information group set; Matching each disaster warning attribute information group in the disaster warning attribute information group set with the deduplicated word attribute information group to generate matching information and obtain a matching information set; The disaster warning information corresponding to the matching information is selected from the disaster warning information set as the target matching information, wherein the target matching information represents the information that the disaster warning attribute information group matches the deduplicated word attribute information group.
2. A device for generating natural disaster impact and loss information based on power data, comprising: The acquisition unit is configured to perform the following processing steps for each user type: acquiring a power outage information set corresponding to a target natural disaster of the user type, wherein the power outage information in the power outage information set includes: a user identifier and a power outage duration; acquiring unit power loss value information corresponding to the user type; clustering the power outage information included in the power outage information set according to the power outage duration to obtain a power outage information group set, wherein one power outage information group corresponds to one power outage time interval; generating power loss information corresponding to the user type according to the power outage information group set and the unit power loss value information; the acquisition unit is further configured to: For each power outage information group in the power outage information group set, the following processing steps are performed: Determine the number of each power outage information included in the power outage information group as the number of users with power outage in the interval; Determine the unit power loss information by multiplying the number of power outage users in the section by the unit power loss value indicated by the unit power loss value information; Determining a sum of the determined individual units of power loss information as power loss information corresponding to the user type; a determination unit configured to determine each of the generated power loss information and the name of the target natural disaster as disaster event data corresponding to the target natural disaster; A sample acquisition unit, configured to acquire a disaster event data sample set; A sample selection unit, configured to select a target disaster event data sample from the disaster event data sample set; A sample input unit is configured to input the target disaster event data sample into an initial natural disaster event loss level identification model to obtain a natural disaster event loss level identification result; A loss value determination unit, configured to determine a loss value between the natural disaster event loss level identification result and a sample label corresponding to the target disaster event data sample according to a preset loss function; A model determination unit is configured to, in response to determining that the loss value is less than or equal to a preset loss value, determine the initial natural disaster event loss level identification model as a trained natural disaster event loss level identification model; An input unit is configured to input the disaster event data into a pre-trained natural disaster event loss level recognition model to obtain a natural disaster event loss level; A selection unit is configured to select a disaster type corresponding to the loss level of the natural disaster event from a preset disaster type group as a disaster event type; an alarm unit, configured to perform a disaster rescue alarm operation according to the type of the disaster event; The extraction unit is configured to extract time series features according to the number of disaster events corresponding to the disaster event type in a preset historical time period; wherein the time series features include: a change value of the number of events and a change rate of the number of events within a preset number of unit periods in the preset historical time period; A feature input unit is configured to input the time series feature into a pre-trained abnormal time detection model to obtain an abnormal time threshold; an event determination unit, configured to determine whether there is an abnormal event corresponding to the disaster event type based on the abnormal time threshold; The information determination unit is configured to determine whether there is disaster warning information corresponding to the disaster event data in the preset disaster warning information set; the information determination unit is further configured to: Performing word segmentation processing on the fields included in the disaster event data to generate word groups; Generate word attribute information corresponding to each word in the word group to obtain a word attribute information group; Deduplication processing is performed on each word attribute information in the word attribute information group to generate a deduplication word attribute information group; Performing warning attribute extraction processing on each disaster warning information in the disaster warning information set to generate a disaster warning attribute information group, thereby obtaining a disaster warning attribute information group set; Matching each disaster warning attribute information group in the disaster warning attribute information group set with the deduplicated word attribute information group to generate matching information and obtain a matching information set; Selecting the disaster warning information corresponding to the matching information as the target matching information from the disaster warning information set, wherein the target matching information represents the information matching the disaster warning attribute information group and the deduplicated word attribute information group; a verification unit configured to, in response to determining that the disaster warning information set contains disaster warning information corresponding to the disaster event data, perform a warning verification on the disaster event data according to the disaster warning information to generate a warning verification result; The sending unit is configured to send the disaster event data to the associated disaster analysis terminal in response to determining that the early warning test result indicates that the test is passed.
3. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in claim 1.
4. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to claim 1 is implemented.
Citation Information
Patent Citations
A power network line fault risk early warning method based on SVM
CN109359896A
Converter station planning method and device, electronic equipment and storage medium
CN114693094A
Vehicle safety event prediction method and device, computer equipment and storage medium
CN115913745A
