Method, device and equipment for generating rendering intensity thermodynamic diagram based on Beidou network code technology, medium and program
Through Beidou network code technology, massive data are processed and heat maps are generated, which solves the problems of insufficient flexibility in heat map drawing and information loss in the existing technology, and achieves efficient, flexible and complete data visualization.
Patent Information
- Application Number
- CN202510013282.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-06
AI Technical Summary
When the prior art faces the thermal diagram drawing of massive data, the tile layering method is insufficient to adapt to the increase and decrease of data volume. The data selection law leads to the loss of information and the overall information is not complete enough.
Through Beidou network code technology, coordinate intensity data of the area to be studied is collected, converted into plane format data, and mapped to the preset grid, calculate the intensity value of each grid, aggregate the intensity values of different grids, mapped to the preset color, and finally rendered as a thermal map.
It improves the quality of data processing and depth of understanding, flexibility to adapt to changes in data volume, enhances information integrity and data readability, and improves data interpretation efficiency.
Smart Images

Figure CN119942039A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of big data processing technology, and in particular to a method, device, equipment, medium and program for generating a rendering intensity heat map based on Beidou network code technology. Background Art
[0002] Beidou network code is a coding system developed based on the Beidou satellite navigation system. It provides accurate and unique identification and positioning basis for various applications by efficiently encoding and organizing the spatiotemporal information obtained by the Beidou system. Through the Beidou network code, the location information and other data of related objects or areas can be accurately obtained, which can be used as the basic data source for generating heat maps.
[0003] At present, there are two main heat map drawing technologies for massive data: tile layering method and data selection method, but these two methods have certain defects. Among them, the tile layering method uses the Spark platform and other methods to process the original data offline to generate a specific number of layers of image data. During interaction, only the calling and splicing process is performed. This method is not flexible enough and cannot adapt well to the increase or decrease of data volume. The data selection method can reduce the time cost of drawing by selecting some data points, but the existence of selection will inevitably lead to the loss of information, making the overall information incomplete. Summary of the invention
[0004] In view of the above problems, embodiments of the present invention provide a method, apparatus, device, medium and program for generating a rendering intensity heat map based on Beidou network code technology.
[0005] In a first aspect, an embodiment of the present invention provides a method for generating a rendering intensity heat map based on Beidou network code technology, comprising:
[0006] Collecting coordinate intensity data of the area to be studied, converting the coordinate intensity data into a preset format to obtain plane format data;
[0007] Mapping the plane format data to a preset grid to obtain grid data;
[0008] Calculating the strength value of each grid according to the grid data;
[0009] Aggregate the intensity values of different grids into aggregate data;
[0010] Mapping the aggregated data to a preset color to obtain mapped color data;
[0011] The mapped color data is rendered as a heat map according to the intensity values.
[0012] According to an embodiment of the present invention, mapping the plane format data to a preset grid to obtain grid data includes:
[0013] Establishing a plane coordinate system according to the area to be studied;
[0014] Dividing the plane coordinate system by preset grid parameters to obtain a grid to be mapped;
[0015] extracting data points from the planar format data, and identifying data information of the data points;
[0016] The data points are allocated to the grid to be mapped according to the data information to obtain grid data.
[0017] According to an embodiment of the present invention, calculating the strength value of each grid according to the grid data includes:
[0018] Perform numerical statistics on the numerical information of the data information in each grid;
[0019] The total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information of each grid are calculated one by one, and the total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information are used as the intensity value of the current grid.
[0020] According to an embodiment of the present invention, aggregating the intensity values of different grids into aggregated data includes:
[0021] Merge multiple grids according to a preset step size to obtain a merged grid;
[0022] Calculate the merged mesh data of each merged mesh after merging according to the strength value;
[0023] Determine whether the area of the merged grid in the plane coordinate system of the area to be studied reaches a preset area threshold;
[0024] If the area of the merged grid does not reach the preset area threshold, the multiple grids are merged again according to the preset step size to obtain a merged grid, and the process returns to the step of calculating the strength value of each merged grid after merging;
[0025] If the area of the merged grid reaches a preset area threshold, the merged grid data is used as aggregated data.
[0026] According to an embodiment of the present invention, mapping the aggregated data to a preset color to obtain mapped color data includes:
[0027] Classifying the intensity values of the aggregated data into a plurality of groups of classified data according to a preset value range;
[0028] Respectively calculating the relative position of each group of classification data in the preset intensity range to obtain relative position data;
[0029] The preset color space is linearly mapped according to the relative position data to obtain mapped color data.
[0030] According to an embodiment of the present invention, rendering the mapped color data as a heat map according to the intensity value includes:
[0031] Performing coordinate recognition on each merged grid of the mapped color data to obtain the boundary coordinates of each merged grid;
[0032] Filling the mapped color data corresponding to the merged grid into a preset empty graphic according to the boundary coordinates of each merged grid to obtain an initial filled graphic;
[0033] Performing data matching on the boundary coordinates of each merged grid to obtain adjacent merged grids;
[0034] Calculate the intensity difference value between each group of adjacent merged grids one by one;
[0035] Classifying the intensity difference values into a plurality of groups of difference classification data according to a preset difference value range;
[0036] Calculate the relative position of each group of difference classification data in the preset difference value range to obtain difference value relative position data;
[0037] Performing linear mapping on a preset gradient color space according to the relative position data of the difference value to obtain gradient color data;
[0038] The gradient color data is filled into the common boundary coordinates of each group of adjacent merged grids of the initial filling pattern to obtain a heat map.
[0039] In a second aspect, an embodiment of the present invention provides a device for generating a rendering intensity heat map based on Beidou network code technology, including:
[0040] A format conversion module, used for collecting coordinate intensity data of the area to be studied, converting the coordinate intensity data into a preset format, and obtaining plane format data;
[0041] A grid mapping module, used for mapping the plane format data to a preset grid to obtain grid data;
[0042] A grid calculation module, used for calculating the strength value of each grid according to the grid data;
[0043] A grid aggregation module is used to aggregate the intensity values of different grids into aggregate data;
[0044] A color mapping module, used to map the aggregated data into preset colors to obtain mapped color data;
[0045] A graphics rendering module is used to render the mapped color data into a heat map according to the intensity value.
[0046] In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described in the above aspect.
[0047] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described in the above aspect.
[0048] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for generating a rendering intensity heat map based on Beidou network code technology.
[0049] Compared with the prior art, the above technical solution of the present invention has the following beneficial effects:
[0050] By converting the coordinate intensity data into a preset format, data compatibility and consistency can be improved, data processing and analysis can be facilitated, and data quality can be guaranteed to improve processing efficiency; by mapping the plane format data to the preset grid to obtain grid data, data processing quality can be improved, data understanding can be deepened, and the scope of application can be expanded; by calculating the intensity value of each grid according to the grid data, key basic data is provided for subsequent further data processing, such as aggregating data, mapping colors, and rendering heat maps, so that the entire heat map generation process can accurately reflect the distribution and intensity changes of data in the study area; by aggregating the intensity values of different grids into aggregate numbers By mapping the aggregated data to preset colors, it can enhance the readability and comprehensibility of the data, highlight the feature differences and assist pattern recognition and multivariate analysis, and enhance the value of data visualization; by rendering the mapped color data to a heat map, it can display the abstract data intensity values in the form of intuitive color distribution and gradient in the heat map, showing the overall distribution trend of the data, local detail differences and the relationship between the data, thereby greatly improving the efficiency of data interpretation. This solution has high flexibility, can adapt well to the increase and decrease of data volume, and can improve information integrity. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart showing a method for generating a rendering intensity heat map based on Beidou network code technology according to a first embodiment of the present invention is shown;
[0053] Figure 2 A functional module diagram of a device for generating a rendering intensity heat map based on Beidou network code technology according to a second embodiment of the present invention is shown;
[0054] Figure 3 A schematic diagram of the composition structure of an electronic device for implementing the method for generating a rendering intensity heat map based on Beidou network code technology according to Embodiment 3 of the present invention is shown. DETAILED DESCRIPTION
[0055] The present disclosure is further described below in conjunction with the embodiments shown in the accompanying drawings.
[0056] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0057] The present invention realizes overall damage identification of the bridge structure in a shorter period, can complete all-round identification, and has a higher identification efficiency.
[0058] Embodiment 1
[0059] like Figure 1 As shown, a method for generating a rendering intensity heat map based on Beidou network code technology provided by an embodiment of the present disclosure includes the following steps:
[0060] S1. Collect coordinate intensity data of the area to be studied, convert the coordinate intensity data into a preset format, and obtain plane format data.
[0061] In the embodiment of the present invention, the Beidou network code technology is used to obtain the location information with Beidou network code identification and the intensity data associated therewith through Beidou positioning equipment or related sensors deployed in the area to be studied. These data may cover various information such as geographic coordinates, physical quantity intensity, etc. The format is usually a standard format defined according to the heat map generation system and subsequent calculation requirements, covering the specifications of data arrangement order, storage type, numerical representation range, etc.
[0062] In the embodiment of the present invention, by converting the coordinate intensity data into a preset format, data compatibility and consistency can be improved, data processing and analysis can be facilitated, and data quality can be guaranteed to improve processing efficiency.
[0063] S2. Mapping the plane format data to a preset grid to obtain grid data.
[0064] In the embodiment of the present invention, the mapping principle is to construct a plane coordinate system and divide the grid according to preset grid parameters, obtain data points and their information by parsing plane format data, accurately allocate data points to corresponding grids according to coordinates, and record data information in the grid to realize data space discretization and structuring.
[0065] In the embodiment of the present invention, mapping the plane format data to a preset grid to obtain grid data includes:
[0066] Establishing a plane coordinate system according to the area to be studied;
[0067] Dividing the plane coordinate system by preset grid parameters to obtain a grid to be mapped;
[0068] extracting data points from the planar format data, and identifying data information of the data points;
[0069] The data points are allocated to the grid to be mapped according to the data information to obtain grid data.
[0070] In the embodiment of the present invention, the principle of establishing a plane coordinate system is to provide a unified positioning framework for the coordinate intensity data in the area to be studied, so as to accurately spatially locate and subsequently process the data. The preset grid parameters are to be able to reasonably divide the plane space according to the characteristics and analysis requirements of the study area in the process of mapping the plane format data to the grid, so as to effectively organize and present the data. The setting of the grid parameters includes the size and shape of the grid and the distribution density of the data in the grid, which in turn determines the accuracy and effect of the heat map on the display of the data characteristics of the study area.
[0071] In the embodiment of the present invention, based on the data distribution characteristics of the research area and the analysis accuracy requirements, the plane coordinate system is divided by presetting grid parameters, with the purpose of discretizing the continuous plane space into multiple regular small areas (i.e., grids) so as to organize and manage the plane format data in a more detailed and orderly manner, thereby accurately reflecting the distribution of data in different areas and providing a basic structure for subsequent operations such as calculating grid strength values. Extracting data points can be performed through the steps of parsing the data format, locating the data starting point, extracting data points one by one, data verification and error correction, and constructing data point objects.
[0072] In the embodiment of the present invention, the data point to be mapped can be allocated to the to-be-mapped grid by determining the position-related portion (such as coordinate value) in the data information of each data point, and then judging the to-be-mapped grid to which the data point should belong based on the correspondence between the plane coordinate system and the preset grid, and accurately placing the data point in the corresponding grid by calculating the position of the data point coordinates in the grid division system, and recording the relevant information of the data point in the grid (such as intensity value, etc.).
[0073] In detail, firstly, according to the actual geographical scope of the area to be studied, the data distribution characteristics and the research purpose, a plane coordinate system is established to determine the origin, the direction of the coordinate axis and the unit length, so as to provide a reference framework for the subsequent data positioning; then, according to the pre-set grid parameters determined after the analysis of the study area, including the number of rows and columns of the grid and the corresponding size, the established plane coordinate system is divided to obtain the grid to be mapped; then, the plane format data is parsed to accurately extract each data point and identify the data information contained in each data point, such as the intensity value; finally, according to the key content of these data information, especially the information related to the location, through a complex calculation and matching process, each data point is accurately assigned to the corresponding grid to be mapped, and the relevant information of the data point in each grid is recorded to obtain the grid data, laying a solid data foundation for the entire heat map generation process.
[0074] In the embodiment of the present invention, by mapping the plane format data to the preset grid to obtain the grid data, the data processing quality can be improved, the data understanding can be deepened, and the application scope can be expanded.
[0075] S3. Calculate the strength value of each grid according to the grid data.
[0076] In the embodiment of the present invention, based on the data points contained in the grid and their related numerical information, numerical statistical methods are used to comprehensively calculate the total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information of the data points, and comprehensively weigh these statistical indicators to quantify the intensity level of the data contained in each grid, thereby providing an accurate intensity measurement basis for subsequent data processing and heat map rendering, ensuring that the distribution characteristics and changing trends of the data in the study area can be accurately reflected.
[0077] In the embodiment of the present invention, calculating the strength value of each grid according to the grid data includes:
[0078] Perform numerical statistics on the numerical information of the data information in each grid;
[0079] The total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information of each grid are calculated one by one, and the total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information are used as the intensity value of the current grid.
[0080] In an embodiment of the present invention, numerical statistics of the numerical information of the data information in each grid is to systematically sort out and analyze the relevant numerical values of all data points contained in the grid, record and calculate the various characteristics of the numerical information carried by each data point one by one, including the total value to measure the overall scale, the average value to reflect the central trend, the maximum and minimum values to determine the data range, the midpoint value to reflect the intermediate level, and the weighted average value to consider the importance difference of different data points. Through these comprehensive statistical calculations, the overall numerical picture of the data information in the grid is fully grasped, providing a detailed data basis for accurately evaluating the strength of the grid.
[0081] In detail, firstly, the numerical information of the data information in each grid is numerically counted. For these numerical information, the total value is calculated one by one, and the values of all data points in the grid are added up to obtain an indicator reflecting the total scale of the grid data; the average value is calculated, and the value that can reflect the concentration trend of the data in the grid is obtained by dividing the total value by the number of data points, which helps to understand the general level of the data; the maximum and minimum values are found to determine the value range of the data in the grid, which is crucial for grasping the discrete degree and extreme cases of the data; the midpoint value is determined, which is in the middle position after the data is sorted, and can reflect the distribution characteristics of the data from another perspective; at the same time, different weights are given according to the importance of the data points or other related factors, and the weighted average value is calculated to more accurately reflect the comprehensive characteristics of the data in the grid. Finally, the total value, average value, maximum value, minimum value, midpoint value and weighted average value of these calculated numerical information are used as the intensity value of the current grid, and these intensity values represent the intensity characteristics of the data in the grid.
[0082] In an embodiment of the present invention, by calculating the intensity value of each grid based on the grid data, key basic data is provided for subsequent further data processing, such as aggregating data, mapping colors, and rendering heat maps, so that the entire heat map generation process can accurately reflect the distribution and intensity changes of the data in the study area.
[0083] S4. Aggregate the intensity values of different grids into aggregated data.
[0084] In the embodiment of the present invention, aggregation refers to gradually merging multiple grids through a preset step size, calculating the relevant data of the grids after each merging, and judging whether to continue merging based on the comparison between the area of the grids in the plane coordinate system and the preset area threshold until the threshold is reached, thereby fusing the intensity values of multiple grids into an aggregated data that can reflect the characteristics of a larger area, realizing the integration and generalization of data from fine to macro, and providing a suitable data hierarchy for subsequent color mapping and heat map rendering.
[0085] In the embodiment of the present invention, aggregating the intensity values of different grids into aggregated data includes:
[0086] Merge multiple grids according to a preset step size to obtain a merged grid;
[0087] Calculate the merged mesh data of each merged mesh after merging according to the strength value;
[0088] Determine whether the area of the merged grid in the plane coordinate system of the area to be studied reaches a preset area threshold;
[0089] If the area of the merged grid does not reach the preset area threshold, the multiple grids are merged again according to the preset step size to obtain a merged grid, and the process returns to the step of calculating the strength value of each merged grid after merging;
[0090] If the area of the merged grid reaches a preset area threshold, the merged grid data is used as aggregated data.
[0091] In an embodiment of the present invention, multiple grids are merged according to a preset step size, in accordance with established rules and calculation methods, to combine adjacent or related multiple grids into a larger merged grid, and at the same time integrate and recalculate the data in the merged grid to achieve aggregation of grid data.
[0092] In detail, multiple grids are gradually merged through a preset step size, and the relevant data of the grids after each merger is calculated. The area of the grid in the plane coordinate system is compared with the preset area threshold to determine whether to continue merging until the threshold is reached. In this way, the intensity values of multiple grids are fused into an aggregated data that can reflect the characteristics of a larger area, realizing the integration and generalization of data from fine to macro, and providing a suitable data hierarchy for subsequent color mapping and heat map rendering.
[0093] In the embodiment of the present invention, by aggregating the intensity values of different grids into aggregated data, the analysis efficiency and accuracy can be improved, and it is convenient to adapt to different analysis scales.
[0094] S5. Map the aggregated data to a preset color to obtain mapped color data.
[0095] In an embodiment of the present invention, mapping is to classify the intensity values of aggregated data according to a preset numerical range, calculate the relative position of the classified data, and then use the position data to linearly map the preset color space, thereby converting the aggregated data into intuitive, color-associated mapping color data, providing a visualization basis for heat map rendering.
[0096] In the embodiment of the present invention, mapping the aggregated data to a preset color to obtain mapped color data includes:
[0097] Classifying the intensity values of the aggregated data into a plurality of groups of classified data according to a preset value range;
[0098] Respectively calculating the relative position of each group of classification data in the preset intensity range to obtain relative position data;
[0099] The preset color space is linearly mapped according to the relative position data to obtain mapped color data.
[0100] In the embodiment of the present invention, multiple groups of classified data refer to comparing each intensity value in the aggregated data with the preset numerical range in turn based on the preset numerical range, judging the interval range to which it belongs, thereby classifying it into the corresponding category, and finally forming multiple groups of classified data. The process of calculating the relative position of each group of classified data in the preset intensity range is to determine the relative position ratio or numerical relationship of the group of data in the entire preset intensity range through a specific calculation method for each group of classified data. This relative position will serve as the key basis for the subsequent linear mapping of the preset color space to achieve accurate and reasonable corresponding conversion between data intensity and color, thereby intuitively displaying the intensity distribution characteristics of the data. Linear mapping is based on the calculated relative position data of each group of classified data in the preset intensity range, and according to certain linear rules, a one-to-one correspondence from relative position to color value is established in the preset color space, so that the change of data intensity can be intuitively presented in the form of color gradient, thereby realizing the conversion of abstract data information into visual color expression, and effectively displaying the intensity distribution trend of data in the study area.
[0101] In detail, the intensity values of the aggregated data are first classified according to a preset numerical range to form multiple groups of classified data, and then the relative position of each group of classified data in the preset intensity range is calculated to obtain relative position data. Finally, the preset color space is accurately linearly mapped based on the relative position data, thereby converting the abstract intensity value of the aggregated data into intuitive, color-associated mapping color data, so that the intensity characteristics of the data can be presented in a visual color form.
[0102] In the embodiment of the present invention, by mapping the aggregated data to preset colors, the data readability and comprehensibility can be enhanced through intuitive color presentation, feature differences can be highlighted to assist pattern recognition and multivariate analysis, and the value of data visualization can be improved.
[0103] S6. Rendering the mapped color data into a heat map according to the intensity value.
[0104] In an embodiment of the present invention, data rendering refers to a process of converting existing mapped color data and related intensity value information into a heat map with intuitive visual effects through methods such as identifying boundary coordinates, filling colors, matching adjacent grids, calculating intensity difference values and mapping gradient colors. This process realizes the visual expression of data, so that the data intensity distribution is clearly presented in a graphical manner, which helps users to understand and analyze data features more intuitively and provide strong support for decision-making.
[0105] In the embodiment of the present invention, rendering the mapped color data into a heat map according to the intensity value includes:
[0106] Performing coordinate recognition on each merged grid of the mapped color data to obtain the boundary coordinates of each merged grid;
[0107] Filling the mapped color data corresponding to the merged grid into a preset empty graphic according to the boundary coordinates of each merged grid to obtain an initial filled graphic;
[0108] Performing data matching on the boundary coordinates of each merged grid to obtain adjacent merged grids;
[0109] Calculate the intensity difference value between each group of adjacent merged grids one by one;
[0110] Classifying the intensity difference values into a plurality of groups of difference classification data according to a preset difference value range;
[0111] Calculate the relative position of each group of difference classification data in the preset difference value range to obtain difference value relative position data;
[0112] Performing linear mapping on a preset gradient color space according to the relative position data of the difference value to obtain gradient color data;
[0113] The gradient color data is filled into the common boundary coordinates of each group of adjacent merged grids of the initial filling pattern to obtain a heat map.
[0114] In the embodiment of the present invention, coordinate identification is to accurately locate and obtain the boundary coordinate information of the grid in the plane coordinate system for each merged grid corresponding to the mapped color data in the process of rendering the mapped color data as a heat map by using specific algorithms and techniques. Data filling is to fill the corresponding mapped color data into the preset empty graphic frame based on the identified merged grid boundary coordinates when rendering the heat map, so that the graphic presents the initial filling state according to the color corresponding to the data. Data matching is to find adjacent merged grids by comparing the positional relationship and intensity values of each merged grid in the process of rendering the heat map generation, and quantify the intensity difference between them, so as to calculate the relative position data based on the difference later. Filling the gradient color data into the common boundary coordinates of each group of adjacent merged grids of the initial filling graphic is to accurately fill the corresponding gradient color according to the coordinate position of the common boundary of each group of adjacent merged grids in the plane coordinate system according to the calculated gradient color data, so that the heat map presents a natural color transition effect between adjacent grids, more perfectly showing the continuous change of data intensity, and intuitively presenting the distribution characteristics of the overall data.
[0115] In detail, the merged grid boundary coordinates corresponding to each mapped color data are identified, and the color data is filled into the preset empty graphic according to these coordinates to generate an initial filled graphic. Then, the adjacent merged grids are determined by data matching, and their intensity difference values are calculated and classified to obtain relative position data. Then, the preset gradient color space is linearly mapped according to the data to obtain gradient color data. Finally, the gradient color data is filled into the common boundary coordinates of the adjacent grids, thereby forming a heat map that can intuitively display the data intensity distribution and has a gradient effect, realizing the conversion of data from abstract numerical values to visual graphics, providing an intuitive and clear presentation method for the data characteristics of the study area, and assisting decision-making and analysis.
[0116] In an embodiment of the present invention, by rendering the mapped color data as a heat map, the abstract data intensity value can be displayed in the heat map in the form of intuitive color distribution and gradient, showing the overall distribution trend of the data, local detail differences and the relationship between the data, thereby greatly improving the efficiency of data interpretation. This solution has high flexibility, can adapt well to the increase and decrease of data volume, and can improve information integrity.
[0117] Embodiment 2
[0118] like Figure 2 As shown, this embodiment also provides a functional module diagram of a device for generating a rendering intensity heat map based on Beidou network code technology.
[0119] The device 100 for generating a rendering intensity heat map based on Beidou network code technology described in this embodiment can be installed in an electronic device. According to the functions implemented, the device 100 for generating the intensity heat map may include a format conversion module 101, a grid mapping module 102, a grid calculation module 103, a grid aggregation module 104, a color mapping module 105 and a graphics rendering module 106. The module described in the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0120] In this embodiment, the functions of each module / unit are as follows:
[0121] The format conversion module 101 is used to collect coordinate intensity data of the area to be studied, and convert the coordinate intensity data into a preset format to obtain plane format data;
[0122] The grid mapping module 102 is used to map the plane format data to a preset grid to obtain grid data;
[0123] The grid calculation module 103 is used to calculate the strength value of each grid according to the grid data;
[0124] The grid aggregation module 104 is used to aggregate the strength values of different grids into aggregated data;
[0125] The color mapping module 105 is used to map the aggregated data into preset colors to obtain mapped color data;
[0126] The graphics rendering module 106 is configured to render the mapped color data into a heat map according to the intensity value.
[0127] In detail, each module described in the intensity heat map generation device 100 described in the embodiment of the present invention adopts the same technical means as the method for generating a rendering intensity heat map based on Beidou network code technology as described in Example 1 when used, and can produce the same technical effect, which will not be repeated here.
[0128] Embodiment 3
[0129] like Figure 3 As shown, this embodiment also provides a computer electronic device, which may include a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as an intensity heat map generation program.
[0130] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing an intensity heat map generation program, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.
[0131] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the intensity heat map generation program, but also be used to temporarily store data that has been output or is to be output.
[0132] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0133] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0134] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0135] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0136] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0137] The intensity heat map generation program stored in the memory 11 in the electronic device is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0138] Collecting coordinate intensity data of the area to be studied, converting the coordinate intensity data into a preset format to obtain plane format data;
[0139] Mapping the plane format data to a preset grid to obtain grid data;
[0140] Calculating the strength value of each grid according to the grid data;
[0141] Aggregate the intensity values of different grids into aggregate data;
[0142] Mapping the aggregated data to a preset color to obtain mapped color data;
[0143] The mapped color data is rendered as a heat map according to the intensity values.
[0144] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0145] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0146] Embodiment 4
[0147] This embodiment provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described above are implemented.
[0148] These program codes can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 The steps of a specified function in a process or multiple processes.
[0149] Storage media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of storage media can 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 medium that can be used to store information that can be accessed by a computing device.
[0150] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0151] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0153] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0154] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is not limited only according to the above description, and it is intended that all changes within the meaning and scope of equivalent elements within the scope of protection are included in the present invention.
[0155] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0156] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for generating a rendering intensity heat map based on Beidou network code technology, characterized in that: The method comprises: Collecting coordinate intensity data of the area to be studied, converting the coordinate intensity data into a preset format to obtain plane format data; Mapping the plane format data to a preset grid to obtain grid data; Calculating the strength value of each grid according to the grid data; Aggregate the intensity values of different grids into aggregate data; Mapping the aggregated data to a preset color to obtain mapped color data; The mapped color data is rendered as a heat map according to the intensity values.
2. The method for generating a rendering intensity heat map based on Beidou network code technology as claimed in claim 1, characterized in that: Mapping the plane format data to a preset grid to obtain grid data includes: Establishing a plane coordinate system according to the area to be studied; Dividing the plane coordinate system by preset grid parameters to obtain a grid to be mapped; extracting data points from the planar format data, and identifying data information of the data points; The data points are allocated to the grid to be mapped according to the data information to obtain grid data.
3. The method for generating a rendering intensity heat map based on Beidou network code technology as claimed in claim 1, characterized in that: The calculating the strength value of each grid according to the grid data comprises: Perform numerical statistics on the numerical information of the data information in each grid; The total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information of each grid are calculated one by one, and the total value, average value, maximum value, minimum value, midpoint value and weighted average value of the numerical information are used as the intensity value of the current grid.
4. The method for generating a rendering intensity heat map based on Beidou network code technology as claimed in claim 1, characterized in that: The aggregating the intensity values of different grids into aggregated data includes: Merge multiple grids according to a preset step size to obtain a merged grid; Calculate the merged mesh data of each merged mesh after merging according to the strength value; Determine whether the area of the merged grid in the plane coordinate system of the area to be studied reaches a preset area threshold; If the area of the merged grid does not reach the preset area threshold, the multiple grids are merged again according to the preset step size to obtain a merged grid, and the process returns to the step of calculating the strength value of each merged grid after merging; If the area of the merged grid reaches a preset area threshold, the merged grid data is used as aggregated data.
5. The method for generating a rendering intensity heat map based on Beidou network code technology as claimed in claim 1, characterized in that: Mapping the aggregated data to a preset color to obtain mapped color data includes: Classifying the intensity values of the aggregated data into a plurality of groups of classified data according to a preset value range; Respectively calculating the relative position of each group of classification data in the preset intensity range to obtain relative position data; The preset color space is linearly mapped according to the relative position data to obtain mapped color data.
6. The method for generating a rendering intensity heat map based on Beidou network code technology as claimed in claim 1, characterized in that: Rendering the mapped color data as a heat map according to the intensity value includes: Performing coordinate recognition on each merged grid of the mapped color data to obtain the boundary coordinates of each merged grid; Filling the mapped color data corresponding to the merged grid into a preset empty graphic according to the boundary coordinates of each merged grid to obtain an initial filled graphic; Performing data matching on the boundary coordinates of each merged grid to obtain adjacent merged grids; Calculate the intensity difference value between each group of adjacent merged grids one by one; Classifying the intensity difference values into a plurality of groups of difference classification data according to a preset difference value range; Calculate the relative position of each group of difference classification data in the preset difference value range to obtain difference value relative position data; Performing linear mapping on a preset gradient color space according to the relative position data of the difference value to obtain gradient color data; The gradient color data is filled into the common boundary coordinates of each group of adjacent merged grids of the initial filling pattern to obtain a heat map.
7. A device for generating a rendering intensity heat map based on Beidou network code technology, characterized in that: The device comprises: A format conversion module, used for collecting coordinate intensity data of the area to be studied, converting the coordinate intensity data into a preset format, and obtaining plane format data; A grid mapping module, used for mapping the plane format data to a preset grid to obtain grid data; A grid calculation module, used for calculating the strength value of each grid according to the grid data; A grid aggregation module is used to aggregate the intensity values of different grids into aggregate data; A color mapping module, used to map the aggregated data into preset colors to obtain mapped color data; A graphics rendering module is used to render the mapped color data into a heat map according to the intensity value.
8. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described in any one of claims 1 to 6 are implemented.
10. A computer program, characterized in that When the computer program is executed by a processor, the steps of the method for generating a rendering intensity heat map based on Beidou network code technology as described in any one of claims 1 to 6 are implemented.