Risk management and control method based on big data, terminal equipment and storage medium
By constructing urban construction models to simulate rainfall and accumulated water flow, the problem of judging the safety of vehicle parking in urban waterlogging is solved, and the safety of vehicle parking and damage risks are effectively avoided.
Patent Information
- Application Number
- CN202510350804.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-07-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to accurately estimate the degree of urban waterlogging, which makes it difficult to judge the safety of vehicle parking locations and cannot effectively avoid the risk of vehicle soaking damage.
By constructing urban construction models, simulating rainfall and identifying terrain characteristics, predicting changes in water accumulation depth, determining the risk of water accumulation at the vehicle location, and guiding the vehicle to safe parking spaces and routes.
Accurate prediction and avoidance of the risk of vehicle water-soaked damage, ensuring safe parking of the vehicle and preventing damage to the greatest extent.
Smart Images

Figure CN120278515A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of big data, and particularly relates to a risk control method, a terminal device, and a storage medium based on big data. Background Art
[0002] In cities, there is often a risk of urban waterlogging after heavy rain, and correspondingly, vehicles parked in the city are at risk of being damaged by immersion.
[0003] However, the existing technology can give early warnings for urban waterlogging caused by rainfall, but it is difficult to accurately estimate the specific degree of waterlogging at each location in the city, and thus it is impossible to accurately guide the parking of each vehicle. Vehicle owners cannot determine whether the location where they park is safe, and it is difficult to avoid the risk of vehicle damage caused by immersion. Summary of the Invention
[0004] In view of this, embodiments of this application provide a risk control method, a terminal device, and a storage medium based on big data, which can solve the above technical problems.
[0005] The first aspect of the embodiments of this application provides a risk control method based on big data, and the risk control method based on big data includes:
[0006] S1: Obtain all urban construction data of a set area, and establish an urban construction model of the set area according to the construction information;
[0007] S2: When receiving a rainfall warning, obtain rainfall prediction information, where the rainfall prediction information includes a rainfall area and a rainfall amount;
[0008] S3: Simulate rainfall according to the rainfall amount in the corresponding area of the urban construction model based on the rainfall area, and generate virtual rainwater;
[0009] S4: Identify the terrain features of the urban construction model, and simulate the flow of virtual rainwater in the urban construction model according to the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model;
[0010] S5: Obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle;
[0011] S6: If so, determine a safe parking space for the vehicle and a safe route from the position where the vehicle is located to the safe parking space;
[0012] S7: Send the safe parking space and the safe route to the associated user terminal of the vehicle to guide the user to drive the vehicle to the safe parking space for parking according to the safe route.
[0013] A second aspect of the embodiments of the present application provides a terminal device, including a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor is caused to execute the steps of the risk control method based on big data.
[0014] A third aspect of the embodiments of the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor is caused to execute the steps of the risk control method based on big data.
[0015] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: The method provided by the present invention includes obtaining all urban construction data of a set area, and establishing an urban construction model of the set area based on the construction information; when a rainfall warning is received, obtaining rainfall prediction information; according to the rainfall area, simulating rainfall according to the rainfall amount in the corresponding area of the urban construction model, and generating virtual rainwater; identifying the terrain features of the urban construction model, and simulating the flow of the virtual rainwater in the urban construction model according to the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model; obtaining the position information of each parked vehicle in the set area, and further determining whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle; if so, determining a safe parking space for the vehicle, and a safe route from the position where the vehicle is located to the safe parking space; sending the safe parking space and the safe route to the associated user terminal of the vehicle, so as to guide the user to drive the vehicle to the safe parking space along the safe route; in the present application, the dynamic prediction of the water accumulation depth at each place in the future set area over time can be carried out through the constructed urban construction model and rainfall prediction information, and then it can be accurately determined whether there is a risk of water immersion damage to the vehicles parked at each position (including indoor and outdoor parking positions). If there is a risk of water immersion, a safe parking space without the risk of water immersion can be determined for it, and a safe route without the risk of water immersion can also be found on the way to the safe parking space, so as to guide the vehicle to safely reach the safe parking space, and can prevent the vehicle from being damaged by water immersion to the greatest extent and ensure the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a schematic flowchart of the implementation of the risk control method based on big data provided by the embodiments of the present application;
[0018] Figure 2 It is a schematic diagram of the implementation environment of the risk control method based on big data provided by an embodiment of the present application;
[0019] Figure 3 It is a schematic diagram of hydrodynamic simulation in the urban construction model of the risk control method based on big data provided by an embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of the first coordinate system of the risk control method based on big data provided by an embodiment of the present application;
[0021] Figure 5 It is a schematic diagram of the terminal device provided by an embodiment of the present application. Detailed implementation manners
[0022] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0023] In order to illustrate the technical solutions described in the present application, the following will be described through specific embodiments.
[0024] Figure 1 The following shows a risk control method based on big data provided by Embodiment 1 of the present application. The risk control method based on big data includes:
[0025] S1: Obtain all urban construction data of a set area, and establish an urban construction model of the set area according to the construction information;
[0026] S2: When a rainfall warning is received, obtain rainfall prediction information, where the rainfall prediction information includes the rainfall area and the rainfall amount;
[0027] S3: Simulate rainfall according to the rainfall amount in the corresponding area of the urban construction model based on the rainfall area, and generate virtual rainwater;
[0028] S4: Identify the terrain features of the urban construction model, and simulate the flow of virtual rainwater in the urban construction model according to the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model;
[0029] S5: Obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle;
[0030] S6: If so, determine a safe parking space for the vehicle and a safe route from the vehicle's current location to the safe parking space;
[0031] S7: Send the safe parking space and the safe route to the associated user terminal of the vehicle to guide the user to drive the vehicle to the safe parking space along the safe route for parking.
[0032] In this embodiment, as Figure 2 shown, this method is executed in a terminal device. The terminal device can be an independent physical server or terminal, or a server cluster composed of multiple physical servers, and can be a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage, and CDN; each vehicle and its corresponding user terminal can communicate with the terminal device, thereby realizing the interaction between the terminal device and the vehicle and its corresponding user terminal;
[0033] In this embodiment, the user terminal of the owner of each vehicle can often communicate with its vehicle. Before the terminal device establishes communication with the user terminal, the user terminal can send an application message to the terminal device to apply for the execution of this method on it. After receiving the application message, the terminal device can send authorization information to the user terminal, including the execution steps of this method and the user data required, etc. After the user terminal sends back a confirmation message, the terminal device establishes communication with the user terminal, and thus also establishes communication with its corresponding vehicle, so as to interact with the vehicle and its corresponding user terminal's driving information;
[0034] In this embodiment, the set area can be a street, a district, or an area of other scales, which is not limited here; the terminal device can monitor the information of the weather forecast platform in real time. When the weather forecast platform detects that it is about to rain (such as one hour later), it will issue a corresponding rainfall warning and generate corresponding rainfall prediction information. Then the terminal device can obtain the rainfall prediction information from it;
[0035] In this embodiment, the urban construction data includes remote sensing image data of the set area (that is, image data of the set area obtained by means such as satellite and aerial photography, which can intuitively reflect the urban spatial layout, land use status, etc.), and building design data of the set area (such as building internal structure design drawings, indoor parking lot design drawings, etc.); the above data can be retrieved from relevant institutions or databases. After collecting the above urban construction data, a urban construction model can be constructed through three-dimensional building model software (such as Autodesk Revit); since the urban construction data collected in this embodiment includes indoor data and outdoor data, the constructed urban construction model includes all parking areas inside and outside the set area;
[0036] In this embodiment, as Figure 3As shown, the flow of rainwater in the urban construction model can be simulated through hydrodynamic simulation software (such as SMS, i.e., Surface Water Modeling System), namely hydrodynamic simulation; the constructed urban construction model can be imported into the hydrodynamic simulation software, and corresponding virtual rainwater can be generated in the urban construction model according to the received rainfall area, and then the hydrodynamic simulation of the virtual rainwater can be carried out to make the virtual rainwater flow in the urban construction model;
[0037] In this embodiment, the dangerous wading depth is the critical depth at which a vehicle will be damaged by immersion; for each type of vehicle, there is a corresponding preset dangerous wading depth, which can be determined by pre-experiment, or can be determined in advance according to the relevant vehicle reports or design parameters of each vehicle;
[0038] In this application, the dynamic prediction of the water accumulation depth at each location in the future set area over time can be carried out through the constructed urban construction model and rainfall prediction information, and then it can be accurately determined whether the vehicles parked at each location (including indoor and outdoor parking locations) have the risk of being damaged by immersion. If there is an immersion risk, a safe parking space without the risk of immersion can be determined for it, and a safe route without the risk of immersion can also be available on the way to the safe parking space, so as to guide the vehicle to safely reach the safe parking space, and the occurrence of vehicle immersion damage can be prevented to the greatest extent and the safety of the vehicle can be guaranteed.
[0039] As a preferred embodiment, simulating rainfall according to the rainfall amount in the corresponding area of the urban construction model according to the rainfall area and generating virtual rainwater includes:
[0040] Identifying the model area corresponding to the rainfall area in the urban construction model, and generating a cloud model on the urban construction model so that the projection of the cloud model on the urban construction model exactly covers the model area;
[0041] Retrieving the rainfall change curve, where the abscissa of the rainfall change curve is time and the ordinate is rainfall;
[0042] After the time point corresponding to the starting end of the rainfall change curve, virtual rainwater corresponding to the rainfall amount at each time point is generated in the cloud model.
[0043] Simulating the flow of virtual rainwater in the urban construction model according to the terrain characteristics, that is, carrying out hydrodynamic simulation on all the generated simulated rainwater according to the terrain characteristics;
[0044] Determining the change trend of the water accumulation depth at each position in the urban construction model includes:
[0045] Identifying all position points on the urban construction model;
[0046] For each position point on the urban construction model, a corresponding first coordinate system is generated, where the abscissa of the first coordinate system is time and the ordinate is the water accumulation depth;
[0047] Corresponding to each time point, identify the water accumulation depth at this position point, obtain a coordinate at this time point, and mark the coordinate point corresponding to this coordinate on the first coordinate system;
[0048] Connect all the coordinate points on the first coordinate system with a smooth curve to obtain the water accumulation depth change curve of this position point.
[0049] In this embodiment, the simulated rainfall and the simulation of virtual rainwater are both simulations of rainfall and rainwater flow at future time points, that is, the time points involved in this embodiment refer to future time points; in order to obtain the simulation results in a timely manner, the entire simulation process is an accelerated simulation (the acceleration degree is set according to the hardware device).
[0050] In this embodiment, the rainfall amount is the rainfall amount in each period of the entire rainfall process, which is characterized as a rainfall amount change curve. The abscissa of this curve is the time point and the ordinate is the predicted rainfall amount value. For each rainfall amount value, a corresponding amount of virtual rainwater is preset in advance. Furthermore, the amount of virtual rainwater to be generated at this time point can be determined through the rainfall amount value at each time point. Furthermore, when the corresponding time point is simulated, the corresponding amount of virtual rainwater can be generated;
[0051] In this embodiment, after the virtual rainwater is generated at each time point, the hydrodynamic simulation of the virtual rainwater at this time point is started, that is, the virtual rainwater falls from the cloud, flows on the urban construction model, and finally is discharged (that is, flows into the sewer, etc.). Specifically, at each generated time point, identify the position environment where the virtual rainwater is located (such as in the air, on a plane, a concave surface, a slope, etc.), and perform a force analysis on the virtual rainwater based on the specific parameters of the position where it is located, such as the inclination angle, and then perform a hydrodynamic simulation on it to simulate its flow;
[0052] In this embodiment, the rainfall prediction information also includes the starting time of rainfall, the rainfall duration, etc.; as Figure 4 shown, the time span of the abscissa of the first coordinate system can be from the current time point to 1 hour, 2 hours or other durations after the rainfall ends, so as to simulate the entire rainfall process and the water accumulation situation during the periods before and after the rainfall.
[0053] As a preferred embodiment, the position information includes the vehicle type of the corresponding vehicle and the projection position point of the center of the vehicle; obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle, including:
[0054] S51: For each vehicle, retrieve the vehicle model corresponding to the vehicle model type from the vehicle model library, and obtain the dangerous wading depth of this vehicle model type;
[0055] S52: Identify the projection position point of the vehicle in the urban construction model, and move the vehicle model to a position where the center of the vehicle can be projected onto the projection position point;
[0056] S53: Project the entire vehicle model, and identify the projection area in the urban construction model;
[0057] S54: For each time point, determine the water accumulation depth of each position point in the projection area at this time point, and determine whether the water accumulation depth of all position points in the projection area is lower than the dangerous wading depth. If so, the water accumulation depth at the position where the vehicle is located will not exceed the dangerous wading depth; otherwise, the water accumulation depth at the position where the vehicle is located will exceed the dangerous wading depth;
[0058] Determining the water accumulation depth of each position point in the projection area at this time point includes:
[0059] Retrieve the water accumulation depth change curve of this position point;
[0060] Identify the water accumulation depth corresponding to this time point on the water accumulation depth change curve.
[0061] In this embodiment, vehicle models of all existing vehicles are preset in the terminal device for retrieval; the center of the vehicle is the geometric center of the vehicle. Each vehicle can determine its vehicle position based on its positioning system, and then determine the coordinates of the corresponding projection position point. After sending these coordinates to the terminal device, the vehicle model can be placed in the urban construction model according to these coordinates; each time point in this embodiment is the time point corresponding to the abscissa of the first coordinate system, and thus the whole process of checking the immersion risk can be realized; in this embodiment, the immersion risk of the vehicle's involved range (i.e., the projection area) can be monitored at each time point, and the detection process is highly refined and accurate.
[0062] As a preferred embodiment, determining a safe parking space for the vehicle and the safe route from the position where the vehicle is located to the safe parking space includes:
[0063] S61: Determine all available parking spaces in the set area;
[0064] S62: For each available parking space, predict whether the water accumulation depth in the available parking space during the rainfall process will exceed the dangerous wading depth of the vehicle. If so, exclude this available parking space;
[0065] S63: For each of the remaining available parking spaces, generate all routes from the position where the vehicle is located to this available parking space;
[0066] S64: Determine whether there is a safe route in the generated route that can enable the vehicle to safely reach the vacant parking space. If so, determine the vacant parking space as a safe parking space; if not, exclude the vacant parking space.
[0067] Determining whether there is a safe route in the generated route that can enable the vehicle to safely reach the vacant parking space includes:
[0068] S641: Query the first time point when the associated client of the vehicle departs earliest, and determine the second time point when the water depth at the location of the vehicle reaches the dangerous wading depth;
[0069] S642: Determine the departure time period between the first time point and the second time point, and determine a departure time point every other set time period within the departure time period;
[0070] S643: Select a generated route as a simulation route and display the simulation route on the urban construction model;
[0071] S644: Select the first departure time point in the departure time period;
[0072] S645: Starting from this departure time point, mobilize the vehicle model to perform simulated movement on the simulation route at a preset safe speed, and identify the projection area of the vehicle model at each time point after the departure time point;
[0073] S646: Determine the water depth of each position point in each vehicle model projection area at the corresponding time point, so as to judge whether the water depth in at least one vehicle model projection area exceeds the corresponding dangerous wading depth. If not, the simulation route is a safe route that can enable the vehicle to safely reach the vacant parking space;
[0074] S647: If so, select the next departure time point in the departure time period, and execute steps S645 to S647 until the simulation route is determined as an alternative safe route, or if the simulation route has not been determined as an alternative safe route after completing the simulation of all departure time points, then exclude the simulation route;
[0075] S648: Select another generated route as a simulation route, display the simulation route on the urban construction model, and execute steps S644 to 648 until the simulation of all routes is completed;
[0076] S649: Identify whether an alternative safe route is determined. If so, there is a safe route that can enable the vehicle to safely reach the vacant parking space, and determine the shortest alternative safe route as the safe route; otherwise, there is no safe route that can enable the vehicle to safely reach the vacant parking space.
[0077] In this embodiment, since the owner of the parked vehicle is often not in the vehicle, the time point when the vehicle starts to move after the owner arrives is uncertain. This embodiment can determine the first departure time point by querying the user terminal of the owner. Since the vehicle will be damaged by water immersion if it has not moved at the second time point, the user needs to move the vehicle between the first time point and the second time point. Therefore, this embodiment simulates this time period as the departure period. The set duration of the interval between departure time points can be 1 minute, 2 minutes or other durations. The shorter this set duration is, the more refined the prediction result will be, that is, all situations of departure times can be simulated. Determine whether the water depth in the projection area of the vehicle model exceeds the corresponding dangerous wading depth, that is, determine whether the water depth at each position point in the projection area of the vehicle model does not exceed the corresponding dangerous wading depth (the judgment method is the same as the method for determining whether the water depth at the position where the parked vehicle is located will exceed the dangerous wading depth of the vehicle, which will not be elaborated here). If so, the water depth in the projection area of the vehicle model does not exceed the corresponding dangerous wading depth; otherwise, the water depth in the projection area of the vehicle model exceeds the corresponding dangerous wading depth.
[0078] In this embodiment, corresponding safe speeds are preset for different rainfall amounts. In this embodiment, the real-time speed of the vehicle at each time point can be determined according to the rainfall amount in the rainfall prediction information to move the vehicle. This embodiment can generate a route through a navigation software. Furthermore, determining the shortest alternative safe route as the safe route can improve the transfer efficiency of the vehicle.
[0079] In this embodiment, for each vehicle, multiple safe parking spaces and corresponding safe routes may be determined. At this time, all the safe parking spaces and the corresponding safe routes can be sent to the corresponding user terminal first. After the user selects one of the parking spaces, the parking space can be removed from the available parking spaces to avoid the problem of repeated determination when determining the safe parking spaces of other vehicles.
[0080] A terminal device provided in the second embodiment of the present application includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the risk control method based on big data, specifically including:
[0081] S1: Obtain all urban construction data of a set area, and establish an urban construction model of the set area according to the construction information;
[0082] S2: When receiving a rainfall warning, obtain rainfall prediction information, where the rainfall prediction information includes the rainfall area and the rainfall amount;
[0083] S3: According to the rainfall area, simulate rainfall according to the rainfall amount in the corresponding area of the urban construction model, and generate virtual rainwater;
[0084] S4: Identify the terrain features of the urban construction model, and simulate the flow of virtual rainwater in the urban construction model according to the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model;
[0085] S5: Obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle;
[0086] S6: If so, determine a safe parking space for the vehicle and a safe route from the position where the vehicle is located to the safe parking space;
[0087] S7: Send the safe parking space and the safe route to the associated user terminal of the vehicle to guide the user to drive the vehicle to the safe parking space for parking according to the safe route.
[0088] A storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the steps of the risk control method based on big data, specifically including:
[0089] S1: Obtain all urban construction data of the set area, and establish an urban construction model of the set area according to the construction information;
[0090] S2: When receiving a rainfall warning, obtain rainfall prediction information, where the rainfall prediction information includes the rainfall area and the rainfall amount;
[0091] S3: According to the rainfall area, simulate rainfall according to the rainfall amount in the corresponding area of the urban construction model, and generate virtual rainwater;
[0092] S4: Identify the terrain features of the urban construction model, and simulate the flow of virtual rainwater in the urban construction model according to the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model;
[0093] S5: Obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle;
[0094] S6: If so, determine a safe parking space for the vehicle and a safe route from the position where the vehicle is located to the safe parking space;
[0095] S7: Send the safe parking space and the safe route to the associated user terminal of the vehicle to guide the user to drive the vehicle to the safe parking space for parking according to the safe route.
[0096] It should be understood that the sequence numbers of the steps in the above embodiments do not indicate the order of execution, and the order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0097] It should be understood that when used in the specification of the present application, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.
[0098] It should also be understood that the term "and / or" used in the specification of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0099] As used in the specification of the present application, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrases "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]" depending on the context.
[0100] In addition, in the description of the specification of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and should not be understood as indicating or implying relative importance. It should also be understood that although the terms "first", "second", etc. are used in the text in some embodiments of the present application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first table can be named the second table, and similarly, the second table can be named the first table, without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
[0101] Reference to "one embodiment" or "some embodiments" or the like described in the specification of the present application means that a specific feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0102] Figure 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As Figure 5 shown, the terminal device of this embodiment includes: at least one processor ( Figure 5 only one is shown in the figure), a memory, and a computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the steps in each of the above-mentioned embodiments of the risk control method based on big data are implemented, for example Figure 1 the steps S1 to S7 shown.
[0103] The terminal device may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 5 merely examples of the terminal device do not constitute a limitation to the terminal device, and may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the terminal device may further include an input and sending device, a network access device, a bus, etc.
[0104] The so-called processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0105] In some embodiments, the memory may be an internal storage unit of the terminal device, such as the hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory may also include both the internal storage unit and the external storage device of the terminal device. The memory is used to store an operating system, application programs, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory may also be used to temporarily store data that has been sent or will be sent.
[0106] In addition, in each embodiment of the present application, each functional unit can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0107] The embodiments of the present application provide a computer program product. When the computer program product runs on a mobile terminal device, the mobile terminal device can implement the steps in the above-mentioned various method embodiments when executed.
[0108] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-mentioned method embodiments of the present application, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0109] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0110] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0111] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A risk control method based on big data, characterized in that, The risk control method based on big data includes: S1: Obtain all urban construction data of a set area, and establish an urban construction model of the set area based on the construction information; S2: When receiving a rainfall warning, obtain rainfall prediction information, where the rainfall prediction information includes the rainfall area and the rainfall amount; S3: Simulate rainfall according to the rainfall amount in the corresponding area of the urban construction model based on the rainfall area, and generate virtual rainwater; S4: Identify the terrain features of the urban construction model, and simulate the flow of virtual rainwater in the urban construction model based on the terrain features, so as to determine the change trend of the water accumulation depth at each position in the urban construction model; S5: Obtain the position information of each parked vehicle in the set area, and then determine whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle; S6: If so, determine a safe parking space for the vehicle and a safe route from the position where the vehicle is located to the safe parking space; S7: Send the safe parking space and the safe route to the associated user terminal of the vehicle to guide the user to drive the vehicle to the safe parking space for parking according to the safe route.
2. The method according to claim 1, characterized in that, Simulating rainfall according to the rainfall amount in the corresponding area of the urban construction model based on the rainfall area and generating virtual rainwater includes: Identify the model area corresponding to the rainfall area in the urban construction model, and generate a cloud model on the urban construction model, so that the projection of the cloud model on the urban construction model just covers the model area; Retrieve the rainfall change curve, where the abscissa of the rainfall change curve is time and the ordinate is the rainfall amount; After the time point corresponding to the starting end of the rainfall change curve, generate virtual rainwater corresponding to the rainfall amount at each time point in the cloud model.
3. The method according to claim 2, wherein Simulating the flow of virtual rainwater in the urban construction model based on the terrain features, that is, performing hydrodynamic simulation on all the generated simulated rainwater according to the terrain features; Determining the change trend of the water accumulation depth at each position in the urban construction model includes: Identify all position points on the urban construction model; For each position point on the urban construction model, generate a corresponding first coordinate system, where the abscissa of the first coordinate system is time and the ordinate is the water accumulation depth; Corresponding to each time point, identify the water accumulation depth at the position point, obtain a coordinate at the time point, and mark the coordinate point corresponding to the coordinate on the first coordinate system; Connect all the coordinate points on the first coordinate system with a smooth curve to obtain the water accumulation depth change curve of the position point.
4. The method according to claim 3, wherein The position information includes the vehicle type of the corresponding vehicle and the projection position point of the center of the vehicle; Obtaining the position information of each parked vehicle in the set area, and then determining whether the water accumulation depth at the position where each vehicle is located will exceed the dangerous wading depth of the vehicle includes: S51: For each vehicle, retrieve the vehicle model corresponding to the vehicle type of the vehicle from the vehicle model library, and obtain the dangerous wading depth of the vehicle type; S52: Identify the projection position point of the vehicle in the urban construction model, and move the vehicle model to a position where the center of the vehicle can be projected onto the projection position point; S53: Project the entire vehicle model, and identify the projection area in the urban construction model; S54: For each time point, determine the water accumulation depth at each position point in the projection area at that time point, and determine whether the water accumulation depths of all position points in the projection area are lower than the dangerous wading depth. If so, the water accumulation depth at the position where the vehicle is located will not exceed the dangerous wading depth; otherwise, the water accumulation depth at the position where the vehicle is located will exceed the dangerous wading depth.
5. The method according to claim 4, characterized in that, Determining the water accumulation depth at each position point in the projection area at that time point includes: Retrieving the water accumulation depth change curve of that position point; Identifying the water accumulation depth corresponding to that time point on the water accumulation depth change curve.
6. The method according to claim 4, wherein Determining a safe parking space for the vehicle and a safe route from the position where the vehicle is located to the safe parking space includes: S61: Determine all available parking spaces in the set area; S62: For each available parking space, predict whether the water accumulation depth in the available parking space will exceed the dangerous wading depth of the vehicle during the rainfall process. If so, exclude the available parking space; S63: For each of the remaining available parking spaces, generate all routes from the position where the vehicle is located to the available parking space; S64: Determine whether there is a safe route among the generated routes that can enable the vehicle to safely reach the available parking space. If so, determine the available parking space as a safe parking space; if not, exclude the available parking space.
7. The method according to claim 6, characterized in that, Determining whether there is a safe route among the generated routes that can enable the vehicle to safely reach the available parking space includes: S641: Query the first time point when the associated user terminal of the vehicle departs earliest, and determine the second time point when the water accumulation depth at the position where the vehicle is located reaches the dangerous wading depth; S642: Determine the time period between the first time point and the second time point as the departure time period of the vehicle, and determine a departure time point at every set time interval in the departure time period; S643: Select a generated route as a simulated route and display the simulated route on the urban construction model; S644: Select the first departure time point in the departure time period; S645: Starting from the departure time point, mobilize the vehicle model to perform simulated movement on the simulated route at a preset safe speed, and identify the projection area of the vehicle model at each time point after the departure time point; S646: Determine the water accumulation depth at each position point in each vehicle model projection area at the corresponding time point, so as to determine whether the water accumulation depth in at least one vehicle model projection area exceeds the corresponding dangerous wading depth. If not, the simulated route is a safe route that can enable the vehicle to safely reach the available parking space; S647: If so, select the next departure time point in the departure time period, and execute steps S645 to S647 until the simulated route is determined as an alternative safe route, or the simulated route is not determined as an alternative safe route after completing the simulation of all departure time points, then exclude the simulated route; S648: Select another generated route as a simulated route, display the simulated route on the urban construction model, and execute steps S644 to 648 until the simulation of all routes is completed; S649: Identify whether an alternative safe route has been determined. If so, there exists a safe route that can enable the vehicle to safely reach the vacant parking space, and determine the shortest alternative safe route as the safe route. Otherwise, there is no safe route that can enable the vehicle to safely reach the vacant parking space.
8. A terminal device, characterized in that, It includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor is caused to execute the steps of the big data-based risk control method described in any one of claims 1 to 7.
9. A storage medium, characterized in that, A computer program is stored on the storage medium. When the computer program is executed by the processor, the processor is caused to execute the steps of the big data-based risk control method described in any one of claims 1 to 7.