Waterlogging early warning method and related equipment
By matching the user's real-time location and waterlogging area relationship in the PostgreSQL database, pushing flooding warning messages and visualizing the surrounding areas, the problems of mis-warning and missing warnings in the existing technology are solved, and users can accurately prevent them based on real-time locations.
Patent Information
- Application Number
- CN202411181557.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-26
AI Technical Summary
The existing flooding warning methods have mis-warning and missing warnings. The flooding areas near the vehicle cannot be visualized, and users cannot make timely and effective disaster prevention judgments based on the current location.
By obtaining the real-time location of the target user, matching it in the PostgreSQL database, determining whether there is a flood warning, and pushing a flood warning message to the user. The user can click to visualize the surrounding flooding area.
The problem of mis-warning and missing warning is solved. Users can accurately judge and prevent flooding areas based on real-time locations, improving the accuracy and timeliness of warnings.
Smart Images

Figure CN119025545A_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 waterlogging early warning method and related equipment. Background Art
[0002] When a flood warning occurs, insurance agency salespersons can usually only issue warnings based on the static position of the vehicle recorded in the auto insurance policy. However, the vehicle position often changes dynamically, so there are false warnings and missed warnings. When a certain district or county has a flood warning, the traditional way is for the salesperson to notify the car owner that the district or county has a flood warning. However, the actual situation is that not the entire district or county is a flood area. The car owner cannot visualize the specific flood area location and cannot make timely and effective disaster prevention judgments. Therefore, there is an urgent need for a flood warning method to solve the problems of false warnings and missed warnings in existing warning methods, the flood area near the vehicle cannot be visualized, and the user cannot make timely and effective disaster prevention judgments based on the current location. Summary of the invention
[0003] The purpose of the embodiment of the present application is to propose a waterlogging warning method and related equipment to solve the problems of false warnings and missed warnings in existing warning methods, the waterlogged area near the vehicle cannot be visualized, and the user cannot make timely and effective disaster prevention judgments based on the current location. Its main purpose is to push district and county waterlogging warning information based on the real-time location reported by the vehicle when a waterlogging warning occurs, and visualize the waterlogged area around the vehicle when the user clicks on the corresponding warning information, thereby accurately and effectively guiding the user to take waterlogging precautions.
[0004] In order to solve the above technical problems, the present application embodiment provides a waterlogging early warning method, which adopts the following technical solutions:
[0005] When a flood warning is received, the real-time location of the target user is obtained;
[0006] Matching the real-time location of the target user in a PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user, wherein the PostgreSQL database includes waterlogging area demarcation and an association between waterlogging areas and district and county codes;
[0007] If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to provide a waterlogging warning prompt, so that the target user can visualize the surrounding waterlogging area.
[0008] Furthermore, before matching the real-time location of the target user in the PostgreSQL database and determining whether there is a waterlogging warning at the location of the target user, the method further includes:
[0009] Get the historical waterlogging areas;
[0010] The various historical waterlogging areas are aggregated to obtain waterlogging area delineation, and the waterlogging area delineation is stored in a PostgreSQL database through a spatial geometry type.
[0011] Furthermore, after obtaining each historical waterlogged area, the method further includes:
[0012] Get the district and county code;
[0013] The waterlogged area corresponding to the district and county code is associated with each other to obtain an association relationship between the waterlogged area and the district and county code, and the association relationship between the waterlogged area and the district and county code is stored in the PostgreSQL database.
[0014] Furthermore, matching the real-time location of the target user in the PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user includes:
[0015] Performing a first matching process on the real-time location of the target user by demarcating the waterlogged area to obtain the waterlogged area to which the target user belongs;
[0016] Performing a second matching process on the waterlogged area to which the target user belongs based on the association relationship between the waterlogged area and the district and county code, to obtain the district and county to which the target user belongs;
[0017] Determine rainfall data of the district or county to which the target user belongs according to the district or county to which the target user belongs;
[0018] According to the rainfall data of the district or county to which the target user belongs, determine whether there is a waterlogging warning at the location of the target user.
[0019] Furthermore, determining whether there is a waterlogging warning at the location of the target user according to the rainfall data of the district or county includes:
[0020] If the rainfall data of the district or county to which the target user belongs is less than the preset rainfall threshold, it is determined that there is no waterlogging warning at the location of the target user;
[0021] If the rainfall data of the district or county to which the target user belongs is greater than or equal to a preset rainfall threshold, it is determined that there is a waterlogging warning at the location of the target user.
[0022] Furthermore, before pushing a waterlogging warning message to the target user to provide a waterlogging warning prompt if there is a waterlogging warning at the location of the target user, the method further includes:
[0023] The waterlogged areas of the district or county to which the target user belongs are sorted by distance from the current location of the target user, and the waterlogged areas of the district or county to which the target user belongs are visualized on the APP side.
[0024] Furthermore, if there is a waterlogging warning at the location of the target user, pushing a waterlogging warning message to the target user to provide a waterlogging warning prompt includes:
[0025] If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user. After the target user clicks on the pushed message, the surrounding waterlogging area can be visualized according to the real-time location of the target user.
[0026] In order to solve the above technical problems, the present application also provides a waterlogging early warning device, which adopts the following technical solution:
[0027] The first acquisition module is used to obtain the real-time location of the target user when receiving the waterlogging warning;
[0028] A matching processing module, used for matching the real-time location of the target user in a PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user, wherein the PostgreSQL database includes waterlogging area demarcation and an association relationship between waterlogging areas and district and county codes;
[0029] The warning prompt module is used to push a waterlogging warning message to the target user if there is a waterlogging warning at the location of the target user, so that the target user can visualize the surrounding waterlogging area.
[0030] 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:
[0031] The computer device includes a memory and a processor, the memory stores computer-readable instructions, and the processor implements the steps of the waterlogging warning method described in any one of the embodiments of the present application when executing the computer-readable instructions.
[0032] 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:
[0033] The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the waterlogging early warning method described in any one of the embodiments of the present invention are implemented.
[0034] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: when a waterlogging warning is received, the real-time location of the target user is obtained, and the real-time location of the target user is matched in the PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user. The PostgreSQL database includes the demarcation of waterlogging areas and the association between waterlogging areas and district and county codes. If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to prompt the waterlogging warning, so that the target user can visualize the surrounding waterlogging areas, which solves the problems of false warnings and missed warnings in existing warning methods, the waterlogging area near the vehicle cannot be visualized, and the user cannot make timely and effective disaster prevention judgments based on the current location. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] 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.
[0036] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0037] Figure 2 A flow chart of an embodiment of a waterlogging early warning method according to the present application;
[0038] Figure 3 yes Figure 2 A flowchart of a specific implementation method before step S202;
[0039] Figure 4 yes Figure 3 A flowchart of a specific implementation method after step S301;
[0040] Figure 5 yes Figure 2 A flowchart of a specific implementation method of step S202;
[0041] Figure 6 yes Figure 5 A flowchart of a specific implementation method of step S2024;
[0042] Figure 7 It is a structural diagram of the waterlogging early warning method of the present application;
[0043] Figure 8 is a schematic structural diagram of an embodiment of a waterlogging warning device according to the present application;
[0044] Fig. 9yes Figure 8 A schematic structural diagram of another specific implementation of the waterlogging warning device 800;
[0045] Fig.10 yes Figure 8 A schematic structural diagram of another specific implementation of the waterlogging warning device 800;
[0046] Fig.11 yes Figure 8 A schematic diagram of a specific implementation of the matching processing module 802;
[0047] Fig.12 yes Fig.11 A schematic structural diagram of a specific implementation of the second determination submodule 8024;
[0048] Fig.13 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] The terminal devices 101, 102, and 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.
[0055] 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 .
[0056] It should be noted that the waterlogging warning method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the waterlogging warning device is generally arranged in the server / terminal device.
[0057] 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.
[0058] Continue to refer Figure 2 , shows a flow chart of an embodiment of a waterlogging early warning method according to the present application. The waterlogging early warning method comprises the following steps:
[0059] Step S201: When a waterlogging warning is received, the real-time location of the target user is obtained.
[0060] In this embodiment, the waterlogging warning method is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure can receive the waterlogging 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, Wi-Fi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (Ultra Wi-Fi Band) connection, and other wireless connection methods currently known or to be developed in the future.
[0061] The above-mentioned terminal devices may be terminal devices equipped with remote interaction functions such as personal assistants and intelligent customer service.
[0062] The above-mentioned waterlogging warning method can be applied to online file push, online file management and other businesses.
[0063] Specifically, the above-mentioned electronic equipment can be used for different industry types such as medical type waterlogging warning, vehicle insurance type waterlogging warning, financial type waterlogging warning, store type waterlogging warning, etc.
[0064] Specifically, the real-time location of the target user can be obtained by the APP end, with the permission of the target user, by continuously collecting the longitude and latitude of the current location through positioning technology, such as GPS or other positioning methods.
[0065] The above-mentioned urban flooding refers to the phenomenon that waterlogging disasters occur in cities due to heavy rainfall or continuous rainfall that exceeds the city’s drainage capacity.
[0066] It should be noted that when a waterlogging warning occurs, the real-time location of the target user can be obtained so as to subsequently determine whether there is a waterlogging risk in the area where the target user is located.
[0067] Step S202: Match the real-time location of the target user in the PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user.
[0068] In this embodiment, after the electronic device obtains the real-time location of the target user, the real-time location of the target user is matched in the PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user.
[0069] The above-mentioned PostgreSQL database includes the delineation of waterlogged areas and the association between waterlogged areas and district and county codes.
[0070] The above-mentioned waterlogging area delineation is the basis for waterlogging warning. Waterlogging area delineation can be understood as the national waterlogging area delineation. There is no official public data on the national waterlogging area delineation. Insurance institutions collect waterlogging areas that have been in danger in the past. Specifically, it can be a national waterlogging area delineation formed by collecting various historical waterlogging areas and adding a certain buffer area based on a clustering algorithm. The national waterlogging area delineation is stored in the PostgreSQL database through spatial geometry types to facilitate subsequent processing of regional relationships.
[0071] The above spatial geometry type can be a geometry type, which can be understood as a spatial geometry data type used when processing spatial data in the database. The geometry type provides a rich set of spatial data types and functions, making it simple and efficient to store, query, and calculate spatial data in the database. By creating geometry objects, calculating the properties of geometry objects, and performing spatial relationship queries, you can easily handle various spatial data requirements.
[0072] The above-mentioned association between waterlogged areas and district and county codes can be understood as the intersection of the spatial geometry data representing each waterlogged area and the spatial geometry data of the boundaries of each district and county in the country stored in the PostgreSQL database through the demarcation of waterlogged areas. If the two areas intersect, it is considered that the waterlogged area belongs to the district and county, and the association between the waterlogged area and the district and county code can be obtained. The association between the waterlogged area and the district and county code is stored in the PostgreSQL database. When it is necessary to query the waterlogged area of a district and county, it can be directly queried in the relationship table according to the district and county code, which can greatly speed up the data query speed and improve the user experience.
[0073] The above-mentioned Postgr eSQL database is a free software object-relational database management system (ORDBMS) with a very complete set of features. The PostgreSQL database uses and extends the SQL language and combines many features to safely store and scale the most complex data workloads. The Postgr eSQL database is open source and has a good reputation for providing high performance and innovative solutions. In addition, the Postgr eSQL database supports a rich set of data types and custom types, with extensibility and a powerful feature set.
[0074] It should be noted that waterlogging warnings usually inform users of impending waterlogging through regional dimensions. The present invention pre-processes the waterlogged areas and the relationship between districts and counties in advance to solve the problem that the amount of data required for real-time calculation of the waterlogged areas and the relationship between districts and counties is large, and the time required to calculate the results is long when waterlogging disasters occur.
[0075] Furthermore, the spatial geometry data of each waterlogged area stored in the PostgreSQL database through waterlogging area demarcation is communicated with the spatial geometry data of the boundaries of each district and county across the country. If the two areas intersect, the waterlogged area is considered to belong to the district or county, and the relationship between the waterlogged area and the district and county code is stored in the PostgreSQL database. When it is necessary to query the waterlogged area of a district or county, you can directly query the relationship table according to the district and county code, which can greatly speed up data query speed and improve user experience.
[0076] The above district and county codes are unique codes used to identify districts and counties. District and county codes can be used as indexes of geographic location information to facilitate query, statistics and analysis of geographic data.
[0077] Specifically, the first matching processing can be performed on the real-time location of the target user through the demarcation of the waterlogging area to obtain the waterlogging area to which the target user belongs, and the second matching processing can be performed on the waterlogging area to which the target user belongs through the relationship table between the waterlogging area and the district and county codes to obtain the district and county to which the target user belongs, and based on the district and county to which the target user belongs, it is determined whether there is a waterlogging warning at the location of the target user.
[0078] Step S203: If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to provide a waterlogging warning prompt, so that the target user can visualize the surrounding waterlogging area.
[0079] In this embodiment, after obtaining a waterlogging warning about the location of the target user, the electronic device pushes a waterlogging warning message to the target user to provide a waterlogging warning prompt, so that the target user can visualize the surrounding waterlogging area.
[0080] The above-mentioned waterlogging warning messages include warning release time, warning effective time, warning expiration time and other information.
[0081] Specifically, if there is a flood warning at the target user's location, a flood warning message will be pushed to the target user to remind the target user that there is a flood warning in the district or county where the target user is located. The nearest flood area around can be visualized based on the current user location, thereby effectively assisting the car owner in preventing flooding.
[0082] In this embodiment, when a waterlogging warning occurs, the present invention can accurately push waterlogging warning information of the district or county where the user is located based on the real-time location reported by the user, thereby reducing false waterlogging warnings in the district or county caused by movement. When the user clicks on the waterlogging warning information of the district or county, the nearest waterlogging area around can be visualized based on the current user location, thereby effectively assisting the user in waterlogging prevention.
[0083] When receiving a waterlogging warning, the present application obtains the real-time location of the target user, matches the real-time location of the target user in the PostgreSQL database, and determines whether there is a waterlogging warning at the location of the target user. The PostgreSQL database includes the demarcation of waterlogging areas and the association between waterlogging areas and district and county codes. If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to prompt the waterlogging warning, so that the target user can visualize the surrounding waterlogging areas. This solves the problems of false warnings and missed warnings in existing warning methods, the inability to visualize the waterlogged areas near the vehicle, and the inability of users to make timely and effective disaster prevention judgments based on their current locations.
[0084] Continue to refer Figure 3 , showing Figure 2 A flowchart of a specific implementation method before step S202 in FIG. 1 , before step S202, the above-mentioned waterlogging early warning method further includes the following steps:
[0085] Step S301: Obtain historical waterlogging areas.
[0086] In this embodiment, the above-mentioned historical waterlogging areas may be areas where insurance institutions have reported losses due to flooding and other reasons through insurance policies in previous years, as well as waterlogging areas manually drawn by relevant personnel of various institutions.
[0087] Step S302: Collectively process all historical waterlogged areas to obtain waterlogged area delineation, and store the waterlogged area delineation in a PostgreSQL database using a spatial geometry type.
[0088] In this embodiment, a clustering algorithm plus a certain buffer area can be used to perform collective processing on various historical waterlogging areas to obtain the delineation of waterlogging areas.
[0089] The above-mentioned demarcation of waterlogged areas can be understood as the demarcation of waterlogged areas across the country.
[0090] The above-mentioned spatial geometry type may be a geomet ry type, and the geomet ry type may be understood as a spatial geometry data type used when processing spatial data in a database.
[0091] The above-mentioned PostgreSQL database is a free software object-relational database management system (ORDBMS) with a very complete set of features. The PostgreSQL database supports a variety of data types and custom types, and has scalability and a powerful feature set.
[0092] This application obtains various historical waterlogging areas and aggregates them to obtain waterlogging area delineation, and stores the waterlogging area delineation in a PostgreSQL database through spatial geometry types to facilitate subsequent processing of regional relationships.
[0093] Continue to refer Figure 4 , shown in Figure 3 After step S302, the above-mentioned waterlogging early warning method further includes the following steps:
[0094] Step S401, obtain the district and county code.
[0095] In this embodiment, the above-mentioned district and county codes are unique codes used to identify districts and counties. The district and county codes can be used as indexes of geographical location information to facilitate query, statistics and analysis of geographical data.
[0096] Step S402: perform association processing on the waterlogged areas corresponding to the district and county codes to obtain the association relationship between the waterlogged areas and the district and county codes, and store the association relationship between the waterlogged areas and the district and county codes in the PostgreSQL database.
[0097] In this embodiment, the association between the waterlogged area and the district and county code can be understood as the intersection of the spatial geometry data representing each waterlogged area and the spatial geometry data of the boundaries of each district and county in the country stored in the PostgreSQL database through the demarcation of the waterlogged area. If the two areas intersect, it is considered that the waterlogged area belongs to the district and county, and the association between the waterlogged area and the district and county code can be obtained. The association between the waterlogged area and the district and county code is stored in the PostgreSQL database. When it is necessary to query the waterlogged area of a district and county, it can be directly queried in the relationship table according to the district and county code, which can greatly speed up the data query speed and improve the user experience.
[0098] This application obtains the district and county codes, and associates the waterlogged areas corresponding to the district and county codes, thereby obtaining the association relationship between the waterlogged areas and the district and county codes, and stores the association relationship between the waterlogged areas and the district and county codes in the PostgreSQL database. When it is necessary to query the waterlogged areas of a certain district and county, you can directly query the relationship table according to the district and county code, which can greatly speed up data query speed and improve user experience.
[0099] Continue to refer Figure 5 , showing that Figure 2 Flow chart of a specific implementation of step S202 in FIG. Step S202 specifically includes the following steps:
[0100] Step S2021: Perform a first matching process on the real-time location of the target user by demarcating the waterlogged area to obtain the waterlogged area to which the target user belongs.
[0101] In this embodiment, the above-mentioned waterlogging area delineation can be understood as the national waterlogging area delineation. There is no official public data on the national waterlogging area delineation, which is obtained by insurance institutions based on the collection of waterlogging areas with historical accidents. Specifically, it can be a collection of various historical waterlogging areas, and a national waterlogging area delineation formed by adding a certain buffer area based on a clustering algorithm.
[0102] The first matching process may be understood as a process of matching or locating the geographical location of the real-time location of the target user with the waterlogged area to which it belongs.
[0103] Step S2022: Perform a second matching process on the waterlogged area to which the target user belongs based on the association relationship between the waterlogged area and the district and county code to obtain the district and county to which the target user belongs.
[0104] In this embodiment, the association relationship between the above-mentioned waterlogged areas and the district and county codes can be understood as the intersection processing of the spatial geometric data representing each waterlogged area stored in the PostgreSQL database through the demarcation of the waterlogged areas and the spatial geometric data of the boundaries of each district and county across the country. If the two areas intersect, it is considered that the waterlogged area belongs to the district and county, and the association relationship between the waterlogged area and the district and county codes can be obtained.
[0105] The second matching process mentioned above can be understood as a process of matching or locating the geographical location of the district or county to which the target user belongs in the waterlogged area.
[0106] Step S2023: Determine the rainfall data of the district or county to which the target user belongs according to the district or county to which the target user belongs.
[0107] In this embodiment, whether a district or county will have waterlogging is currently determined by rainfall data. Therefore, it is necessary to determine the rainfall data of the district or county to which the target user belongs.
[0108] The above rainfall data is understood as rainfall amount.
[0109] Step S2024: Determine whether there is a waterlogging warning at the location of the target user based on the rainfall data of the district or county to which the target user belongs.
[0110] In this embodiment, a threshold for triggering a waterlogging warning when rainfall occurs may be preset, and whether there is a waterlogging warning at the location of the target user may be determined based on the threshold for triggering a waterlogging warning when rainfall occurs.
[0111] The present application performs a first matching process on the real-time location of the target user through the demarcation of the waterlogging area to obtain the waterlogging area to which the target user belongs, and performs a second matching process on the waterlogging area to which the target user belongs through the association between the waterlogging area and the district and county code to obtain the district and county to which the target user belongs, and determines the rainfall data of the district and county to which the target user belongs based on the district and county to which the target user belongs, and determines whether there is a waterlogging warning at the location of the target user based on the rainfall data of the district and county to which the target user belongs, thereby effectively reducing false warnings of waterlogging in districts and counties.
[0112] Continue to refer Figure 6 , showing that Figure 5 Flow chart of a specific implementation of step S2024 in FIG. Step S2024 specifically includes the following steps:
[0113] Step S20241: If the rainfall data of the district or county to which the target user belongs is less than a preset rainfall threshold, it is determined that there is no waterlogging warning at the location of the target user.
[0114] In this embodiment, the preset rainfall threshold is a pre-set threshold for rainfall to trigger waterlogging warning.
[0115] Specifically, if the rainfall data of the district or county mentioned by the target user is less than the threshold value for triggering waterlogging warning due to rainfall, it is determined that there is no waterlogging warning at the location of the target user.
[0116] Step S20242: If the rainfall data of the district or county to which the target user belongs is greater than or equal to a preset rainfall threshold, it is determined that there is a waterlogging warning at the location of the target user.
[0117] In this embodiment, if the rainfall data of the district or county described by the target user is greater than or equal to the threshold value of rainfall triggering waterlogging warning, it is determined that there is a waterlogging warning at the location of the target user.
[0118] In this application, if the rainfall data of the district or county to which the target user belongs is less than the preset rainfall threshold, it is determined that there is no waterlogging warning at the location of the target user. If the rainfall data of the district or county to which the target user belongs is greater than or equal to the preset rainfall threshold, it is determined that there is a waterlogging warning at the location of the target user, which helps to improve the accuracy and timeliness of waterlogging warnings.
[0119] Optionally, before step S203, the process further includes sorting the waterlogged areas of the district or county to which the target user belongs relative to the current location of the target user, and visualizing the waterlogged areas of the district or county relative to the current location of the target user on the APP side.
[0120] In this embodiment, the number of waterlogged areas in the district and county to which the target user belongs is queried in the PostgreSQL database, and the waterlogged areas in the district and county to which the target user belongs are sorted according to their distance from the current location of the target user. Finally, the spatial geometric data of the waterlogged areas is reversed into an identifier recognizable by the front end and returned, and the waterlogged areas are visualized on the APP end.
[0121] The above-mentioned Postgr eSQL database includes the association between waterlogged areas and district and county codes, and the delineation of waterlogged areas.
[0122] This application sorts the waterlogged areas of the district or county to which the target user belongs based on their distance from the target user's current location, and visualizes the waterlogged areas of the district or county from the target user's current location on the APP side. It can visualize the surrounding waterlogged areas based on the target user's current location, thereby effectively assisting car owners in preventing waterlogging.
[0123] Optionally, step S203 includes pushing a waterlogging warning message to the target user if there is a waterlogging warning at the target user's location. After the target user clicks the pushed message, the surrounding waterlogging area can be visualized according to the target user's real-time location.
[0124] In this embodiment, if there is a waterlogging warning at the location of the target user, the target user is notified through an app message that there is a waterlogging warning in the district or county. After the target user receives the waterlogging warning, he or she can visualize the surrounding waterlogging area based on the current location by clicking on the message in the app, thereby effectively assisting the target user in preventing waterlogging.
[0125] If there is a flood warning at the location of the target user, this application will push the flood warning message to the target user. After the target user clicks the push message, the surrounding flooded area can be visualized according to the real-time location of the target user, thereby effectively assisting the car owner in preventing flooding.
[0126] Continue to refer Figure 7 , shows the architecture diagram of the waterlogging warning method according to the present application. Specifically, the present application takes automobile insurance as an example, and the waterlogging warning method includes waterlogging area demarcation, waterlogging area preprocessing, waterlogging warning message push, warning message reaching the car owner, and querying the waterlogging area near the vehicle.
[0127] In this embodiment, the above-mentioned waterlogging area delineation is the basis of the entire motor vehicle insurance waterlogging warning. The waterlogging area delineation can be understood as the national waterlogging area delineation. There is no official public data for the national waterlogging area delineation. It is formed by combining the areas where motor vehicle insurance policies have been insured due to flooding and other reasons and the waterlogging areas manually drawn by relevant personnel of various institutions, using clustering algorithms and adding certain buffer areas, and storing these regional information in the PostgreSQL database through the geometry type to facilitate subsequent processing of regional relationships.
[0128] The above-mentioned geomet ry type is a spatial geometry data type used when processing spatial data in the database.
[0129] The above-mentioned preprocessing of waterlogged areas can be understood as preprocessing the relationship between waterlogged areas and counties in advance. Waterlogging warnings usually inform car owners of impending waterlogging through the dimension of counties. There are many waterlogged areas across the country. When waterlogging disasters come, the amount of data required to calculate the relationship between waterlogged areas and counties in real time is large, and it takes a long time to calculate the results. Therefore, it is necessary to preprocess the relationship between waterlogged areas and counties in advance. Through the demarcation of waterlogged areas, the spatial geometry data representing each waterlogged area and the spatial geometry data of the boundaries of counties across the country are stored in the PostgreSQL database for intersection processing. If the two areas intersect, it is considered that the waterlogged area belongs to the county, and the relationship table between the waterlogged area and the county code is stored in the PostgreSQL database. When it is necessary to query the waterlogged area of a county, it can be directly queried according to the county code to the relationship table, which can greatly speed up data query speed and improve user experience.
[0130] The above-mentioned waterlogging warning message push can be understood as being sent to the corresponding app server in the form of a message queue, and the app server consumes the relevant information and performs subsequent processing. Currently, rainfall data is used to determine whether a county will have waterlogging. First, a rainfall threshold for triggering waterlogging warnings is set for all counties in the country. When the rainfall in a county exceeds the corresponding threshold, a warning is triggered. The warning county, release time, warning effective time, warning expiration time and other information are sent to the corresponding app server in the form of a message queue.
[0131] The above warning message reaching the car owner can be understood as notifying the car owner through the app owner-side message that there is a waterlogging warning in the district or county. The app owner-side continuously collects the longitude and latitude of the current location of the vehicle with the permission of the car owner. When the app server receives the waterlogging warning message, it determines the district or county where the vehicle is currently located based on the longitude and latitude currently reported by the vehicle, and compares the district or county calculated by the longitude and latitude with the district or county where the waterlogging warning is received by the app server. If they match, the app owner-side message notifies the car owner that there is a waterlogging warning in the district or county. Therefore, when the vehicle is moving, it can accurately and automatically warn the car owner of waterlogging disasters.
[0132] The above query of the waterlogged area near the vehicle can be understood as the owner receiving a waterlogging warning in the district or county where the vehicle is located, and visualizing the nearest waterlogged area around the vehicle by clicking on the message in the app owner terminal. After the owner receives a waterlogging warning in the district or county where the vehicle is located, by clicking on the message in the app owner terminal, firstly, the district or county where the longitude and latitude of the current vehicle is reversed, and the waterlogged area of the district or county is queried through the district or county code to the waterlogged area and district or county code table in the second step of waterlogging area preprocessing, thereby reducing the number of waterlogged areas to be queried, and then the waterlogged areas of the district or county are sorted from the current location of the vehicle, and finally the geometry of the waterlogged area is reversed into a front-end recognizable mark and returned, and the waterlogged area is visualized on the app owner terminal, thereby helping the owner to effectively prevent waterlogging.
[0133] In this embodiment, when a waterlogging warning occurs, the application can accurately push waterlogging warning information of the district or county where the vehicle is located according to the real-time location reported by the vehicle, thereby reducing false warnings of waterlogging in the district or county caused by vehicle movement. When the owner clicks on the waterlogging warning information of the district or county, the nearest waterlogging area around the vehicle can be visualized according to the current location of the owner, thereby effectively assisting the owner in waterlogging prevention.
[0134] 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.
[0135] 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.
[0136] This application belongs to the field of smart cities, and this solution can promote the construction of smart cities.
[0137] 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).
[0138] 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.
[0139] Further references Figure 8 , as a response to the above Figure 2 The present application provides an embodiment of a waterlogging early warning device, and the waterlogging early warning device embodiment is Figure 2 Corresponding to the embodiment of the waterlogging early warning method shown, the waterlogging early warning device can be specifically applied to various electronic devices.
[0140] like Figure 8 As shown, the waterlogging warning device 800 described in this embodiment includes: a first acquisition module 801, a matching processing module 802 and a warning prompt module 803. Among them:
[0141] The first acquisition module 801 is used to acquire the real-time location of the target user when receiving a waterlogging warning;
[0142] A matching processing module 802 is used to match the real-time location of the target user in a PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user, wherein the PostgreSQL database includes waterlogging area demarcation and an association between waterlogging areas and district and county codes;
[0143] The warning prompt module 803 is used to push a waterlogging warning message to the target user if there is a waterlogging warning at the location of the target user, so that the target user can visualize the surrounding waterlogging area.
[0144] In this embodiment, when receiving a waterlogging warning, the application obtains the real-time location of the target user, matches the real-time location of the target user in the PostgreSQL database, and determines whether there is a waterlogging warning at the location of the target user. The PostgreSQL database includes the demarcation of waterlogging areas and the association between waterlogging areas and county codes. If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to prompt the target user with a waterlogging warning, so that the target user can visualize the surrounding waterlogging areas, which solves the problems of false warnings and missed warnings in existing warning methods, the waterlogging area near the vehicle cannot be visualized, and the user cannot make timely and effective disaster prevention judgments based on the current location.
[0145] See also Fig. 9 ,for Figure 8 The schematic diagram of the structure of a specific implementation of the waterlogging early warning device 800 is shown in FIG. 8 . The waterlogging early warning device 800 further includes a second acquisition module 804 and a collection processing module 805 . Among them:
[0146] The second acquisition module 804 is used to acquire various historical waterlogging areas;
[0147] The collection processing module 805 is used to collect and process the various historical waterlogging areas to obtain waterlogging area delineation, and store the waterlogging area delineation in the PostgreSQL database through spatial geometry type.
[0148] In this embodiment, various historical waterlogging areas are obtained and aggregated to obtain waterlogging area delineation, and the waterlogging area delineation is stored in a PostgreSQL database through spatial geometry type to facilitate subsequent processing of regional relationships.
[0149] See also Fig.10 ,for Figure 8 The schematic diagram of the structure of a specific implementation of the waterlogging early warning device 800 is shown in FIG. 8 . The waterlogging early warning device 800 further includes a third acquisition module 806 and an association processing module 807 . Among them:
[0150] The third acquisition module 806 is used to obtain the district and county code;
[0151] The association processing module 807 is used to perform association processing on the waterlogged area corresponding to the district and county code to obtain the association relationship between the waterlogged area and the district and county code, and store the association relationship between the waterlogged area and the district and county code in the PostgreSQL database.
[0152] In this embodiment, the district and county codes are obtained, and the waterlogged areas corresponding to the district and county codes are associated with each other, thereby obtaining the association relationship between the waterlogged areas and the district and county codes, and the association relationship between the waterlogged areas and the district and county codes is stored in the PostgreSQL database. When it is necessary to query the waterlogged areas of a certain district and county, it is sufficient to directly query the relationship table according to the district and county code, which can greatly speed up the data query speed and improve the user experience.
[0153] See also Fig.11 ,for Figure 8 The matching processing module 802 is a schematic diagram of a specific implementation scheme, wherein the matching processing module 802 includes a first matching processing submodule 8021, a second matching processing submodule 8022, a first determination submodule 8023, and a second determination submodule 8024.
[0154] The first matching processing submodule 8021 is used to perform a first matching process on the real-time location of the target user through the waterlogging area demarcation to obtain the waterlogging area to which the target user belongs;
[0155] The second matching processing submodule 8022 is used to perform a second matching process on the waterlogged area to which the target user belongs based on the association relationship between the waterlogged area and the district and county code, so as to obtain the district and county to which the target user belongs;
[0156] The first determination submodule 8023 is used to determine the rainfall data of the district or county to which the target user belongs according to the district or county to which the target user belongs;
[0157] The second determination submodule 8024 is used to determine whether there is a waterlogging warning at the location of the target user based on the rainfall data of the district or county to which the target user belongs.
[0158] In this embodiment, a first matching process is performed on the real-time location of the target user through the demarcation of the waterlogging area to obtain the waterlogging area to which the target user belongs. A second matching process is performed on the waterlogging area to which the target user belongs through the association between the waterlogging area and the district and county code to obtain the district and county to which the target user belongs. Based on the district and county to which the target user belongs, the rainfall data of the district and county to which the target user belongs is determined. Based on the rainfall data of the district and county to which the target user belongs, it is determined whether there is a waterlogging warning at the location of the target user, which can effectively reduce false warnings of waterlogging in districts and counties.
[0159] See also Fig.12 ,for Fig.11 The second determination submodule 8024 is a schematic diagram of a specific implementation scheme, wherein the second determination submodule 8024 includes a first determination unit 80241 and a second determination unit 80242.
[0160] The first determining unit 80241 is configured to determine that there is no waterlogging warning at the location of the target user if the rainfall data of the district or county to which the target user belongs is less than a preset rainfall threshold;
[0161] The second determination unit 80242 is configured to determine that there is a waterlogging warning at the location of the target user if the rainfall data of the district or county to which the target user belongs is greater than or equal to a preset rainfall threshold.
[0162] In this embodiment, if the rainfall data of the district or county to which the target user belongs is less than the preset rainfall threshold, it is determined that there is no waterlogging warning at the location of the target user; if the rainfall data of the district or county to which the target user belongs is greater than or equal to the preset rainfall threshold, it is determined that there is a waterlogging warning at the location of the target user, which helps to improve the accuracy and timeliness of waterlogging warnings.
[0163] Optionally, the waterlogging warning device 800 is also used to sort the waterlogging areas of the district or county to which the target user belongs from the current location of the target user, and visualize the waterlogging areas of the district or county from the current location of the target user on the APP side.
[0164] In this embodiment, the waterlogged areas of the district or county to which the target user belongs are sorted relative to the current location of the target user, and the waterlogged areas of the district or county to which the target user belongs are visualized on the APP side. The surrounding waterlogged areas can be visualized based on the current location of the target user, thereby effectively assisting car owners in preventing waterlogging.
[0165] Optionally, the warning prompt module 803 is also used to push a waterlogging warning message to the target user if there is a waterlogging warning at the location of the target user. After the target user clicks the pushed message, the surrounding waterlogging area can be visualized according to the real-time location of the target user.
[0166] In this embodiment, if there is a flood warning at the location of the target user, a flood warning message will be pushed to the target user. After the target user clicks the pushed message, the surrounding flooded area can be visualized according to the real-time location of the target user, thereby effectively assisting the car owner in preventing flooding.
[0167] To solve the above technical problems, the present application also provides a computer device. Fig.13 , Fig.13 This is a basic structural block diagram of the computer device in this embodiment.
[0168] The computer device 13 includes a memory 131, a processor 132, and a network interface 133 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 13 having components 131-133, 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 (ASICs), field-programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, etc.
[0169] 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.
[0170] The memory 131 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.
[0171] In some embodiments, the memory 131 may be an internal storage unit of the computer device 13, such as a hard disk or memory of the computer device 13. In other embodiments, the memory 131 may also be an external storage device of the computer device 13, 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 13. Of course, the memory 131 may also include both the internal storage unit of the computer device 13 and its external storage device. In this embodiment, the memory 131 is generally used to store the operating system and various application software installed on the computer device 13, such as computer-readable instructions of the waterlogging early warning method. In addition, the memory 131 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 132 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 132 is generally used to control the overall operation of the computer device 13. In this embodiment, the processor 132 is used to execute computer-readable instructions or process data stored in the memory 131, such as computer-readable instructions for executing the waterlogging early warning method.
[0172] The network interface 133 may include a wireless network interface or a wired network interface. The network interface 133 is generally used to establish a communication connection between the computer device 13 and other electronic devices.
[0173] In this embodiment, the impact data of the system in the knowledge base can be used to generate a flood 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.
[0174] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium 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 above-mentioned waterlogging warning method.
[0175] In this embodiment, the impact data of the system in the knowledge base can be used to generate a flood 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.
[0176] 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.
[0177] 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 waterlogging early warning method, characterized in that: The steps include: When a flood warning is received, the real-time location of the target user is obtained; Matching the real-time location of the target user in a PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user, wherein the PostgreSQL database includes waterlogging area demarcation and an association between waterlogging areas and district and county codes; If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to provide a waterlogging warning prompt, so that the target user can visualize the surrounding waterlogging area.
2. The waterlogging early warning method according to claim 1, characterized in that: Before matching the real-time location of the target user in the PostgreSQL database and determining whether there is a waterlogging warning at the location of the target user, the method further includes: Get the historical waterlogging areas; The various historical waterlogging areas are aggregated to obtain waterlogging area delineation, and the waterlogging area delineation is stored in a PostgreSQL database through a spatial geometry type.
3. The waterlogging early warning method according to claim 2, characterized in that: After obtaining each historical waterlogged area, the method further includes: Get the district and county code; The waterlogged area corresponding to the district and county code is associated with each other to obtain an association relationship between the waterlogged area and the district and county code, and the association relationship between the waterlogged area and the district and county code is stored in the PostgreSQL database.
4. The waterlogging early warning method according to claim 3, characterized in that: The matching process of the real-time location of the target user in the PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user includes: Performing a first matching process on the real-time location of the target user by demarcating the waterlogged area to obtain the waterlogged area to which the target user belongs; Performing a second matching process on the waterlogged area to which the target user belongs based on the association relationship between the waterlogged area and the district and county code, to obtain the district and county to which the target user belongs; Determine rainfall data of the district or county to which the target user belongs according to the district or county to which the target user belongs; According to the rainfall data of the district or county to which the target user belongs, determine whether there is a waterlogging warning at the location of the target user.
5. The waterlogging early warning method according to claim 4, characterized in that: Determining whether there is a waterlogging warning at the location of the target user according to the rainfall data of the district or county includes: If the rainfall data of the district or county to which the target user belongs is less than the preset rainfall threshold, it is determined that there is no waterlogging warning at the location of the target user; If the rainfall data of the district or county to which the target user belongs is greater than or equal to a preset rainfall threshold, it is determined that there is a waterlogging warning at the location of the target user.
6. The waterlogging early warning method according to claim 5, characterized in that: Before pushing a waterlogging warning message to the target user to provide a waterlogging warning prompt if there is a waterlogging warning at the location of the target user so that the target user can visualize the surrounding waterlogging area, the method further includes: The waterlogged areas of the district or county to which the target user belongs are sorted by distance from the current location of the target user, and the waterlogged areas of the district or county to which the target user belongs are visualized on the APP side.
7. The waterlogging early warning method according to claim 6, characterized in that: If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user to provide a waterlogging warning prompt so that the target user can visualize the surrounding waterlogging area, including: If there is a waterlogging warning at the location of the target user, a waterlogging warning message is pushed to the target user. After the target user clicks on the pushed message, the surrounding waterlogging area can be visualized according to the real-time location of the target user.
8. A waterlogging early warning device, characterized in that: The waterlogging early warning device comprises: The first acquisition module is used to obtain the real-time location of the target user when receiving the waterlogging warning; A matching processing module, used for matching the real-time location of the target user in a PostgreSQL database to determine whether there is a waterlogging warning at the location of the target user, wherein the PostgreSQL database includes waterlogging area demarcation and an association relationship between waterlogging areas and district and county codes; The warning prompt module is used to push a waterlogging warning message to the target user if there is a waterlogging warning at the location of the target user, so that the target user can visualize the surrounding waterlogging area.
9. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the waterlogging early 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 waterlogging early warning method according to any one of claims 1 to 7 are implemented.
