A water supply analysis method and device, electronic equipment and storage medium

By forming a water supply system network and performing water supply and demand balance calculations, the problem of unclear relationships between water sources, water plants, and water users in water supply analysis has been solved, enabling rapid monitoring and early warning of water supply and demand, and improving analysis efficiency and user experience.

CN119068077BActive Publication Date: 2026-05-15GUANGDONG RES INST OF WATER RESOURCES & HYDROPOWER
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing water supply analysis methods have failed to effectively establish a holistic network connecting water sources, water plants, and water users, resulting in low efficiency in monitoring, analyzing, and providing early warnings of water supply and demand.

Method used

By obtaining the water supply relationship table, locating the water source, water plant, and water user, and assigning them different graphic labels, a water supply system network is formed. Combined with water inflow forecast data and water consumption forecast data, water supply and demand balance calculations are performed to achieve visualization and early warning labeling.

Benefits of technology

It improves the efficiency of water supply analysis and user experience, enabling rapid monitoring and early warning of water shortages, which is helpful for water resource management and drought emergency response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068077B_ABST
    Figure CN119068077B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a water supply analysis method and device, electronic equipment and storage medium, which belong to the technical field of water resource management. The method comprises the following steps: positioning the positions of water sources, water plants and water users, giving the water sources a first graphical mark, giving the water plants a second graphical mark, and giving the water users a third graphical mark; forming a water supply system network according to a water supply relationship table; in response to a first instruction, displaying the water supply system network on a water supply system display interface; performing water supply and demand balance calculation and analysis, and adding a warning mark to the water sources, the associated water plants and the water users that appear to be short of water supply on the water supply system network of the water supply system display interface; and in response to a second instruction, displaying the water supply system network on the water supply system display interface. The embodiments of the present application can improve the analysis efficiency, realize visual, rapid and clear display, be beneficial to water resource management and drought emergency treatment, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water resource management technology, and in particular to a water supply analysis method and apparatus, electronic equipment and storage medium. Background Technology

[0002] Current water supply analysis methods in the field of water resource management rely heavily on statistical tables, but these tables often contain only isolated data records and fail to form a holistic, interconnected network. In particular, the logical relationships between water sources, water treatment plants, and water users are not clearly expressed, nor are they presented through digital and visualization methods. This hinders the rapid monitoring, analysis, judgment, and early warning of water supply and demand situations. Consequently, the water supply analysis methods in related technologies suffer from reduced analytical efficiency.

[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention

[0004] The main objective of this application is to provide a water supply analysis method, apparatus, electronic device, and storage medium, aiming to improve analysis efficiency and enhance user experience.

[0005] To achieve the above objectives, one aspect of this application proposes a water supply analysis method, the method comprising the following steps:

[0006] Obtain a water supply relationship table, which includes the relationships between water sources, water plants, and water users;

[0007] Locate the positions of the water source, the water plant, and the water user; assign a first graphic marker to the water source, a second graphic marker to the water plant, and a third graphic marker to the water user;

[0008] According to the water supply relationship table, add relationship connecting lines between the first graphic mark, the second graphic mark and the third graphic mark to form a water supply system network, and the direction of the relationship connecting lines indicates the direction of water flow;

[0009] In response to the first command, the water supply system network is displayed on the water supply system display interface;

[0010] Acquire water inflow forecast data, water consumption forecast data, and current water storage status. Perform water supply and demand balance calculation and analysis based on the water inflow forecast data, water consumption forecast data, and current water storage status to obtain water balance analysis results. Add warning markers to water sources and their associated water plants and water users that show insufficient water supply in the water balance analysis results on the water supply system network of the water supply system display interface.

[0011] In response to the second instruction, the water supply system network is displayed on the water supply system display interface.

[0012] In some embodiments, the method further includes:

[0013] Acquire basic data, which includes water source data, water plant data, and water user data;

[0014] In response to the third instruction, the basic data is displayed on the water supply system display interface.

[0015] In some embodiments, the method further includes:

[0016] In response to the fourth instruction, the target location is entered into the water supply system network on the water supply system display interface. The target location is one of the following: water source, water plant, or water user.

[0017] In some embodiments, the method further includes:

[0018] At least two graphic markers are selected from the first graphic marker, the second graphic marker, and the third graphic marker in the water supply system network;

[0019] Add connection lines between selected graphic markers in the water supply system network to establish water transmission relationships;

[0020] The water transmission relationship is stored in the water supply relationship table.

[0021] In some embodiments, the method further includes:

[0022] In response to the fifth instruction, the selected graphic marker, the graphic markers associated with the selected graphic marker, and the connecting lines between the graphic markers are displayed on the water supply system display interface.

[0023] In some embodiments, the acquisition of inflow forecast data, water consumption forecast data, and current water storage status, and the subsequent water supply and demand balance calculation and analysis based on the inflow forecast data, water consumption forecast data, and current water storage status to obtain water balance analysis results, include:

[0024] Determine the forecast period and forecast time period;

[0025] Based on the prediction period and the prediction time period, obtain the inflow prediction data, water consumption prediction data and the current water storage status;

[0026] Based on the predicted water inflow data, the predicted water consumption data, and the current water storage situation, a water supply and demand balance calculation and analysis is performed on the water source to determine whether there is a water supply shortage.

[0027] If a water supply shortage occurs, the time period during which the water source maintains a normal water supply, the time period during which the water supply shortage occurs, the water source with the water shortage and its associated water plant and water user will be used as the results of the water balance analysis.

[0028] In some embodiments, the water source includes water storage and runoff types. The step of performing a water supply and demand balance calculation and analysis on the water source based on the predicted inflow data, the predicted water consumption data, and the current water storage status to determine whether a water supply shortage occurs includes:

[0029] If the water source is a water storage type, the dead storage capacity of the reservoir is obtained. The water supply and demand balance of the water source is calculated and analyzed using the water storage formula based on the predicted inflow data, the predicted water consumption data, and the current water storage situation. The water storage volume of the reservoir at the end of the time period is obtained. If the water storage volume of the reservoir at the end of the time period is less than the dead storage capacity of the reservoir, then there is a water shortage.

[0030] If the water source is runoff, the minimum flow rate standard for water intake is obtained. Based on the predicted inflow data, water consumption data, and current water storage conditions, the water supply and demand balance of the water source is calculated and analyzed using the runoff formula to obtain the predicted runoff of the river intake section. If the predicted runoff of the river intake section is less than the minimum flow rate standard for water intake, there is a water shortage.

[0031] To achieve the above objectives, another aspect of this application provides a water supply analysis device, the device comprising:

[0032] The relationship acquisition module is used to acquire the water supply relationship table, which includes the association between water sources, water plants and water users;

[0033] The marking module is used to locate the water source, the water plant, and the water user, assign a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user;

[0034] The network generation module is used to add relationship connecting lines between the first graphic mark, the second graphic mark, and the third graphic mark according to the water supply relationship table to form a water supply system network, wherein the direction of the relationship connecting lines indicates the direction of water flow.

[0035] The first display module is used to display the water supply system network on the water supply system display interface in response to the first command;

[0036] The analysis module is used to acquire water inflow forecast data, water consumption forecast data, and current water storage status. Based on the water inflow forecast data, water consumption forecast data, and current water storage status, it performs water supply and demand balance calculation and analysis to obtain water balance analysis results. On the water supply system network of the water supply system display interface, it adds warning markers to water sources with insufficient water supply and their associated water plants and water users in the water balance analysis results.

[0037] The second display module is used to display the water supply system network on the water supply system display interface in response to the second command.

[0038] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.

[0039] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.

[0040] The embodiments of this application include at least the following beneficial effects: This application provides a water supply analysis method and apparatus, electronic device, and storage medium. This solution obtains a water supply relationship table; locates the positions of water sources, water plants, and water users; assigns a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user; adds connection lines between the first, second, and third graphic marks according to the water supply relationship table to form a water supply system network; in response to a first instruction, displays the water supply system network on the water supply system display interface, achieving a visual and clear display, which is beneficial for water resource management and improves user experience; obtains inflow forecast data, water usage forecast data, and current water storage status; performs water supply and demand balance calculation and analysis based on the inflow forecast data, water usage forecast data, and current water storage status to obtain water balance analysis results, which is beneficial for improving analysis efficiency; adds warning marks to water sources and their associated water plants and water users with insufficient water supply in the water balance analysis results on the water supply system network of the water supply system display interface; in response to a second instruction, displays the water supply system network on the water supply system display interface, which is beneficial for water resource management and drought emergency response, and improves user experience. Attached Figure Description

[0041] Figure 1 This is a flowchart of the water supply analysis method provided in the embodiments of this application;

[0042] Figure 2 This is a flowchart illustrating the basic data display steps of the water supply analysis method provided in this application embodiment;

[0043] Figure 3 This is a flowchart of the steps for displaying the water supply system interface in the water supply analysis method provided in this application embodiment;

[0044] Figure 4 This is a flowchart of the steps for establishing a water transport relationship in the water supply analysis method provided in the embodiments of this application;

[0045] Figure 5 yes Figure 1 The flowchart of step S105 in the process;

[0046] Figure 6 yes Figure 5 The flowchart of step S503 in the process;

[0047] Figure 7 This is a flowchart of the water supply analysis method provided in the embodiments of this application;

[0048] Figure 8 This is a schematic diagram of the water inflow forecast data, water consumption forecast data, and current water storage status provided in the embodiments of this application;

[0049] Figure 9 This is a schematic diagram of the water supply analysis device provided in the embodiments of this application;

[0050] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0052] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0053] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0055] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.

[0056] 1) Geographic Information System (GIS) is a technical system for collecting, storing, managing, processing, analyzing, displaying, and describing geographic distribution data in the entire or part of the Earth's surface (including the atmosphere).

[0057] Current water supply analysis methods in the field of water resource management rely heavily on statistical tables, but these tables often contain only isolated data records and fail to form a holistic, interconnected network. In particular, the logical relationships between water sources, water treatment plants, and water users are not clearly expressed, nor are they presented through digital and visualization methods. This hinders the rapid monitoring, analysis, judgment, and early warning of water supply and demand situations. Consequently, the water supply analysis methods in related technologies suffer from reduced analytical efficiency.

[0058] In summary, the technical problems existing in the relevant technologies need to be improved.

[0059] In view of this, this application provides a water supply analysis method and apparatus, electronic device and storage medium. This solution obtains a water supply relationship table; locates the positions of water sources, water plants and water users; assigns a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user; adds connection lines between the first, second and third graphic marks according to the water supply relationship table to form a water supply system network; responds to a first instruction and displays the water supply system network on the water supply system display interface, achieving a visual and clear display, which is beneficial for water resource management and improves user experience; obtains inflow forecast data, water usage forecast data and current water storage status; performs water supply and demand balance calculation and analysis based on the inflow forecast data, water usage forecast data and current water storage status to obtain water balance analysis results, which is beneficial for improving analysis efficiency; adds warning marks to water sources and their associated water plants and water users with insufficient water supply in the water balance analysis results on the water supply system network of the water supply system display interface; responds to a second instruction and displays the water supply system network on the water supply system display interface, which is beneficial for water resource management and drought emergency response, and improves user experience.

[0060] The water supply analysis method provided in this application relates to the field of water resource management technology. The water supply analysis method provided in this application can be applied to a terminal, a server, or software running on a terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application that implements the water supply analysis method, but is not limited to the above forms.

[0061] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0062] Figure 1 This is an optional flowchart of the water supply analysis method provided in the embodiments of this application. Figure 1 The method may include, but is not limited to, steps S101 to S106.

[0063] Step S101: Obtain the water supply relationship table.

[0064] Specifically, the water supply relationship table includes the relationship between water sources, water plants and water users. Water sources include rivers, lakes, reservoirs and ponds. Water plants include water plants that provide water treatment services and water diversion projects that provide water transmission and distribution. Water users include irrigation districts, counties (districts), towns (streets), villages, enterprises and individuals.

[0065] In some embodiments, basic data on water sources, water plants, and water users, as well as water supply relationship tables, are collected and organized.

[0066] It should be noted that the water supply relationship table also includes the relationship between water sources and water users.

[0067] In some embodiments, the relationship between water source, water plant, and water user represents the process of drawing water from the water source, treating it at the water plant, and delivering it to the water user; the relationship between water source and water user represents the process of the water user drawing water directly from the water source.

[0068] Optionally, the accuracy of the location of water sources, water plants, and water users can be improved through more detailed geographic information system (GIS) data or field surveys.

[0069] In this embodiment, a water supply relationship table is obtained to improve the accuracy and completeness of the data, thus preparing for the subsequent generation of the water supply system network.

[0070] Step S102: Locate the positions of the water source, water plant, and water user; assign a first graphic mark to the water source; assign a second graphic mark to the water plant; and assign a third graphic mark to the water user.

[0071] In some embodiments, the locations of water sources, water plants, and water users are located using a map.

[0072] Alternatively, the locations of water sources, water plants, and water users can be located using a Geographic Information System (GIS) or Google Maps.

[0073] The process begins by calling the geocoding service API, sending a request with the location name as the input parameter. The API returns the geographic coordinates that match the input name, along with other relevant information. After receiving the geocoding service API response, the returned data is parsed, and the matched location name, geographic coordinates, and range information are extracted. The parsed geographic coordinates and range are then applied to the corresponding map tools, such as Google Maps or ArcGIS Pro.

[0074] Understandably, users can also determine the location of water sources, water plants, and water users.

[0075] In some embodiments, different graphic markers are added to each node (water source, water plant, water user) on the map to distinguish different types of node locations. Specifically, water sources are assigned a first graphic marker, water plants are assigned a second graphic marker, and water users are assigned a third graphic marker.

[0076] Optionally, the location of water sources, water plants, and water users can be updated in real time through Internet of Things (IoT) technology, thereby improving response speed and feedback capabilities.

[0077] In this embodiment, the locations of water sources, water plants, and water users are identified. A first graphic marker is assigned to the water source, a second graphic marker to the water plant, and a third graphic marker to the water user. The graphic markers on the map help to intuitively display the spatial layout and relationships of the water supply system, improve the user experience, and help users formulate strategies.

[0078] Step S103: Add connection lines between the first graphic mark, the second graphic mark, and the third graphic mark according to the water supply relationship table to form a water supply system network.

[0079] Specifically, the direction of the connecting line indicates the direction of water flow.

[0080] In some embodiments, a relationship line is drawn on a map connecting water sources, water plants, and water users, based on a water supply relationship table.

[0081] Furthermore, a water supply system network is generated, displaying the connections and flow paths between different nodes (water sources, water plants, and water users).

[0082] Specifically, by utilizing the network analysis capabilities of a Geographic Information System (GIS) and employing the "Generate Origin-Destination Links" tool, the relationships between the origin and destination elements in the water supply relationship ternary matrix (water source, water plant, water user) are converted into topological relationships of nodes and edges in GIS. This enables the generation of a single map of the water supply network, which can intuitively reflect the flow of water resources within the water supply system, including the origin, destination, and intermediate transmission paths of the water flow.

[0083] In this embodiment, connection lines are added between the first graphic marker, the second graphic marker, and the third graphic marker according to the water supply relationship table to form a water supply system network, which prepares for the subsequent display of the water supply system network.

[0084] Step S104: In response to the first instruction, the water supply system network is displayed on the water supply system display interface.

[0085] Specifically, the first instruction is to open or refresh the water supply system display interface, which is used to display the water supply system display interface.

[0086] In this embodiment, in response to the first instruction, the water supply system network is displayed on the water supply system display interface, providing users with visual information and improving the user experience.

[0087] Step S105: Obtain water inflow forecast data, water usage forecast data, and current water storage status. Based on the water inflow forecast data, water usage forecast data, and current water storage status, perform water supply and demand balance calculation and analysis to obtain water balance analysis results. On the water supply system network of the water supply system display interface, add warning markers for water sources with insufficient water supply and their associated water plants and water users in the water balance analysis results.

[0088] Specifically, the water inflow forecast data includes the predicted daily water inflow to the reservoir, the water consumption forecast data includes the predicted daily water consumption, and the current water storage status includes the reservoir storage at the beginning of the period and the water loss.

[0089] Optionally, the reservoir water supply can be determined based on the predicted daily water consumption and water loss. The reservoir water supply can be the sum of the predicted daily water consumption and water loss.

[0090] In some embodiments, a prediction period and a prediction time period are determined; water inflow prediction data, water consumption prediction data, and current water storage status are obtained based on the prediction period and prediction time period; water supply and demand balance calculation and analysis are performed on the water source based on the water inflow prediction data, water consumption prediction data, and current water storage status to determine whether there is a water supply shortage; if there is a water supply shortage, the time period during which the water source maintains normal water supply, the time period during which the water supply shortage occurs, the water source with the water supply shortage and its associated water plant and water user are taken as the water balance analysis results.

[0091] Optionally, if the water source is a water storage type, the dead storage capacity of the reservoir is obtained, and the water supply and demand balance of the water source is calculated and analyzed based on the inflow forecast data, water consumption forecast data and the current water storage situation using the water storage formula to obtain the water storage volume of the reservoir at the end of the time period. If the water storage volume of the reservoir at the end of the time period is less than the dead storage capacity of the reservoir, then there is a water shortage.

[0092] Furthermore, if the water source is runoff, the minimum intake flow standard is obtained. Using the runoff formula, based on inflow forecast data, water usage forecast data, and current water storage conditions, a water supply and demand balance calculation analysis is performed to obtain the predicted river intake cross-section runoff. If the predicted river intake cross-section runoff is less than the minimum intake flow standard, a water shortage occurs. Specifically, the water supply and demand balance calculation analysis is performed using the following water storage formula based on the water balance principle:

[0093] Predicted runoff = Current water storage + Predicted inflow - Predicted water consumption

[0094] It should be noted that by performing water supply and demand balance calculations and analyses on a time-by-time basis according to the prediction cycle and prediction period, the time (days, ten days, months) for maintaining normal water supply and the time nodes when water supply disruptions occur can be obtained.

[0095] Understandably, if a water shortage occurs, the time period during which the water source maintains normal water supply, the time period during which the water shortage occurs, the water source with the water shortage and its associated water plants and water users will be used as the results of the water balance analysis. Warning markers will be added to the water source with the water shortage and its associated water plants and water users in the water balance analysis results on the water supply system network of the water supply system display interface.

[0096] In this embodiment, water inflow forecast data, water consumption forecast data, and current water storage status are acquired. Based on the water inflow forecast data, water consumption forecast data, and current water storage status, water supply and demand balance calculation and analysis are performed to obtain water balance analysis results, which helps improve analysis efficiency. On the water supply system network of the water supply system display interface, warning marks are added to water sources with insufficient water supply and their associated water plants and water users in the water balance analysis results. By marking and warning of water supply problems, users can discover water supply problems and improve user experience.

[0097] Step S106: In response to the second instruction, the water supply system network is displayed on the water supply system display interface.

[0098] Specifically, the second instruction is to open or refresh the water supply system display interface, which is used to display the water supply system display interface.

[0099] In this embodiment, in response to the second instruction, the water supply system network is displayed on the water supply system display interface, providing users with visual information, improving user experience, and facilitating users in water resource management and drought emergency response.

[0100] Steps S101 to S106 as shown in this embodiment involve: obtaining a water supply relationship table; locating the positions of water sources, water plants, and water users; assigning a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user; adding connection lines between the first, second, and third graphic marks according to the water supply relationship table to form a water supply system network; displaying the water supply system network on the water supply system display interface in response to a first instruction, achieving a visual and clear display, which is beneficial for water resource management and improves user experience; obtaining inflow forecast data, water usage forecast data, and current water storage status; performing water supply and demand balance calculation and analysis based on the inflow forecast data, water usage forecast data, and current water storage status to obtain water balance analysis results, which is beneficial for improving analysis efficiency; adding warning marks to water sources and their associated water plants and water users that show insufficient water supply in the water balance analysis results on the water supply system network on the water supply system display interface; and displaying the water supply system network on the water supply system display interface in response to a second instruction, which is beneficial for water resource management and drought emergency response and improves user experience.

[0101] Please see Figure 2 In some embodiments, the water supply analysis method provided in this application further includes a step of displaying basic data, which may include, but is not limited to, steps S201 to S202:

[0102] Step S201: Obtain basic data.

[0103] Specifically, the basic data includes water source data, water plant data, and water user data. Water source data covers catchment area, reservoir capacity, and runoff according to the type of water source. Water plant data covers the designed water supply scale and the actual water supply scale. Water user data covers population and economic level according to the type of water user.

[0104] In step S201 of some embodiments, water source data, water plant data, and water user data are collected and organized.

[0105] In step S202, in response to the third instruction, basic data is displayed on the water supply system display interface.

[0106] Specifically, the third instruction is a selection instruction for the first graphic mark, the second graphic mark, or the third graphic mark, used to display the basic data corresponding to the selected graphic mark on the water supply system display interface.

[0107] In this embodiment, in response to the third instruction, basic data is displayed on the water supply system display interface, which helps users understand the information of water sources, water plants and water users, and facilitates water resource management.

[0108] Please see Figure 3 In some embodiments, the water supply analysis method provided in this application further includes a step of displaying a water supply system display interface. This step may include, but is not limited to, steps S301 to S302:

[0109] Step S301: In response to the fourth instruction, the target location is entered into the water supply system network on the water supply system display interface.

[0110] Specifically, the target location is selected from one of the following: water source, water plant, or water user. The fourth instruction is the selection instruction for a blank space, which is used to create the target location.

[0111] In step S301 of some embodiments, the target location is entered into the water supply system network on the water supply system display interface. It is understood that if the target location is a water source type, the target location includes a first graphic marker.

[0112] In step S302, in response to the fifth instruction, the selected graphic marker, the graphic markers that are related to the selected graphic marker, and the connecting lines between the graphic markers are displayed on the water supply system display interface.

[0113] Specifically, the fifth instruction is the selection instruction for the marker, which is used to display the selected graphic marker, the graphic markers that are related to the selected graphic marker, and the connecting lines between the graphic markers.

[0114] In step S302 of some embodiments, the selected graphic marker, the graphic markers associated with the selected graphic marker, and the connecting lines between the graphic markers can be highlighted by color or symbols.

[0115] Please see Figure 4 In some embodiments, the water supply analysis method provided in this application further includes a step of establishing a water transmission relationship, which may include, but is not limited to, steps S401 to S403:

[0116] Step S401: Select at least two graphic markers from the first graphic marker, the second graphic marker, and the third graphic marker of the water supply system network.

[0117] In step S401 of some embodiments, two graphic markers are selected sequentially in the water supply system network.

[0118] Step S402: Add connection lines between the selected graphic markers in the water supply system network to establish water transmission relationships.

[0119] In step S402 of some embodiments, in response to the sixth instruction, a connection line is added between the selected graphic markers to establish a water supply relationship. The sixth instruction is a selection instruction for two graphic markers.

[0120] Specifically, by utilizing the network analysis function of the Geographic Information System (GIS) and using the "Generate Start-Destination Link" tool, the relationship between the start and end points in the water transfer relationship is converted into the topological relationship of points (nodes) and lines (edges) in GIS.

[0121] Step S403: Store the water transmission relationship in the water supply relationship table.

[0122] Please see Figure 5 In some embodiments, step S105 may also include, but is not limited to, steps S501 to S504:

[0123] Step S501: Determine the forecast period and forecast time period.

[0124] In step S501 of some embodiments, the prediction period and prediction time period are determined by the user, and the prediction period includes natural cycles.

[0125] For example, the forecast period is the dry season, and the forecast period is in days.

[0126] Step S502: Obtain water inflow forecast data, water consumption forecast data, and current water storage status based on the forecast cycle and forecast period.

[0127] In step S502 of some embodiments, water inflow prediction data is obtained using hydrological models, meteorological data, and topographic analysis; water use prediction data is obtained by collecting historical water use data and predicting future water demand; and the current water storage status is obtained by recording the real-time water volume of the reservoir or water source.

[0128] Step S503: Based on the water inflow forecast data, water consumption forecast data, and current water storage conditions, perform a water supply and demand balance calculation and analysis to determine whether there is a water supply shortage.

[0129] In step S503 of some embodiments, a water balance equation is used to compare the predicted inflow and outflow data, and combine them with the existing water storage to calculate the water supply and demand balance within the prediction period and prediction time period.

[0130] In this embodiment, the water supply and demand balance is calculated and analyzed based on the water inflow forecast data, water consumption forecast data, and current water storage conditions to determine whether there is a water shortage. This helps to identify potential water shortages in a timely manner, enabling users to take preventive measures or adjust their water supply strategies.

[0131] Step S504: If water supply shortage occurs, the time period during which the water source maintains normal water supply, the time period during which the water supply shortage occurs, the water source with the water shortage and its associated water plant and water user are taken as the results of the water balance analysis.

[0132] In step S504 of some embodiments, the water balance analysis results record the water supply status of the water source and its impact on water plants and water users in different time periods; and record the performance of the water source under normal and insufficient water supply conditions.

[0133] Please see Figure 6 In some embodiments, step S503 includes, but is not limited to, steps S601 to S602:

[0134] Step S601: If the water source is a water storage type, obtain the dead storage capacity of the reservoir. Based on the water inflow forecast data, water consumption forecast data, and current water storage status, perform water supply and demand balance calculation and analysis on the water source using the water storage formula to obtain the reservoir water storage at the end of the time period. If the reservoir water storage at the end of the time period is less than the dead storage capacity of the reservoir, there is a water shortage.

[0135] Specifically, water sources include water storage sources and runoff sources. Dead storage capacity refers to the storage capacity below the bottom of the reservoir that is difficult to use directly. Dead storage capacity is a key parameter for determining the minimum effective water storage capacity of a reservoir.

[0136] In step S601 of some embodiments, the dead storage capacity of the reservoir is obtained through engineering design documents or hydraulic records.

[0137] Optionally, the water supply and demand balance can be calculated and analyzed based on the principle of water balance using the following water storage formula:

[0138] Vbeginning of time period + Winflow - Wsupply = Vend of time period

[0139] Wherein, V_initial is the reservoir's water storage at the beginning of the period, W_inflow is the predicted daily water inflow into the reservoir, W_supply is the reservoir's water supply, and V_end is the reservoir's water storage at the end of the period.

[0140] Furthermore, the calculated reservoir water storage at the end of the time period is compared with the dead storage capacity of the reservoir. If the reservoir water storage at the end of the time period is less than the dead storage capacity, it is determined that there is insufficient water.

[0141] Step S602: If the water source is runoff, obtain the minimum flow standard for water intake at the water intake point. Based on the predicted inflow data, predicted water usage data, and current water storage conditions, perform a water supply and demand balance calculation and analysis on the water source using the runoff formula to obtain the predicted runoff at the river intake section. If the predicted runoff at the river intake section is less than the minimum flow standard for water intake at the water intake point, there will be insufficient water.

[0142] Specifically, the minimum flow standard for water intakes is a key indicator of the river's ecological environment and water intake function.

[0143] In step S602 of some embodiments, the minimum flow standard for the water intake is obtained through a water resource management plan.

[0144] Optionally, the runoff volume at the river intake section can be calculated using a runoff formula.

[0145] Furthermore, if the predicted flow rate at the river intake section is less than the minimum flow rate standard at the intake point, it is considered that there is insufficient water.

[0146] Figure 7 This is an optional flowchart of the water supply analysis method provided in the embodiments of this application. Figure 7 The methods may include, but are not limited to, the following steps.

[0147] Step 1: Compile a table showing the water supply relationships.

[0148] For example, the water supply relationship table is shown in Table 1 below:

[0149] Table 1

[0150] water source Water plant name water users Reservoir A D Waterworks Co., Ltd. F Pulp & Paper Co., Ltd. B Reservoir D Waterworks Co., Ltd. B Reservoir Irrigation Area Reservoir A C Water Supply Company G Street Reservoir A C Water Supply Company P Street Reservoir A C Water Supply Company U Street

[0151] Step two, locate the location on the map.

[0152] The process involves calling the geocoding service API, sending a request with the location name as the input parameter, and the API will return the geographic coordinates that match the input name, as well as other relevant information, such as the precise location or range of the location.

[0153] Furthermore, after receiving the API response from the geocoding service, the returned data is parsed to extract information such as the matched location name, geographic coordinates, and range.

[0154] Furthermore, the resolved geographic coordinates and extent are applied to appropriate mapping tools, such as Google Maps or ArcGIS Pro.

[0155] Step 3: Establish a water supply network.

[0156] Optionally, a ternary matrix of water supply relationships can be determined based on the water supply relationship table.

[0157] Specifically, connecting lines are added between water sources, water treatment plants, and water users according to the direction of water flow to form a water supply network. This means the water flows from the water source to the water treatment plant and then to the water user.

[0158] Among them, the "Generate Start-Destination Link" tool converts the relationship between the start and end elements in the water supply relationship ternary matrix into the topological relationship of points (nodes) and lines (edges) in GIS.

[0159] Specifically, the starting point elements include a first graphic marker, a second graphic marker, and a third graphic marker, and the ending point elements include a first graphic marker, a second graphic marker, and a third graphic marker.

[0160] Step 4: Water balance calculation and analysis.

[0161] Specifically, this involves acquiring inflow forecast data, water consumption forecast data, and current water storage conditions. For example, a diagram illustrating the inflow forecast data, water consumption forecast data, and current water storage conditions is shown below. Figure 8 As shown.

[0162] Among them, based on the principle of water balance, the inflow forecast data, water consumption forecast data and the current water storage situation are used to calculate whether the water source will be insufficient in the forecast period and time period in turn, so as to obtain the water balance analysis results. The water balance analysis results include the time (days, ten days, months) for the normal water supply of the water source or the time node when the water supply is damaged.

[0163] Step 5: Display and interaction with the touch platform.

[0164] The capacitive touchscreen display platform hardware and software development enables functions such as location input, information display, route correction, highlighting of water supply range, and early warning notifications. Specific functions are shown below:

[0165] 1. Clicking on each marker (i.e., the first graphic marker, the second graphic marker, or the third graphic marker) will display basic information;

[0166] 2. Click in a blank area to enter the location;

[0167] 3. Clicking two markers sequentially establishes a water transfer relationship, transferring water from the first clicked marker to the second clicked marker;

[0168] 4. Long-pressing each point will display its associated range. For example, long-pressing a water source will light up the water source and all its associated water plants and users, and the connection lines will show the water delivery direction.

[0169] 5. Based on the water balance analysis in step four, provide early warnings for water sources with insufficient supply and demand, as well as their associated water plants and users.

[0170] Specifically, the steps for displaying and interacting with the touchable platform are as follows:

[0171] 1) Create an interactive interface using a capacitive touchscreen.

[0172] 2) In the platform's development environment, set up corresponding touch event listeners to capture user touch, click, long press, and other events.

[0173] 3) When the user touches the screen, obtain the coordinate information of the touch point.

[0174] 4) Map the coordinates of the touch point to the corresponding area. Based on a predefined range of area coordinates, you can determine which area the touch point belongs to.

[0175] 5) Select the relevant areas based on the water supply relationship between the water source, water plant, and water user that is set up and stored.

[0176] 6) Once the area where the touch point is located is determined, illuminate that area and its associated areas. This can be achieved by changing the background color of the area, adding icons, or other visual effects.

[0177] 7) Based on the water balance analysis results, early warnings can be displayed for water sources that are predicted to experience insufficient water supply and water use, as well as their associated water plants and water users. Flashing or red lights can be set.

[0178] This application embodiment obtains a water supply relationship table; locates the positions of water sources, water plants, and water users; assigns a first graphic mark to water sources, a second graphic mark to water plants, and a third graphic mark to water users; adds connection lines between the first, second, and third graphic marks according to the water supply relationship table to form a water supply system network; responds to a first instruction and displays the water supply system network on the water supply system display interface, achieving a visual and clear display, which is beneficial for water resource management and improves user experience; obtains inflow forecast data, water usage forecast data, and current water storage status; performs water supply and demand balance calculation and analysis based on the inflow forecast data, water usage forecast data, and current water storage status to obtain water balance analysis results, which is beneficial for improving analysis efficiency; adds warning marks to water sources and their associated water plants and water users with insufficient water supply in the water balance analysis results on the water supply system network of the water supply system display interface; responds to a second instruction and displays the water supply system network on the water supply system display interface, which is beneficial for water resource management and drought emergency response, and improves user experience.

[0179] Please see Figure 9 This application also provides a water supply analysis device that can implement the above-mentioned water supply analysis method. The device includes:

[0180] The relationship acquisition module 901 is used to acquire the water supply relationship table, which includes the relationship between water sources, water plants and water users.

[0181] The marking module 902 is used to locate the positions of water sources, water plants and water users, assign a first graphic mark to the water source, a second graphic mark to the water plant and a third graphic mark to the water user;

[0182] The network generation module 903 is used to add connection lines between the first graphic marker, the second graphic marker, and the third graphic marker according to the water supply relationship table to form a water supply system network.

[0183] The first display module 904 is used to display the water supply system network on the water supply system display interface in response to the first command;

[0184] Analysis module 905 is used to acquire water inflow forecast data, water consumption forecast data and current water storage status. Based on the water inflow forecast data, water consumption forecast data and current water storage status, it performs water supply and demand balance calculation and analysis to obtain water balance analysis results. On the water supply system network of the water supply system display interface, it adds warning marks to water sources with insufficient water supply and their associated water plants and water users in the water balance analysis results.

[0185] The second display module 906 is used to display the water supply system network on the water supply system display interface in response to the second command.

[0186] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0187] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described water supply analysis method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0188] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0189] Please see Figure 10 , Figure 10 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:

[0190] The processor 1001 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

[0191] The memory 1002 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1002 and is called and executed by the processor 1001 using the water supply analysis method of the embodiments of this application.

[0192] Input / output interface 1003 is used to implement information input and output;

[0193] The communication interface 1004 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0194] Bus 1005 transmits information between various components of the device (e.g., processor 1001, memory 1002, input / output interface 1003, and communication interface 1004);

[0195] The processor 1001, memory 1002, input / output interface 1003 and communication interface 1004 are connected to each other within the device via bus 1005.

[0196] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described water supply analysis method.

[0197] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0198] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0199] The water supply analysis method, device, electronic equipment, and storage medium provided in this application embodiment acquire a water supply relationship table; locate the positions of water sources, water plants, and water users; assign a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user; add connection lines between the first, second, and third graphic marks according to the water supply relationship table to form a water supply system network; in response to a first instruction, display the water supply system network on the water supply system display interface to achieve a visual and clear display, which is beneficial for water resource management and improves user experience; acquire inflow forecast data, water usage forecast data, and current water storage status; perform water supply and demand balance calculation and analysis based on the inflow forecast data, water usage forecast data, and current water storage status to obtain water balance analysis results, which is beneficial for improving analysis efficiency; add warning marks to water sources and their associated water plants and water users with insufficient water supply in the water balance analysis results on the water supply system network of the water supply system display interface; in response to a second instruction, display the water supply system network on the water supply system display interface, which is beneficial for water resource management and drought emergency response and improves user experience.

[0200] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0201] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0202] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0203] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0204] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0205] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0206] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0207] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0208] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0209] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0210] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A water supply analysis method, characterized in that, The method includes the following steps: In response to the fourth instruction, the target location is entered on the water supply system display interface. The target location includes the water source, water plant and water user. The target location corresponds to the graphic mark. Select at least two graphic markers on the water supply system display interface, and add a connection line between the selected graphic markers to establish a water supply relationship; Store the water transmission relationship in the water supply relationship table; Obtain the water supply relationship table, which includes the relationships between water sources, water plants, and water users, and the relationships correspond to the water transmission relationships; Locate the positions of the water source, the water plant, and the water user; assign a first graphic marker to the water source, a second graphic marker to the water plant, and a third graphic marker to the water user; According to the water supply relationship table, add relationship connecting lines between the first graphic mark, the second graphic mark and the third graphic mark to form a water supply system network, and the direction of the relationship connecting lines indicates the direction of water flow; In response to the first command, the water supply system network is displayed on the water supply system display interface; Determine the forecast period and forecast time period; Based on the prediction period and the prediction time period, obtain the inflow prediction data, water consumption prediction data and the current water storage status; Based on the predicted inflow data, the predicted water usage data, and the current water storage situation, the water source is analyzed to calculate and determine whether there is a water supply shortage. The water source includes water storage type and runoff type. If a water supply shortage occurs, the time period during which the water source maintains a normal water supply, the time period during which the water supply shortage occurs, the water source with the water shortage and its associated water plants and water users are used as the results of the water balance analysis. The relationship between the water source with the water shortage and its associated water plants and water users is obtained by tracing back based on the water supply relationship table. On the water supply system network of the water supply system display interface, add warning markers for water sources and their associated water plants and water users that show insufficient water supply in the water balance analysis results; In response to the second instruction, the water supply system network is displayed on the water supply system display interface; The step of performing water supply and demand balance calculation and analysis on the water source based on the predicted water inflow data, the predicted water consumption data, and the current water storage situation, and determining whether there is a water supply shortage, includes: If the water source is a water storage type, the dead storage capacity of the reservoir is obtained. The water supply and demand balance of the water source is calculated and analyzed using the water storage formula based on the predicted inflow data, the predicted water consumption data, and the current water storage situation. The water storage volume of the reservoir at the end of the time period is obtained. If the water storage volume of the reservoir at the end of the time period is less than the dead storage capacity of the reservoir, then there is a water shortage. If the water source is runoff, the minimum flow rate standard for water intake is obtained. Based on the predicted inflow data, water consumption data, and current water storage conditions, the water supply and demand balance of the water source is calculated and analyzed using the runoff formula to obtain the predicted runoff of the river intake section. If the predicted runoff of the river intake section is less than the minimum flow rate standard for water intake, there is a water shortage.

2. The method according to claim 1, characterized in that, The method further includes: Acquire basic data, which includes water source data, water plant data, and water user data; In response to the third instruction, the basic data is displayed on the water supply system display interface.

3. The method according to claim 1, characterized in that, The method further includes: In response to the fourth instruction, the target location is entered into the water supply system network on the water supply system display interface. The target location is one of the following: water source, water plant, or water user.

4. The method according to claim 1, characterized in that, The method further includes: In response to the fifth instruction, the selected graphic marker, the graphic markers associated with the selected graphic marker, and the connecting lines between the graphic markers are displayed on the water supply system display interface.

5. A water supply analysis device, characterized in that, The device includes: The relationship acquisition module is used to acquire the water supply relationship table, which includes the relationship between water source, water plant and water user, and the relationship corresponds to the water transmission relationship; The marking module is used to locate the water source, the water plant, and the water user, assign a first graphic mark to the water source, a second graphic mark to the water plant, and a third graphic mark to the water user; The network generation module is used to add relationship connecting lines between the first graphic mark, the second graphic mark, and the third graphic mark according to the water supply relationship table to form a water supply system network, wherein the direction of the relationship connecting lines indicates the direction of water flow. The first display module is used to display the water supply system network on the water supply system display interface in response to the first command; The analysis module is used to acquire water inflow forecast data, water consumption forecast data, and current water storage status. Based on the water inflow forecast data, water consumption forecast data, and current water storage status, it performs water supply and demand balance calculation and analysis to obtain water balance analysis results. On the water supply system network of the water supply system display interface, it adds warning markers to water sources with insufficient water supply and their associated water plants and water users in the water balance analysis results. The second display module is used to display the water supply system network on the water supply system display interface in response to the second command; The device is also used for: In response to the fourth instruction, the target location is entered on the water supply system display interface. The target location includes the water source, water plant and water user. The target location corresponds to the graphic mark. Select at least two graphic markers on the water supply system display interface, and add a connection line between the selected graphic markers to establish a water supply relationship; Store the water transmission relationship in the water supply relationship table; The analysis module is specifically used for: Determine the forecast period and forecast time period; Based on the prediction period and the prediction time period, obtain the inflow prediction data, water consumption prediction data and the current water storage status; Based on the predicted inflow data, the predicted water usage data, and the current water storage situation, the water source is analyzed to calculate and determine whether there is a water supply shortage. The water source includes water storage type and runoff type. If a water supply shortage occurs, the time period during which the water source maintains a normal water supply, the time period during which the water supply shortage occurs, the water source with the water shortage and its associated water plants and water users are used as the results of the water balance analysis. The relationship between the water source with the water shortage and its associated water plants and water users is obtained by tracing back based on the water supply relationship table. On the water supply system network of the water supply system display interface, add warning markers for water sources and their associated water plants and water users that show insufficient water supply in the water balance analysis results; The analysis module is also used for: If the water source is a water storage type, the dead storage capacity of the reservoir is obtained. The water supply and demand balance of the water source is calculated and analyzed using the water storage formula based on the predicted inflow data, the predicted water consumption data, and the current water storage situation. The water storage volume of the reservoir at the end of the time period is obtained. If the water storage volume of the reservoir at the end of the time period is less than the dead storage capacity of the reservoir, then there is a water shortage. If the water source is runoff, the minimum flow rate standard for water intake is obtained. Based on the predicted inflow data, water consumption data, and current water storage conditions, the water supply and demand balance of the water source is calculated and analyzed using the runoff formula to obtain the predicted runoff of the river intake section. If the predicted runoff of the river intake section is less than the minimum flow rate standard for water intake, there is a water shortage.

6. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method of any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 4.