Method and device for loading watershed map information

By determining the target water flow area and loading asynchronously, the problem of low loading efficiency of basin map information is solved, and map information is prioritized and efficiently displayed for abnormal water flow areas is realized.

CN118939343BActive Publication Date: 2025-02-11CHONGQING HUAYUE ECOLOGICAL ENVIRONMENTAL ENG RES INST CO LTD SHENZHEN BRANCH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411428120.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-02-11
Estimated Expiration
2044-10-14

AI Technical Summary

Technical Problem

In the basin governance project, the basin range is wide and the monitoring data is large, resulting in low loading efficiency of map information.

Method used

By determining the target water flow area based on the target sensing device location information of the current monitoring data abnormality, the target water flow area is determined and the map information of the area is loaded. At the same time, based on the upstream and downstream relationship between the area to be loaded and the target water flow area, the association level is determined, asynchronous loading is realized, and map information of the abnormal water flow area is loaded first.

Benefits of technology

It improves the loading efficiency of basin map information, and can give priority to displaying map information for areas with abnormal water flows, without loading all map information in the basin at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939343B_ABST
    Figure CN118939343B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of data loading, and provides a method and device for loading map information of a watershed. The method comprises: determining the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data; loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device; asynchronously loading the map information of each area to be loaded according to the association level determined by the upstream and downstream relationship between each area to be loaded in the watershed and the target water flow area. The method for loading map information of a watershed provided in the embodiment of the present application can improve the loading efficiency of the map information of the watershed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data loading, and in particular to a method and device for loading map information of a watershed. Background Art

[0002] At present, river basin management projects based on intelligent management methods will deploy a large number of water resources, water environment and water safety-related sensing devices at various important sensing nodes in the river basin, so as to upload the current monitoring data monitored by the sensing devices to the monitoring platform, and load the map information formed by the current monitoring data and the current river basin map on the display screen of the monitoring platform to display the map information of the river basin.

[0003] However, the scope of a watershed is usually wide, and the amount of monitoring data uploaded to the monitoring platform is usually large. Therefore, when loading the map information formed based on the monitoring data and the watershed map, a large amount of text and maps need to be loaded at the same time, which affects the loading efficiency. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a method for loading map information of a watershed, which can improve the loading efficiency of the map information of the watershed.

[0005] The application also proposes a device for loading map information of a watershed.

[0006] The application also provides an electronic device.

[0007] The present application also proposes a computer-readable storage medium.

[0008] A method for loading map information of a watershed according to an embodiment of the first aspect of the present application includes:

[0009] Determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0010] Loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0011] asynchronously loading the map information of each area to be loaded according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas;

[0012] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0013] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0014] Through the location information of the target sensing device with abnormal current monitoring data, the target water flow area where the target sensing device is located in each water flow area in the watershed is determined, and the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device are loaded, so that the map information of each area to be loaded is asynchronously loaded according to the association level determined by the upstream and downstream relationship between each area to be loaded and the target water flow area in the watershed, so that the map information of the water flow area with abnormal monitoring data can be loaded first, and the map information of each area to be loaded can be asynchronously loaded according to the impact of the abnormal monitoring data on the upstream and downstream water flow areas, so as to give priority to displaying the map information of the water flow area where abnormalities may occur, without having to load all the map information of the watershed at the same time, thereby improving the loading efficiency of the map information of the watershed while facilitating the observation of abnormal water flow areas.

[0015] According to an embodiment of the present application, determining the target water flow area where the target sensing device is located in the watershed according to the location information of the target sensing device whose current monitoring data is abnormal includes:

[0016] In response to a prompt signal indicating that the current monitoring data uploaded by the target sensing device is abnormal, sending a test signal to the target sensing device;

[0017] Receiving test data fed back by the target sensing device according to the test signal;

[0018] Determine that the test data is normal, and determine the target water flow area where the target sensing device is located in the watershed based on the location information of the target sensing device whose current monitoring data is abnormal.

[0019] According to one embodiment of the present application, it also includes:

[0020] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area, and the number of water flow areas existing between the area to be loaded and the target water flow area.

[0021] According to an embodiment of the present application, according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas, the map information of each area to be loaded is asynchronously loaded, including:

[0022] Determining the loading priority of the area to be loaded according to the highest association level among the association levels between the area to be loaded and each of the target water flow areas;

[0023] The map information of each area to be loaded is asynchronously loaded according to the loading priority of each area to be loaded.

[0024] According to an embodiment of the present application, determining the loading priority of the area to be loaded according to the highest association level among the association levels of the area to be loaded and each of the target water flow areas includes:

[0025] Obtaining the highest correlation level among the correlation levels between the area to be loaded and each of the target water flow areas;

[0026] It is determined that the area to be loaded is located downstream of the target water flow area corresponding to the highest association level, and the loading priority of the area to be loaded is determined according to the highest association level and the water flow velocity of the target water flow area corresponding to the highest association level.

[0027] According to one embodiment of the present application, it also includes:

[0028] In response to the instruction to adjust the loading sequence of the to-be-loaded area, the to-be-loaded area is loaded preferentially.

[0029] According to one embodiment of the present application, it also includes:

[0030] It is determined that the hovering time of the cursor located in the area to be loaded reaches a preset time, and a priority adjustment instruction of the area to be loaded is generated.

[0031] A device for loading map information of a watershed according to an embodiment of the second aspect of the present application includes:

[0032] A target water flow area determination module is used to determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0033] A first map information loading module, used for loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0034] A second map information loading module, configured to asynchronously load map information of each area to be loaded according to a correlation level between each area to be loaded and at least one target water flow area in the watershed;

[0035] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0036] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0037] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a processor and a memory storing a computer program, and when the processor executes the computer program, the method for loading map information of a watershed described in any of the above embodiments is implemented.

[0038] According to the computer-readable storage medium of the fourth aspect of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the method for loading map information of a watershed as described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 A first flow chart of a method for loading map information of a watershed in some embodiments of the present application;

[0041] Figure 2 A second flow chart of a method for loading map information of a watershed in some embodiments of the present application;

[0042] Figure 3 A schematic diagram of the structure of a device for loading map information of a watershed provided in some embodiments of the present application;

[0043] Figure 4 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] The following is a detailed introduction and description of the method and device for loading map information of a watershed provided in the embodiments of the present application through several specific embodiments.

[0046] In one embodiment, a method for loading map information of a watershed is provided, and the method is applied to a monitoring platform for displaying map information of the watershed. The monitoring platform may include any terminal device such as a mobile terminal, a desktop terminal or a server, wherein the server may be an independent server or a server cluster composed of multiple servers, and may also be a cloud server that provides basic cloud computing services such as cloud services, cloud message databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and large message data and artificial intelligence sampling point devices.

[0047] like Figure 1 As shown, a method for loading map information of a watershed provided in this embodiment includes:

[0048] Step 101, determining the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0049] Step 102, loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0050] Step 103, asynchronously loading map information of each area to be loaded according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas;

[0051] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0052] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0053] In some embodiments, the water area can be pre-divided into multiple water flow areas according to the water flow direction. Exemplarily, the area where the water flow of the water area passes can be divided into multiple water flow areas according to the water collection path of the water area. The size of each water flow area can be set according to actual conditions. For the river basin, the upstream and downstream relationship between each water flow area can be determined based on the water flow direction of the river basin and the position information of each water flow area, so as to associate each water flow area with upstream and downstream according to the upstream and downstream relationship between each water flow area, and record the upstream and downstream association relationship of each water flow area in the monitoring platform.

[0054] Each water flow area may be provided with a sensing device for monitoring the water flow in the water flow area, and the sensing device may include a water quality monitor for monitoring water quality and a water level monitor for monitoring water level. The sensing device of each water flow area is used to upload the water quality or water level and other water conservancy data of the monitored water flow area to the monitoring platform.

[0055] After receiving the monitoring data uploaded by each sensing device, the monitoring platform detects the received monitoring data. If the monitoring data indicates that the water quality of the water flow is abnormal, or the water level of the water flow is abnormal, it means that the monitoring data is abnormal. At this time, the sensing device that uploaded the abnormal monitoring data is determined as the target sensing device to obtain the location information of the target sensing device, such as longitude and latitude, so as to determine the water flow basin where the target sensing device is located based on the location information of the target sensing device. After determining the water flow basin where the target sensing device is located, the water flow basin where the target sensing device is located can be determined as the target water flow area.

[0056] After the target water flow area is determined, the map of the target water flow area can be collected, such as through GIS (Geographic Information System) or remote sensing system, to collect the current regional map of the target water flow area. For example, the current GIS map of the target water flow area is collected, or the current remote sensing image map of the target water flow area is collected to determine the current regional map of the target water flow area.

[0057] After obtaining the current area map of the target water flow area, the current area map of the target water flow area and the current monitoring data uploaded by the target sensing device of the target water flow area can be loaded to form the target map information of the target water flow area. For example, the target map information can be loaded into the display area corresponding to the target water flow area in the display screen to display the current area map and current monitoring data of the target water flow area on the display area.

[0058] After completing the loading of the target map information of the target water flow area, the association level between each area to be loaded and at least one target water flow area in the watershed can be obtained. Among them, the area to be loaded is an unloaded water flow area. The association level between the area to be loaded and the target water flow area can be determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area. For example, since the water flow in the water flow area will be affected by the water flow in its upstream water flow area, when the water flow in a certain water flow area is abnormal, the water flow in the water flow area will flow into its downstream water flow area, causing the downstream water flow area to be highly likely to be abnormal, which requires key observation. The water flow in the water flow area usually does not flow back to its upstream water flow area, and the impact on the upstream is relatively small. Therefore, the association level of the water flow area located downstream of the target water flow area can be determined as a high association level, and the association level of the water flow area located upstream of the target water flow area can be determined as a low association level, so that the map information of the water flow area with a high association level, that is, the water flow area downstream of the target water flow area, can be loaded first, and after the map information of the water flow area with a high association level is loaded, the map information of the water flow area with a low association level, that is, the water flow area upstream of the target water flow area, can be loaded to realize the asynchronous loading of the map information of each area to be loaded.

[0059] Among them, loading the map information of any area to be loaded can be to load the map information of the area to be loaded into a display area corresponding to the area to be loaded in the display screen, so as to display the current area map and current monitoring data of the area to be loaded on the display area.

[0060] Considering that there may be multiple water flow areas with abnormal water flow, that is, there may be multiple target water flow areas, if there are multiple target water flow areas, one of the target water flow areas can be selected to determine the association level between each area to be loaded and the target water flow area, so as to perform asynchronous loading of the map information of each area to be loaded in sequence according to the association level from high to low.

[0061] Through the location information of the target sensing device with abnormal current monitoring data, the target water flow area where the target sensing device is located in each water flow area in the watershed is determined, and the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device are loaded, so that the map information of each area to be loaded is asynchronously loaded according to the association level determined by the upstream and downstream relationship between each area to be loaded and the target water flow area in the watershed, so that the map information of the water flow area with abnormal monitoring data can be loaded first, and the map information of each area to be loaded can be asynchronously loaded according to the impact of the abnormal monitoring data on the upstream and downstream water flow areas, so as to give priority to displaying the map information of the water flow area where abnormalities may occur, without having to load all the map information of the watershed at the same time, thereby improving the loading efficiency of the map information of the watershed while facilitating the observation of abnormal water flow areas.

[0062] Considering that the abnormal monitoring data may be caused by the damage of the target sensing device, it is possible that the normal water flow area is misjudged as the target water flow area with abnormal water flow. In order to reduce the misjudgment of the water flow area, in some embodiments, according to the location information of the target sensing device with abnormal monitoring data, the target water flow area where the target sensing device is located in the watershed is determined, including:

[0063] In response to a prompt signal indicating that the current monitoring data uploaded by the target sensing device is abnormal, sending a test signal to the target sensing device;

[0064] Receiving test data fed back by the target sensing device according to the test signal;

[0065] Determine that the test data is normal, and determine the target water flow area where the target sensing device is located in the watershed based on the location information of the target sensing device whose current monitoring data is abnormal.

[0066] In some embodiments, when receiving abnormal current monitoring data uploaded by a certain sensing device, the sensing device can be determined as a target sensing device, and a test signal can be sent to the target sensing device to receive test data fed back by the target sensing device according to the test signal. The test signal can be a prompt signal for instructing the target sensing device to send its configuration data, and the test data includes the configuration data of the target sensing device.

[0067] If the test data fed back by the target sensing device is received, the test data can be tested to determine whether the test data is complete. If the test data is complete, the configuration data in the test data can be compared with the preset configuration data of the target detection device. Among them, the preset configuration data can be the factory configuration data of the target detection device. If the configuration data in the test data is consistent with the preset configuration data, it means that the configuration of the target sensing device is normal, it can be determined that the target sensing device is normal, and the uploaded monitoring data is credible. At this time, the target water flow area where the target sensing device is located is determined based on the location information of the target sensing device.

[0068] In some embodiments, if the test data is determined to be abnormal, the reception of the monitoring data uploaded by the target sensing device is stopped until the received test data is normal.

[0069] Exemplarily, if the test data is incomplete, it can be determined that the test data is abnormal; or, if the configuration data in the test data is inconsistent with the preset configuration data, it means that the configuration of the target sensing device is abnormal, and the test data can be determined to be abnormal.

[0070] After determining that the test data is abnormal, stop receiving the monitoring data uploaded by the target sensing device, and periodically send a test signal to the target sensing device to periodically detect the test data fed back by the target sensing device according to the test signal. Until the test data is detected to be normal, resume receiving the monitoring data uploaded by the target sensing device.

[0071] In this way, the misjudgment of the water flow area caused by the monitoring data of the abnormal sensing equipment can be reduced, and the accuracy of the target water flow area with abnormal water flow can be improved.

[0072] After determining the target water flow area, the association level between the area to be loaded and the target water flow area can be determined based on the upstream and downstream relationship between the area to be loaded and the target water flow area. Considering that there may be more water flow areas located upstream and downstream of the target water flow area, there will be more water flow areas with the same association level. At this time, asynchronous loading may give priority to loading water flow areas that are far away from the target water flow area, and this water flow area is smaller than the target water flow area and is not the area that the user focuses on, which affects the user's observation of abnormal conditions in the water area. To this end, in some embodiments, the association level between the area to be loaded and the target water flow area can be determined based on the upstream and downstream relationship between the area to be loaded and the target water flow area, and the number of water flow areas between the area to be loaded and the target water flow area. Among them, the number of water flow areas is negatively correlated with the association level, that is, the fewer the number of water flow areas between the area to be loaded and the target water flow area, the higher the association level between the area to be loaded and the target water flow area.

[0073] Exemplarily, the initial association level between the area to be loaded and the target water flow area can be determined based on the upstream and downstream relationship between the area to be loaded and the target water flow area. If the area to be loaded is located downstream of the target water flow area, the initial association level between the area to be loaded and the target water flow area is the preset association level; if the area to be loaded is located upstream of the target water flow area, the initial association level between the area to be loaded and the target water flow area is less than the preset association level. Among them, the preset association level can be set according to actual conditions, such as being set to level 5. If the area to be loaded is the downstream water flow area of ​​the target water flow area, the corresponding initial association level is level 5; if the area to be loaded is the upstream water flow area of ​​the target water flow area, the corresponding initial association level is level 4.

[0074] After determining the initial association level corresponding to the area to be loaded, the initial association level of the area to be loaded can be adjusted according to the number of water flow areas between the area to be loaded and the target water flow area to determine the association level between the area to be loaded and the target water flow area.

[0075] Exemplarily, if the area to be loaded is the downstream water flow area of ​​the target water flow area, then according to the number of water flow areas between the area to be loaded and the target water flow area, and the absolute value of the difference between the number of water flow areas and the number of target water flow areas, the initial association level corresponding to the area to be loaded is increased to obtain the association level of the area to be loaded. Among them, the number of target water flow areas is the number of water flow areas between the downstream water flow area farthest from the target water flow area and the target water flow area in each downstream water flow area of ​​the target water flow area. If it is assumed that the area to be loaded is the downstream water flow area of ​​the target water flow area, the number of water flow areas between it and the target water flow area is 0, that is, the area to be loaded is adjacent to the target water flow area, and the number of target water flow areas is 5, and the initial association level of the area to be loaded is 5, then it can be obtained that the association level of the area to be loaded and the target water flow area is 10.

[0076] If the area to be loaded is the upstream water flow area of ​​the target water flow area, the initial association level corresponding to the area to be loaded is reduced according to the number of water flow areas between the area to be loaded and the target water flow area. For example, assuming that the area to be loaded is the upstream water flow area of ​​the target water flow area, the number of water flow areas between it and the target water flow area is 0, that is, the area to be loaded is adjacent to the target water flow area, and the initial association level of the area to be loaded is 4, then the association level between the area to be loaded and the target water flow area is 4.

[0077] After obtaining the correlation level between the area to be loaded and the target water flow area, the correlation level can be used as the loading priority of the area to be loaded, so that the map information of each area to be loaded can be asynchronously loaded in sequence according to the loading priority of each area to be loaded. In this way, the correlation level between the area to be loaded and the target water flow area can more accurately represent the correlation degree between the area to be loaded and the target water flow area, so that the water flow area with a high correlation degree with the target water flow area can be loaded first, which is convenient for observing abnormal conditions in the water area.

[0078] Considering that there may be multiple target water flow areas with abnormal water flow, in order to better observe the abnormal water flow, in some embodiments, Figure 2 As shown, according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas, the map information of each area to be loaded is asynchronously loaded, including:

[0079] Step 201, determining the loading priority of the area to be loaded according to the highest association level among the association levels between the area to be loaded and each of the target water flow areas;

[0080] Step 202: asynchronously load the map information of each of the areas to be loaded according to the loading priority of each of the areas to be loaded.

[0081] In some embodiments, for any area to be loaded, its association level with each target water flow area can be obtained. After obtaining the association level between the area to be loaded and each target water flow area, the highest association level among the association levels can be determined as the loading priority of the area to be loaded.

[0082] After obtaining the loading priority of each area to be loaded, the map information of each area to be loaded can be asynchronously loaded according to the loading priority of each area to be loaded. The higher the loading priority of the area to be loaded, the higher the loading order of the map information of the area to be loaded. In this way, the water flow area that is more affected by the abnormal water flow can be loaded faster, so that the abnormal water flow can be better observed.

[0083] In order to further improve the loading efficiency of the area to be loaded affected by the abnormal water flow, in some embodiments, the loading priority of the area to be loaded is determined according to the highest association level among the association levels of the area to be loaded and each of the target water flow areas, including:

[0084] Obtaining the highest correlation level among the correlation levels between the area to be loaded and each of the target water flow areas;

[0085] It is determined that the area to be loaded is located downstream of the target water flow area corresponding to the highest association level, and the loading priority of the area to be loaded is determined according to the highest association level and the water flow velocity of the target water flow area corresponding to the highest association level.

[0086] In some embodiments, for any area to be loaded, its correlation level with each target water flow area may be obtained to determine the highest correlation level from each correlation level.

[0087] After obtaining the highest association level of the area to be loaded, it can be detected whether the area to be loaded is located downstream of the target water flow area corresponding to the highest association level; if the area to be loaded is located upstream of the target water flow area, it means that the abnormal water flow in the target water flow area has little effect on the area to be loaded, and at this time, the highest association level is determined as the loading priority of the area to be loaded. If the area to be loaded is located downstream of the target water flow area, it means that the abnormal water flow in the target water flow area is likely to flow into the area to be loaded, affecting the water flow in the area to be loaded, so the highest association level can be determined as the initial priority of the area to be loaded, and then the initial priority is adjusted according to the water flow velocity of the target water flow area to obtain the loading priority of the area to be loaded. Among them, the greater the water flow velocity, the faster the abnormal water flow will flow through the area to be loaded, so the greater the preset level of the initial priority increase, so that the area to be loaded can be loaded earlier. Exemplarily, the monitoring platform can pre-record a mapping table representing the corresponding relationship between the water flow velocity interval and the preset level, and the water flow velocity interval is positively correlated with the preset level. After obtaining the water flow velocity of the target water flow area, the corresponding preset level can be determined from the mapping table according to the water flow velocity interval in which the water flow velocity is located, and the preset level can be superimposed with the initial priority to obtain the loading priority of the area to be loaded. After obtaining the loading priority of each loading area, each loading area can be asynchronously loaded according to the order of loading priority according to the loading priority of each loading area, so that the area to be loaded that is affected by the abnormal water flow faster can be loaded earlier, thereby improving the loading efficiency of the area to be loaded affected by the abnormal water flow.

[0088] In order to further make the loaded water flow area meet the observation needs of the user, in some embodiments, it also includes:

[0089] In response to the instruction to adjust the loading sequence of the to-be-loaded area, the to-be-loaded area is loaded preferentially.

[0090] In some embodiments, a user's instruction to adjust the loading order of the area to be loaded may be received. The instruction to adjust the loading order is used to instruct the area to be loaded and may be generated by receiving a user's selection operation on the area to be loaded, such as a click operation.

[0091] Exemplarily, it is possible to detect whether the hovering time of the cursor located in the area to be loaded reaches a preset time, such as detecting whether the hovering time of the mouse cursor located in the area to be loaded reaches a preset time. The preset time can be set according to actual conditions. If the hovering time reaches the preset time, it means that the area to be loaded is selected, and at this time, a loading order adjustment instruction for the area to be loaded is generated, and in response to the loading order adjustment instruction, the area to be loaded is loaded preferentially. Thereby, the loaded water flow area meets the user's observation needs.

[0092] The following is a description of a device for loading map information of a watershed provided in the present application. The device for loading map information of a watershed described below and the method for loading map information of a watershed described above can refer to each other.

[0093] In one embodiment, if Figure 3 As shown, a device for loading map information of a watershed is provided, comprising:

[0094] The target water flow area determination module 210 is used to determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0095] A first map information loading module 220 is used to load the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0096] A second map information loading module 230 is used to asynchronously load the map information of each area to be loaded according to the association level between each area to be loaded and at least one target water flow area in the watershed;

[0097] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0098] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0099] Through the location information of the target sensing device with abnormal current monitoring data, the target water flow area where the target sensing device is located in each water flow area in the watershed is determined, and the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device are loaded, so that the map information of each area to be loaded is asynchronously loaded according to the association level determined by the upstream and downstream relationship between each area to be loaded and the target water flow area in the watershed, so that the map information of the water flow area with abnormal monitoring data can be loaded first, and the map information of each area to be loaded can be asynchronously loaded according to the impact of the abnormal monitoring data on the upstream and downstream water flow areas, so as to give priority to displaying the map information of the water flow area where abnormalities may occur, without having to load all the map information of the watershed at the same time, thereby improving the loading efficiency of the map information of the watershed while facilitating the observation of abnormal water flow areas.

[0100] In one embodiment, the target water flow area determination module 210 is specifically used to:

[0101] In response to a prompt signal indicating that the current monitoring data uploaded by the target sensing device is abnormal, sending a test signal to the target sensing device;

[0102] Receiving test data fed back by the target sensing device according to the test signal;

[0103] Determine that the test data is normal, and determine the target water flow area where the target sensing device is located in the watershed based on the location information of the target sensing device whose current monitoring data is abnormal.

[0104] In one embodiment, the second map information loading module 230 is further used for:

[0105] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area, and the number of water flow areas existing between the area to be loaded and the target water flow area.

[0106] In one embodiment, the second map information loading module 230 is specifically used for:

[0107] Determining the loading priority of the area to be loaded according to the highest association level among the association levels between the area to be loaded and each of the target water flow areas;

[0108] The map information of each area to be loaded is asynchronously loaded according to the loading priority of each area to be loaded.

[0109] In one embodiment, the second map information loading module 230 is specifically used for:

[0110] Obtaining the highest correlation level among the correlation levels between the area to be loaded and each of the target water flow areas;

[0111] It is determined that the area to be loaded is located downstream of the target water flow area corresponding to the highest association level, and the loading priority of the area to be loaded is determined according to the highest association level and the water flow velocity of the target water flow area corresponding to the highest association level.

[0112] In one embodiment, the second map information loading module 230 is further used for:

[0113] In response to the instruction to adjust the loading sequence of the to-be-loaded area, the to-be-loaded area is loaded preferentially.

[0114] In one embodiment, the second map information loading module 230 is further used for:

[0115] It is determined that the hovering time of the cursor located in the area to be loaded reaches a preset time, and a priority adjustment instruction of the area to be loaded is generated.

[0116] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute a method for loading map information of a watershed, for example, including:

[0117] Determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0118] Loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0119] asynchronously loading the map information of each area to be loaded according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas;

[0120] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0121] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0122] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0123] On the other hand, an embodiment of the present application further provides a storage medium, the storage medium includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the method for loading the map information of the watershed provided in the above embodiments, for example, including:

[0124] Determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data;

[0125] Loading the current area map of the target water flow area and the target map information formed by the current monitoring data uploaded by the target sensing device;

[0126] asynchronously loading the map information of each area to be loaded according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas;

[0127] The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area;

[0128] The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area.

[0129] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0131] Finally, it should be noted that 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for loading map information of a watershed, characterized in that: include: Determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data; Loading target map information formed by combining the current area map of the target water flow area with the current monitoring data uploaded by the target sensing device; asynchronously loading the map information of each area to be loaded according to the association level between each area to be loaded in the watershed and at least one of the target water flow areas; The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area; The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area; According to the association level between each area to be loaded in the watershed and at least one of the target water flow areas, the map information of each area to be loaded is asynchronously loaded, including: Determining the loading priority of the area to be loaded according to the highest association level among the association levels between the area to be loaded and each of the target water flow areas; The map information of each area to be loaded is asynchronously loaded according to the loading priority of each area to be loaded.

2. The method for loading map information of a watershed according to claim 1, characterized in that: According to the location information of the target sensing device with abnormal current monitoring data, the target water flow area where the target sensing device is located in the watershed is determined, including: In response to a prompt signal indicating that the current monitoring data uploaded by the target sensing device is abnormal, sending a test signal to the target sensing device; Receiving test data fed back by the target sensing device according to the test signal; Determine that the test data is normal, and determine the target water flow area where the target sensing device is located in the watershed based on the location information of the target sensing device whose current monitoring data is abnormal.

3. The method for loading the map information of a watershed according to claim 1, characterized in that: Also includes: The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area, and the number of water flow areas existing between the area to be loaded and the target water flow area.

4. The method for loading the map information of a watershed according to claim 1, characterized in that: Determining the loading priority of the area to be loaded according to the highest association level among the association levels of the area to be loaded and each of the target water flow areas, comprises: Obtaining the highest correlation level among the correlation levels between the area to be loaded and each of the target water flow areas; It is determined that the area to be loaded is located downstream of the target water flow area corresponding to the highest association level, and the loading priority of the area to be loaded is determined according to the highest association level and the water flow velocity of the target water flow area corresponding to the highest association level.

5. The method for loading the map information of a watershed according to any one of claims 1 to 3 or 4, characterized in that: Also includes: In response to the instruction to adjust the loading sequence of the to-be-loaded area, the to-be-loaded area is loaded preferentially.

6. The method for loading the map information of a watershed according to claim 5, characterized in that: Also includes: It is determined that the hovering time of the cursor located in the area to be loaded reaches a preset time, and a priority adjustment instruction of the area to be loaded is generated.

7. A device for loading map information of a watershed, characterized in that: include: A target water flow area determination module is used to determine the target water flow area where the target sensing device is located in each water flow area of ​​the watershed according to the location information of the target sensing device with abnormal current monitoring data; A first map information loading module, used to load target map information formed by combining the current area map of the target water flow area with the current monitoring data uploaded by the target sensing device; A second map information loading module, configured to asynchronously load map information of each area to be loaded according to the association level between each area to be loaded and at least one target water flow area in the watershed; The association level between the area to be loaded and the target water flow area is determined according to the upstream and downstream relationship between the area to be loaded and the target water flow area; The map information of the water flow area includes a current area map of the water flow area and current monitoring data uploaded by a sensing device of the water flow area; The second map information loading module is specifically used for: Determining the loading priority of the area to be loaded according to the highest association level among the association levels between the area to be loaded and each of the target water flow areas; The map information of each area to be loaded is asynchronously loaded according to the loading priority of each area to be loaded.

8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method for loading map information of a watershed as described in any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for loading map information of a watershed as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Map acquisition method and device, vehicle and storage medium

    CN117213462A

  • Surface water quality evaluation method, equipment and medium

    CN118070014A