Storm surge early warning method and related equipment
By receiving and analyzing meteorological warning data, identifying storm surge warning areas and levels, and using multiple message reach channels to solve the identification errors and delays in storm surge warning, ensuring that customers receive warning information in a timely manner and improving disaster prevention and response efficiency.
Patent Information
- Application Number
- CN202411172680.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-24
- Publication Date
- 2024-12-13
AI Technical Summary
The existing storm surge warning methods have errors in early warning area identification and delays in early warning, and the warning method is single, and it fails to differentiate to customers according to the severity of the storm surge, causing customers to miss the best disaster prevention and response time.
By receiving meteorological warning data, using meteorological disaster codes to identify and process storm surges, analyzing the warning data to obtain warning areas and levels, and selecting different message reach channels according to the levels to provide warning prompts, including AI phone calls, SMS and app message notifications.
It realizes fast and accurate early warning area identification and differentiated early warning message access, ensuring that customers receive early warning information at the best time, thereby improving disaster prevention and response efficiency.
Smart Images

Figure CN119128639A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of artificial intelligence and big data technology, and in particular to a storm surge warning method and related equipment. Background Art
[0002] Most of the storm surge warnings issued by the Meteorological Bureau Warning Center are issued by the provincial and national meteorological bureaus. There is no clear warning area field in the warning data. When insurance companies receive the warning data and then process it accordingly, they cannot quickly and accurately obtain the storm surge warning area, which affects the precise disaster prevention and loss reduction actions. When there is a storm surge disaster warning, the insurance company notifies customers of the disaster in a relatively simple way. The warning message is not delivered to customers in a differentiated manner according to the severity of the disaster, and customers may miss the best time for disaster prevention and response. Therefore, a storm surge warning method is urgently needed to solve the problems of warning area identification errors and warning delays in existing warning methods, and the storm surge warning method is relatively simple. Most of them do not deliver the warning message to customers in a differentiated manner according to the severity of the storm surge, causing customers to miss the best time for disaster prevention and response. Summary of the invention
[0003] The purpose of the embodiments of the present application is to propose a storm surge warning method and related equipment to solve the problems of warning area identification errors and warning delays in existing warning methods, and the relatively single warning methods for storm surges. Most of them do not differentiate the warning messages from the severity of the storm surge, causing customers to miss the best disaster prevention response time. Its main purpose is to automatically parse the city-level area and the corresponding warning level from the long text of the meteorological bureau's storm surge warning according to certain rules when a storm surge warning occurs, and then reach customers through different message contact channels according to different warning levels, so as to accurately, quickly and effectively remind the corresponding customers to take precautions against storm surges.
[0004] In order to solve the above technical problems, the present application embodiment provides a storm surge warning method, which adopts the following technical solutions:
[0005] Receive weather warning data;
[0006] Performing storm surge identification processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data;
[0007] The storm surge warning data is parsed and processed by using a preset array pair data parsing rule to obtain a storm surge warning area and a warning level, and based on the warning level, a warning prompt is given to target users in the storm surge warning area. The above array pair data is a linear data structure, and the array pair data uses a set of continuous memory space to store data.
[0008] Furthermore, the meteorological warning data is subjected to storm identification processing by meteorological disaster coding to obtain storm surge warning data, and the method further includes:
[0009] Performing data preprocessing on the meteorological warning data to obtain processed meteorological warning data, wherein the processed meteorological warning data is effective meteorological warning data;
[0010] The processed meteorological warning data is subjected to storm surge identification processing through meteorological disaster coding to obtain storm surge warning data.
[0011] Further, the preprocessing of the meteorological warning data to obtain the processed meteorological warning data includes:
[0012] Screening the meteorological warning data to obtain screened meteorological warning data, wherein the screened meteorological warning data is effective meteorological warning data;
[0013] The meteorological warning data after the screening process are subjected to forecast unit screening process to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center.
[0014] Further, the storm surge identification processing is performed on the processed meteorological warning data through meteorological disaster coding to determine the storm surge warning data, including:
[0015] Performing disaster identification processing on the processed meteorological warning data through meteorological disaster coding to obtain various meteorological disaster warning data;
[0016] Storm surge identification processing is performed on each of the meteorological disaster warning data to determine storm surge warning data.
[0017] Furthermore, the storm surge warning data is parsed and processed by using a preset array data parsing rule to obtain a storm surge warning area and warning level, including:
[0018] Separate and analyze the storm surge warning data using a preset array data analysis rule to obtain a storm surge warning area;
[0019] Perform warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area.
[0020] Furthermore, the storm surge warning data is separated and analyzed by using a preset array data analysis rule to obtain a storm surge warning area, including:
[0021] Performing a first separation analysis process on the storm surge warning data by using a preset array data analysis rule to obtain first-time storm surge warning data and / or second-time storm surge warning data, wherein the first time is less than the second time;
[0022] A second separation and analysis process is performed on the first time storm surge warning data and / or the second time storm surge warning data to obtain a storm warning area.
[0023] Furthermore, the step of providing a warning prompt to target users in the storm surge warning area according to the warning level includes:
[0024] If the warning level is the first warning level, the target users in the storm surge warning area will be warned via AI phone calls and text messages;
[0025] If the warning level is the second warning level, a warning reminder is issued to the target area of the storm surge warning by SMS;
[0026] If the warning level is the third warning level, an early warning reminder will be issued to the storm surge warning area target through app message notification.
[0027] In order to solve the above technical problems, the present application also provides a storm surge warning device, which adopts the following technical solution:
[0028] A receiving module, used for receiving meteorological warning data;
[0029] An identification and processing module, used for performing storm surge identification and processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data;
[0030] The early warning prompt module is used to parse and process the storm surge warning data through a preset array pair data parsing rule to obtain the storm surge warning area and warning level, and according to the warning level, to issue early warning prompts to target users in the storm surge warning area. The array pair data is a linear data structure, and the array pair data uses a set of continuous memory space to store data.
[0031] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0032] The computer device includes a memory and a processor, the memory stores computer-readable instructions, and the processor implements the steps of the storm surge warning method described in any one of the embodiments of the present application when executing the computer-readable instructions.
[0033] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0034] The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the storm surge warning method described in any one of the embodiments of the present invention are implemented.
[0035] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: receiving meteorological warning data, performing storm surge identification and processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data, parsing and processing the storm surge warning data according to a preset array data parsing rule to obtain the storm surge warning area and warning level, and according to the warning level, issuing warning prompts to target users in the storm surge warning area, thereby solving the problem that the existing methods have warning area identification errors and warning delays, and the warning methods for storm surges are relatively single, and most of them do not differentiate the warning messages to reach customers according to the severity of the storm surge, causing customers to miss the best disaster prevention response time. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0038] Figure 2 A flow chart of an embodiment of a storm surge warning method according to the present application;
[0039] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S202;
[0040] Figure 4 yes Figure 3 A flowchart of a specific implementation of step S2021;
[0041] Figure 5 yes Figure 3 A flowchart of a specific implementation method of step S2022;
[0042] Figure 6 yes Figure 2 A flowchart of a specific implementation method of step S203;
[0043] Figure 7 yes Figure 6 A flowchart of a specific implementation method of step S2031;
[0044] Figure 8 yes Figure 2 A flowchart of another specific implementation manner of step S203;
[0045] Fig. 9 is a schematic diagram of the storm surge warning method of the present application;
[0046] Fig.10 is a structural schematic diagram of an embodiment of a storm surge warning device according to the present application;
[0047] Fig.11 yes Fig.10 A structural diagram of a specific implementation of the identification processing module 1002;
[0048] Fig.12 yes Fig.11 A structural diagram of a specific implementation of the data preprocessing submodule 10021;
[0049] Fig.13 yes Fig.11 A structural diagram of a specific implementation of the identification processing submodule 10022;
[0050] Fig.14 yes Fig.10 A structural diagram of a specific implementation of the early warning prompt module 1003;
[0051] Fig.15 yes Fig.14 A structural diagram of a specific implementation of the analysis processing submodule 10031;
[0052] Fig.16 yes Fig.10 A structural diagram of another specific implementation of the early warning prompt module 1003;
[0053] Fig.17 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0056] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0057] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0058] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0059] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.
[0060] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .
[0061] It should be noted that the storm surge warning method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the storm surge warning device is generally arranged in the server / terminal device.
[0062] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0063] Continue to refer Figure 2 , shows a flow chart of an embodiment of a storm surge warning method according to the present application. The storm surge warning method comprises the following steps:
[0064] Step S201: Receive weather warning data.
[0065] In this embodiment, the storm surge warning method is executed on the electronic device (eg Figure 1 The server / terminal device shown in the figure can receive the storm surge warning request of the terminal device through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0066] The above-mentioned terminal devices may be terminal devices equipped with remote interaction functions such as personal assistants and intelligent customer service.
[0067] The above storm surge warning method can be applied to online file push, online file management and other businesses.
[0068] Specifically, the above-mentioned electronic equipment can be used in different industry types such as medical storm surge warning, property insurance storm surge warning, financial storm surge warning, store storm surge warning, etc.
[0069] Specifically, the above-mentioned meteorological warning data is real-time or predicted weather information issued by the Provincial Meteorological Bureau and the National Meteorological Bureau. The present invention is specifically described using the meteorological warning data issued by the National Marine Environmental Forecast Center.
[0070] The above-mentioned meteorological warning data includes various types of meteorological disasters, such as storm surges, sandstorms, severe convection, etc. The meteorological warning data includes the warning release time, release status, etc.
[0071] It should be noted that the storm surge warning data issued by national-level units are the most comprehensive. Therefore, this application receives the meteorological warning data issued by the National Marine Environmental Forecast Center and excludes the data forecasted by other forecasting units.
[0072] Step S202: Perform storm surge identification processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data.
[0073] In this embodiment, after receiving the meteorological warning data, the electronic device performs storm surge identification processing on the meteorological warning data through meteorological disaster coding, thereby obtaining storm surge warning data.
[0074] The above-mentioned meteorological disaster codes can be understood as codes used to identify various meteorological disasters, such as storm surges, sandstorms, severe convection, etc. Each meteorological disaster has a corresponding code, which can quickly and accurately identify the type of meteorological disaster.
[0075] Specifically, different meteorological disaster types may be coded to obtain meteorological disaster codes.
[0076] The above-mentioned storm surge identification processing can be understood as a process of analyzing and interpreting meteorological warning data to identify storm surge warning data.
[0077] The above-mentioned storm surge warning data include release time, release information, expiration time of the warning, etc.
[0078] Step S203: parse and process the storm surge warning data using a preset array data parsing rule to obtain a storm surge warning area and warning level, and issue a warning prompt to target users in the storm surge warning area according to the warning level.
[0079] In this embodiment, after obtaining the storm surge warning data, the electronic device can parse and process the storm surge warning data through a preset array data parsing rule to obtain the storm surge warning area and warning level, and provide warning prompts to target users in the storm surge warning area based on the warning level.
[0080] The above-mentioned preset array data parsing rules are data parsing rules preset by the system and are used to parse storm surge warning data.
[0081] The above array is a linear data structure. Array uses a set of continuous memory space to store data. In an array, data is organized into an ordered set of elements of the same type. An array can access its elements through an index, which is an integer starting from 0 and indicates the position of the element in the array.
[0082] Specifically, the preset array's data parsing rule separates the storm surge warning data through a 48-hour forecast and uses an array to carry the data. If the length of the array after separation is 1, it is considered that the storm surge warning data is a 24-hour forecast. If the length of the array after separation is 2, it is considered that the storm surge warning data includes both 24-hour and 48-hour storm surge warning data. First, establish a 24-hour data list and a 48-hour data list to store the matched data. Then, use split("。") to separate the 24-hour and 48-hour storm surge warning data and use an array to carry it. For each element in the array, use split("[\u4e00-\u9fa5]+市.*?风暴潮预警级别为[\u4e00-\u9fa5]+色") for matching. If data is matched, it is placed in the corresponding 24-hour data list and 48-hour data list. Finally, for each piece of data in the 24-hour data list and 48-hour data list, use "风暴潮预警级别为" for separation and use an array to carry it. The first part of the array is the warning city information, and the second part is the warning level information.
[0083] The above split() function is a string processing function used to split a string according to a specified delimiter and return a list of the split strings. The split() function will store the parts before and after each delimiter in the string as independent elements in the list. The split() function does not change the content of the original string but generates a new list.
[0084] The above [\u4e00-\u9fa5]+市 can be understood as a city name composed of one or more Chinese characters, such as "北京市" (Beijing City), "上海市" (Shanghai City), etc.
[0085] The above 风暴潮预警级别为[\u4e00-\u9fa5]+色 can be understood as a description of the storm surge warning level at a certain Chinese character level, such as "蓝色" (blue), "黄色" (yellow), etc.
[0086] Furthermore, obtain the warning levels of each warning city. If the warning level is a red warning, use AI calls and text messages to reach the customers in the corresponding storm surge warning area for warning. If the warning level is an orange warning, use text messages to reach the customers in the corresponding storm surge warning area for warning. If the warning level is other levels, use the corresponding app messages to notify the customers in the corresponding storm surge warning area for warning prompts.
[0087] The above red warning is the highest-level warning signal, used to indicate the severity and possible hazards of extreme weather events.
[0088] The above-mentioned orange warning is a high-level warning among meteorological disaster warning signals, indicating that extreme weather may affect the area in the coming period.
[0089] The above-mentioned other warnings are general-level warnings lower than the red and orange levels among the meteorological disaster warning signals, indicating that the area may be affected by certain meteorological disasters in the future, but the degree of harm is low and the degree of urgency is relatively low.
[0090] The above warning areas can be understood as areas where storm surges are about to occur. The above warning levels are an assessment of the intensity of the storm surges in the warning areas.
[0091] In this embodiment, the application parses the storm surge warning data of the National Marine Environmental Forecast Center through preset data parsing rules, and can quickly and accurately obtain the warning area and warning level of the storm surge, thereby providing support for effective disaster prevention and loss reduction actions. When there is a storm surge disaster warning, using different warning methods at different warning levels can effectively reach users, thereby giving users the best disaster prevention time.
[0092] The present application performs storm surge identification and processing on meteorological warning data through meteorological disaster coding to obtain storm surge warning data, parses and processes the storm surge warning data according to a preset array data parsing rule to obtain the storm surge warning area and warning level, and issues warning prompts to target users in the storm surge warning area according to the warning level, thereby solving the problem that the existing methods have warning area identification errors and warning delays, and the warning methods for storm surges are relatively single, and most of them do not differentiate the warning messages to customers according to the severity of the storm surge, causing customers to miss the best disaster prevention response time.
[0093] Continue to refer Figure 3 , shown in Figure 2 A flowchart of a specific implementation of step S202 in FIG. Step S202 specifically includes the following steps:
[0094] Step S2021: pre-process the meteorological warning data to obtain processed meteorological warning data.
[0095] In this embodiment, the weather warning data after the above processing is effective weather warning data.
[0096] The above-mentioned meteorological warning data include warning release time, warning release status, etc.
[0097] The above data preprocessing can be understood as the process of processing the original data. The data preprocessing can specifically include identifying the warning release time, identifying the warning release status, identifying the warning expiration time, identifying invalid warning data, etc.
[0098] Specifically, the meteorological warning data is used to identify the warning release time, the warning release status, the warning expiration time, and the invalid warning data. By identifying and deleting expired and invalid warning data, valid meteorological warning data can be obtained.
[0099] Step S2022: Perform storm surge identification processing on the processed meteorological warning data through meteorological disaster coding to obtain storm surge warning data.
[0100] In this embodiment, after obtaining the processed meteorological warning data, the electronic device can perform storm surge identification processing on the processed meteorological warning data through meteorological disaster coding to obtain storm surge warning data.
[0101] The above meteorological disaster codes can be understood as codes used to identify various meteorological disasters. Meteorological disaster codes are issued by national or international meteorological organizations to identify different types of meteorological disasters. For example, storm surges, sandstorms, severe convection, etc., each meteorological disaster has a corresponding code, and this code quickly and accurately identifies the type of meteorological disaster.
[0102] The above-mentioned storm surge identification processing can be understood as a process of analyzing and interpreting meteorological warning data to identify storm surge warning data.
[0103] The present application obtains processed meteorological warning data by performing data preprocessing on meteorological warning data, and performs storm surge identification processing on the processed meteorological warning data through meteorological disaster coding, thereby obtaining storm surge warning data, realizing the identification of storm surge data, and improving the reliability of data.
[0104] Continue to refer Figure 4 , showing that in Figure 3 Flow chart of a specific implementation of step S2021 in FIG. Step S2021 specifically includes the following steps:
[0105] Step S20211: filter and process the meteorological warning data to obtain filtered meteorological warning data.
[0106] In this embodiment, the meteorological warning data after the above screening process is effective meteorological warning data.
[0107] The above-mentioned screening process can be understood as the screening process of meteorological warning data based on warning release time, warning release status, warning expiration time, and invalid warning data. Specifically, it is the screening process of deleting expired and invalid warning data to obtain valid meteorological warning data.
[0108] The meteorological warning data after the above screening and processing are valid meteorological warning data.
[0109] Step S20212: Perform forecast unit screening on the filtered meteorological warning data to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center.
[0110] In this embodiment, the above-mentioned forecast unit screening process can be understood as a screening process for meteorological forecast units, specifically, a process of screening out the National Marine Environmental Forecast Center.
[0111] It should be noted that storm surge warnings issued by national-level units are often the most comprehensive, so only the storm surge data forecast by the National Marine Environmental Forecast Center are screened out, and the data forecast by other forecasting units are excluded.
[0112] This application obtains filtered and processed meteorological warning data by screening and processing the meteorological warning data, and performs forecast unit screening and processing on the filtered and processed meteorological warning data to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center, thereby being able to obtain more accurate and useful storm surge warning information.
[0113] Continue to refer Figure 5 , showing that in Figure 3 Flow chart of a specific implementation of step S2022 in FIG. Step S2022 specifically includes the following steps:
[0114] Step S20221: Perform disaster identification processing on the processed meteorological warning data through meteorological disaster coding to obtain various meteorological disaster warning data.
[0115] In this embodiment, the above-mentioned meteorological disaster code can be understood as a code used to identify various meteorological disasters. The meteorological disaster code is issued by a national or international meteorological organization and is used to identify different types of meteorological disasters. For example, storm surges, sandstorms, severe convection, etc., each meteorological disaster has a corresponding code, and this code quickly and accurately identifies the type of meteorological disaster.
[0116] Meteorological disaster coding can be used to accurately identify different types of meteorological disaster warning data such as typhoons, heavy rains, droughts, etc.
[0117] Step S20222: Perform storm surge identification processing on each meteorological disaster warning data to determine storm surge warning data.
[0118] In this embodiment, the storm surge identification process may be understood as a process of identifying storm surge warning data.
[0119] This application performs disaster identification processing on the processed meteorological early warning data through meteorological disaster coding to obtain each meteorological disaster early warning data, and performs storm surge identification processing on each meteorological disaster early warning data to determine the storm surge early warning data, so that users can accurately obtain the storm surge early warning data and improve work efficiency.
[0120] Continue to refer to Figure 6 , which shows a flowchart of a specific implementation manner of step S203 in Figure 2 . Step S203 specifically includes the following steps:
[0121] Step S2031: Perform separation and parsing processing on the storm surge early warning data through a preset array's data parsing rule to obtain the storm surge early warning area.
[0122] In this embodiment, the above-mentioned preset array's data parsing rule is a data parsing rule pre-set by the system for parsing the storm surge early warning data.
[0123] The above-mentioned preset array's data parsing rule can specifically be the data parsing rule of the array. The array of data is a linear data structure, and the array of data uses a group of continuous memory spaces to store data. In an array, the data is organized into an ordered set of elements of the same type. An array can access its elements through an index, and the index is an integer starting from 0, indicating the position of the element in the array.
[0124] Specifically, the storm surge early warning data is separated through a 48-hour forecast and carried by an array of data. If the length of the array after separation is 1, it is considered that the storm surge early warning data is a 24-hour forecast. If the length of the array after separation is 2, it is considered that the storm surge early warning data includes both 24-hour storm surge early warning data and 48-hour storm surge early warning data; then, the 24-hour storm surge early warning data and the 48-hour storm surge early warning data are separated using split(".") and carried by an array. Each element in the array is then matched using split("[\\u4e00-\\u9fa5]+市.*?风暴潮预警级别为[\\u4e00-\\u9fa5]+色"). Finally, each piece of data in the 24-hour storm surge early warning data and the 48-hour storm surge early warning data is separated through "风暴潮预警级别为" and carried by an array to obtain the early warning city information and early warning level information.
[0125] The above split() function is a string processing function used to split a string according to a specified delimiter and return a list of the split strings. The split() function will store the parts before and after each delimiter in the string as independent elements in the list. The split() function does not change the content of the original string but generates a new list.
[0126] The above [\u4e00-\u9fa5]+ cities can be understood as city names composed of one or more Chinese characters, such as "Beijing" and "Shanghai".
[0127] The above storm surge warning level of [\u4e00-\u9fa5]+ colors can be understood as a description of the storm surge warning level at a certain Chinese character level, such as "blue" and "yellow".
[0128] Furthermore, the city information of the warning needs to further use the following data cleaning rules through the replace method in sequence:
[0129] replace("Zhejiang Province","").replace("and Zhejiang Province","、")
[0130] .replace("、Zhejiang Province","、").replace("Zhejiang","")
[0131] .replace("Fujian Province","").replace("and Fujian Province","、")
[0132] .replace("、Fujian Province","、").replace("Fujian","")
[0133] .replace("Jiangsu Province","").replace("and Jiangsu Province","、")
[0134] .replace("、Jiangsu Province","、").replace("Jiangsu","")
[0135] .replace("Guangdong Province","").replace("and Guangdong Province","、")
[0136] .replace("、Guangdong Province","、").replace("Guangdong","")
[0137] .replace("Guangxi Zhuang Autonomous Region","").replace("and Guangxi Zhuang Autonomous Region","、")
[0138] .replace("、 Guangxi Zhuang Autonomous Region","、").replace("Guangxi","")
[0139] .replace("Hainan Province","").replace("and Hainan Province","、")
[0140] .replace("、 Hainan Province","、").replace("Hainan","")
[0141] .replace("Hebei Province","").replace("and Hebei Province","、")
[0142] .replace("、 Hebei Province","、").replace("Hebei","")
[0143] .replace("Shandong Province","").replace("and Shandong Province","、")
[0144] .replace("、 Shandong Province","、").replace("Shandong","")
[0145] .replace("Liaoning Province","").replace("and Liaoning Province","、")
[0146] .replace("、 Liaoning Province","、").replace("Liaoning","")
[0147] .replace("and","、").replace("of","") Clean the data. Finally, the obtained string separated by "、" is used, and then split("、") is used on this string to obtain the names of each warning city.
[0148] The above storm surge warning area is the area where a storm surge is about to occur.
[0149] Step S2032: Perform warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area.
[0150] In this embodiment, when the electronic device obtains the storm surge warning area, it can perform warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area.
[0151] The above warning level matching processing can be understood as the process of classifying the storm surge warning area according to its characteristics and matching the corresponding warning level.
[0152] The above warning levels are used to assess the impact of storm surges. The above warning levels include red warning level, orange warning level, and other warning levels. Red warning is the highest level of warning signal, used to indicate the severity and possible harm of extreme weather events. Orange warning is a high-level warning in the meteorological disaster warning signal, indicating that extreme weather may affect the area in the future. Other warnings are general-level warnings in the meteorological disaster warning signal that are lower than red and orange levels, indicating that some meteorological disasters may affect the area in the future, but the degree of harm is low and the urgency is relatively low.
[0153] The present application separates and analyzes the storm surge warning data through a preset array of data parsing rules to obtain a storm surge warning area, and performs warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area, so as to better understand the storm surge situation in the storm surge warning area and take corresponding measures.
[0154] Continue to refer Figure 7 , showing Figure 6 Flow chart of a specific implementation manner of step S2031 in FIG. Step S2031 specifically includes the following steps:
[0155] Step S20311: performing a first separation and analysis process on the storm surge warning data by using a preset array data analysis rule to obtain first-time storm surge warning data and / or second-time storm surge warning data.
[0156] In this embodiment, the first time is less than the second time. The storm surge warning data at the first time is 24-hour storm surge warning data. The storm surge warning data at the second time is 48-hour storm surge warning data.
[0157] The first separation and analysis process described above can be understood as a process of separating storm surge warning data by 48-hour forecast and using an array to carry the data.
[0158] The above-mentioned preset array data parsing rules are data parsing rules preset by the system and are used to parse storm surge warning data.
[0159] The above array is a linear data structure. Array uses a set of continuous memory space to store data. In an array, data is organized into an ordered set of elements of the same type. An array can access its elements through an index, which is an integer starting from 0 and indicates the position of the element in the array.
[0160] Further, if the length of the array after separation is 1, it is considered that the storm surge warning data is a 24-hour forecast. If it is 2, it is considered that there is both 24-hour storm surge warning data and 48-hour storm surge warning data.
[0161] Step S20312: Perform a second separation and parsing process on the first-time storm surge warning data and / or the second-time storm surge warning data to obtain the storm warning area.
[0162] In this embodiment, the above second separation and parsing process can be understood as a process of separating the 24-hour storm surge warning data and the 48-hour storm surge warning data using split(".") and carrying them using an array, and then matching each element in the array using split("[\\u4e00-\\u9fa5]+市.*?风暴潮预警级别为[\\u4e00-\\u9fa5]+色").
[0163] Specifically, the 24-hour storm surge warning data and the 48-hour storm surge warning data are separated using split(".") and carried using an array. Then, each element in the array is further matched using split("[\\u4e00-\\u9fa5]+市.*?风暴潮预警级别为[\\u4e00-\\u9fa5]+色"). If data is matched, it is placed in each piece of data in the corresponding 24-hour data list and 48-hour data list. Finally, each piece of data in the 24-hour data list and the 48-hour data list is separated using "风暴潮预警级别为" and carried using an array, and each element in the array is further matched using split("[\\u4e00-\\u9fa5]+市.*?风暴潮预警级别为[\\u4e00-\\u9fa5]+色") to obtain the cities in the storm surge warning area.
[0164] The above split() function is a string processing function used to split a string according to a specified delimiter and return a list of the split strings. The split() function will store the parts before and after each delimiter in the string as independent elements in the list. The split() function does not change the content of the original string but generates a new list.
[0165] The above [\\u4e00-\\u9fa5]+市 can be understood as a city name composed of one or more Chinese characters, such as "北京市" (Beijing City), "上海市" (Shanghai City), etc.
[0166] The above 风暴潮预警级别为[\\u4e00-\\u9fa5]+色 can be understood as a description of the storm surge warning level at a certain Chinese character level, such as "蓝色" (blue), "黄色" (yellow), etc.
[0167] It should be noted that first, a first time data list and a second time data list are established. The data list is used to store the matched data. The first time data list is used to store the matched 24-hour storm surge warning data. The second time data list is used to store the matched storm surge warning data within 48 hours.
[0168] The present application performs a first separation and analysis processing on the storm surge warning data through a preset array analysis rule for data to obtain first-time storm surge warning data and / or second-time storm surge warning data, and performs a second separation and analysis processing on the first-time storm surge warning data and / or the second-time storm surge warning data to obtain a storm warning area, thereby being able to obtain more accurate information on the time and location of the storm surge.
[0169] Continue to refer Figure 8 , showing Figure 2 Flow chart of a specific implementation manner of step S203 in FIG. Step S203 specifically includes the following steps:
[0170] Step S2033: If the warning level is the first warning level, a warning reminder is issued to the target users in the storm surge warning area through AI phone calls and text messages.
[0171] In this embodiment, the above-mentioned first warning level can be understood as a red warning, which is the highest level of warning signal used to indicate the severity and possible hazards of extreme weather events.
[0172] Furthermore, if it is a red alert, AI phone calls and text messages will be used to reach target users in the warning area of the corresponding storm surge to issue warning alerts.
[0173] Step S2034: If the warning level is the second warning level, a warning reminder is issued to the storm surge warning area target via text message.
[0174] In this embodiment, the above-mentioned second warning level can be understood as an orange warning, which is a high-level warning in the meteorological disaster warning signal, indicating that extreme weather may affect the area in the future.
[0175] Furthermore, assuming it is an orange warning, text messages are used to reach target users in the warning area corresponding to the storm surge to issue warning alerts.
[0176] Step S2035: If the warning level is the third warning level, a warning reminder is issued to the warning area target of the storm surge through an app message notification.
[0177] In this embodiment, the third warning level can be understood as other levels of warning. Other warnings are general warnings that are lower than the red and orange levels in the meteorological disaster warning signals, indicating that there may be some meteorological disasters in the future, but the degree of harm is low and the urgency is relatively low.
[0178] Furthermore, if there is a warning of another level, the warning area target of the corresponding storm surge will be notified through the corresponding app message for warning reminder.
[0179] If the warning level of this application is the first warning level, the target users in the storm surge warning area will be warned through AI phone calls and text messages. If the warning level is the second warning level, the target users in the storm surge warning area will be warned through text messages. If the warning level is the third warning level, the target users in the storm surge warning area will be warned through app message notifications. Using different warning methods at different warning levels can effectively reach customers, thereby gaining the best disaster prevention time for customers.
[0180] Continue to refer Fig. 9 , shows the architecture diagram of the storm surge warning method according to the present application. Specifically, the storm surge warning method includes receiving warning messages from the meteorological bureau, screening warning messages, obtaining warning areas, and notifying customers differently according to the warning level.
[0181] In this embodiment, the above-mentioned reception of the meteorological bureau's warning message can be understood as receiving the meteorological warning data issued by the meteorological bureau through the interface. On the one hand, it is necessary to accurately identify the storm surge warning message through the disaster code, and on the other hand, it is necessary to identify expired and invalid warning data according to the warning release time, release status, and warning expiration time to avoid unnecessary false alarm problems. In addition, it is also necessary to pay attention to the processing time of the interface. If the interface processing timeout mostly affects the stability of the system, it can be solved by using the thread pool and setting reasonable parameters.
[0182] The above screening of warning messages can be understood as the storm surge warning issued by national-level units is the most comprehensive, so only the storm surge data forecasted by the National Marine Environmental Forecast Center is screened, and the data forecasted by other forecasting units are excluded. The above acquisition of warning areas can be understood as the disaster city and corresponding warning level for which forecast data is obtained.
[0183] Further, after obtaining the storm surge data forecasted by the National Marine Environmental Forecasting Center: 1) Separate the forecast content by split("48-hour forecast") and use an array to carry the data. If the length of the array after separation is 1, then the forecast content is considered to be a 24-hour forecast named mContent. If the length of the array after separation is 2, then it is considered that there are both 24-hour and 48-hour forecast contents, and the 48-hour forecast content is named nContent. 2) Obtain key valid data: First, establish a 24-hour data list mList and a 48-hour data list nList to store the matched data. Separate the forecast contents of mContent and nContent by split(".") and use an array to carry them. Then, match each element in the array by split("[\u4e00-\u9fa5]+ city.*? Storm surge warning level is [\u4e00-\u9fa5]+ color"). If the data is matched, it is placed in the corresponding mList and nList. 3) Obtain the disaster cities and corresponding warning levels of the forecast data: Take out the data in the mList and nList lists from the previous step, and separate each piece of data by split("Storm surge warning level is") and use an array to carry it. The first part of the array is the city information of the warning named mCitys, and the second part is the warning level information named nLevel. The information of mCitys needs to be further cleaned by the replace method using the following data cleaning rules in sequence:
[0184] replace("Zhejiang Province","").replace("and Zhejiang Province","、")
[0185] .replace("、Zhejiang Province","、").replace("Zhejiang","")
[0186] .replace("Fujian Province","").replace("and Fujian Province","、")
[0187] .replace("、Fujian Province","、").replace("Fujian","")
[0188] .replace("Jiangsu Province","").replace("and Jiangsu Province","、")
[0189] .replace("、Jiangsu Province","、").replace("Jiangsu","")
[0190] .replace("Guangdong Province","").replace("and Guangdong Province","、")
[0191] .replace("、Guangdong Province","、").replace("Guangdong","")
[0192] .replace("Guangxi Zhuang Autonomous Region","").replace("and Guangxi Zhuang Autonomous Region","、")
[0193] .replace("、Guangxi Zhuang Autonomous Region","、").replace("Guangxi","")
[0194] .replace("Hainan Province","").replace("and Hainan Province","、")
[0195] .replace("、Hainan Province","、").replace("Hainan","")
[0196] .replace("Hebei Province","").replace("and Hebei Province","、")
[0197] .replace("、Hebei Province","、").replace("Hebei","")
[0198] .replace("Shandong Province","").replace("and Shandong Province","、")
[0199] .replace("、Shandong Province","、").replace("Shandong","")
[0200] .replace("Liaoning Province","").replace("and Liaoning Province","、")
[0201] .replace("、Liaoning Province","、").replace("Liaoning","")
[0202] .replace("and","、").replace("of","") Clean the data, and finally get a string separated by "、". Then use split("、") on this string to get the names of each warning city.
[0203] The above-mentioned differentiated notification of customers based on the warning level can be understood as obtaining the 24-hour storm surge warning city and level (here named mMap), and the 48-hour storm surge warning city and level (here named nMap). First, you need to determine the warning time and level of the city: 1) Assuming that a certain city only exists in one of mMap and nMap, just take the corresponding Map data for warning. 2) Assuming that the same city exists in both mMap and nMap, take the data in mMap for warning. Then, after obtaining the warning level of each city, for the warning level of each city: 1) Assuming it is a red warning, use AI phone calls and text messages to reach customers in the corresponding area for warning. 2) Assuming it is an orange warning, reach customers through text messages. 3) Assuming it is a warning of other levels, notify through the corresponding app message.
[0204] In this embodiment, the application analyzes the storm surge warning data of the National Marine Environmental Forecast Center through data analysis rules, and can quickly and accurately obtain the warning area and warning level of the storm surge, thereby providing support for effective disaster prevention and loss reduction actions. When there is a storm surge disaster warning, using different warning methods at different warning levels can effectively reach customers, thereby gaining the best disaster prevention time for customers.
[0205] This embodiment can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0206] The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning. This application can be applied to the fields of artificial intelligence and big data, thereby promoting the construction of smart cities.
[0207] This application belongs to the field of smart cities, and this solution can promote the construction of smart cities.
[0208] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0209] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0210] Further references Fig.10 , as a response to the above Figure 2 The present application provides an embodiment of a storm surge warning device, and the storm surge warning device embodiment is Figure 2 Corresponding to the storm surge warning method embodiment shown, the storm surge warning device can be specifically applied to various electronic devices.
[0211] like Fig.10 As shown, the storm surge warning device 1000 described in this embodiment includes: a receiving module 1001, an identification processing module 1002 and a warning prompt module 1003. Among them:
[0212] Receiving module 1001, used for receiving weather warning data;
[0213] An identification and processing module 1002 is used to perform storm surge identification and processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data;
[0214] The early warning prompt module 1003 is used to parse and process the storm surge warning data through a preset array pair data parsing rule to obtain the storm surge warning area and warning level, and provide early warning prompts to target users in the storm surge warning area according to the warning level. The above array pair data is a linear data structure, and the array pair data uses a set of continuous memory space to store data.
[0215] In this embodiment, the present application performs storm surge identification processing on meteorological warning data through meteorological disaster coding to obtain storm surge warning data, parses and processes the storm surge warning data according to a preset array data parsing rule to obtain the storm surge warning area and warning level, and according to the warning level, issues warning prompts to target users in the storm surge warning area, thereby solving the problem that the existing methods have warning area identification errors and warning delays, and the warning methods for storm surges are relatively single, and most of them do not differentiate the warning messages to customers according to the severity of the storm surge, causing customers to miss the best disaster prevention response time.
[0216] See also Fig.11 ,for Fig.10 The structural diagram of a specific implementation of the identification processing module 1002 is shown in FIG. 1 , wherein the identification processing module 1002 includes a data preprocessing submodule 10021 and an identification processing submodule 10022.
[0217] The data preprocessing submodule 10021 is used to perform data preprocessing on the meteorological warning data to obtain processed meteorological warning data, wherein the processed meteorological warning data is effective meteorological warning data;
[0218] The identification processing submodule 10022 is used to perform storm surge identification processing on the processed meteorological warning data through meteorological disaster coding to determine storm surge warning data.
[0219] In this embodiment, the meteorological warning data is preprocessed to obtain processed meteorological warning data, and the processed meteorological warning data is subjected to storm surge identification processing through meteorological disaster coding, thereby determining the storm surge warning data, realizing the identification of storm surge data, and improving the reliability of the data.
[0220] See also Fig.12 ,for Fig.11 The data preprocessing submodule 10021 is a schematic diagram of a specific implementation scheme. The data preprocessing submodule 10021 includes a first screening processing unit 100211 and a second screening processing unit 100212. Wherein:
[0221] The first screening and processing unit 100211 is used to screen and process the meteorological warning data to obtain the meteorological warning data after screening and processing, wherein the meteorological warning data after screening and processing is the effective meteorological warning data;
[0222] The second screening and processing unit 100212 is used to perform forecast unit screening on the filtered meteorological warning data to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center.
[0223] This application obtains filtered and processed meteorological warning data by screening and processing the meteorological warning data, and performs forecast unit screening and processing on the filtered and processed meteorological warning data to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center, thereby being able to obtain more accurate and useful storm surge warning information.
[0224] See also Fig.13 ,for Fig.11 Schematic diagram of a specific implementation of the identification processing submodule 10022. The identification processing submodule 10022 includes a first identification processing unit 100221 and a second identification processing unit 100222. Wherein:
[0225] The first identification processing unit 100221 is used to perform disaster identification processing on the processed meteorological warning data through meteorological disaster coding to obtain various meteorological disaster warning data;
[0226] The second identification and processing unit 100222 is used to perform storm surge identification and processing on the various meteorological disaster warning data to determine storm surge warning data.
[0227] This application performs disaster identification processing on the processed meteorological warning data through meteorological disaster coding to obtain various meteorological disaster warning data, and performs storm surge identification processing on various meteorological disaster warning data to determine storm surge warning data, so that users can accurately obtain storm surge warning data and improve work efficiency.
[0228] See also Fig.14 ,for Fig.10 The structural diagram of a specific implementation of the early warning prompt module 1003 is shown in FIG. 1 , wherein the early warning prompt module 1003 includes a parsing processing submodule 10031 and a matching processing submodule 10032.
[0229] The analysis processing submodule 10031 is used to separate and analyze the storm surge warning data by using a preset array analysis rule to obtain a storm surge warning area;
[0230] The matching processing submodule 10032 is used to perform warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area.
[0231] In this embodiment, the storm surge warning data is separated and analyzed by using a preset array analysis rule to obtain a storm surge warning area, and the storm surge warning area is matched with a warning level to obtain a warning level of the storm surge warning area, so as to better understand the storm surge situation in the storm surge warning area and take corresponding measures.
[0232] See also Fig.15 ,for Fig.14 The structural diagram of a specific implementation of the parsing processing submodule 10031 is shown in FIG. 1 , wherein the parsing processing submodule 10031 includes a first parsing processing unit 100311 and a second parsing processing unit 100312.
[0233] A first analysis processing unit 100311 is used to perform a first separation analysis processing on the storm surge warning data by using a preset array analysis rule for data, to obtain a first time storm surge warning data and / or a second time storm surge warning data, wherein the first time is less than the second time;
[0234] The second analysis and processing unit 100312 is used to perform a second separation and analysis process on the first time storm surge warning data and / or the second time storm surge warning data to obtain a storm warning area.
[0235] In this embodiment, the storm surge warning data is subjected to a first separation and analysis process through a preset array analysis rule for data to obtain first-time storm surge warning data and / or second-time storm surge warning data, and the first-time storm surge warning data and / or second-time storm surge warning data are subjected to a second separation and analysis process to obtain a storm warning area, so that more accurate information on the time and location of the storm surge can be obtained.
[0236] See also Fig.16 ,for Fig.10 The structural diagram of a specific implementation of the early warning prompt module 1003 is shown in FIG. 1 , wherein the early warning prompt module 1003 includes a first early warning prompt submodule 10033, a second early warning prompt submodule 10034, and a third early warning prompt submodule 10035. Wherein:
[0237] The first warning prompt submodule 10033 is used to issue a warning prompt to the target users in the storm surge warning area through AI phone calls and text messages if the warning level is the first warning level;
[0238] The second warning prompt submodule 10034 is used to issue a warning prompt to the warning area target of the storm surge by SMS if the warning level is the second warning level;
[0239] The third warning prompt submodule 10035 is used to issue a warning prompt to the warning area target of the storm surge through an app message notification method if the warning level is the third warning level.
[0240] In this embodiment, if the warning level of this application is the first warning level, the target users in the warning area of the storm surge will be warned through AI phone calls and text messages. If the warning level is the second warning level, the target users in the warning area of the storm surge will be warned through text messages. If the warning level is the third warning level, the target users in the warning area of the storm surge will be warned through app message notifications. Using different warning methods at different warning levels can effectively reach customers, thereby gaining the best disaster prevention time for customers.
[0241] To solve the above technical problems, the present application also provides a computer device. Fig.17 , Fig.17 This is a basic structural block diagram of the computer device in this embodiment.
[0242] The computer device 17 includes a memory 171, a processor 172, and a network interface 173 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 17 with components 171-173, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0243] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0244] The memory 171 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc.
[0245] In some embodiments, the memory 171 may be an internal storage unit of the computer device 17, such as a hard disk or memory of the computer device 17. In other embodiments, the memory 171 may also be an external storage device of the computer device 17, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 17. Of course, the memory 171 may also include both the internal storage unit of the computer device 17 and its external storage device. In this embodiment, the memory 171 is generally used to store the operating system and various application software installed on the computer device 17, such as computer-readable instructions of the storm surge warning method, etc. In addition, the memory 171 may also be used to temporarily store various types of data that have been output or are to be output. In some embodiments, the processor 172 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 172 is generally used to control the overall operation of the computer device 17. In this embodiment, the processor 172 is used to execute computer-readable instructions or process data stored in the memory 171, such as computer-readable instructions for executing the storm surge warning method.
[0246] The network interface 173 may include a wireless network interface or a wired network interface. The network interface 173 is generally used to establish a communication connection between the computer device 17 and other electronic devices.
[0247] In this embodiment, the impact data of the system in the knowledge base can be used to generate a storm surge warning for the user that is affected by the target system to be tested, so that the user can intuitively obtain the impact range of the target system to be tested. According to the impact range of the target system to be tested, the impact of the change can be evaluated more accurately and quickly, irrelevant interference points can be eliminated, and regression use cases can be streamlined to avoid missing impact points in the early stage of the evaluation, resulting in the subsequent development of various systems. When they are jointly debugged, it is found that some associations have not been processed. In the mildest case, it will take up development time to supplement the logic. In the most serious case, the solution design may need to be overturned and redone, thereby improving the efficiency of project development.
[0248] The present application also provides another embodiment, namely, providing a computer-readable storage medium, which stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the storm surge warning method as described above.
[0249] In this embodiment, the impact data of the system in the knowledge base can be used to generate a storm surge warning for the user that is affected by the target system to be tested, so that the user can intuitively obtain the impact range of the target system to be tested. According to the impact range of the target system to be tested, the impact of the change can be evaluated more accurately and quickly, irrelevant interference points can be eliminated, and regression use cases can be streamlined to avoid missing impact points in the early stage of the evaluation, resulting in the subsequent development of various systems. When they are jointly debugged, it is found that some associations have not been processed. In the mildest case, it will take up development time to supplement the logic. In the most serious case, the solution design may need to be overturned and redone, thereby improving the efficiency of project development.
[0250] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0251] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A storm surge early warning method, characterized in that: The steps include: Receive weather warning data; Performing storm surge identification processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data; The storm surge warning data is parsed and processed by using a preset array pair data parsing rule to obtain a storm surge warning area and a warning level, and based on the warning level, a warning prompt is given to target users in the storm surge warning area. The above array pair data is a linear data structure, and the array pair data uses a set of continuous memory space to store data.
2. The storm surge early warning method according to claim 1, characterized in that: The step of performing storm identification processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data includes: Performing data preprocessing on the meteorological warning data to obtain processed meteorological warning data, wherein the processed meteorological warning data is effective meteorological warning data; The processed meteorological warning data is subjected to storm surge identification processing through meteorological disaster coding to determine storm surge warning data.
3. The storm surge early warning method according to claim 2, characterized in that: The step of preprocessing the meteorological warning data to obtain processed meteorological warning data includes: Screening the meteorological warning data to obtain screened meteorological warning data, wherein the screened meteorological warning data is effective meteorological warning data; The meteorological warning data after the screening process are subjected to forecast unit screening process to determine the storm surge warning data forecasted by the National Marine Environmental Forecast Center.
4. The storm surge early warning method according to claim 3, characterized in that: The step of performing storm surge identification processing on the processed meteorological warning data through meteorological disaster coding to determine storm surge warning data includes: Performing disaster identification processing on the processed meteorological warning data through meteorological disaster coding to obtain various meteorological disaster warning data; Storm surge identification processing is performed on each of the meteorological disaster warning data to determine storm surge warning data.
5. The storm surge early warning method according to claim 4, characterized in that: The storm surge warning data is analyzed and processed by using a preset array analysis rule to obtain a storm surge warning area and warning level, including: Separate and analyze the storm surge warning data using a preset array data analysis rule to obtain a storm surge warning area; Perform warning level matching processing on the storm surge warning area to obtain the warning level of the storm surge warning area.
6. The storm surge early warning method according to claim 5, characterized in that: The storm surge warning data is separated and analyzed by using a preset array data analysis rule to obtain a storm surge warning area, including: Performing a first separation analysis process on the storm surge warning data by using a preset array data analysis rule to obtain first-time storm surge warning data and / or second-time storm surge warning data, wherein the first time is less than the second time; A second separation and analysis process is performed on the first time storm surge warning data and / or the second time storm surge warning data to obtain a storm warning area.
7. The storm surge early warning method according to claim 6, characterized in that: Providing warning prompts to target users in the storm surge warning area according to the warning level includes: If the warning level is the first warning level, the target users in the storm surge warning area will be warned via AI phone calls and text messages; If the warning level is the second warning level, a warning reminder is issued to the target area of the storm surge warning by SMS; If the warning level is the third warning level, an early warning reminder will be issued to the storm surge warning area target through app message notification.
8. A storm surge warning device, characterized in that: The storm surge warning device comprises: A receiving module, used for receiving meteorological warning data; An identification and processing module, used for performing storm surge identification and processing on the meteorological warning data through meteorological disaster coding to obtain storm surge warning data; The early warning prompt module is used to parse and process the storm surge warning data through a preset array pair data parsing rule to obtain the storm surge warning area and warning level, and according to the warning level, to issue early warning prompts to target users in the storm surge warning area. The above array pair data is a linear data structure, and the array pair data uses a set of continuous memory space to store data.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the storm surge warning method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the storm surge warning method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Resources recommendation method and device, computer equipment and storage medium
CN113590968A
Disaster early warning method and equipment
CN113920690A
Disaster prediction method and system based on text recognition
CN118312873A
Method and system for website analysis
US20050262063A1
Weather early warning text processing method, related apparatus and computer program product
WO2022127057A1
