CN111666319B - Data display method and device, electronic equipment and computer readable storage medium - Google Patents
Data display method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111666319B CN111666319B CN201910172927.6A CN201910172927A CN111666319B CN 111666319 B CN111666319 B CN 111666319B CN 201910172927 A CN201910172927 A CN 201910172927A CN 111666319 B CN111666319 B CN 111666319B
- Authority
- CN
- China
- Prior art keywords
- grid
- depth information
- data
- polygonal
- grids
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/006—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
- G09B29/007—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Ecology (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application relates to the technical field of data processing, and discloses a data display method, a data display device, electronic equipment and a computer-readable storage medium, wherein the data display method comprises the following steps: when a data acquisition request aiming at a target analysis object is received, determining attribute information of each grid in a polygonal grid graph corresponding to a region according to the region to which the target analysis object belongs, wherein the region comprises the data acquisition request; secondly, according to the target time included by the data acquisition request, acquiring pre-stored depth information of the target analysis object by using the attribute information of each grid; then displaying a polygonal grid graph comprising a plurality of grids corresponding to the area and depth information of each grid; and then, when a preset trigger condition is met, carrying out linkage display on the depth information of the multiple meshes and each mesh of the polygonal mesh graph through a preset association relation. The method of the embodiment of the application realizes the image-text linkage display of the data, and improves the query efficiency and the analysis efficiency.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data display method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
Currently, by clicking a certain area or a certain label on an electronic map, data information corresponding to the area or the label can be correspondingly displayed. The manner of clicking the electronic map to display the corresponding data information is various, such as "thermodynamic diagram", "point density diagram", "polygonal box chart", contour map "and" isoprobe map ".
However, in the specific implementation process, the inventor of the present application finds that: although current electronic maps can display corresponding data information, they are usually used with tooltips (prompting tools) or pop-up windows when a mouse is suspended to display data information, and are not suitable for displaying sequenced data. Moreover, when map data is displayed through thermodynamic diagrams, it is difficult to select a specific point, point set or area because the data is too aggregated, and thus the data cannot be further analyzed; the point density map is a data map formed by combining completely discrete points, and although the information of a single point can be accurately displayed, the specific values of the data are not displayed through data coding means such as colors, point sizes and the like due to the large number of the points; the most common polygonal box distribution diagram is a rectangular box distribution diagram, which is a visual view with aggregation degree between a point density diagram and a thermodynamic diagram, and the value of an analysis object in the same area is counted and displayed by color change.
Disclosure of Invention
The purpose of the present application is to solve at least one of the above technical drawbacks, and to provide the following solutions:
in a first aspect, a data display method is provided, including:
when a data acquisition request aiming at a target analysis object is received, determining attribute information of each grid in a polygonal grid graph corresponding to a region according to the region to which the target analysis object belongs, wherein the region is included in the data acquisition request;
according to the target time and the attribute information of each grid included in the data acquisition request, acquiring depth information of the target analysis object which is prestored;
the display area corresponds to a polygonal grid graph comprising a plurality of grids and depth information of each grid;
and when the preset triggering condition is met, the depth information of the multiple grids and each grid of the polygonal grid graph is displayed in a linkage mode through a preset association relation.
In one implementation, before receiving a data query request for a target analysis object, the method further includes:
acquiring depth information corresponding to each grid and aiming at a target analysis object;
and storing the depth information of each grid according to the attribute information of each grid, wherein the attribute information comprises identification information and/or position information, and the identification information, the position information and the depth information of any grid have an association relation.
In another implementation manner, the depth information for the target analysis object corresponding to each grid is obtained by analyzing and processing, by the server, the raw data of the target analysis object corresponding to each grid, which is acquired by each acquisition device.
In another implementation manner, displaying a polygonal mesh map including a plurality of meshes corresponding to the area and depth information of each mesh includes:
and rendering a polygonal grid graph which comprises a plurality of grids and corresponds to the display area on the electronic map according to the depth information which corresponds to each grid, and displaying the depth information of the corresponding grid through each item of the data display items.
In another implementation manner, rendering a polygonal grid map including a plurality of grids corresponding to a display area on an electronic map according to depth information corresponding to each grid, includes:
converting the position information corresponding to each grid into corresponding pixel coordinates, and drawing each grid on Canvas based on the pixel coordinates;
rendering each drawn grid according to the depth information corresponding to each grid.
In another implementation manner, rendering each drawn mesh according to the depth information corresponding to each mesh respectively includes:
determining color data values of preset rendering colors corresponding to the drawn grids respectively according to the data volume of the depth information corresponding to the grids respectively;
and rendering the drawn corresponding grids according to the color data values.
In another implementation, displaying depth information of a corresponding grid through each item of the data presentation item includes:
and sequencing the depth information corresponding to each grid based on a preset sequencing rule, and displaying the sequenced depth information through each item of the data display item.
In another implementation manner, before the depth information of the multiple meshes and each mesh of the polygonal mesh map is displayed in an interlocking manner through a pre-established association relationship, the method further includes:
and establishing a one-to-one correspondence relationship between the item items of the data display items and the grids in the polygonal grid graph according to the identification information of each grid.
In another implementation manner, when a preset trigger condition is met, the depth information of multiple meshes and each mesh of the polygonal mesh map is displayed in a linkage manner through a pre-established association relationship, including:
when the triggering operation of any grid in the polygonal grid graph is detected, displaying an item corresponding to any grid in a preset display mode based on the pre-established association relation so that the item is displayed in other items in a distinguished mode; and/or the presence of a gas in the gas,
when the triggering operation of any item of the data display items is detected, the grid corresponding to any item is displayed in a preset display mode based on the pre-established association relation, so that the grid is displayed in other grids in a distinguishing mode.
In a second aspect, there is provided a data display device comprising:
the determining module is used for determining the attribute information of each grid in the polygonal grid graph corresponding to the region according to the region to which the target analysis object belongs and included in the data acquisition request when the data acquisition request aiming at the target analysis object is received;
the first acquisition module is used for acquiring depth information of a pre-stored target analysis object according to the target time and the attribute information of each grid included in the data acquisition request;
the first display module is used for displaying a polygonal grid map which comprises a plurality of grids and depth information of each grid corresponding to the area;
and the second display module is used for displaying the depth information of the multiple grids and each grid of the polygonal grid graph in a linkage manner through a pre-established association relationship when a preset trigger condition is met.
In one implementation manner, the apparatus further includes a second obtaining module and a storage module;
the second acquisition module is used for acquiring the depth information corresponding to each grid and aiming at the target analysis object;
and the storage module is used for storing the depth information of each grid according to the attribute information of each grid, wherein the attribute information comprises identification information and/or position information, and the identification information, the position information and the depth information of any grid have an association relation.
In another implementation manner, the second obtaining module is specifically configured to perform, by using the server, analysis processing on the raw data of the target analysis object corresponding to each grid acquired by each acquisition device, so as to obtain depth information of the target analysis object corresponding to each grid.
In another implementation manner, the display module is specifically configured to render a polygonal grid map including multiple grids corresponding to the display area on the electronic map according to the depth information corresponding to each grid, and display the depth information of the corresponding grid through each item of the data display item.
In another implementation, the display module includes a conversion unit and a rendering unit;
the conversion unit is used for converting the position information corresponding to each grid into corresponding pixel coordinates and drawing each grid on Canvas based on the pixel coordinates;
and the rendering unit is used for rendering each drawn grid according to the depth information corresponding to each grid.
In another implementation manner, the rendering unit is specifically configured to determine, according to the data size of the depth information corresponding to each grid, a color data value of a predetermined rendering color corresponding to each drawn grid; and the rendering module is used for rendering the drawn corresponding grids according to the color data values.
In another implementation manner, the display module is specifically configured to sort the depth information corresponding to each grid based on a predetermined sorting rule, and display the sorted depth information through each item of the data presentation item.
In another implementation, the apparatus further includes a build module;
and the construction module is used for establishing the one-to-one corresponding relation between the item items of the data display items and the grids in the polygonal grid graph according to the identification information of each grid.
In another implementation manner, the second display module is specifically configured to, when a trigger operation on any one of the meshes in the polygonal mesh diagram is detected, display an entry item corresponding to the any one of the meshes in a predetermined display manner based on a pre-established association relationship, so that the entry item is displayed differently on other entry items; and/or the display device is used for displaying the grids corresponding to any item in a preset display mode based on the pre-established association relation when the triggering operation of any item of the data display items is detected, so that the grids are displayed on other grids in a distinguishing way.
In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the data display method is implemented.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the data display method described above.
According to the data display method provided by the embodiment of the application, according to the target time and the attribute information of each grid in the polygonal grid map of the area to which the target analysis object belongs, the pre-stored depth information of the target analysis object is obtained, and when the polygonal grid map comprising a plurality of grids corresponding to the area and the depth information of each grid are displayed, the depth information of the plurality of grids and each grid of the polygonal grid map are displayed in a linkage manner through the pre-established association relation, so that the polygonal grid map of the area to which the target analysis object belongs can be displayed according to the depth information corresponding to each grid, the depth information corresponding to each grid can be visually displayed, and the depth information can be further analyzed; the depth information of the multiple grids and each grid of the polygonal grid map is displayed in a linkage mode through the pre-established association relation, so that the depth information of the multiple grids and each grid of the polygonal grid map can be linked with each other, the image-text linkage of the depth information or the two-way linkage display of the image-text simultaneous display are achieved, and the query efficiency and the analysis efficiency of a user on the depth information of the target analysis object in the area are greatly improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart illustrating a data display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data display according to an embodiment of the present application;
FIG. 3 is a schematic illustration of another data display according to an embodiment of the present application;
FIG. 4 is a diagram of a basic process for implementing data display according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a basic structure of a data display device according to an embodiment of the present application;
FIG. 6 is a detailed structural diagram of a data display device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the present application provides a data display method, as shown in fig. 1, including:
step S110, when receiving a data acquisition request for a target analysis object, determining attribute information of each mesh in a polygonal mesh map corresponding to a region according to the region to which the target analysis object belongs, which is included in the data acquisition request.
Specifically, the inquirer may input a data acquisition request for the target analysis object through a client, an application APP or other terminal equipment for viewing depth information. Correspondingly, the client, the APP or other terminal equipment for viewing the depth information receives a data acquisition request for the target analysis object, which is input by the inquirer.
Specifically, the data acquisition request includes a region to which the target analysis object belongs, where the region refers to a certain geographical space or a certain geographical range, and is divided according to a certain instruction and method based on geographical differences, and may be a certain province, a certain city, a certain district, a certain town, a certain village, and the like, a certain business circle, a certain scenic spot, a certain building, a certain cell, and the like, or may be other specific locations, which is not limited in the embodiments of the present application. The target analysis object may be passenger flow volume, vehicle flow volume, rainfall, snowfall, air temperature, or the like, and may also be other analysis objects, which are not limited in the embodiment of the present application.
The depth information is a specific numerical value for measuring the data volume of the target analysis object in the region to which the target analysis object belongs. If the target analysis object is the number of tourists, the depth information is a specific numerical value for measuring the data volume (number of people) of the tourists, namely the depth information is the specific number of the tourists at the moment, such as 10000 people, 15000 people, 30000 people and the like; if the target analysis object is rainfall, the depth information is a specific numerical value of data quantity (millimeter, centimeter, and the like) for measuring the rainfall, that is, the depth information is a specific rainfall numerical value at this time, such as 10mm (millimeter), 20mm, 30mm, and the like, and further such as 1cm (centimeter), 2cm, 3cm, and the like; if the target analysis object is the air temperature, the depth information is a specific numerical value of the data volume (celsius) for measuring the air temperature, that is, the depth information is a specific air temperature value at this time, for example, 0 ℃ (celsius), 1 ℃, 3 ℃, and the like.
Further, the polygonal mesh map corresponding to the region to which the target analysis object belongs is obtained by dividing the region into a plurality of meshes with a predetermined size on the electronic map, for example, the region may be divided into a plurality of meshes in units of one square kilometer on the electronic map, where each mesh has its own attribute information. Then, after receiving a data acquisition request for a target analysis object, attribute information of each mesh in the polygonal mesh map corresponding to a region to which the target analysis object belongs may be determined according to the region included in the data acquisition request.
Step S120, obtaining the depth information of the pre-stored target analysis object according to the target time and the attribute information of each grid included in the data obtaining request.
Specifically, the data obtaining request includes, in addition to the area to which the target analysis object belongs, a target time at which the inquirer obtains the depth information of the target analysis object, where the target time may be a date, for example, 1 month and 20 days in 2019, or may also be a specific time interval, for example, 02:00:12 to 04:15:00, which is not limited by the embodiments of the present application. If the target analysis object is the number of tourists, the area to which the target analysis object belongs is the D town, and the target time is 2019, 1, 20 days, the depth information (namely the number of the tourists) of the number of the tourists of the D town in 2019, 1, 20 days is indicated to be inquired by the inquiring person.
Further, after determining the attribute information of each mesh in the polygonal mesh map corresponding to the region according to the region to which the target analysis object included in the data acquisition request belongs, the depth information of the target analysis object may be pre-stored according to the target time included in the data acquisition request and the attribute information of each mesh, where if the depth information of the target analysis object is pre-stored in a corresponding database, the corresponding depth information may be acquired from the database corresponding to the target analysis object.
If the target analysis object is the number of visitors, the area to which the target analysis object belongs is the D town, and the target time is 2018, 10 and 7 days, after determining the attribute information of each grid in the polygonal grid map corresponding to the D town, the corresponding depth information (i.e. the number of visitors) can be obtained from the database corresponding to the number of visitors according to the target time of 2018, 10, 7 days and the attribute information of each grid in the polygonal grid map corresponding to the D town, and the number of visitors obtained at this time is the number of visitors corresponding to each grid in the D town in 2018, 10, 7 days, namely, each grid has the number of visitors corresponding to the grid.
Step S130, displaying a polygonal mesh map including a plurality of meshes corresponding to the area and depth information of each mesh.
Specifically, after the corresponding depth information is acquired from the database corresponding to the target analysis object according to the target time and the attribute information of each mesh included in the data acquisition request, the polygonal mesh map including each mesh and the depth information of each mesh corresponding to the region to which the target analysis object belongs may be displayed according to the acquired depth information corresponding to each mesh, that is, the polygonal mesh map including each mesh in the region to which the target analysis object belongs is displayed, and the depth information corresponding to each mesh is synchronously displayed.
Step S140: and the display device is used for displaying the depth information of the grids and the grids of the polygonal grid graph in a linkage manner through a pre-established association relationship when a preset trigger condition is met.
Specifically, when the polygonal grid map including the multiple grids and the depth information of each grid corresponding to the display area are displayed, the multiple grids of the polygonal grid map and the depth information of each grid can be displayed in a linkage manner through a pre-established association relationship, so that the multiple grids in the polygonal grid map and the depth information of each grid can be linked with each other, image-text linkage or bidirectional linkage display of image-text simultaneous display of the depth information is realized, and the query efficiency and the analysis efficiency of a user on the depth information of the target analysis object in the area are greatly improved.
According to the data display method provided by the embodiment of the application, according to the target time and the attribute information of each grid in the polygonal grid map of the area to which the target analysis object belongs, the pre-stored depth information of the target analysis object is obtained, and when the polygonal grid map comprising a plurality of grids corresponding to the area and the depth information of each grid are displayed, the depth information of the plurality of grids and each grid of the polygonal grid map is displayed in a linkage manner through the pre-established association relation, so that not only can the polygonal grid map of the area to which the target analysis object belongs be displayed according to the depth information corresponding to each grid, but also the depth information corresponding to each grid can be visually displayed, and the depth information can be further analyzed; the depth information of the multiple grids and each grid of the polygonal grid map is displayed in a linkage mode through the pre-established association relation, so that the depth information of the multiple grids and each grid of the polygonal grid map can be linked with each other, the image-text linkage of the depth information or the two-way linkage display of the image-text simultaneous display are achieved, and the query efficiency and the analysis efficiency of a user on the depth information of the target analysis object in the area are greatly improved.
The embodiment of the present application provides another possible implementation manner, where before receiving a data query request for a target analysis object, the method further includes: step a, obtaining depth information aiming at a target analysis object corresponding to each grid; and b, correspondingly storing the depth information of each grid to a database according to the attribute information of each grid, wherein the attribute information comprises identification information and/or position information, and the identification information, the position information and the depth information of any grid have an association relation.
Specifically, the polygonal grid map corresponding to any area is obtained by dividing the area into a plurality of grids with a predetermined size, for example, any area may be divided into a plurality of grids of one kilometer by one kilometer, where after any area is divided into a plurality of grids with a predetermined size, each grid has corresponding position information (e.g., latitude and longitude). Then, to facilitate distinguishing between the individual grids, each grid may be assigned a unique identification information (e.g., an ID), where the individual grids have their own identification information and/or location information. The identification information and/or the location information are/is attribute information of the mesh, which is used for uniquely characterizing the network, in other words, the attribute information of the mesh refers to the property or feature of the mesh.
Specifically, the following methods may be used to obtain the depth information corresponding to each mesh for the target analysis object:
in a first mode, a server receives currently acquired original data of a corresponding grid for a target analysis object, which is sent by any acquisition device, and analyzes and processes the original data to obtain depth information of the corresponding grid for the target analysis object. The server corresponds to the client, the application program APP or other terminal devices for viewing the depth information. In this manner, each acquisition device located in each grid acquires, in real time, raw data for a target analysis object corresponding to each grid, where each time any acquisition device acquires raw data for a target analysis object of a corresponding grid, it sends the currently acquired raw data for the target analysis object of the corresponding grid to the server. Accordingly, the server receives the currently acquired raw data of the corresponding grid for the target analysis object, which is sent by any acquisition device. Then, the server analyzes and processes the raw data of the corresponding grid acquired by any acquisition device, which is directed to the target analysis object, to obtain the depth information of the corresponding grid, which is directed to the target analysis object.
If any acquisition device is a device G1 and the grid corresponding to any acquisition device is a grid M1, then: each time the device G1 acquires the raw data S1 for the target analysis object of the mesh M1, the currently acquired raw data S1 for the target analysis object of the mesh M1 is transmitted to the corresponding server. Correspondingly, the server receives the currently acquired raw data S1 for the target analysis object of the grid G1 sent by the device G1, and performs analysis processing on the received raw data S1 to obtain the depth information for the target analysis object of the grid M1.
In the second mode, the server sends an acquisition request to any acquisition device at a preset time interval, and receives the raw data of the corresponding grid fed back by the any acquisition device for the target analysis object. The server is a server corresponding to the client, the application program APP or other terminal devices for viewing the depth information. In this manner, the server sends an acquisition request to any acquisition device at a predetermined time interval, for example, sending an acquisition request every 5 seconds, sending an acquisition request every 10 seconds, sending an acquisition request every 20 seconds, and the like, and after receiving the acquisition request, the any acquisition device feeds back to the server the raw data of the grid corresponding to the any acquisition device for the target analysis object. Correspondingly, the server receives the raw data of the corresponding grid for the target analysis object fed back by any acquisition device, and then, the server analyzes and processes the raw data of the corresponding grid for the target analysis object fed back by any acquisition device to obtain the depth information of the corresponding grid for the target analysis object.
If any acquisition device is a device G2, the grid corresponding to any acquisition device is a grid M2, and the predetermined time interval is 5 seconds, then: the server sends an acquisition request to the device G2 every 5 seconds, and after receiving the acquisition request, the device G2 feeds back to the server the original data S2 of the grid M2 corresponding to the device G2, the original data being directed to the target analysis object. Correspondingly, the server receives the raw data S2 of the grid G2 fed back by the device G2 for the target analysis object, and performs analysis processing on the received raw data S2 to obtain the depth information of the grid M2 for the target analysis object.
Further, after the depth information for the target analysis object corresponding to each mesh is obtained, the depth information of each mesh may be stored according to the attribute information of each mesh, for example, the depth information of each mesh may be correspondingly stored in a corresponding database of the server, so as to provide a precondition for obtaining the depth information of each mesh from the database subsequently.
The following introduces the implementation manner by taking a target analysis object as the guest volume as an example:
if the target time is 2018, 10 months, 07 days, and the D town is pre-divided into a polygonal grid map including 10 grids of a predetermined size, the identification information of the 10 grids is 001, 002, 003, …, 010, and the position information of the 10 grids is P01, P02, P03, …, P10, respectively, at this time, the number of visitors (i.e., depth information) corresponding to each of the 10 grids can be obtained in real time through positioning data, and then the number of visitors in each grid can be correspondingly stored in a database related to the number of visitors, such as a visitor volume database, according to the identification information of each grid, or according to the position information and position information of each grid, the visitor volume database can be stored as a separate database, or can be stored as a sub-database of an overall database storing various data.
When the number of visitors in each grid is correspondingly stored in the database related to the number of visitors, the number of visitors corresponding to each grid in town D of 10/month and 7/2018 may be stored in the database of the number of visitors in the form of a data table, the data table may be named by a date, such as the 2018-10-07 data table, and may of course be named in other manners, which is not limited in the embodiment of the present application. Each piece of information stored in the guest volume database includes time information, the number of guests for each grid (i.e., depth information), identification information for each grid, and/or location information. The identification information, the position information and the depth information of any grid in the database have an association relationship, for example, the identification information and the depth information of the grid have an association relationship (for example, a one-to-one correspondence relationship), the depth information of the grid can be acquired according to the identification information of the grid, for example, the position information and the depth information of the grid have an association relationship, the depth information of the grid can be acquired according to the position information of the grid, for example, the identification information and the position information of the grid have an association relationship with the depth information of the grid, and the depth information of the grid can be acquired according to the identification information and the position information of the grid.
Further, the guest amount database may be encapsulated with two interfaces, which are respectively denoted as interface 1 and interface 2, and data may be obtained from the guest amount database through the two interfaces, where depth information of each grid may be obtained through interface 1, and attribute information of each grid may be obtained through interface 2, or of course, depth information of each grid may be obtained through interface 2, and attribute information of each grid may be obtained through interface 1.
Further, when the target analysis object of the inquirer is the number of tourists, the target time is 2018, 10, 7 and the area to which the target analysis object belongs is the D town, the number of the tourists corresponding to each grid in the polygonal grid map corresponding to the D town can be quickly and accurately acquired from the tourist number database, and therefore the polygonal grid map corresponding to the D town and comprising the grids and the depth information (the number of the tourists) of each grid are synchronously displayed.
The embodiment of the present application provides another possible implementation manner, where displaying a polygonal grid map including multiple grids corresponding to a region and depth information of each grid includes:
and rendering a polygonal grid map which corresponds to the display area and comprises a plurality of grids on the electronic map according to the depth information which corresponds to each grid, and displaying the depth information of the corresponding grid through each item of the data display item.
The method for rendering the polygonal grid graph comprising a plurality of grids corresponding to the display area on the electronic map according to the depth information corresponding to each grid respectively comprises the following steps:
converting the position information corresponding to each grid into corresponding pixel coordinates, and drawing each grid on Canvas based on the pixel coordinates;
and rendering each drawn grid according to the depth information corresponding to each grid.
Rendering each drawn grid according to the depth information corresponding to each grid respectively, comprising:
determining color data values of preset rendering colors corresponding to the drawn grids respectively according to the data volume of the depth information corresponding to each grid respectively;
and rendering the drawn corresponding grids according to the color data values.
Displaying depth information of a corresponding grid through each item of the data presentation item, including:
and sequencing the depth information corresponding to each grid based on a preset sequencing rule, and displaying the sequenced depth information through each item of the data display item.
The following describes the related contents related to the present implementation in detail:
the method includes the steps that a polygonal grid graph including a plurality of grids in an area to which a target analysis object belongs can show the geographical distribution condition and the extensive quantity level of the target analysis object in the area, wherein the extensive quantity level of the target distribution in the area can be shown through color change of preset rendering colors (such as red, blue, green, gray and the like), the color change of the preset colors is rendered according to depth information corresponding to each grid, and namely the polygonal grid graph including the plurality of grids corresponding to the area can be rendered and displayed on an electronic map according to the depth information corresponding to each grid.
Specifically, each grid carries respective identification information and position information, and when a polygonal grid map including multiple grids corresponding to the area is rendered and displayed on the electronic map, the position information corresponding to each grid can be converted into corresponding pixel coordinates according to the position information of each grid, and then each grid is drawn according to the pixel coordinates. When the position information of the grids is longitude and latitude coordinates of the lower left corner and the upper right corner, coordinates of 4 points are needed when the grids are drawn, the longitude and latitude coordinates of the other two points of each grid can be calculated according to the longitude and latitude coordinates of the lower left corner and the upper right corner, then the coordinates of the 4 points of the grids are converted into pixel coordinates which can be recognized by an electronic map of a screen browser, and then each grid is drawn on a Canvas (Canvas) based on the pixel coordinates, so that each grid can be identified on the electronic map.
Furthermore, after each grid is identified on the electronic map, each drawn grid can be rendered through a preset rendering color according to the depth information corresponding to each grid, so that a polygonal grid graph comprising a plurality of grids corresponding to the area on the electronic map is displayed through color change of the preset rendering color.
Further, when each drawn mesh is rendered by a predetermined color according to the depth information corresponding to each mesh, the color data value of the predetermined rendering color corresponding to each drawn mesh can be determined according to the data size of the depth information corresponding to each mesh, and then the corresponding drawn mesh is rendered according to each color data value.
If the predetermined rendering color is gray, the respective meshes may be presented on the electronic map as gray having different gray values according to the data amount of the depth information of the respective meshes. Usually, the gray values all have a value range of [0,255], which means that the gray values are from dark to light, and the corresponding colors are from black to white, i.e. white is 255 and black is 0. In practical application, the gray values respectively corresponding to the meshes can be determined according to the direct proportional relationship between the data size of the depth information and the gray value, that is, the larger the data amount of the depth information of the mesh is, the larger the gray value corresponding to the mesh is, that is, the mesh with the larger data amount of the depth information is represented by the gray with the lighter color, as shown in fig. 2, the polygon mesh map in fig. 2 is obtained by rendering according to the direct proportional relationship between the data amount of the depth information and the gray value. Of course, the gray values corresponding to the respective grids may also be determined according to an inverse proportional relationship between the data amount of the depth information and the gray value, that is, the larger the data amount of the depth information of the grid is, the smaller the gray value corresponding to the grid is, that is, the grid with the larger data amount of the depth information is, the darker the gray is used to represent the grid with the larger data amount of the depth information.
It should be noted that, the above-mentioned specific description is only given by taking the predetermined rendering color as gray as an example, and for other predetermined rendering colors, such as red, blue, green, and the like, the rendering process is the same as that of the above-mentioned example in which the rendering color is gray, and details thereof are not repeated here.
Although the geographical distribution and the number level of the target analysis object in the region can be shown through the polygonal grid map of the region to which the target analysis object belongs, the sequencing situation of the depth information of each grid cannot be intuitively reflected, and the sequencing data can be well shown through the sliding list, namely the sequencing situation of the data is intuitively shown. Therefore, in the embodiment of the application, the depth information of the corresponding grid is displayed through each item of the data presentation item, wherein one item corresponds to a specific numerical value of the depth information of one grid.
Specifically, the data display entries may be sliding lists, at this time, each entry item is each list item in the sliding lists, the data display entries may also be bar charts, at this time, each entry item is each longitudinal stripe in the bar charts, the data display entries may also be pie charts, at this time, each entry item is each pie page in the pie charts, of course, the data display entries may also be other display manners in the prior art, and the embodiment of the present application does not limit the present application.
If the data display entries are sliding lists and the entry items are list items in the sliding lists, the depth information of the corresponding grids is displayed through the entry items of the data display entries, specifically, the depth information of the corresponding grids is displayed through the list items of the sliding lists. In other words, when the depth information of the corresponding grid is displayed through each list item of the sliding list, the data size of the depth information corresponding to each obtained grid may be sorted according to a predetermined sorting rule, and the predetermined sorting rule may be an ascending sorting rule or a descending sorting rule, which is not limited in the embodiment of the present application. And then displaying the sorted data values of the depth information of each grid through each list item of the sliding list, wherein each list item corresponds to one data value of the depth information of each grid, so that the sorting condition of the data amount of the depth information of each grid is visually displayed through the list items of the sliding list, as shown in fig. 2, the sliding list on the right side in fig. 2 is sorted according to the descending order of the data values of the depth information, and the data values of the depth information corresponding to each grid and the ranking condition of the depth information of each grid are visually displayed through the sliding list.
If the data presentation entry is a histogram and each entry item is a longitudinal stripe in the histogram, displaying depth information of the corresponding grid through each entry item of the data presentation entry, specifically: the depth information of the corresponding grid is displayed through each longitudinal stripe of the histogram, at this time, the depth information corresponding to each grid can be sorted based on a predetermined sorting rule, and the sorted depth information is displayed through each longitudinal stripe of the histogram. In other words, when the depth information of the corresponding grid is displayed through each longitudinal stripe of the histogram, the data size of the depth information corresponding to each acquired grid may be sorted according to a predetermined sorting rule, where the predetermined sorting rule may be sorting in an ascending order or sorting in a descending order, and the embodiment of the present application is not limited thereto. And then displaying the data values of the depth information of the sorted grids through the longitudinal stripes of the histogram, wherein each longitudinal stripe corresponds to the data value of the depth information of one grid, so that the sorting condition of the data amount of the depth information of each grid is visually displayed through the longitudinal stripes of the histogram, as shown in fig. 3, the histogram on the right side in fig. 3 is sorted according to the descending order of the data values of the depth information, and the data values of the depth information corresponding to each grid and the ranking condition of the depth information of each grid are visually displayed through the histogram.
The embodiment of the present application provides another possible implementation manner, where before the depth information of multiple meshes and each mesh of the polygonal mesh map is displayed in a linkage manner through a pre-established association relationship, the method further includes: and establishing a one-to-one correspondence relationship between the entry items of the data display entries and the grids in the polygonal grid graph according to the identification information of each grid.
When a preset trigger condition is met, the depth information of a plurality of grids of the polygonal grid graph and each grid is displayed in a linkage mode through a pre-established association relation, and the method comprises the following steps:
when the triggering operation of any grid in the polygonal grid graph is detected, displaying an item corresponding to any grid in a preset display mode based on the pre-established association relation, so that the item is displayed on other items in a distinguishing mode; and/or the presence of a gas in the atmosphere,
when the triggering operation of any item of the data display items is detected, the grid corresponding to any item is displayed in a preset display mode based on the pre-established association relation, so that the grid is displayed in other grids in a distinguishing mode.
The following describes the related contents related to the present implementation in detail:
when the polygonal grid map including the multiple grids corresponding to the area is rendered and displayed on the electronic map according to the depth information corresponding to each grid, the data information of any grid not only includes the depth information corresponding to any grid, but also includes identification information and/or position information corresponding to any grid. Similarly, the data information acquired by each entry item of the data presentation entry includes depth information of each mesh, and identification information and/or position information corresponding to each mesh. Wherein the identification information and/or the location information of the grid uniquely identifies the grid. Therefore, when a polygonal grid map which is corresponding to a display area and comprises a plurality of grids is rendered on the electronic map, and depth information of the corresponding grids is displayed through each item of the data display item, a one-to-one correspondence relation between the item of the data display item and the grids in the polygonal grid map can be established according to identification information of each grid, namely, each item of the data display item and the corresponding grid in the polygonal grid map are bound, so that each item of the data display item and the corresponding grid in the polygonal grid map are associated, and linkage display can be carried out between each item of the data display item and the corresponding grid. In addition, in practical application, a one-to-one correspondence relationship between the entry items of the data display entries and the grids in the polygonal grid map can be established according to the position information of each grid.
Specifically, the linkage display between each item of the data presentation item and the corresponding grid can be summarized as the following two cases: (1) When the triggering operation of any grid in the polygonal grid graph is detected, displaying an item corresponding to the any grid in a preset display mode based on the pre-established association relation so that the item is displayed on other items in a distinguished mode; (2) When the triggering operation of any item of the data display items is detected, the grid corresponding to the any item is displayed in a preset display mode based on the pre-established association relation, so that the grid is displayed on other grids in a distinguishing mode.
The predetermined display mode may be a highlight display mode, or may be another display mode capable of displaying the triggered grid or item in a distinguished manner on the non-triggered grid or item, for example, a frame of the triggered grid or item is displayed in a bold manner, and a frame of the non-triggered grid or item is not displayed in a bold manner; as another example, the triggered grid or item presents a raised display of the 3D effect, while the non-triggered grid or item tiles. In practical applications, other display manners capable of displaying the triggered grids and the non-triggered grids differently, or other display manners capable of displaying the triggered entry items and the non-triggered entry items differently may also be used, which is not limited in the embodiment of the present application.
Specifically, fig. 2 is a schematic diagram of linked display of a grid and a list item of a sliding list according to an embodiment of the present application, where when a user clicks a target grid in a polygonal grid diagram on the left side of fig. 2, the target grid enters a selected state, and at this time, a frame of the target grid is displayed in a bold manner, that is, the grid with the bold frame in fig. 2 is the selected target grid. And simultaneously, according to the incidence relation between the grids in the polygonal grid diagram and the list items of the sliding list, which is established in advance, determining the list items corresponding to the selected target grids, and thickening and displaying the frames of the list items so as to display the list items in other list items in the sliding list. The list items displayed in the frame in a bold mode show that the list items corresponding to the selected target grid are also in a selected state, namely the list items displayed in the frame in a bold mode in fig. 2 are the list items corresponding to the selected target grid, the data value of the depth information of the list items is the data value of the depth information of the selected grid, and the sorting condition of the depth information of the grid in the whole polygonal grid graph is shown through the list items.
Similarly, each list item in the sliding list also corresponds to one grid in the polygonal grid graph, when the user clicks a target list item on the sliding list according to the ranking of the depth information of each list item of the sliding list, the target list item enters a selected state, and at the moment, the frame of the target list item is displayed in a bold mode. Meanwhile, according to the pre-established incidence relation between the grids in the polygonal grid diagram and the list items of the sliding list, the grids corresponding to the selected target list items are determined, and the frames of the grids are displayed in a bold mode, so that the grids are displayed in other grids in the polygonal grid diagram in a distinguishing mode. The grid displayed in the bold frame represents that the grid corresponding to the selected target list item is also in a selected state, namely the grid corresponding to the selected target list item is the grid corresponding to the selected target list item in the grid bold frame in fig. 2, and the rendering color and the position of the grid in the polygonal grid diagram show the quantity level condition and the position distribution condition of the data value of the depth information of the target list item in the whole polygonal grid diagram.
Further, if the triggered grid or list items present a raised display of the 3D effect, while the non-triggered grid or list items are tiled, then: when a user clicks a target grid in the polygonal grid diagram, the target grid enters a selected state, the target grid is displayed in a 3D effect protruding mode at the moment, other grids displayed in the polygonal grid diagram are distinguished, and the grid displayed in the 3D effect protruding mode is the selected target grid. Meanwhile, according to the incidence relation between the grids in the pre-established polygonal grid graph and the list items of the sliding list, the list items corresponding to the selected target grids are determined, the list items are displayed in a protruding mode with a 3D effect, other list items in the sliding list are displayed in a distinguishing mode, the list items corresponding to the selected target grids are also in a selected state, namely the list items displayed in the protruding mode with the 3D effect are the list items corresponding to the selected target grids, the data value of the depth information of the list items is the data value of the depth information of the selected grids, and the sorting condition of the depth information of the grids in the whole polygonal grid graph is displayed through the list items.
Similarly, each list item in the sliding list also corresponds to one grid in the polygonal grid graph, when the user clicks a target list item on the sliding list according to the ranking of the depth information of each list item of the sliding list, the target list item enters a selected state, and the target list item is displayed in a protruding mode with a 3D effect at the moment so as to be distinguished from other list items displayed in the sliding list. Meanwhile, according to the association relation between the mesh in the pre-established polygonal grid diagram and the list items of the sliding list, the mesh corresponding to the selected target list item is determined, the mesh presents the convex display of the 3D effect, so as to be distinguished from other meshes displayed in the polygonal grid diagram, the mesh presenting the convex display of the 3D effect represents that the mesh corresponding to the selected target list item is also in a selected state, the rendering color and the position of the mesh in the polygonal grid diagram show the quantity level condition and the position distribution condition of the data value of the depth information of the target list item in the whole polygonal grid diagram.
Specifically, fig. 3 is a schematic diagram of linked display of a grid and a vertical stripe of a histogram according to the embodiment of the present application, where when a user clicks a target grid in a polygonal grid diagram on the left side of fig. 3, the target grid enters a selected state, and at this time, a frame of the target grid is displayed in a bold manner, that is, the grid with the bold frame in fig. 3 is the selected target grid. And meanwhile, according to the pre-established incidence relation between the grids in the polygonal grid diagram and the longitudinal stripes of the histogram, determining the longitudinal stripes corresponding to the selected target grid, and displaying the frames of the longitudinal stripes in a bold manner so as to display the longitudinal stripes in other longitudinal stripes in the histogram in a distinguishing manner. The vertical stripes displayed in a bold manner on the frame indicate that the vertical stripes corresponding to the selected target grid are also in a selected state, that is, the vertical stripes displayed in a bold manner on the frame in fig. 3 are the vertical stripes corresponding to the selected target grid, the data value of the depth information of the vertical stripes is the data value of the depth information of the selected grid, and the sorting condition of the depth information of the grid in the whole polygonal grid map is shown through the vertical stripes.
Similarly, each longitudinal stripe in the histogram also corresponds to a grid in the polygonal grid map, when the user clicks a target longitudinal stripe on the histogram according to the ranking of the depth information of each longitudinal stripe of the histogram, the target longitudinal stripe enters a selected state, and at this time, the border of the target longitudinal stripe is displayed in a bold manner. Meanwhile, according to the pre-established association relationship between the grids in the polygonal grid diagram and the longitudinal stripes of the histogram, the grids corresponding to the selected target longitudinal stripes are determined, and the frames of the grids are displayed in a bold mode, so that the grids can be displayed in other grids in the polygonal grid diagram in a distinguishing mode. The grid displayed by the frame in a bold manner indicates that the grid corresponding to the selected target longitudinal stripe is also in a selected state, that is, the grid displayed by the frame in a bold manner in fig. 2 is the grid corresponding to the selected target longitudinal stripe, and the rendering color and the rendering position of the grid in the polygonal grid map show the quantity level condition and the position distribution condition of the data value of the depth information of the target longitudinal stripe in the whole polygonal grid map.
The user can switch the target analysis object, the area of the target analysis object, the target time, and the like as needed. When the user switches at least one of the target analysis object, the area of the target analysis object and the target time, the operations of acquiring corresponding depth information again, rendering and displaying a polygonal grid map of the corresponding area according to the depth information, displaying the data value of the acquired depth information again through the entry item of the data display entry, establishing a one-to-one correspondence relationship between the entry item of the data display entry and the grid in the polygonal grid map according to the identification information of each grid in the polygonal grid map, and the like are executed.
The embodiment of the present application provides another possible implementation manner, where acquiring depth information of a pre-stored target analysis object includes: and acquiring attribute information corresponding to each grid through a first preset interface, and acquiring depth information of the target analysis object corresponding to each grid through a second preset interface. In practical application, the attribute information corresponding to each grid may also be obtained through the second preset interface, and the depth information of the target analysis object corresponding to each grid may also be obtained through the first preset interface.
Specifically, fig. 4 shows a basic process of displaying data according to an embodiment of the present application. If two interfaces (for example, interface 1 and interface 2) are encapsulated in the database after the acquired depth information of the target analysis object of each mesh is stored in the corresponding database, the identification information of each mesh (i.e., data 1 in fig. 4) and the depth information of the target analysis object corresponding to each mesh (i.e., data 2 in fig. 4) can be acquired through the two interfaces, respectively, where the depth information of the target analysis object corresponding to each mesh is data to be displayed through each item of the data display item. Then, according to the identification information of the grids, one-to-one corresponding relation between each grid and the corresponding entry item is established, meanwhile, a polygonal grid graph of the region to which the target analysis object belongs is rendered and displayed according to the depth information of each grid, and the ordered depth information is displayed through each entry item of the data display entries. Therefore, when a user clicks the target mesh in the polygonal mesh map of the area on the electronic map, the target mesh is displayed in other meshes in a distinguishing manner, meanwhile, an entry item corresponding to the target mesh in the data display entry is positioned through the identification information of the target mesh, and the entry item is displayed in other entry items in a distinguishing manner, so that a specific data value of the depth information of the target mesh is displayed through the entry item. When a user clicks the target item of the data display item in the area on the electronic map, the target item can be displayed on other items in a distinguishing manner, meanwhile, the grid corresponding to the target item in the polygonal grid graph is positioned through the identification information of the target grid, and the grid is displayed on other grids in a distinguishing manner, so that the distribution condition of the depth information of the target item in the whole polygonal grid graph is displayed through the grid, and the effect of bidirectional linkage display of the depth information is realized.
It should be noted that, in the two display modes (i.e. the grid in the polygonal grid diagram and the list items in the sliding list), the bidirectional linkage display can be performed with the item items of the data display items as long as the discrete and aggregated units on the electronic map can be subjected to mouse click operation.
By the method, the visual interaction mode of the data is enriched, the geographic positions, the number, the ranking and the like corresponding to the depth information are displayed at the same time, the query and the comparison among the data values are more interactive, and the query efficiency and the analysis efficiency of the user on the depth information are greatly improved.
Another embodiment of the present application provides a data display apparatus, whose basic structure is shown in fig. 5, the apparatus 50 includes a determining module 51, a first obtaining module 52, a first displaying module 53, and a second displaying module 54, wherein:
the determining module 51 is configured to, when receiving a data obtaining request for a target analysis object, determine attribute information of each mesh in a polygonal mesh map corresponding to a region according to the region to which the target analysis object belongs, where the region is included in the data obtaining request;
the first obtaining module 52 is configured to obtain depth information of a pre-stored target analysis object according to the target time and the attribute information of each grid included in the data obtaining request;
the display module 53 is configured to display a polygonal grid map including a plurality of grids corresponding to the area and depth information of each grid;
the second display module 54 is configured to perform linkage display on the depth information of the multiple meshes and each mesh of the polygonal mesh map through a pre-established association relationship when a preset trigger condition is met.
According to the device provided by the embodiment of the application, according to the target time and the attribute information of each grid in the polygonal grid map of the area to which the target analysis object belongs, the pre-stored depth information of the target analysis object is obtained, and when the polygonal grid map comprising a plurality of grids corresponding to the area and the depth information of each grid are displayed, the depth information of the plurality of grids and each grid of the polygonal grid map is displayed in a linkage manner through the pre-established association relationship, so that the polygonal grid map of the area to which the target analysis object belongs can be displayed according to the depth information corresponding to each grid, the depth information corresponding to each grid can be visually displayed, and the depth information can be further analyzed; the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh are displayed in a linkage mode through the pre-established association relation, so that the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh can be linked with each other, image-text linkage of the depth information or bidirectional linkage display of image-text simultaneous display are achieved, and the query efficiency and the analysis efficiency of a user on the depth information of a target analysis object in the area are greatly improved.
Specifically, fig. 6 is a detailed structural diagram of a data display device according to another embodiment of the present application, and the device 70 may include a determining module 61, a first obtaining module 62, a first displaying module 63, and a second displaying module 64. The function implemented by the determining module 61 in fig. 6 is the same as the determining module 51 in fig. 5, the function implemented by the first obtaining module 62 in fig. 6 is the same as the first obtaining module 52 in fig. 5, the function implemented by the first displaying module 63 in fig. 6 is the same as the first displaying module 53 in fig. 5, and the function implemented by the second displaying module 64 in fig. 6 is the same as the second displaying module 54 in fig. 5, which are not repeated herein. The data display device shown in fig. 6 will be described in detail below:
the apparatus further comprises a second obtaining module 65 and a storing module 66, wherein:
the second obtaining module 65 is configured to obtain depth information for the target analysis object corresponding to each mesh;
the storage module 66 is configured to store the depth information of each grid according to the attribute information of each grid, where the attribute information includes identification information and/or location information, and the identification information, the location information, and the depth information of any grid have an association relationship.
The second obtaining module 65 is specifically configured to perform analysis processing on the raw data of the target analysis object corresponding to each grid acquired by each acquisition device through the server, so as to obtain depth information of the target analysis object corresponding to each grid.
The first display module 63 is specifically configured to render a polygonal grid map including multiple grids corresponding to the display area on the electronic map according to the depth information corresponding to each grid, and display the depth information of the corresponding grid through each item of the data display item.
The first display module 63 includes a conversion unit 631 and a rendering unit 632, wherein:
the conversion unit 631 is configured to convert the position information corresponding to each grid into a corresponding pixel coordinate, and draw each grid on the Canvas based on the pixel coordinate;
the rendering unit 632 is configured to render each drawn mesh according to the depth information corresponding to each mesh.
The rendering unit 632 is specifically configured to determine color data values of predetermined rendering colors corresponding to the drawn grids according to the data size of the depth information corresponding to each grid; and rendering the drawn corresponding grid according to each color data value.
The first display module 63 is specifically configured to sort the depth information corresponding to each grid based on a predetermined sorting rule, and display the sorted depth information through each item of the data display item.
The device further comprises a construction module 67, wherein the construction module 67 is configured to establish a one-to-one correspondence relationship between the entry items of the data display entry and the grids in the polygon grid map according to the identification information of each grid.
The second display module 64 is specifically configured to, when a trigger operation on any one of the meshes in the polygonal mesh diagram is detected, display an entry item corresponding to the any one of the meshes in a predetermined display manner based on a pre-established association relationship, so that the entry item is displayed differently on other entry items; and/or the presence of a gas in the gas,
when the triggering operation of any item of the data presentation items is detected, displaying the grid corresponding to any item in a preset display mode based on the pre-established association relation, so that the grid is displayed on other grids in a distinguishing way.
Yet another embodiment of the present application provides an electronic device, as shown in fig. 7, an electronic device 700 shown in fig. 7 includes: a processor 701 and a memory 703. The processor 701 is coupled to a memory 703, such as via a bus 702. Further, the electronic device 700 may also include a transceiver 704. It should be noted that the transceiver 704 is not limited to one in practical applications, and the structure of the electronic device 700 is not limited to the embodiment of the present application.
The processor 701 is applied to the embodiment of the present application, and is configured to implement the functions of the determining module, the first obtaining module, the first displaying module, and the second displaying module shown in fig. 5 and 6, and to implement the functions of the second obtaining module, the storing module, and the constructing module shown in fig. 6.
The processor 701 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 701 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The memory 703 may be, but is not limited to, ROM or other type of static storage device that can store static information and instructions, RAM or other type of dynamic storage device that can store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 703 is used for storing application program codes for executing the present invention, and is controlled by the processor 701. The processor 701 is configured to execute the application program code stored in the memory 703 to implement the actions of the data display apparatus provided in the embodiment shown in fig. 5 or fig. 6.
Another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, compared with the prior art, the electronic device can implement: according to the target time and the attribute information of each grid in the polygonal grid map of the area to which the target analysis object belongs, acquiring the depth information of the pre-stored target analysis object, and displaying the polygonal grid map comprising a plurality of grids corresponding to the area and the depth information of each grid in a linkage manner through a pre-established association relationship when displaying the polygonal grid map comprising the plurality of grids and the depth information of each grid corresponding to the area, so that not only can the polygonal grid map of the area to which the target analysis object belongs be displayed according to the depth information corresponding to each grid, but also the depth information corresponding to each grid can be visually displayed, and the depth information can be further analyzed; the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh are displayed in a linkage mode through the pre-established association relation, so that the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh can be linked with each other, image-text linkage of the depth information or bidirectional linkage display of image-text simultaneous display are achieved, and the query efficiency and the analysis efficiency of a user on the depth information of a target analysis object in the area are greatly improved.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method shown in the first embodiment. According to the target time and the attribute information of each grid in the polygonal grid map of the area to which the target analysis object belongs, acquiring the depth information of the pre-stored target analysis object, and displaying the polygonal grid map comprising a plurality of grids corresponding to the area and the depth information of each grid in a linkage manner through a pre-established association relationship when displaying the polygonal grid map comprising the plurality of grids and the depth information of each grid corresponding to the area, so that not only can the polygonal grid map of the area to which the target analysis object belongs be displayed according to the depth information corresponding to each grid, but also the depth information corresponding to each grid can be visually displayed, and the depth information can be further analyzed; the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh are displayed in a linkage mode through the pre-established association relation, so that the depth information of the multiple meshes of the polygonal mesh map and the depth information of each mesh can be linked with each other, image-text linkage of the depth information or bidirectional linkage display of image-text simultaneous display are achieved, and the query efficiency and the analysis efficiency of a user on the depth information of a target analysis object in the area are greatly improved.
The computer-readable storage medium provided by the embodiment of the application is suitable for any embodiment of the method. And will not be described in detail herein.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.
Claims (9)
1. A method of displaying data, comprising:
when a data acquisition request aiming at a target analysis object is received, determining attribute information of each grid in a polygonal grid graph corresponding to a region according to the region to which the target analysis object belongs, wherein the region is included in the data acquisition request;
according to the target time and the attribute information of each grid included in the data acquisition request, acquiring pre-stored depth information of the target analysis object, wherein the depth information corresponding to each grid and aiming at the target analysis object is obtained by analyzing and processing original data of the target analysis object corresponding to each grid acquired by each acquisition device through a server;
displaying a polygonal grid graph comprising a plurality of grids corresponding to the area and depth information of each grid;
when a preset trigger condition is met, the depth information of a plurality of grids of the polygonal grid graph and each grid is displayed in a linkage mode through a preset association relation;
wherein the displaying the polygonal grid map including the plurality of grids corresponding to the region and the depth information of each grid includes:
rendering and displaying a polygonal grid graph which corresponds to the area and comprises a plurality of grids on the electronic map according to the depth information which corresponds to each grid respectively, and displaying the depth information of the corresponding grid through each item of the data display item;
when the preset triggering condition is met, the depth information of the multiple grids and each grid of the polygonal grid graph is displayed in a linkage mode through a preset association relation, and the method comprises the following steps:
when the triggering operation of any grid in the polygonal grid graph is detected, displaying an item corresponding to the any grid in a preset display mode based on a pre-established association relation so that the item is displayed on other items in a distinguished mode; and/or the presence of a gas in the gas,
when the triggering operation of any item of the data presentation items is detected, displaying the grid corresponding to any item in a preset display mode based on the pre-established association relation, so that the grid is displayed on other grids in a distinguishing mode.
2. The method of claim 1, prior to receiving a data query request for a target analysis object, further comprising:
acquiring depth information aiming at the target analysis object and corresponding to each grid;
and storing the depth information of each grid according to the attribute information of each grid, wherein the attribute information comprises identification information and/or position information, and the identification information, the position information and the depth information of any grid have an association relation.
3. The method according to claim 1, wherein the rendering and displaying a polygonal grid map including a plurality of grids corresponding to the area on an electronic map according to the depth information corresponding to each grid respectively comprises:
converting the position information corresponding to each grid into corresponding pixel coordinates, and drawing each grid on Canvas based on the pixel coordinates;
and rendering each drawn grid according to the depth information corresponding to each grid.
4. The method according to claim 3, wherein the rendering the drawn meshes according to the depth information corresponding to each mesh comprises:
determining color data values of preset rendering colors corresponding to the drawn grids respectively according to the data volume of the depth information corresponding to each grid respectively;
and rendering the drawn corresponding grid according to each color data value.
5. The method of claim 1, wherein displaying depth information of a corresponding grid by data exposing respective ones of the items comprises:
and sequencing the depth information corresponding to each grid based on a preset sequencing rule, and displaying the sequenced depth information through each item of the data display item.
6. The method according to claim 1, before the depth information of the plurality of meshes and each mesh of the polygonal mesh map is displayed in a linkage manner through a pre-established association relationship, further comprising:
and establishing a one-to-one correspondence relationship between the entry items of the data display entries and the grids in the polygonal grid graph according to the identification information of each grid.
7. A data display device, comprising:
the determining module is used for determining attribute information of each grid in a polygonal grid graph corresponding to a region according to the region to which the target analysis object belongs, wherein the region is included in a data acquisition request when the data acquisition request aiming at the target analysis object is received;
a first obtaining module, configured to obtain depth information of a pre-stored target analysis object according to target time included in the data obtaining request and attribute information of each grid, where the depth information of each grid corresponding to the target analysis object is obtained by analyzing, by a server, original data of the target analysis object corresponding to each grid collected by each collection device;
the first display module is used for displaying a polygonal grid map which comprises a plurality of grids and corresponds to the area and depth information of each grid;
the second display module is used for displaying the depth information of the grids and the grids of the polygonal grid graph in a linkage manner through a pre-established association relationship when a preset trigger condition is met;
wherein the first display module is specifically configured to:
rendering and displaying a polygonal grid graph which corresponds to the area and comprises a plurality of grids on the electronic map according to the depth information which corresponds to each grid respectively, and displaying the depth information of the corresponding grid through each item of the data display item;
the second display module is specifically configured to:
when the triggering operation of any grid in the polygonal grid graph is detected, displaying an item corresponding to the any grid in a preset display mode based on a pre-established association relation so that the item is displayed on other items in a distinguished mode; and/or the presence of a gas in the gas,
when the triggering operation of any item of the data presentation items is detected, displaying the grid corresponding to any item in a preset display mode based on the pre-established association relation, so that the grid is displayed on other grids in a distinguishing mode.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the data display method of any one of claims 1 to 6 when executing the program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the data display method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910172927.6A CN111666319B (en) | 2019-03-07 | 2019-03-07 | Data display method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910172927.6A CN111666319B (en) | 2019-03-07 | 2019-03-07 | Data display method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111666319A CN111666319A (en) | 2020-09-15 |
CN111666319B true CN111666319B (en) | 2023-03-21 |
Family
ID=72382155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910172927.6A Active CN111666319B (en) | 2019-03-07 | 2019-03-07 | Data display method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111666319B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112598384B (en) * | 2020-12-24 | 2022-07-26 | 卡斯柯信号有限公司 | Station passenger flow monitoring method and system based on building information model |
CN113468250A (en) * | 2021-06-29 | 2021-10-01 | 北京市商汤科技开发有限公司 | Thermodynamic diagram generation method, thermodynamic diagram generation device, thermodynamic diagram generation equipment and storage medium |
CN114282617A (en) * | 2021-12-27 | 2022-04-05 | 阿里巴巴新加坡控股有限公司 | Model training and trip scheduling method, electronic device and computer storage medium |
CN114328783A (en) * | 2021-12-27 | 2022-04-12 | 北京百度网讯科技有限公司 | Map data output method, map data processing method and device and electronic equipment |
CN114647707B (en) * | 2022-03-07 | 2024-08-20 | 海南视联通信技术有限公司 | Map information display method and device, terminal equipment and storage medium |
CN115016687A (en) * | 2022-06-23 | 2022-09-06 | 拉扎斯网络科技(上海)有限公司 | Weather information display method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001222613A (en) * | 2000-02-10 | 2001-08-17 | F M I:Kk | Method and device for displaying commercial area and medium |
CN103294480A (en) * | 2013-06-24 | 2013-09-11 | 攀枝花学院 | Method for converting grid line data into data list |
CN104636482A (en) * | 2015-02-16 | 2015-05-20 | 百度在线网络技术(北京)有限公司 | Target address determining method and device |
CN105989507A (en) * | 2015-01-30 | 2016-10-05 | 北京陌陌信息技术有限公司 | Method and device for generating information object based on area positioning |
CN106023131A (en) * | 2015-08-28 | 2016-10-12 | 千寻位置网络有限公司 | Cartographic information analysis method and device |
CN109214931A (en) * | 2018-07-26 | 2019-01-15 | 平安科技(深圳)有限公司 | Risk data display methods, device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7475060B2 (en) * | 2003-05-09 | 2009-01-06 | Planeteye Company Ulc | Browsing user interface for a geo-coded media database |
-
2019
- 2019-03-07 CN CN201910172927.6A patent/CN111666319B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001222613A (en) * | 2000-02-10 | 2001-08-17 | F M I:Kk | Method and device for displaying commercial area and medium |
CN103294480A (en) * | 2013-06-24 | 2013-09-11 | 攀枝花学院 | Method for converting grid line data into data list |
CN105989507A (en) * | 2015-01-30 | 2016-10-05 | 北京陌陌信息技术有限公司 | Method and device for generating information object based on area positioning |
CN104636482A (en) * | 2015-02-16 | 2015-05-20 | 百度在线网络技术(北京)有限公司 | Target address determining method and device |
CN106023131A (en) * | 2015-08-28 | 2016-10-12 | 千寻位置网络有限公司 | Cartographic information analysis method and device |
CN109214931A (en) * | 2018-07-26 | 2019-01-15 | 平安科技(深圳)有限公司 | Risk data display methods, device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
Kentaro Toyama et al..Geographic location tags on digital images.2003,156-166. * |
於士芸.公众信息数字化城市管理系统设计与实现.2016,J145-168. * |
Also Published As
Publication number | Publication date |
---|---|
CN111666319A (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111666319B (en) | Data display method and device, electronic equipment and computer readable storage medium | |
Voltersen et al. | Object-based land cover mapping and comprehensive feature calculation for an automated derivation of urban structure types at block level | |
CN108932303B (en) | Distributed dynamic target detection and analysis system for visible light remote sensing image | |
EP2856738B1 (en) | Information presentation method, system, client and/or server | |
Aubrecht et al. | Integrating earth observation and GIScience for high resolution spatial and functional modeling of urban land use | |
Lu et al. | Population estimation based on multi-sensor data fusion | |
CN109376205B (en) | Method, device, equipment and storage medium for mining address interest point relation | |
CN110068655A (en) | A kind of air-ground integrated atmospheric monitoring system in day | |
US9489563B2 (en) | Method and arrangement for identifying a difference between a first 3D model of an environment and a second 3D model of the environment | |
CN106611438B (en) | Local area updating and map cutting method and device of three-dimensional simulation map | |
CN115620168B (en) | Method, device and equipment for extracting three-dimensional building outline based on sky day data | |
Caccetta et al. | Monitoring land surface and cover in urban and peri-urban environments using digital aerial photography | |
CN114863418A (en) | Voltage-sharing field identification method and device, storage medium and terminal | |
CN112507444A (en) | AI-construction-based digital urban building night scene generation method and system | |
CN111104610A (en) | Visual management system and method for community population big data | |
CN115861816A (en) | Three-dimensional low vortex identification method and device, storage medium and terminal | |
CN111539100A (en) | Generation method, device, equipment and storage medium of well site virtual construction model | |
Ather et al. | Intelligent assessment of the visual ecology of the urban environment | |
CN110954869B (en) | Animation display method, device and system for sand-dust meteorological disaster data | |
Aijazi et al. | Automatic detection and feature estimation of windows in 3D urban point clouds exploiting façade symmetry and temporal correspondences | |
CN112765299A (en) | Visualization method and device for irregular raster data, electronic equipment and storage medium | |
CN108319650B (en) | Interactive visual house site selection system | |
EP3069175A1 (en) | Photovoltaic shade impact prediction | |
CN115048473A (en) | Artificial intelligence service method and system for city information model | |
Voltersen et al. | Expanding an urban structure type mapping approach from a subarea to the entire city of Berlin |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |