Server-Side Heat Map Generation for Passenger Flow Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional heat map animations are heavily dependent on time dimension and data density, leading to data processing limitations and potential distortion when displaying large volumes of data, such as passenger flow data, which can exceed front-end processing capabilities.
Innovation Solution
A server-side heat map generation method that acquires and processes heat data for designated geographic spaces over preset time periods, maps unit spaces to pixels, determines color values based on heat data, and generates heat maps, which are then sent for animation display, reducing the need for front-end data processing and minimizing data distortion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If heat map animation is drawn at front end using vector elements and hourly passenger flow data, then the visualization displays geographic spatial characteristics and attribute characteristics, but the amount of data received within one second exceeds front-end processing capabilities
Solution Approach 1:
The patent extracts the heat map generation process from the front-end to the back-end server. The server pre-processes the passenger flow data, generates heat map images, and sends them to the front-end for display. This extraction resolves the contradiction by removing the heavy data processing burden from the front-end while maintaining accurate heat map visualization.
Solution Approach 2:
The patent implements preliminary action by pre-generating heat map images on the server side before they are needed for display. The server processes the passenger flow data in advance, creates the heat map images, and stores them for subsequent retrieval and display. This preliminary processing eliminates the need for real-time front-end data processing during animation playback.
2Productivity
If data density or time density is reduced to decrease data amount for front-end processing, then the processing load is reduced, but data distortion occurs
Solution Approach 1:
By extracting the data processing function to the back-end server, the patent avoids the need to reduce data density or time density at the front-end. The server handles the complete dataset with full resolution, generating accurate heat maps without any data loss, while the front-end only receives the final rendered images for efficient display.
3Loss of time
If large volume of passenger flow data is processed in real-time at front end, then timely heat map display is achieved, but the system becomes unstable and may fail
Solution Approach 1:
The patent extracts the computationally intensive data processing from the front-end client to the back-end server. The server performs all heavy lifting of processing passenger flow data and generating heat maps, ensuring system stability. The front-end only needs to retrieve and display pre-generated images, achieving timely display without compromising reliability.
Solution Approach 2:
By pre-generating heat map images on the server before they are needed for display, the system ensures that when the front-end requests heat maps, they are already processed and ready for immediate display. This preliminary action eliminates real-time processing demands during playback, ensuring both timeliness and system stability.
Data Source
AI summary
A heat map generation method, a server side, and a readable storage medium. The method includes: acquiring heat data generated in a specified geographic space within each preset time period, the heat data is used for representing the total heat data of one kind of object in one unit space in the geographic space within the preset time period; mapping each unit space with pixels in a designated display area, obtaining heat data of the pixels corresponding to each unit space, the designated display area and the designated geographic space have a same ratio, and the designated display area is part of a display area in a front-end display; and according to heat data corresponding to each pixel, and a level threshold of a color gradation, determining a color value corresponding to each pixel, and generating a heat map corresponding to the designated geographic space in each preset time period.


