Space-time service data early warning method and system based on multiple types of extreme weather

By constructing a spatio-temporal early warning model and combining extreme weather and enterprise operation data, the problem of single extreme weather assessment in the existing technology is solved, comprehensive assessment and early warning of enterprise operation risks under various extreme weather are achieved, and the accuracy and automation of the assessment are improved. processing power.

CN118747550APending Publication Date: 2024-10-08BEIJING DADAO ZHIJIAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410751302.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing technology mainly considers the impact of a single extreme weather in extreme weather risk assessment, which cannot be applied to areas affected by multiple extreme weathers. Moreover, extreme weather is not effectively integrated into the daily operation and maintenance early warning model of enterprises, resulting in inapplicable assessment results.

Method used

By obtaining historical monitoring data and future forecast data of multiple types of extreme weather, combined with spatio-temporal business data, machine learning algorithms are used to build a spatio-temporal early warning model, screen important attributes and characteristics, establish a business risk early warning model for various types of extreme weather, and conduct comprehensive risk assessments. and early warning.

Benefits of technology

It realizes the spatio-temporal prediction and comprehensive risk assessment of enterprise operational risks under various extreme weather conditions, has automated processing and analysis capabilities, reduces operational risks, improves the accuracy of assessment results, and has significance in guiding disaster prevention and reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747550A_ABST
    Figure CN118747550A_ABST
Patent Text Reader

Abstract

The invention discloses a time-space business data early warning method based on multiple types of extreme weather. The method comprises the following steps: acquiring historical monitoring data corresponding to the multiple types of extreme weather; carrying out standardization processing according to the time dimension and the space dimension, and carrying out parallel calculation on fusion data through a space-time dual matching algorithm; screening business data influenced by each extreme weather and performing regression simulation analysis; screening important attribute features based on a result of regression simulation analysis; respectively constructing a multi-level index system; fusing the historical monitoring index of each extreme weather and the business index data influenced by each extreme weather, performing block processing on time data in the fused index data based on the fused index data, and matching the spatial positions of the extreme weather and the business data through a spatial matrix; establishing a machine learning risk early warning model for each extreme weather; and carrying out space-time business data early warning based on the machine learning risk early warning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of machine learning model algorithms and data early warning technology, and in particular to a spatiotemporal business data early warning method and system based on multiple types of extreme weather, wherein the multiple types of extreme weather include six types of extreme weather, namely, high temperature, low temperature, strong wind, typhoon, heavy rain, and rainstorm, and in particular to the impact on the daily operations of corporate customers, in particular, early warning of daily operating indicators of enterprises in extreme weather through machine learning model algorithms. Background Art

[0002] Extreme weather has the characteristics of many types of disasters, wide geographical distribution, high frequency of sudden incidents, serious losses, and difficult to predict changes. In order to prevent and resolve the impact of extreme weather risks on daily transactions of enterprises, it is of great significance to carry out various extreme weather warning risk assessment modeling to strengthen the ability to prevent and control extreme weather disasters. At present, extreme weather risk assessment is mostly based on the extreme weather risk factor of a certain element, and only considers the impact of a single extreme weather for risk assessment and analysis. The assessment results are not applicable to areas affected by multiple extreme weather. In addition, among the existing technologies at home and abroad, few companies actively integrate extreme weather into daily operation and maintenance warning models when conducting business risk assessments.

[0003] Therefore, it is necessary to design new spatiotemporal business data early warning methods and systems based on multiple types of extreme weather, where the spatiotemporal business data is related to the daily operating indicators and business indicators of the enterprise. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention proposes a spatiotemporal business data early warning method and system based on multiple types of extreme weather. By integrating multiple types of extreme weather indicator data and enterprise operation indicator data, and constructing a spatiotemporal early warning model through a machine learning algorithm, early warning is carried out for the comprehensive risk assessment of regional operations, providing scientific and comprehensive support for the enterprise's extreme weather disaster prevention and control and daily operation weather risk management.

[0005] On one hand, the present invention provides a spatiotemporal business data early warning method based on multiple types of extreme weather, characterized in that it includes:

[0006] S1, obtain historical monitoring data corresponding to multiple types of extreme weather;

[0007] S2, standardizing the acquired historical monitoring data, weather data of future multi-type extreme weather forecasts, and spatiotemporal business data according to the time dimension and space dimension, and calculating the fused data in parallel through the spatiotemporal dual matching algorithm;

[0008] S3, based on the historical monitoring data of each extreme weather and the administrative division boundary range data, screening the business data affected by each extreme weather in the spatiotemporal business data, and performing regression simulation analysis on the business data affected by each extreme weather;

[0009] S4, selecting important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and constructing a multi-level indicator system for the important attribute characteristics based on the characteristics of extreme weather data and business data;

[0010] S5, fusing the historical monitoring indicators of each extreme weather and the business indicator data affected by each extreme weather, performing block processing on the time data based on the fused indicator data, and matching the spatial positions of the extreme weather and business data through a spatial matrix;

[0011] S6, establishing a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model;

[0012] S7, performing spatiotemporal business data warning based on the machine learning risk warning model.

[0013] Preferably, the historical monitoring data corresponding to the multiple types of extreme weather include: historical weather data of each type of extreme weather over the years, administrative boundary range data within the impact range of the multiple types of extreme weather, and business data of enterprises under various types of extreme weather; the multiple types of extreme weather include one or more of heavy rain, heavy snow, high temperature, low temperature, strong wind and heavy snow; the business data of the enterprises under various types of extreme weather include one or more of regional transaction volume, regional transaction amount, regional transaction frequency and regional transaction amount.

[0014] Preferably, S2 includes:

[0015] S21, predetermine the standards for each extreme weather assessment data, including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type, and attribute field value range;

[0016] S22, predetermining the standards for spatiotemporal business evaluation data, including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type, and attribute field value range;

[0017] S23, based on the standards of each extreme weather assessment data and the standards of spatiotemporal business assessment data, automatically verify the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained, and issue an alarm if the verification fails;

[0018] S24, after passing the verification, standardizing the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained, including:

[0019] Using a unified spatial resolution, each extreme weather data and operational data is divided into standard grid data according to geographic coordinates;

[0020] The standard grid data is stored in a dedicated database.

[0021] Preferably, S3 is: according to the six types of extreme weather selected in the enterprise operation scenario, relevant cases and technical methods are studied, exploratory analysis is conducted, historical weather data and historical transaction data that meet the conditions are sorted out according to the extreme weather scenario classification conditions, the impact of extreme weather on transactions is analyzed, and extreme weather types with insignificant impact are eliminated, including:

[0022] S31, search for historical monitoring data on extreme weather such as heavy snow, rainstorm, gale, typhoon, high temperature and low temperature in the study area in recent years, find the daily experience of enterprises under the same conditions according to the time and location information of these types of extreme weather, associate the data through the dual time-space matching algorithm, and explore whether daily operating indicators are affected by extreme weather; after setting the groups under different types of extreme weather conditions, synchronously match the data of enterprise operations under the conditions by filtering the location and date information of the cities under the grouping conditions.

[0023] S32, based on the research results and industry standards and specifications of the six types of extreme weather, the six types of extreme weather are divided into different groups; the transaction data are grouped and compared according to each type of extreme weather conditions, and the changes in transactions under different group conditions are analyzed to help determine whether this type of extreme weather has a significant impact on transactions.

[0024] Preferably, S4 includes:

[0025] S41, set reasonable extreme weather scenarios based on the characteristics of the study area and historical weather data, distinguish extreme events from normal weather activities, and use them as basic data for model training;

[0026] S42, establish an extreme weather indicator assessment method suitable for the business operation characteristics, including: based on long-term historical meteorological data, comprehensively consider indicators such as disaster conditions and regional economic conditions to classify the risk level of the target area; in view of the short and fast-changing characteristics of offline transaction cycles, design an extreme weather indicator assessment system and business operation status indicators suitable for business operations.

[0027] Preferably, S5 includes:

[0028] S51, based on the parallel computing of the time-space dual matching algorithm, grid processing is performed on the extreme weather index data and the time-space business data in both the time domain and the space domain;

[0029] S52, block processing of time data based on the big data platform Dataphin;

[0030] S53, matching and associating the spatial positions of the extreme weather index data and the spatiotemporal business data based on the block-processed data and the spatial matrix.

[0031] Preferably, the S52 includes:

[0032] Use the Dataphin big data platform to partition massive spatiotemporal business data according to time fields;

[0033] Divide massive spatiotemporal business data into layers according to the time dimension to ensure that the time dimension remains consistent;

[0034] The administrative division boundary range data is divided into n levels of grids according to geographic space, from north to south and from east to west, namely: the first grid, the second grid, ..., the nth grid; wherein the distance between the grid sizes of the first grid, the second grid, ..., the nth grid is a fixed value.

[0035] Preferably, the S53 includes:

[0036] Control the accuracy to ensure that points do not appear on boundary lines;

[0037] Use geohash to quickly obtain the coordinates of the four nearest grid points;

[0038] By calculating its distance from the four grid points, the grid point with the shortest distance is selected and the associated extreme weather attribute position is encoded.

[0039] Preferably, the feature of S6 is that it incorporates spatiotemporal indicator data, integrates extreme weather and enterprise operation data, selects optimal parameters through model training, and realizes spatiotemporal prediction of enterprise operation risks under extreme weather, including:

[0040] S61, training the machine learning risk warning model based on the basic data, dividing the data set into a test set and a validation set, using Xgboost, random forest, and Lightgbm to train the test data respectively, and selecting the optimal parameters by cross-folding;

[0041] S62, based on the optimal candidate, evaluate the accuracy on the test set and select the optimal model for prediction.

[0042] Preferably, the S7 includes:

[0043] S71, based on the deployed optimal model, firstly perform data standardization processing, detect the integrity of extreme weather forecast data and perform spatial standardization processing, detect the integrity of enterprise daily operation indicator data and perform spatial standardization processing;

[0044] S72, spatial and temporal data fusion of extreme weather indicators and enterprise operation data;

[0045] S73, transferring the fused extreme weather characteristic indicators to the optimal model for prediction to obtain early warning risk assessment of spatiotemporal business data;

[0046] S74, storing the early warning risk assessment in a risk assessment database.

[0047] The second aspect of the present invention is to provide a spatiotemporal business data early warning system based on multiple types of extreme weather, which is used to implement the method of the first aspect, including:

[0048] A historical data integration module (101) is used to obtain historical monitoring data corresponding to multiple types of extreme weather;

[0049] The multi-source heterogeneous data standardization module (102) is used to standardize the acquired historical weather data, future forecast weather data and merchant transaction data according to the time dimension and space dimension, and to calculate and fuse the data in parallel through the time-space dual matching algorithm;

[0050] A business data regression analysis module (103), used for screening business data affected by each extreme weather in the spatiotemporal business data based on the historical monitoring data of each extreme weather and the administrative division boundary range data, and performing regression simulation analysis on the business data affected by each extreme weather;

[0051] An extreme weather warning indicator system module (104) is used to select important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and to construct a multi-level indicator system for the important attribute characteristics based on the characteristics of the extreme weather data and the business data;

[0052] A spatiotemporal business data indicator fusion module (105) is used to fuse the historical monitoring indicators of each extreme weather and the business indicator data affected by each extreme weather, perform block processing on the time data therein based on the fused indicator data, and match the spatial positions of extreme weather and business data through a spatial matrix;

[0053] An extreme weather warning model building module (106) is used to establish a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model;

[0054] A spatiotemporal business data early warning module (107) is used to perform spatiotemporal business data early warning based on the machine learning risk early warning model.

[0055] The spatiotemporal business data early warning method and system based on multiple types of extreme weather provided by the present invention have the following beneficial effects:

[0056] Based on the big data platform, the historical extreme indicator data and spatiotemporal business indicator data are standardized, and then the self-developed spatiotemporal dual matching algorithm is used for parallel calculation. The standardized indicators are integrated into unified indicator feature data according to the indicator system calculation logic, and the spatiotemporal indicator data are integrated. The extreme weather and enterprise operation data are integrated into one, and the optimal parameters are selected through model training. The spatiotemporal prediction of enterprise operation risks under extreme weather is realized, and the spatiotemporal early warning capability is provided. The comprehensive risk assessment of enterprise operation risks under various extreme weather conditions can be realized, and the automatic processing and analysis of extreme weather indicators and enterprise operation data can be realized at the same time, so as to realize the comprehensive risk assessment of enterprise operation under extreme weather conditions, including:

[0057] (1) By using the spatial matrix approximate matching method, we can solve the problem of Dataphin’s lack of spatial analysis capabilities.

[0058] (2) Use a variety of machine learning algorithms to integrate a variety of extreme weather data with enterprise operation business data to achieve comprehensive risk assessment of the entire extreme weather chain;

[0059] (3) Through comprehensive assessment and early warning using multiple models, the operational risks of enterprises under extreme weather conditions can be reduced, business data affected by abnormal weather conditions can be quickly eliminated, and the efficiency of enterprises in processing abnormal data can be improved. Compared with a single extreme weather early warning model, the assessment results are more accurate and more instructive for enterprises in disaster prevention and mitigation. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a schematic flow chart of the spatiotemporal business data early warning method based on multiple types of extreme weather according to the present invention.

[0061] Figure 2 It is a schematic diagram of the overall evaluation process of the spatiotemporal big data early warning model based on multiple types of extreme weather according to the present invention.

[0062] Figure 3 This is a schematic diagram of the system structure of the early warning method based on spatiotemporal business data of multiple types of extreme weather according to the present invention. DETAILED DESCRIPTION

[0063] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0064] Embodiment 1

[0065] like Figure 1 As shown, this embodiment provides a spatiotemporal business data early warning method based on multiple types of extreme weather, including:

[0066] S1, obtain historical monitoring data corresponding to multiple types of extreme weather;

[0067] As a preferred implementation, the historical monitoring data corresponding to the multiple types of extreme weather include: historical weather data for each type of extreme weather over the years, administrative division boundary range data within the impact range of the multiple types of extreme weather, and business data of enterprises under various types of extreme weather;

[0068] As a preferred embodiment, the multiple types of extreme weather include but are not limited to rainstorm, snowstorm, high temperature, low temperature, strong wind and snowstorm;

[0069] As a preferred implementation, the business data of the enterprise under various extreme weather conditions includes but is not limited to regional transaction volume, regional transaction amount, regional transaction frequency and regional transaction amount.

[0070] S2, standardizing the acquired historical monitoring data, weather data of future multi-type extreme weather forecasts, and spatiotemporal business data according to the time dimension and space dimension, and calculating the fused data in parallel through the spatiotemporal dual matching algorithm;

[0071] S3, based on the historical monitoring data of each extreme weather and the administrative division boundary range data, screening the business data affected by each extreme weather in the spatiotemporal business data, and performing regression simulation analysis on the business data affected by each extreme weather;

[0072] S4, selecting important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and constructing a multi-level indicator system for the important attribute characteristics based on the characteristics of extreme weather data and business data;

[0073] S5, since the extreme weather index data and spatiotemporal business data have both spatial and temporal characteristics, the historical monitoring index of each extreme weather and the business index data affected by each extreme weather are fused, and the time data therein is processed in blocks based on the fused index data, and the spatial positions of the extreme weather and business data are matched through the spatial matrix;

[0074] S6, establishing a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model;

[0075] S7, performing spatiotemporal business data warning based on the machine learning risk warning model.

[0076] As a preferred embodiment, the S2 includes:

[0077] S21, predetermine the standards for each extreme weather assessment data, including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type, and attribute field value range;

[0078] S22, predetermining the standards of spatiotemporal business evaluation data (in this embodiment, operation transaction evaluation data), including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type and attribute field value range;

[0079] S23, based on the standards of each extreme weather assessment data and the standards of spatiotemporal business assessment data, automatically verify the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained, and issue an alarm if the verification fails;

[0080] S24, after passing the verification, standardizing the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained.

[0081] As a preferred implementation, the S24 includes:

[0082] Using a unified spatial resolution, each extreme weather data and operational data is divided into standard grid data according to geographic coordinates;

[0083] The standard grid data is stored in a dedicated database.

[0084] As a preferred implementation, S3 is: according to the six types of extreme weather selected in the enterprise operation scenario, relevant cases and technical methods are studied, exploratory analysis is conducted, historical weather data and historical transaction data that meet the conditions are sorted out according to the extreme weather scenario classification conditions, the impact of extreme weather on transactions is analyzed, and extreme weather types with insignificant impact are eliminated, including:

[0085] S31, first search for historical monitoring data of extreme weather such as blizzards, rainstorms, gales, typhoons, high temperatures, and low temperatures in the study area in recent years. According to the time and location information of these types of extreme weather, find the daily experience of enterprises under the same conditions, and use the time-space dual matching algorithm to associate data to explore whether daily operating indicators are affected by extreme weather. Specifically: for the six extreme weather scenarios of high temperature, low temperature, gales, typhoons, rainstorms, and blizzards, comprehensively consider the climate differences between the north and the south and the law of disaster distribution, and select the business data and historical weather of multiple provinces in the north and south for analysis. After the grouping under different types of extreme weather conditions is set, the location and date information of the cities under the grouping conditions are screened to synchronously match the data of the enterprise operation under the conditions.

[0086] S32, based on the research results and industry standards of the six types of extreme weather, the six types of extreme weather are divided into different groups. The transaction data is grouped and compared according to each type of extreme weather conditions, and the changes in transactions under different group conditions are analyzed to help determine whether this type of extreme weather has a significant impact on transactions.

[0087] As a preferred implementation, S4 includes:

[0088] S41, set reasonable extreme weather scenarios based on the characteristics of the study area and historical weather data, distinguish extreme events from normal weather activities, and use them as basic data for model training;

[0089] S42, establish an extreme weather indicator assessment method suitable for the business operation characteristics, including: based on long-term historical meteorological data, comprehensively consider indicators such as disaster conditions and regional economic conditions to classify the risk level of the target area; in view of the short and fast-changing characteristics of offline transaction cycles, design an extreme weather indicator assessment system and business operation status indicators suitable for business operations.

[0090] As a preferred implementation, S5 includes:

[0091] S51, based on the parallel computing of the time-space dual matching algorithm, grid processing is performed on the extreme weather index data and the time-space business data in both the time domain and the space domain;

[0092] S52, block processing of time data based on the big data platform Dataphin;

[0093] S53, matching and associating the spatial positions of the extreme weather index data and the spatiotemporal business data based on the block-processed data and the spatial matrix.

[0094] As a preferred implementation, the S52 includes:

[0095] Use the Dataphin big data platform to partition massive spatiotemporal business data according to time fields;

[0096] Divide massive spatiotemporal business data into layers according to the time dimension to ensure that the time dimension remains consistent;

[0097] The administrative division boundary range data is divided into n levels of grids according to geographic space, from north to south and from east to west, namely: the first grid, the second grid, ..., the nth grid; wherein the distance between the grid sizes of the first grid, the second grid, ..., the nth grid is a fixed value.

[0098] As a preferred implementation, the S53 includes:

[0099] For a certain grid, there are at most four grids around it as its neighboring grids; for data of any geographical location, it is associated with at least one grid. In theory, it can be associated with at most four grids at the same time when the precision is infinite. To avoid this situation, the precision is controlled to ensure that the point does not appear on the boundary line;

[0100] Since the Dataphin platform has no spatial analysis capabilities, the original spatial calculation requires calculating the spatial distance between the enterprise location and all grid point data, and then sorting to obtain the nearest distance. Through the above settings, the coordinates of the four nearest grid points can be quickly obtained through geohash, and then it is only necessary to calculate the distance between it and the four grid points, select the grid point with the shortest distance, and encode the associated extreme weather attribute location.

[0101] As a preferred implementation, the S6 is characterized by incorporating spatiotemporal indicator data, integrating extreme weather with business operation data, selecting optimal parameters through model training, and realizing spatiotemporal prediction of business operating risks under extreme weather conditions.

[0102] S6 includes:

[0103] S61, training the machine learning risk warning model based on the basic data, dividing the data set into a test set and a validation set, using Xgboost, random forest, and Lightgbm to train the test data respectively, and selecting the optimal parameters by cross-folding;

[0104] S62, based on the optimal candidate, evaluate the accuracy on the test set and select the optimal model for prediction.

[0105] As a preferred implementation, the S7 includes:

[0106] S71, based on the deployed optimal model, firstly perform data standardization processing, detect the integrity of extreme weather forecast data and perform spatial standardization processing, detect the integrity of enterprise daily operation indicator data and perform spatial standardization processing;

[0107] S72, spatial and temporal data fusion of extreme weather indicators and enterprise operation data;

[0108] S73, transferring the fused extreme weather characteristic indicators to the optimal model for prediction to obtain early warning risk assessment of spatiotemporal business data;

[0109] S74, storing the early warning risk assessment in a risk assessment database.

[0110] like Figure 2 The figure shows a schematic diagram of the overall evaluation process of the spatiotemporal big data early warning model based on multiple types of extreme weather in this embodiment, wherein:

[0111] 1. Data formats and standards include data format standards, metadata templates, file naming conventions, and database table structures. Data format standards include raster data GeoTiff and NetCDF, vector data include Shapefile and GPKG; spatiotemporal data include time series data and spatial data.

[0112] 2. Storage methods include file storage (including local files, object storage and distributed storage) and databases (relational, spatial and distributed databases).

[0113] 3. The exploratory analysis part includes the standardization of historical data, business data and meteorological data, as well as data analysis including missing rate, correlation and sensitivity.

[0114] 4. The indicator system includes extreme weather and user characteristics, among which user characteristics include spatial location, industry information, transaction characteristics, activity level, number of regions and regional density.

[0115] 5. The model building part includes machine learning and model training, where machine learning includes XGboost, random forest and Lightgbm methods, and model training includes parameter optimization, cross validation and loss evaluation.

[0116] 6. The model deployment part includes a series of standardized computing processes, including data set acquisition, data analysis, feature calculation, feature fusion, model evaluation and classification storage.

[0117] Embodiment 2

[0118] like Figure 3 As shown, this embodiment also provides a spatiotemporal business data early warning system based on multiple types of extreme weather, including:

[0119] The historical data integration module 101 is used to obtain historical monitoring data corresponding to various types of extreme weather;

[0120] The multi-source heterogeneous data standardization module 102 is used to standardize the acquired historical weather data, future forecast weather data and merchant transaction data according to the time dimension and space dimension, and to calculate the fused data in parallel through the time-space dual matching algorithm;

[0121] The business data regression analysis module 103 is used to filter the business data affected by each extreme weather in the spatiotemporal business data based on the historical monitoring data of each extreme weather and the administrative division boundary range data, and perform regression simulation analysis on the business data affected by each extreme weather;

[0122] The extreme weather warning indicator system module 104 is used to select important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and to construct a multi-level indicator system for the important attribute characteristics based on the characteristics of extreme weather data and business data;

[0123] The spatiotemporal business data indicator fusion module 105 is used to fuse the historical monitoring indicators of each extreme weather and the business indicator data affected by each extreme weather, block the time data based on the fused indicator data, and match the spatial positions of extreme weather and business data through a spatial matrix;

[0124] The extreme weather warning model building module 106 is used to establish a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model;

[0125] The spatiotemporal business data warning module 107 is used to perform spatiotemporal business data warning based on the machine learning risk warning model.

[0126] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A spatiotemporal business data early warning method based on multiple types of extreme weather, characterized in that: include: S1, obtain historical monitoring data corresponding to multiple types of extreme weather; S2, standardizing the acquired historical monitoring data, weather data of future multi-type extreme weather forecasts, and spatiotemporal business data according to the time dimension and space dimension, and calculating the fused data in parallel through the spatiotemporal dual matching algorithm; S3, based on the historical monitoring data of each extreme weather and the administrative division boundary range data, screening the business data affected by each extreme weather in the spatiotemporal business data, and performing regression simulation analysis on the business data affected by each extreme weather; S4, selecting important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and constructing a multi-level indicator system for the important attribute characteristics based on the characteristics of extreme weather data and business data; S5, fusing the historical monitoring indicators of each extreme weather and the business indicator data affected by each extreme weather, performing block processing on the time data based on the fused indicator data, and matching the spatial positions of the extreme weather and business data through a spatial matrix; S6, establishing a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model; S7, performing spatiotemporal business data warning based on the machine learning risk warning model.

2. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 1 is characterized in that: The historical monitoring data corresponding to the multiple types of extreme weather include: historical weather data for each type of extreme weather over the years, administrative boundary data within the impact range of the multiple types of extreme weather, and business data of enterprises under various types of extreme weather; the multiple types of extreme weather include one or more of heavy rain, heavy snow, high temperature, low temperature, strong wind and heavy snow; the business data of enterprises under various types of extreme weather include one or more of regional transaction volume, regional transaction amount, regional transaction frequency and regional transaction amount.

3. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 2 is characterized in that: The S2 includes: S21, predetermine the standards for each extreme weather assessment data, including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type, and attribute field value range; S22, predetermining the standards for spatiotemporal business evaluation data, including: spatial coordinate system, spatial data resolution, temporal resolution, attribute field name, attribute field type, and attribute field value range; S23, based on the standards of each extreme weather assessment data and the standards of spatiotemporal business assessment data, automatically verify the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained, and issue an alarm if the verification fails; S24, after passing the verification, standardizing the weather data and spatiotemporal business data of future multi-type extreme weather forecasts actually obtained, including: Using a unified spatial resolution, each extreme weather data and operational data is divided into standard grid data according to geographic coordinates; The standard grid data is stored in a dedicated database.

4. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 3 is characterized in that: S3 is: based on the six types of extreme weather selected in the enterprise operation scenarios, study the relevant cases and technical methods, conduct exploratory analysis, sort out the historical weather data and historical transaction data that meet the conditions according to the extreme weather scenario classification conditions, analyze the impact of extreme weather on transactions, and eliminate extreme weather types with insignificant impact, including: S31, search for historical monitoring data on extreme weather such as heavy snow, rainstorm, gale, typhoon, high temperature and low temperature in the study area in recent years, find the daily experience of enterprises under the same conditions according to the time and location information of these types of extreme weather, associate the data through the dual time-space matching algorithm, and explore whether daily operating indicators are affected by extreme weather; after setting the groups under different types of extreme weather conditions, synchronously match the data of enterprise operations under the conditions by filtering the location and date information of the cities under the grouping conditions. 5.S32, based on the research results and industry standards and specifications of the six types of extreme weather, the six types of extreme weather are divided into different groups; the transaction data are grouped and compared according to each type of extreme weather conditions, and the changes in transactions under different group conditions are analyzed to help determine whether this type of extreme weather has a significant impact on transactions.

6. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 4 is characterized in that: The S4 includes: S41, set reasonable extreme weather scenarios based on the characteristics of the study area and historical weather data, distinguish extreme events from normal weather activities, and use them as basic data for model training; S42, establish an extreme weather indicator assessment method suitable for the business operation characteristics, including: based on long-term historical meteorological data, comprehensively consider indicators such as disaster conditions and regional economic conditions to classify the risk level of the target area; in view of the short and fast-changing characteristics of offline transaction cycles, design an extreme weather indicator assessment system and business operation status indicators suitable for business operations.

7. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 5, characterized in that: The S5 includes: S51, based on the parallel computing of the time-space dual matching algorithm, grid processing is performed on the extreme weather index data and the time-space business data in both the time domain and the space domain; S52, block processing of time data based on the big data platform Dataphin; S53, matching and associating the spatial positions of the extreme weather index data and the spatiotemporal business data based on the block-processed data and the spatial matrix.

8. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 6 is characterized in that: The S52 includes: Use the Dataphin big data platform to partition massive spatiotemporal business data according to time fields; Divide massive spatiotemporal business data into layers according to the time dimension to ensure that the time dimension remains consistent; Divide the administrative division boundary range data into n levels of grids according to geographic space, from north to south and from east to west, namely: the first grid, the second grid, ..., the nth grid; wherein the distance between the grid sizes of the first grid, the second grid, ..., the nth grid is a fixed value; The S53 includes: Control the accuracy to ensure that points do not appear on boundary lines; Use geohash to quickly obtain the coordinates of the four nearest grid points; By calculating its distance from the four grid points, the grid point with the shortest distance is selected and the associated extreme weather attribute location is encoded.

9. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 7, characterized in that: The characteristics of S6 are that it integrates spatiotemporal indicator data, integrates extreme weather and enterprise operation data, selects optimal parameters through model training, and realizes spatiotemporal prediction of enterprise operation risks under extreme weather conditions, including: S61, training the machine learning risk warning model based on the basic data, dividing the data set into a test set and a validation set, using Xgboost, random forest, and Lightgbm to train the test data respectively, and selecting the optimal parameters by cross-folding; S62, based on the optimal candidate, evaluate the accuracy on the test set and select the optimal model for prediction.

10. The spatiotemporal business data early warning method based on multiple types of extreme weather according to claim 8, characterized in that: The S7 includes: S71, based on the deployed optimal model, firstly perform data standardization processing, detect the integrity of extreme weather forecast data and perform spatial standardization processing, detect the integrity of enterprise daily operation indicator data and perform spatial standardization processing; S72, spatial and temporal data fusion of extreme weather indicators and enterprise operation data; S73, transferring the fused extreme weather characteristic indicators to the optimal model for prediction to obtain early warning risk assessment of spatiotemporal business data; S74, storing the early warning risk assessment in a risk assessment database; A spatiotemporal business data early warning system based on multiple types of extreme weather, used to implement the early warning method according to any one of claims 1 to 9, characterized in that it comprises: A historical data integration module (101) is used to obtain historical monitoring data corresponding to multiple types of extreme weather; A multi-source heterogeneous data standardization module (102) is used to standardize the acquired historical weather data, future forecast weather data and merchant transaction data according to the time dimension and the space dimension, and to calculate and fuse the data in parallel through a time-space dual matching algorithm; A business data regression analysis module (103) is used to filter business data affected by each extreme weather in the spatiotemporal business data based on the historical monitoring data of each extreme weather and the administrative division boundary range data, and perform regression simulation analysis on the business data affected by each extreme weather; An extreme weather warning indicator system module (104) is used to select important attribute characteristics based on the historical monitoring data of each extreme weather and the results of the regression simulation analysis of the business data affected by each extreme weather; and to construct a multi-level indicator system for the important attribute characteristics based on the characteristics of the extreme weather data and the business data; A spatiotemporal business data indicator fusion module (105) is used to fuse the historical monitoring indicators of each extreme weather and the business indicator data affected by each extreme weather, perform block processing on the time data therein based on the fused indicator data, and match the spatial positions of extreme weather and business data through a spatial matrix; An extreme weather warning model building module (106) is used to establish a machine learning risk warning model for each extreme weather, wherein the machine learning risk warning model includes: a rainstorm weather business risk warning model, a snowstorm weather business risk warning model, a gale weather business risk warning model, a typhoon weather business risk warning model, a low temperature weather business risk warning model, and a high temperature business risk warning model; The spatiotemporal business data warning module (107) is used to perform spatiotemporal business data warning based on the machine learning risk warning model.

Citation Information

Cited By

  • Power grid weather and weather early warning system based on multi-data cloud platform

    CN119358773A