A data display method, device, equipment and medium
The thermal map is drawn by diffusing step by step data array and target point distance or data value, and the problem of low efficiency in generating existing thermal maps is solved, achieving more efficient thermal map generation and display.
Patent Information
- Application Number
- CN202111627694.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The existing heat map generation technology has slow generation speed, occupies a lot of machine resources, and has low generation efficiency.
By obtaining the screen target points on the display screen, determining the corresponding map target points in the map, and building a 3n×3n-level data array that spreads step by step with this point as the center, and according to the distance or data of the data points and the map target points according to the standard grouping of data points or data Value plots the heat map and generates meet-to-standard data step by step to improve the efficiency of heat map generation.
The machine resources required for heat map generation are reduced, the efficiency of heat map drawing is improved, and thus the efficiency of data presentation is improved.
Smart Images

Figure CN114241147B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data display method, device, equipment and medium. Background Art
[0002] In the prior art, heat map is a commonly used data display method. However, the existing heat map generation technology requires users to access real data and generate heat maps based on real data, which has problems such as slow generation speed, high machine resource usage, and low generation efficiency.
[0003] In view of this, a more efficient heat map generation solution is needed. Summary of the invention
[0004] The embodiments of this specification provide a data display method to solve the technical problem of how to generate a heat map more efficiently.
[0005] To solve the above technical problems, the embodiments of this specification provide the following technical solutions:
[0006] The present invention provides a data display method, including:
[0007] Acquire a screen target point on the display screen, and determine a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points;
[0008] Centered on the nth group of data points, construct 3 n ×3 n Level data array, the 3 n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1;
[0009] When the number of data points contained in a group of data points meets the standard, the color of each data point in the group of data points that meets the standard is drawn according to the distance between each data point in the group of data points that meets the standard and the target point of the map, so as to generate a heat map of the area corresponding to the group of data points that meets the standard; or, when the number of data points contained in a group of data points meets the standard, the data value of each data point in the group of data points that meets the standard is obtained, and the color of each data point in the group of data points that meets the standard is drawn according to the data value of each data point in the group of data points that meets the standard, so as to generate a heat map of the area corresponding to the group of data points that meets the standard.
[0010] Optionally, construct 3 with the nth group of data points as the center n ×3 n Level data array, including:
[0011] Taking the nth group of data points as the center, diffuse data points are constructed around the nth group of data points, and the diffuse data points together with the nth group of data points form a 3 n×3 n Level data array.
[0012] Optionally, the diffusion data points consist of 8 data groups, and each of the data groups is the same as the nth group of data.
[0013] Optionally, the center points of the eight data groups are respectively located on the positive and negative semi-axes of the horizontal coordinate, the positive and negative semi-axes of the vertical coordinate, and the bisectors of the four quadrants of the coordinate axis with the map target point as the origin.
[0014] Optionally, each data group is generated in the same manner as the nth group of data points.
[0015] Optionally, determining a map target point in the map corresponding to the screen target point includes:
[0016] Determine the screen coordinates of the screen target point, convert the screen coordinates of the screen target point into a three-dimensional ray using a projection matrix, and determine the intersection point of the three-dimensional ray and the map on the screen, wherein the intersection point is the map target point corresponding to the screen target point.
[0017] Optionally, if the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, then the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, including: determining the color corresponding to any data point in the target group data point according to the distance between the data point and the map target point; and drawing the area corresponding to the data point into the color corresponding to the data point;
[0018] or,
[0019] If the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, then the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, including: determining the color corresponding to any data point in the standard-reaching group of data points according to the data value of the data point; and drawing the area corresponding to the data point into the color corresponding to the data point.
[0020] The embodiment of this specification provides a data display device, including:
[0021] A positioning module, used to obtain a screen target point on the display screen, and determine a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points;
[0022] Diffusion module is used to construct 3 n ×3 n Level data array, the 3n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1;
[0023] A drawing module is used to draw the color of each data point in the data point group that meets the standard according to the distance between each data point in the data point group that meets the standard and the target point of the map when the number of data points included in a certain group of data points meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard; or, when the number of data points included in a certain group of data points meets the standard, obtain the data value of each data point in the data point group that meets the standard, and draw the color of each data point in the data point group that meets the standard according to the data value of each data point in the data point group that meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard.
[0024] The embodiment of this specification provides a data display device, including:
[0025] at least one processor;
[0026] as well as,
[0027] a memory communicatively coupled to the at least one processor;
[0028] in,
[0029] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned data display method.
[0030] An embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above-mentioned data display method is implemented.
[0031] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0032] The above technical solution generates qualified data step by step by way of data diffusion, and generates a heat map based on the qualified data, which can reduce the machine resources required to generate the heat map data, improve the efficiency of drawing the heat map, and thus improve the efficiency of data display. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following is a brief introduction to the drawings required for use in the embodiments of this specification or the prior art description. Obviously, the drawings introduced below are only some of the drawings that may be involved in the embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 It is a schematic diagram of the execution body of the data display method in the first embodiment of this specification.
[0035] Figure 2 It is a flowchart of the data display method in the first embodiment of this specification.
[0036] Figure 3 This is a schematic diagram of the first group of data points in the first embodiment of this specification.
[0037] Figure 4 This is a schematic diagram of the second group of data points in the first embodiment of this specification.
[0038] Figure 5 This is a schematic diagram of the third group of data points in the first embodiment of this specification.
[0039] Figure 6 It is a structural diagram of the data display device in the second embodiment of this specification. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions of the embodiments of this specification will be clearly and completely described below in conjunction with the drawings of the embodiments of this specification. Obviously, the embodiments described in this specification are only some embodiments of this application, not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0041] In the prior art, heat map is a commonly used data display method. However, the existing heat map generation technology requires users to access real data and generate heat maps based on real data, which has problems such as slow generation speed, high machine resource usage, and low generation efficiency.
[0042] The first embodiment of this specification (hereinafter referred to as "embodiment one") provides a data display method. The execution subject of embodiment one can be a terminal (including but not limited to mobile phones, computers, pads, televisions) or a server or an operating system or an application or a data display platform or a data display system, etc., that is, the execution subject can be various and can be set, used or changed as needed. In addition, a third-party application can also assist the execution subject in executing embodiment one. For example Figure 1As shown, the data display method in Example 1 can be executed by a server, and an application corresponding to the server can be installed on a terminal (held by a user). Data can be transmitted between the terminal or the application and the server, and data can be collected, input or output, or pages or information processing can be performed (to the user) through the terminal or the application, thereby assisting the server in executing the data display method in Example 1.
[0043] like Figure 2 As shown, the data display method provided in the first embodiment includes:
[0044] S101: (Executing body) obtaining a screen target point on the display screen, and determining a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points;
[0045] The execution subject of the first embodiment may have a display screen, and the user may select on the display screen by means of a mouse, keyboard, or touch. Among them, the execution subject of the first embodiment may determine the user's positioning point on the display screen according to the mouse operation, screen touch operation, or keyboard operation, and the positioning point may be referred to as the screen target point. For example, the execution subject of the first embodiment may use the mouse click point, touch point, or point pointed to by keyboard operation (for example, the cursor position is manipulated by the keyboard direction keys, and the position is selected by the enter key, and the selected position is the pointed point) as the screen target point.
[0046] In the first embodiment, the execution body of the first embodiment can display a map, and the user can select the screen target point on the map, and the execution body of the first embodiment determines the map target point in the map corresponding to the screen target point. Wherein, determining the map target point in the map corresponding to the screen target point may include: determining the screen coordinates of the screen target point (i.e., the coordinates in the screen), converting the screen coordinates of the screen target point into a three-dimensional ray using a projection matrix, and determining the intersection point of the three-dimensional ray and the map in the screen, wherein the intersection point is the map target point corresponding to the screen target point. The execution body of the first embodiment can determine the coordinates of the map target point in the map (i.e., the world coordinates, which may be three-dimensional coordinates).
[0047] The execution subject of the first embodiment may determine the map target point as the first group of data points, such as Figure 3 shown.
[0048] S103: (Executing body) construct 3 with the nth group of data points as the center n ×3 n Level data array, the 3 n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1;
[0049] The execution subject of the first embodiment can perform data diffusion in the following manner:
[0050] As described above, the map target point is the first group of data, and the execution body of the first embodiment can construct a 3×3 level data array, that is, a data array with 3 rows and 3 columns, with the first group of data points as the center. The 3×3 level data array is the second group of data points, such as Figure 4 shown.
[0051] The execution body of the first embodiment can construct a 9×9 level data array, that is, a data array with 9 rows and 9 columns, with the second group of data points as the center. The 9×9 level data array is the third group of data points, such as Figure 5 shown.
[0052] The execution body of the first embodiment can construct a 27×27 level data array, ie, a data array of 27 rows and 27 columns, with the third group of data points as the center. The 27×27 level data array is the fourth group of data points.
[0053] And so on.
[0054] The execution body of the first embodiment can construct 3 with the nth group of data points as the center. n ×3 n Level data array, i.e. 3 n Row 3 n The data array of the columns is n ×3 n The level data array is the n+1th group of data points, where n≥1, the same below.
[0055] In the first embodiment, the distance between adjacent data points in each row of each data array is the same, the distance between adjacent data points in each column is the same, and the distance between adjacent data points in each row is the same as the distance between adjacent data points in each column. That is to say, for any data array, the four data points corresponding to the four intersections of any two adjacent rows and any two adjacent columns of the data array are equivalent to the four vertices of a square, and the side length of the square is the distance between adjacent data points in each row of the data array, that is, the distance between adjacent data points in each column of the data array, such as Figure 5 It should be noted that Figures 3 to 5 In order to make it clear, the area of a single data point is larger. In actual scenarios, data points only exist as points. Data points may not have the concept of area, and the distance between adjacent data points has nothing to do with the area of the points.
[0056] In the first embodiment, the nth group of data points is taken as the center to construct 3 n ×3 nThe level data array may include: taking the nth group of data points as the center, constructing diffuse data points around the nth group of data points, the diffuse data points together with the nth group of data points forming a 3 n ×3 n The diffusion data points are composed of 8 data arrays, each of which is the same as the nth group of data, that is, each data array is 3 n-1 ×3 n-1 Level data array.
[0057] In the following, each data array identical to the nth group of data among the diffusion data points constructed around the nth group of data points with the nth group of data points as the center is referred to as the diffusion data group of the nth group of data.
[0058] For the nth group of data points, the intersection of the middle row and the middle column is the center point of the nth group of data points, that is, the (3 n-1 +1) / 2 and (3 n-1 +1) / 2 columns is the center point of the nth group of data points. In the first embodiment, the center point of each group of data points is the map target point.
[0059] In the first embodiment, each diffusion data group of the nth group of data has its center point, so the 8 diffusion data groups of the nth group of data have 8 center points. The center points of the 8 diffusion data groups of the nth group of data are respectively located on the positive and negative semi-axes of the horizontal coordinate, the positive and negative semi-axes of the vertical coordinate, and the bisectors of the four quadrants of the coordinate axis with the map target point as the origin.
[0060] That is to say, the nth group of data is regarded as a data group, and the 8 diffusion data groups of the nth group of data can be regarded as data groups after the nth group of data is offset along 8 directions, respectively, and the 8 directions are the positive direction and negative direction of the horizontal coordinate of the coordinate axis with the map target point as the origin, the positive direction and negative direction of the vertical coordinate, and the directions of the bisectors of the four quadrants of the coordinate axis. In the first embodiment, these 8 directions can be called data diffusion directions.
[0061] From the above, we can see that the second group of data points is diffused with the first group of data points as the center, the third group of data points is diffused with the second group of data points as the center, and so on, the n+1th group of data points is diffused with the nth group of data points as the center. This diffusion method can also be called step-by-step diffusion.
[0062] Although the eight diffusion data groups of the nth group of data can be regarded as data groups obtained by respectively shifting the nth group of data along eight data diffusion directions, each diffusion data group of the nth group of data is not obtained by shifting the nth group of data along a certain data diffusion direction. In fact, the generation method of each diffusion data group of the nth group of data is the same as the generation method of the nth group of data points, that is, each diffusion data group of the nth group of data is also generated by the same data diffusion method as the nth group of data points. In other words, the generation method of each diffusion data group of the nth group of data is: determine the center point of the diffusion data group, and obtain the diffusion data group from the center point through step-by-step diffusion.
[0063] S105: (Execution entity) When a group of data points contains a certain number of data points that meets the standard, the color of each data point in the group of data points that meets the standard is drawn according to the distance between each data point in the group of data points that meets the standard and the target point of the map, so as to generate a heat map of the area corresponding to the group of data points that meets the standard; or, when a group of data points contains a certain number of data points that meets the standard, the data value of each data point in the group of data points that meets the standard is obtained, and the color of each data point in the group of data points that meets the standard is drawn according to the data value of each data point in the group of data points that meets the standard, so as to generate a heat map of the area corresponding to the group of data points that meets the standard.
[0064] The user can set the standard value or threshold of the data point through the execution body of Example 1 (for example, through the page displayed by the execution body of Example 1), or the user can set the standard value or threshold of the data point through other terminals or devices other than the execution body of Example 1, and the execution body of Example 1 obtains the standard value or threshold of the data point from the other terminals or devices.
[0065] Through the above-mentioned step-by-step diffusion process, the number of data points included in the n+1th group of data points is greater than the number of data points included in the nth group of data points, thereby achieving the growth of data points. If the number of data points included in a group of data points is greater than or equal to the standard value or threshold of the data points, it can be determined that the group of data points meets the standard, and the group of data points is the standard group of data points.
[0066] Since the map target point is a point on the map, and the center point of each group of data points is the map target point, each data point in each group of data points corresponds to a point on the map, and thus each group of data points corresponds to a certain area on the map, which is called the area corresponding to each group of data points. For any group of data points, the area corresponding to the group of data points is the area on the map covered by the square formed by the outermost data lines of the group of data points. That is, the area corresponding to the nth group of data points is the area of the 3-square grid of the nth group of data points. n-1 ×3 n-1 The square formed by the outermost data point connection lines of the first row of data array (i.e., the data point connection lines of the third row)n-1 Row data point connection, 1st column data point connection, 3rd n-1 The square formed by the lines connecting the columns of data points) covers the area on the map.
[0067] Since the first group of data points has only one data point, the user can set the area on the map corresponding to the first group of data points through the execution subject of the first embodiment; or the user can set the area on the map corresponding to the first group of data points through other terminals or devices other than the execution subject of the first embodiment, and the execution subject of the first embodiment obtains the area on the map corresponding to the first group of data points from the other terminals or devices. The area on the map corresponding to the first group of data points can be a square area or a circular area on the map centered on the first group of data points.
[0068] After determining the data points of the target group, the execution body of the first embodiment can generate and display the heat map of the area corresponding to the data points of the target group. Among them, the execution body of the first embodiment can generate the heat map of the area corresponding to the data points of the target group according to the method of 1.1 or 1.2:
[0069] 1.1. When the number of data points contained in a group of data points meets the standard, the execution entity of Example 1 can draw the color of each data point in the group of data points that meets the standard according to the distance between each data point in the group of data points that meets the standard and the target point of the map, so as to generate a heat map of the area corresponding to the group of data points that meets the standard.
[0070] Wherein, drawing the color of the data point according to the distance between any data point in the target group data point and the map target point may include: determining the color corresponding to the data point according to the distance between any data point in the target group data point and the map target point (for example, the farther the data point is from the map target point, the lighter or darker its corresponding color); drawing a certain area on the map centered on the data point into the color corresponding to the data point. Specifically, the certain area centered on the data point can be called the corresponding area of the data point, and the corresponding area of the data point is generally a square area or a circular area. If the corresponding area of the data point is a square area, the side length of the corresponding area of the data point can be the distance between adjacent data points in the same row or column of the target group data point; if the corresponding area of the data point is a circular area, the radius of the corresponding area of the data point can be half of the distance between adjacent data points in the same row or column of the target group data point.
[0071] 1.2. When the number of data points contained in a group of data points meets the standard, the execution entity of Example 1 can obtain the data value of each data point in the group of data points that meets the standard, and draw the color of each data point in the group of data points that meets the standard according to the data value of each data point in the group of data points that meets the standard, so as to generate a heat map of the area corresponding to the group of data points that meets the standard.
[0072] The data value of each data point in the target group data point may be set or accessed by the user, for example, the data point may be offline data or static data, the data value may be an offline data value or a static data value, or the data value may be accessed through WebAPI. Drawing the color of each data point in the target group data point according to the data value of each data point in the target group data point may include: determining the color corresponding to any data point in the target group data point according to the data value of the data point (for example, the data point with a higher data value has a lighter or darker corresponding color); drawing a certain area on the map centered on the data point (same as 1.1) into the color corresponding to the data point.
[0073] In the first embodiment, after the target group data points are determined, the execution subject of the first embodiment can stop data diffusion until the user resets the data point standard value or threshold, or the user re-triggers the data diffusion process. Each time a map target point is determined, it can be regarded as triggering a data diffusion process.
[0074] In the first embodiment, data growth is achieved step by step by means of data diffusion, which can reduce the machine resources or memory required for data growth, increase the data growth rate, and thus improve the efficiency of drawing the heat map.
[0075] In the first embodiment, without the need for the user to access real data, the color of each data point in the target group data point can be drawn according to the distance between each data point in the target group data point and the map target point, and a heat map of the area corresponding to the target group data point can be generated. In this way, the heat map generation speed is faster and the heat map generation efficiency is higher. The generated heat map can be used as a data display simulation or as a data display template.
[0076] In the first embodiment, on the basis of increasing the data growth rate, the data value of each data point in the standard group data point can be obtained, and the color of each data point in the standard group data point can be drawn according to the data value of each data point in the standard group data point to generate a heat map of the area corresponding to the standard group data point. Since the data value can be freely changed by the user, it is also convenient to change the generated heat map, thereby improving the efficiency and flexibility of heat map generation.
[0077] In the first embodiment, the user can freely set the standard value or threshold of the data point, and can also freely set the shape or type of the heat map, so as to improve the efficiency or flexibility of heat map generation.
[0078] In the first embodiment, a heat map is used as a data display method, and the data points can represent various data such as industrial data, traffic data, and population data, thereby improving the efficiency and flexibility of heat map generation, thereby improving the efficiency and flexibility of data display.
[0079] like Figure 6 As shown, the second embodiment of this specification provides a data display device corresponding to the data display method described in the first embodiment, including:
[0080] A positioning module 202 is used to obtain a screen target point on the display screen and determine a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points;
[0081] Diffusion module 204 is used to construct 3 n ×3 n Level data array, the 3 n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1;
[0082] The drawing module 206 is used to draw the color of each data point in the data point group that meets the standard according to the distance between each data point in the data point group that meets the standard and the target point of the map when the number of data points included in a certain group of data points meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard; or, when the number of data points included in a certain group of data points meets the standard, obtain the data value of each data point in the data point group that meets the standard, and draw the color of each data point in the data point group that meets the standard according to the data value of each data point in the data point group that meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard.
[0083] Optionally, construct 3 with the nth group of data points as the center n ×3 n Level data array, including:
[0084] Taking the nth group of data points as the center, diffuse data points are constructed around the nth group of data points, and the diffuse data points together with the nth group of data points form a 3 n ×3 n Level data array.
[0085] Optionally, the diffusion data points consist of 8 data groups, and each of the data groups is the same as the nth group of data.
[0086] Optionally, the center points of the eight data groups are respectively located on the positive and negative semi-axes of the horizontal coordinate, the positive and negative semi-axes of the vertical coordinate, and the bisectors of the four quadrants of the coordinate axis with the map target point as the origin.
[0087] Optionally, each data group is generated in the same manner as the nth group of data points.
[0088] Optionally, determining a map target point in the map corresponding to the screen target point includes:
[0089] Determine the screen coordinates of the screen target point, convert the screen coordinates of the screen target point into a three-dimensional ray using a projection matrix, and determine the intersection point of the three-dimensional ray and the map on the screen, wherein the intersection point is the map target point corresponding to the screen target point.
[0090] Optionally, if the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, then the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, including: determining the color corresponding to any data point in the target group data point according to the distance between the data point and the map target point; and drawing the area corresponding to the data point into the color corresponding to the data point;
[0091] or,
[0092] If the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, then the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, including: determining the color corresponding to any data point in the standard-reaching group of data points according to the data value of the data point; and drawing the area corresponding to the data point into the color corresponding to the data point.
[0093] The third embodiment of this specification provides a data display device, including:
[0094] at least one processor;
[0095] as well as,
[0096] a memory communicatively coupled to the at least one processor;
[0097] in,
[0098] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the data display method described in Example 1.
[0099] A fourth embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the data display method described in the first embodiment is implemented.
[0100] The above embodiments may be used in combination, and modules with the same name between different embodiments or within the same embodiment may be the same or different modules.
[0101] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0102] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0103] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatus, device, and non-volatile computer storage medium will not be repeated here.
[0104] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0105] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0106] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0107] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0108] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0109] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0113] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0116] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0117] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0118] The above is only an embodiment of this specification and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A data display method, characterized in that: include: Acquire a screen target point on the display screen, and determine a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points; Taking the nth group of data points as the center, diffuse data points are constructed around the nth group of data points, and the diffuse data points together with the nth group of data points form a 3 n ×3 n The diffusion data points are composed of 8 data groups, each of which is the same as the nth group of data; the center points of the 8 data groups are respectively located on the positive and negative semi-axes of the horizontal coordinates, the positive and negative semi-axes of the vertical coordinates and the bisectors of the four quadrants of the coordinate axis with the map target point as the origin; the generation method of each data group is the same as the generation method of the nth group of data points; the 3 n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1; When the number of data points contained in a group of data points meets the standard, the color of each data point in the group of data points that meets the standard is drawn according to the distance between each data point in the group of data points that meets the standard and the target point of the map, so as to generate a heat map of the area corresponding to the group of data points that meets the standard; or, when the number of data points contained in a group of data points meets the standard, the data value of each data point in the group of data points that meets the standard is obtained, and the color of each data point in the group of data points that meets the standard is drawn according to the data value of each data point in the group of data points that meets the standard, so as to generate a heat map of the area corresponding to the group of data points that meets the standard.
2. The method according to claim 1, characterized in that Determining a map target point in the map corresponding to the screen target point includes: Determine the screen coordinates of the screen target point, convert the screen coordinates of the screen target point into a three-dimensional ray using a projection matrix, determine the intersection point of the three-dimensional ray and the map on the screen, and the intersection point is the map target point corresponding to the screen target point.
3. The method according to claim 1, characterized in that If the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, then the color of each data point in the target group data point is drawn according to the distance between each data point in the target group data point and the map target point, including: determining the color corresponding to any data point in the target group data point according to the distance between the data point and the map target point; and drawing the area corresponding to the data point into the color corresponding to the data point; or, If the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, then the color of each data point in the standard-reaching group of data points is drawn according to the data value of each data point in the standard-reaching group of data points, including: determining the color corresponding to any data point in the standard-reaching group of data points according to the data value of the data point; and drawing the area corresponding to the data point into the color corresponding to the data point.
4. A data display device, characterized in that: include: A positioning module, used to obtain a screen target point on the display screen, and determine a map target point in the map corresponding to the screen target point; wherein the map target point is a first group of data points; A diffusion module is used to construct diffusion data points around the nth group of data points with the nth group of data points as the center, and the diffusion data points together with the nth group of data points form a 3 n ×3 n The diffusion data points are composed of 8 data groups, each of which is the same as the nth group of data; the center points of the 8 data groups are respectively located on the positive and negative semi-axes of the horizontal coordinates, the positive and negative semi-axes of the vertical coordinates and the bisectors of the four quadrants of the coordinate axis with the map target point as the origin; the generation method of each data group is the same as the generation method of the nth group of data points; the 3 n ×3 n The level data array is taken as the n+1th group of data points; wherein n≥1; A drawing module is used to draw the color of each data point in the data point group that meets the standard according to the distance between each data point in the data point group that meets the standard and the target point of the map when the number of data points included in a certain group of data points meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard; or, when the number of data points included in a certain group of data points meets the standard, obtain the data value of each data point in the data point group that meets the standard, and draw the color of each data point in the data point group that meets the standard according to the data value of each data point in the data point group that meets the standard, so as to generate a heat map of the area corresponding to the data point group that meets the standard.
5. A data display device, characterized in that: include: at least one processor; as well as, a memory communicatively coupled to the at least one processor; in, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the data presentation method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the data display method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Visual map thermodynamic diagram analogue data generation method
CN106599233A
Information delivery method and device, equipment and medium
CN112579917A