Data display method and related device

By displaying dry toilet renovation data on the map, the problem of difficulty in intuitively displaying transformation data in the existing technology is solved, and the rapid identification and management of the distribution and progress of the transformation area is achieved, which improves the intuitiveness and operability of data display.

CN120180533APending Publication Date: 2025-06-20ABC FINANCIAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510312031.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

It is difficult for the existing technology to visually display data on dry toilet renovation, especially when facing large-scale regional dry toilet renovation data, it is impossible to quickly discover problems or trends in the progress of the transformation.

Method used

The method of displaying dry toilet renovation data through the map is obtained, and the dry toilet renovation data is divided into the target area of ​​the map. The grid range is determined based on the visible area and display size data of the map. The dry toilet renovation coordinate points located within the grid range are aggregated, and the label information of the aggregation point is displayed on the map, including location information and transformation progress.

Benefits of technology

The intuitiveness of dry toilet renovation data is improved, allowing managers to quickly identify the regional distribution and progress of the transformation, discover problems or trends, and thus manage and optimize dry toilet renovation work more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120180533A_ABST
    Figure CN120180533A_ABST
Patent Text Reader

Abstract

The invention discloses a data display method and a related device, and relates to the technical field of computers, and the method comprises the steps: obtaining a plurality of pit latrine reconstruction coordinate points; dividing the plurality of pit latrine reconstruction coordinate points into one or more target areas of a current map; according to the visible area of the current map and the map display size data, determining a grid range for dividing the visible area; under the condition that an intersection exists between the grid range and the target area, point aggregation processing is conducted on the pit latrine transformation coordinate points located in the grid range, and aggregation points are obtained; and displaying the labeling information of the target coordinate point and / or the aggregation point in the current map. According to the method and the device, the data display intuition can be improved in a mode of displaying the pit latrine transformation data through the map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a data display method and related devices. Background Art

[0002] In recent years, the transformation of dry toilets has become an important measure to improve the sanitary conditions in rural areas. The transformation of dry toilets refers to upgrading or reconstructing traditional dry toilets into modern toilets that meet sanitary standards, usually including adding flushing devices, improving sewage treatment facilities, and optimizing the sewage discharge system, etc., to improve the living quality and sanitary environment of residents. Currently, the data of dry toilet transformation in many areas is still presented in the form of tables or texts, and the information is not intuitive enough. Especially when facing the data of dry toilet transformation in large-scale areas, it is difficult for managers to quickly discover the problems or trends in the transformation progress due to the inability to intuitively present the distribution of the transformation areas and the transformation progress. Therefore, it is very necessary to realize the intuitive display of dry toilet transformation data. Summary of the Invention

[0003] In view of the above problems, this application provides a data display method and related devices, which can improve the intuitiveness of data display by displaying dry toilet transformation data on a map. The specific solutions are as follows:

[0004] The first aspect of this application provides a data display method, including:

[0005] Obtain dry toilet transformation data; wherein, the dry toilet transformation data includes a plurality of dry toilet transformation coordinate points;

[0006] Divide the plurality of dry toilet transformation coordinate points into one or more target areas on the current map;

[0007] Determine the grid range for dividing the visible area according to the visible area of the current map and the map display size data;

[0008] When there is an intersection between the grid range and the target area, perform point aggregation processing on the dry toilet transformation coordinate points located within the grid range to obtain aggregated points;

[0009] Display the annotation information of the target coordinate points and / or the aggregated points on the current map; wherein, the annotation information includes position information and the dry toilet transformation progress, and the target coordinate points are one or more of the dry toilet transformation coordinate points within the target area.

[0010] In a possible implementation, the dividing the plurality of dry toilet transformation coordinate points into one or more target areas on the current map includes:

[0011] Determine the initialization area covering the dry toilet transformation coordinate points and the maximum value of the number of coordinate points that the initialization area can accommodate;

[0012] If the number of the dry toilet renovation coordinate points does not exceed the maximum value of the number of coordinate points that the initialization area can accommodate, use the initialization area as the target area;

[0013] If the number of the dry toilet renovation coordinate points exceeds the maximum value of the number of coordinate points that the initialization area can accommodate, divide the initialization area and determine the maximum value of the number of coordinate points that the divided area can accommodate;

[0014] If the target condition is satisfied, use the divided area as the target area and allocate the multiple dry toilet renovation coordinate points to the multiple target areas; otherwise, divide each of the divided areas until the target condition is satisfied; where the target condition is that the number of the dry toilet renovation coordinate points allocated to the divided area does not exceed the maximum value of the number of coordinate points that the divided area can accommodate.

[0015] In a possible implementation, the determining the grid range for dividing the visible area according to the visible area of the current map and the map display size data includes:

[0016] Determine the scaling ratio according to the visible area of the current map and the map display size data;

[0017] Determine the grid size according to the current zoom level and the scaling ratio;

[0018] Determine the grid range according to the grid size.

[0019] In a possible implementation, it further includes:

[0020] In response to a size adjustment instruction for the visible area of the current map, adjust the display density of the annotation information according to the zoom level corresponding to the adjusted visible area; where the display density reflects the number of dry toilet renovation coordinate points displayed in the visible area, and the display density of the annotation information increases as the zoom level increases.

[0021] In a possible implementation, it further includes:

[0022] Determine the heat map display color corresponding to the dry toilet renovation progress;

[0023] Generate a heat map reflecting the dry toilet renovation progress in the target area according to the heat map display color and the dry toilet renovation coordinate points in the target area.

[0024] In a possible implementation, it further includes:

[0025] Classify the target area according to the dry toilet renovation progress to obtain a classification result;

[0026] Determine the area display color corresponding to the classification result;

[0027] In the current map, display the target area with the area display color.

[0028] The second aspect of the present application provides a data display system, including:

[0029] A data acquisition module for acquiring dry toilet renovation data; wherein, the dry toilet renovation data includes multiple dry toilet renovation coordinate points;

[0030] A division module for dividing the multiple dry toilet renovation coordinate points into one or more target areas of the current map;

[0031] A grid range determination module for determining the grid range for dividing the visible area according to the visible area of the current map and the map display size data;

[0032] An aggregation module for performing point aggregation processing on the dry toilet renovation coordinate points located within the grid range when there is an intersection between the grid range and the target area to obtain aggregated points;

[0033] A display module for displaying the annotation information of the target coordinate points and / or the aggregated points in the current map; wherein, the annotation information includes position information and the dry toilet renovation progress, and the target coordinate points are one or more of the dry toilet renovation coordinate points within the target area.

[0034] The third aspect of the present application provides a computer program product, including computer-readable instructions, which when running on an electronic device, enable the electronic device to implement the data display method according to the first aspect or any implementation manner of the first aspect.

[0035] The fourth aspect of the present application provides an electronic device, including at least one processor and a memory connected to the processor, wherein:

[0036] The memory is used to store a computer program;

[0037] The processor is used to execute the computer program so that the electronic device can implement the data display method according to the first aspect or any implementation manner of the first aspect.

[0038] The fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the data display method according to the first aspect or any implementation manner of the first aspect.

[0039] With the above technical solution, the data display method and related device provided by the present application divide multiple dry toilet renovation coordinate points into one or more target areas of the current map; determine the grid range for dividing the visible area according to the visible area of the current map and the map display size data; perform point aggregation processing on the dry toilet renovation coordinate points within the grid range when there is an intersection between the grid range and the target area to obtain aggregated points; and display the annotation information of the target coordinate points and / or aggregated points in the current map. By means of displaying dry toilet renovation data on the map, the present application can improve the intuitiveness of data display. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and the original elements and elements are not necessarily drawn to scale.

[0041] Figure 1 It is a flowchart of a data display method provided by the present application;

[0042] Figure 2 It is a structural diagram of a data display system provided by the present application;

[0043] Figure 3 It is a schematic structural diagram of an electronic device provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0044] The following describes the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. The terms used in the embodiments part of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0045] The following describes the embodiments of the present application in conjunction with the accompanying drawings. Those skilled in the art will know that with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0046] The terms "first", "second", etc. in the specification, claims and above drawings of the present 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 terms can be interchanged under appropriate circumstances, which is only a way of distinguishing objects with the same attributes when describing the embodiments of the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that a process, method, system, product or device including a series of units does not have to be limited to those units, but may include other units that are not clearly listed or are inherent to these processes, methods, products or devices.

[0047] An embodiment of the present application provides a data display method. The data display method of the embodiment of the present application will be introduced in detail below with reference to the accompanying drawings.

[0048] Refer to Figure 1 , Figure 1 which is a flowchart of a data display method provided by an embodiment of the present application. As Figure 1 shown, a data display method provided by an embodiment of the present application may include steps 101 to 105, and these steps will be described in detail below.

[0049] Step 101: Obtain dry toilet renovation data; wherein, the dry toilet renovation data includes multiple dry toilet renovation coordinate points.

[0050] The dry toilet renovation data can be collected through a mobile terminal, a sensor, or obtained through manual entry and barcode scanning. The dry toilet renovation coordinate point can be the coordinate point of the dry toilet renovation location, and the dry toilet renovation location can be the specific location of the dry toilet or the location of the user's residence. The coordinate system of the dry toilet renovation coordinate point can be a map coordinate system, and the coordinate of the dry toilet renovation coordinate point can be a GPS (Global Positioning System) coordinate. The multiple dry toilet renovation coordinate points can be the coordinate points with dry toilet renovation requirements in the target area.

[0051] In addition to the dry toilet renovation coordinate points, the dry toilet renovation data may also include the dry toilet renovation status, which may include not renovated, renovating, and renovated. The dry toilet renovation data may also include the start time of renovation, the completion time of renovation, etc.

[0052] The dry toilet renovation data can also integrate external data sources related to dry toilet renovation (such as geographical information data, population statistics data, etc.) to provide more dimensional support for subsequent display and analysis.

[0053] After obtaining the dry toilet renovation data, data cleaning and preprocessing can be performed on the dry toilet renovation data. Data cleaning is to detect and process errors in the collected data, including removing duplicate or incorrect data, using interpolation methods to fill in missing information, such as geographical coordinates, and unifying data formats, such as time formats, to ensure data quality. Preprocessing can be to perform data classification and sorting. Specifically, the data can be classified and sorted by multiple levels such as county, township, and village, and a hierarchical data model can be established to ensure clear data structure, convenient query, and define relevant attributes (such as renovation completion rate, uncompleted quantity, etc.) for each level to form a structured data set.

[0054] Step 102: Divide the multiple dry toilet renovation coordinate points into one or more target areas on the current map.

[0055] Divide multiple dry toilet renovation coordinate points into one or more target areas on the current map. It can be to divide all dry toilet renovation coordinate points into one target area on the current map, or to divide a part of the dry toilet renovation coordinate points into one target area, divide another part of the dry toilet renovation coordinate points into another target area, or divide another part of the dry toilet renovation coordinate points into multiple other target areas respectively. The dry toilet renovation coordinate points in different target areas are different.

[0056] In a possible implementation, dividing multiple dry toilet renovation coordinate points into one or more target areas on the current map includes:

[0057] Determine the initialization area covering the dry toilet renovation coordinate points and the maximum number of coordinate points that the initialization area can accommodate;

[0058] If the number of dry toilet renovation coordinate points does not exceed the maximum number of coordinate points that the initialization area can accommodate, use the initialization area as the target area;

[0059] If the number of dry toilet renovation coordinate points exceeds the maximum number of coordinate points that the initialization area can accommodate, perform area division on the initialization area and determine the maximum number of coordinate points that the divided area can accommodate;

[0060] If the target condition is met, use the divided area as the target area and allocate multiple dry toilet renovation coordinate points to multiple target areas. Otherwise, perform area division on each divided area until the target condition is met; where the target condition is that the number of dry toilet renovation coordinate points allocated to the divided area does not exceed the maximum number of coordinate points that the divided area can accommodate.

[0061] The initialization area covering the dry toilet renovation coordinate points is a geographical boundary range calculated based on all dry toilet renovation coordinate points that can cover all coordinate points. This range can be a rectangle. In practical applications, all dry toilet renovation coordinate points can be traversed to obtain the minimum and maximum coordinate values, and a rectangular data structure maxBounding is constructed, including four coordinate values: x0 (the minimum x coordinate), xm (the maximum x coordinate), y0 (the minimum y coordinate), ym (the maximum y coordinate), and these values define the boundary range of the initialization area.

[0062] Based on the calculated boundary range of the initialization area, create a root node to represent the current map area. The node includes:

[0063] boundingBox: The rectangular boundary of the current node.

[0064] bucketCapacity: The node capacity, which is used to control the number of data points that each node can store, that is, the maximum number of coordinate points that the initialization area can accommodate.

[0065] points: An array storing the data of the current node. Each data item includes coordinates x, y, and related data.

[0066] pointsCount: The number of data points stored in the current node.

[0067] northWest, northEast, southWest, southEast: Four child nodes representing the four sub-regions of the current node.

[0068] If the number of latrine renovation coordinate points does not exceed the maximum number of coordinate points that the initialization region can accommodate, the initialization region is taken as the target region. If the number of latrine renovation coordinate points exceeds the maximum number of coordinate points that the initialization region can accommodate, the initialization region is divided. That is, if the data of the current node is not full, the coordinate points are directly inserted into the data array of the current node, and pointsCount is incremented. If the data of the current node is full, the rectangular range of the current node is divided into four sub-regions, and four child nodes northWest, northEast, southWest, and southEast are created. The coordinate points are inserted into the corresponding child nodes. The range of each small region is as follows: the upper left region northWest: [x0, (x0 + xm) / 2] × [(y0 + ym) / 2, ym]; the upper right region northEast: [(x0 + xm) / 2, xm] × [(y0 + ym) / 2, ym]; the lower left region southWest: [x0, (x0 + xm) / 2] × [y0, (y0 + ym) / 2]; the lower right region southEast: [(x0 + xm) / 2, xm] × [y0, (y0 + ym) / 2].

[0069] Then, it is determined whether the number of latrine renovation coordinate points assigned to the divided region does not exceed the maximum number of coordinate points that the divided region can accommodate. If so, the divided region is taken as the target region, and multiple latrine renovation coordinate points are assigned to multiple target regions. If not, the divided regions are further divided. That is, it is determined whether the current node is full and whether it is a leaf node. If it is a leaf node and the data is full, four child nodes are expanded, and the rectangular region is divided into four parts: northWest, the upper left region; northEast, the upper right region; southWest, the lower left region; southEast, the lower right region. The coordinate points are inserted into the corresponding child nodes, and this process continues until all coordinate points are inserted.

[0070] Step 103: Determine the grid range for dividing the visible area based on the visible area of the current map and the map display size data.

[0071] The visible area of the current map can be the map area displayed on the screen. The map display size data can include the map display width. This grid is used to divide the visible area of the current map, and the grid range is the range of the grid used to divide the visible area of the current map.

[0072] In a possible implementation, determining the grid range for dividing the visible area according to the visible area of the current map and the map display size data includes:

[0073] Determining the scaling ratio according to the visible area of the current map and the map display size data;

[0074] Determining the grid size according to the current zoom level and the scaling ratio;

[0075] Determining the grid range according to the grid size.

[0076] Calculate the current scaling ratio and zoom level according to the visible area of the current map and the display width of the map, and adjust the grid size, that is, the grid size, according to the zoom level. Among them, a higher zoom level will result in a smaller grid to accurately display more aggregation points. Calculate the size of the current grid according to the visible area, scaling ratio and zoom level. The smaller the grid size, the finer the division of the visible area on the screen. Adjust the boundaries of the screen through the scaling ratio factor and calculate the boundary range of each grid.

[0077] Step 104: In the case where there is an intersection between the grid range and the target area, perform point aggregation processing on the dry toilet renovation coordinate points located within the grid range to obtain aggregation points.

[0078] For areas with a high density of coordinate points on the map, the point aggregation method can be used for display, and the aggregation points can be presented in the form of circles, heat points, etc.

[0079] In the case where there is an intersection between the grid range and the target area, perform point aggregation processing on the dry toilet renovation coordinate points located within the grid range to obtain aggregation points. In the case where there is no intersection between the grid range and the target area, no point aggregation processing is performed.

[0080] Optionally, if there is only one coordinate point in a grid, directly use this point as the aggregation point. If there are multiple coordinate points in the grid, calculate the center coordinates of all points and aggregate them into one aggregation point. In practical applications, the aggregation points displayed on the map can be dynamically updated. When the visible area of the map changes, recalculate and update the aggregation points.

[0081] In areas with a high point density, the point aggregation method is used to aggregate multiple adjacent points into an aggregated point. The aggregated point can be represented in different shapes (such as circles, heat points, etc.), and the shape and size of the aggregated point change according to the number of points in the area, helping users quickly identify hot spots. As the user zooms in or out of the map, the aggregated points will automatically disperse or re-aggregate. When zooming in, the aggregated points will disperse into individual points or smaller aggregated areas; when zooming out, multiple points will re-aggregate into one point to avoid over-displaying data. Each time the map view changes, the calculation and display of the aggregated points will be updated in real time to ensure the smoothness and accuracy of the display effect.

[0082] Step 105: Display the annotation information of the target coordinate points and / or aggregated points in the current map; wherein, the annotation information includes location information and the progress of dry toilet renovation, and the target coordinate points are one or more dry toilet renovation coordinate points in the target area.

[0083] The target coordinate points can be representative user location coordinate points in the target area.

[0084] The annotation information can be the location information of the target coordinate points and / or the location information of the aggregated points. The annotation information can also be the progress of dry toilet renovation, such as the completion ratio or progress of the renovation. The annotation information can also be the coverage area, that is, the area covered by the target area or the number of users affected.

[0085] In practical applications, to reduce the load of the page and improve the user experience, annotation aggregation can be used, such as aggregating multiple annotation points into one point.

[0086] In a possible implementation, the data display method provided in this application further includes:

[0087] In response to a size adjustment instruction for the visible area of the current map, the display density of the annotation information is adjusted according to the zoom level corresponding to the adjusted visible area; wherein, the display density reflects the number of dry toilet renovation coordinate points displayed in the visible area, and the display density of the annotation information increases with the increase of the zoom level.

[0088] The size adjustment of the visible area of the current map can be the zoom adjustment of the visible area of the current map. As the user zooms in or out, the map zooms accordingly. The current zoom level can be detected, and the display density of the annotation information can be dynamically adjusted according to the current zoom level. For example, at a high zoom level, more annotation information is displayed to ensure that users can see more detailed information; while at a low zoom level, the annotation points can be merged into fewer representative points or aggregated points, and the annotation information is reduced to avoid clutter in the interface caused by over-displaying content.

[0089] When the map zooms or the display range changes, the display area can be re-divided according to the new area boundary, and the aggregated points can be recalculated.

[0090] In a possible implementation, the data display method provided by this application further includes:

[0091] Determine the heat map display color corresponding to the progress of dry toilet renovation;

[0092] Generate a heat map reflecting the progress of dry toilet renovation in the target area based on the heat map display color and the coordinates of dry toilet renovation points in the target area.

[0093] Generate a heat map based on the coordinates of dry toilet renovation points in the target area and the density of these points. This heat map reflects the progress of dry toilet renovation in the target area. The heat map visually shows the renovation situation through colors. For example, red indicates areas with high renovation requirements, that is, areas with slower renovation progress or unmet requirements; yellow indicates areas with medium renovation requirements and medium renovation progress; blue indicates areas with low renovation requirements or completed renovations, where the renovation has reached a relatively high completion level.

[0094] Optionally, the display of the heat map can be updated in real time according to user interaction. When the map is dragged, the density of coordinate points within the visible area can be recalculated, and the heat map can be updated in real time. When the map is zoomed, the heat map will also be updated, and the colors within the display range will be adjusted accordingly to reflect the new demand density. The generation of the heat map and the display of aggregation points complement each other. Whenever an aggregation point is generated, the heat map will be re-rendered based on the coordinate points in that area to ensure the consistency of the two sets of data.

[0095] In a possible implementation, the data display method provided by this application further includes:

[0096] Classify the target area according to the progress of dry toilet renovation to obtain a classification result;

[0097] Determine the area display color corresponding to the classification result;

[0098] Display the target area with the area display color in the current map.

[0099] Classify the attributes of the target area according to the progress of dry toilet renovation, and visually present the renovation completion degree of each area through color grading. For example, green indicates areas with a relatively high renovation completion rate, yellow indicates areas with medium renovation progress, and red indicates areas with a relatively low renovation completion rate or slower renovation progress.

[0100] Optionally, the color threshold can be dynamically adjusted according to user needs or display preferences. For example, users can adjust the grading criteria so that different colors are used within different renovation progress ranges to meet different visualization needs. When different thresholds are set, the display of the graded coloring areas can be automatically updated, enabling users to obtain the most accurate data view according to their own needs.

[0101] Of course, gradient colors can also be used to display different states of the area. Through the change of colors, the differences in the renovation progress can be visually reflected, which helps to show the renovation progress changes in a large range while keeping the overall view clear.

[0102] Optionally, when the user clicks on any area on the map, detailed data of that area can be viewed. For example: the number of dry toilets in the clicked area, renovation plans, the number of completed and uncompleted ones, etc. When showing the renovation progress within the area, chart forms such as bar charts and pie charts can be used. Of course, the user can also quickly preview the area information without clicking on the area, that is, by hovering the mouse over the area or point annotation to display brief data of that area, such as the renovation completion rate and user coverage of that area.

[0103] The user can view the dynamic changes of historical data, including the time changes of the renovation progress, the distribution of coordinate points at different time nodes, etc. Using the time axis function, the user can dynamically view the progress of the renovation and understand the area status at different time points.

[0104] The user can customize the content layer to be displayed according to needs. For example, the user can choose to only display the heat map, annotation information or classified coloring areas. By customizing the display layer, the user can obtain a more personalized data display view. Each layer can be transparently superimposed to form a richer visual effect. The user can control the transparency of the layer or hide the layer according to needs to achieve different display methods. The data of each layer will be dynamically updated during the interaction process to ensure the data consistency and timeliness of all layers. During user interaction, the layer will be dynamically updated according to the display area of the map. For example, when the user drags the map or changes the zoom ratio, the layers displayed on the map will be automatically updated to ensure that the latest data within the currently visible area is shown.

[0105] Optionally, a data aggregation algorithm can be used to statistically analyze the dry toilet renovation data. Combining the user locations and dry toilet renovation status within the area, the dry toilet renovation data is intelligently aggregated to generate the total number of users, the number of completed users and the renovation completion rate within the target area according to dimensions such as time, area and renovation status. A filtering function is provided, and the user can selectively view the data according to conditions such as renovation status, time node or geographical area, so as to quickly focus on key issues. The renovation progress is statistically analyzed according to time nodes, and the number of newly completed ones per day or month is analyzed. A time series model can be used to analyze the renovation progress, predict the project completion time and resource requirements, and generate a daily renovation progress curve by area to help managers intuitively understand the trend. According to the distribution and density of uncompleted users, it is recommended that the construction team give priority to renovating dense areas, propose an optimized construction sequence, and reduce renovation time and resource waste. For uncompleted users, analyze their common problems (such as geographical remoteness and high construction difficulty) to help decision-makers formulate targeted strategies.

[0106] The map interface is refreshed in real time to ensure that users can obtain the current renovation progress information on the platform and avoid data lag. Excel tables can be generated, including statistical results (such as regional completion rates, lists of users who have not completed), and PDF reports can also be output for easy use in meetings and presentations. Data access rights are opened to authorized departments through a network interface, supporting online collaboration among multiple departments and improving the efficiency of information sharing. Real-time data synchronization can be achieved between the client and the server, that is, each time the client uploads incremental data, only the newly added or modified content is synchronized, reducing the transmission burden. The server pulls the latest data through a scheduled task and updates the database.

[0107] The present invention uses mobile devices, sensors, and data collection applications to support real-time uploading and multi-dimensional data integration. Combining data cleaning and preprocessing technologies, it solves the problems of data duplication, incompleteness, and inconsistent formats, achieving efficient data collection and cleaning, ensuring that the data is accurate, real-time, and structured, and laying a solid foundation for subsequent display and analysis. Using GIS technology, the dry toilet renovation data is visually displayed in the form of a map, and at the same time, multiple display forms (point marking, heat map, graded coloring) are supported. Users can understand the renovation status and distribution in real time through the map interaction function, improving the intuitiveness and operability of data display, providing accurate information reference for managers, and helping to quickly locate problem areas. Through data aggregation algorithms and trend analysis models, statistical results and predictive analysis of the renovation progress are provided, and resource optimization suggestions are generated. In particular, the analysis of the common problems of users who have not completed provides targeted solutions for managers, realizing intelligent data analysis and scientific decision-making support, and effectively improving the efficiency of resource allocation and construction management. Through the real-time data synchronization mechanism, it ensures that the data between the client and the server is always consistent, the map interface is dynamically updated, and users can grasp the current renovation progress in real time, providing a dynamic and real-time display of renovation information, avoiding information lag problems, and providing a guarantee for timely adjustment of renovation strategies. Through the network sharing platform and various data export formats, it supports online collaboration among multiple departments and real-time access to renovation data, improves the efficiency of information sharing, constructs an efficient collaboration and sharing mechanism, reduces communication costs, and improves the work collaboration efficiency. Through intelligent aggregation, real-time display, trend analysis, and optimization suggestions, it helps decision-makers comprehensively grasp the progress and problems of dry toilet renovation, so as to optimize the construction sequence, accurately allocate resources, maximize the renovation efficiency, significantly improve the precise management level of dry toilet renovation work, and promote the efficient implementation of the renovation work.

[0108] The above introduced a data display method provided by an embodiment of the present application. Next, a system for executing the above data display method will be introduced.

[0109] Please refer to Figure 2 , Figure 2Schematic diagram of a data display system provided by an embodiment of this application. As Figure 2 shown, the data display system includes:

[0110] A data acquisition module 201, configured to acquire dry toilet renovation data; wherein, the dry toilet renovation data includes a plurality of dry toilet renovation coordinate points.

[0111] A division module 202, configured to divide a plurality of dry toilet renovation coordinate points into one or more target areas on the current map.

[0112] A grid range determination module 203, configured to determine the grid range for dividing the visible area according to the visible area of the current map and the map display size data.

[0113] An aggregation module 204, configured to perform point aggregation processing on the dry toilet renovation coordinate points located within the grid range when there is an intersection between the grid range and the target area, to obtain aggregated points.

[0114] A display module 205, configured to display the annotation information of the target coordinate points and / or the aggregated points on the current map; wherein, the annotation information includes location information and the dry toilet renovation progress, and the target coordinate points are one or more dry toilet renovation coordinate points within the target area.

[0115] In a possible implementation, the division module 202 is specifically configured to:

[0116] Determine the initialization area covering the dry toilet renovation coordinate points and the maximum number of coordinate points that the initialization area can accommodate;

[0117] If the number of dry toilet renovation coordinate points does not exceed the maximum number of coordinate points that the initialization area can accommodate, use the initialization area as the target area;

[0118] If the number of dry toilet renovation coordinate points exceeds the maximum number of coordinate points that the initialization area can accommodate, perform area division on the initialization area and determine the maximum number of coordinate points that the divided area can accommodate;

[0119] If the target condition is satisfied, use the divided area as the target area and allocate a plurality of dry toilet renovation coordinate points to multiple target areas, otherwise, perform area division on each divided area until the target condition is satisfied; wherein, the target condition is that the number of dry toilet renovation coordinate points allocated to the divided area does not exceed the maximum number of coordinate points that the divided area can accommodate.

[0120] In a possible implementation, the grid range determination module 203 is specifically configured to:

[0121] Determine the scaling ratio according to the visible area of the current map and the map display size data;

[0122] Determine the grid size according to the current zoom level and zoom ratio;

[0123] Determine the grid range according to the grid size.

[0124] In a possible implementation, the data display system further includes:

[0125] An adjustment module, configured to respond to a size adjustment instruction of the visible area of the current map, and adjust the display density of the annotation information according to the zoom level corresponding to the adjusted visible area; wherein, the display density reflects the number of dry toilet renovation coordinate points displayed in the visible area, and the display density of the annotation information increases with the increase of the zoom level.

[0126] In a possible implementation, the data display system further includes:

[0127] A heat map generation module, configured to determine the heat map display color corresponding to the dry toilet renovation progress; generate a heat map reflecting the dry toilet renovation progress of the target area according to the heat map display color and the dry toilet renovation coordinate points in the target area.

[0128] In a possible implementation, the data display system further includes:

[0129] A grading coloring module, configured to classify the target area according to the dry toilet renovation progress to obtain a classification result; determine the area display color corresponding to the classification result; display the target area with the area display color in the current map.

[0130] In the embodiments of the present application, an electronic device is further provided. Refer to Figure 3 As shown, it shows a schematic structural diagram of an electronic device suitable for implementing the electronic device in the embodiments of the present application. The electronic device in the embodiments of the present application may include, but is not limited to, fixed terminals such as mobile phones, laptop computers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), desktop computers, and the like. Figure 3 The electronic device shown is only an example and should not bring any limitations to the functions and usage scope of the embodiments of the present application.

[0131] As Figure 3 shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage device 308 into the random access memory (RAM) 303. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 303. The processing device 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.

[0132] Typically, the following devices can be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a memory card, a hard disk, etc.; and a communication device 309. The communication device 309 can allow the electronic device to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 3 an electronic device with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices can be implemented or had.

[0133] This electronic device is capable of implementing the above data display method.

[0134] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions run on an electronic device, the electronic device is enabled to implement any one of the data display methods provided by the embodiments of the present application.

[0135] An embodiment of the present application also provides a computer-readable storage medium. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can be enabled to implement any one of the data display methods provided by the embodiments of the present application.

[0136] In addition, it should be noted that the device embodiments described above are merely illustrative. 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, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines.

[0137] Through the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general hardware. Of course, it can also be implemented by dedicated hardware including application-specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. Generally, functions accomplished by computer programs can be easily implemented by corresponding hardware, and the specific hardware structures for implementing the same function can also be diverse, such as analog circuits, digital circuits, or dedicated circuits. However, for this application, software program implementation is a better embodiment in more cases. Based on such understanding, the technical solution of this application, in essence, or the part that makes contributions to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disc of a computer, and includes several instructions for causing a computer device (which can be a personal computer, training device, or network device, etc.) to execute the methods described in various embodiments of this application.

[0138] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product.

[0139] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are generated in whole or in part. The computer can be a general computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, training device, or data center to another website, computer, training device, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store, or a data storage device such as a training device or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Claims

1. A data display method, characterized in that: include: Acquire dry toilet renovation data; wherein the dry toilet renovation data includes a plurality of dry toilet renovation coordinate points; Dividing the plurality of dry toilet transformation coordinate points into one or more target areas in the current map; Determining a grid range for dividing the visible area according to the visible area of ​​the current map and the map display size data; In the case where the grid range and the target area intersect, performing point aggregation processing on the dry toilet transformation coordinate points within the grid range to obtain aggregation points; The target coordinate point and / or the annotation information of the aggregation point is displayed in the current map; wherein the annotation information includes location information and dry toilet renovation progress, and the target coordinate point is one or more dry toilet renovation coordinate points in the target area.

2. The data display method according to claim 1, characterized in that: The step of dividing the plurality of dry toilet transformation coordinate points into one or more target areas of the current map includes: Determine an initialization area covering the coordinate points of the dry toilet transformation and a maximum number of coordinate points that can be accommodated in the initialization area; If the number of the dry toilet transformation coordinate points does not exceed the maximum number of coordinate points that the initialization area can accommodate, the initialization area is used as the target area; If the number of the dry toilet transformation coordinate points exceeds the maximum number of coordinate points that the initialization area can accommodate, the initialization area is divided into regions, and the maximum number of coordinate points that the divided regions can accommodate is determined; If the target condition is met, the divided area is used as the target area, and multiple dry toilet transformation coordinate points are allocated to multiple target areas; otherwise, each divided area is divided until the target condition is met; wherein, the target condition is that the number of dry toilet transformation coordinate points allocated to the divided area does not exceed the maximum number of coordinate points that the divided area can accommodate.

3. The data display method according to claim 1, characterized in that: The step of determining the grid range for dividing the visible area according to the visible area of ​​the current map and the map display size data includes: Determining a zoom ratio according to the visible area of ​​the current map and the map display size data; Determining a grid size according to the current zoom level and the zoom ratio; According to the grid size, a grid range is determined.

4. The data display method according to any one of claims 1 to 3, characterized in that: Also includes: In response to an instruction to adjust the size of the visible area of ​​the current map, the display density of the annotation information is adjusted according to the zoom level corresponding to the resized visible area; wherein the display density reflects the number of dry toilet renovation coordinate points displayed in the visible area, and the display density of the annotation information increases with the increase of the zoom level.

5. The data display method according to any one of claims 1 to 3, characterized in that: Also includes: Determine the heat map display color corresponding to the progress of the dry toilet renovation; A heat map reflecting the progress of the dry toilet renovation in the target area is generated according to the display colors of the heat map and the coordinate points of the dry toilet renovation in the target area.

6. The data display method according to any one of claims 1 to 3, characterized in that: Also includes: Classifying the target area according to the progress of the dry toilet renovation to obtain a classification result; Determine a display color of a region corresponding to the classification result; The target area is displayed in the current map with the area display color.

7. A data display system, characterized in that: include: A data acquisition module is used to acquire dry toilet renovation data; wherein the dry toilet renovation data includes a plurality of dry toilet renovation coordinate points; A division module, used for dividing the plurality of dry toilet transformation coordinate points into one or more target areas in the current map; A grid range determination module, used to determine the grid range for dividing the visible area according to the visible area of ​​the current map and the map display size data; An aggregation module, used for performing point aggregation processing on the dry toilet transformation coordinate points within the grid range to obtain aggregation points when the grid range and the target area intersect; A display module is used to display the target coordinate point and / or the annotation information of the aggregation point in the current map; wherein the annotation information includes location information and dry toilet renovation progress, and the target coordinate point is one or more dry toilet renovation coordinate points in the target area.

8. A computer program product, characterized in that It includes computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the data display method as described in any one of claims 1 to 6.

9. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the data display method as described in any one of claims 1 to 6.

10. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the data display method as described in any one of claims 1 to 6.