CN112905729B - Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium - Google Patents

Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium Download PDF

Info

Publication number
CN112905729B
CN112905729B CN202110246975.2A CN202110246975A CN112905729B CN 112905729 B CN112905729 B CN 112905729B CN 202110246975 A CN202110246975 A CN 202110246975A CN 112905729 B CN112905729 B CN 112905729B
Authority
CN
China
Prior art keywords
grid
map
track
data
thermodynamic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110246975.2A
Other languages
Chinese (zh)
Other versions
CN112905729A (en
Inventor
崔佳骏
耿永胜
梁慧军
吴建雄
韩斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Elane Inc
Original Assignee
Elane Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Elane Inc filed Critical Elane Inc
Priority to CN202110246975.2A priority Critical patent/CN112905729B/en
Publication of CN112905729A publication Critical patent/CN112905729A/en
Application granted granted Critical
Publication of CN112905729B publication Critical patent/CN112905729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The invention provides a thermodynamic diagram generation method, a thermodynamic diagram generation device, an electronic device and a storage medium of track data, wherein the method comprises the following steps: performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; projecting each trajectory line into a grid map, and counting the thermal value of each grid in the grid map, wherein the thermal value is determined based on the number of the trajectory lines passing through the corresponding grid; and generating a track thermodynamic diagram based on the thermodynamic values of each grid in the grid map. The method, the device, the electronic equipment and the storage medium provided by the invention avoid the problem of activity loss caused by processing track data with poor continuity in the prior art, and improve the fault tolerance of track data processing.

Description

Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium
Technical Field
The present invention relates to the field of geographic information systems, and in particular, to a thermodynamic diagram generating method, apparatus, electronic device, and storage medium for track data of track data.
Background
As the internet rapidly evolves, more and more GIS (Geographic Information System ) related applications switch to online mode, and enterprises gradually accumulate a large amount of trajectory data. And processing the track data by utilizing a big data analysis mining technology, and visualizing the information such as the track activity range, the activity intensity and the like. Based on the method, industry experts can analyze historical changes and forecast quotations to help enterprises to obtain accurate decisions.
Web page thermodynamic diagrams are clearly a good type of trajectory visualization. The method for drawing the webpage in real time has no client limitation and high flexibility, and thermodynamic diagrams in different scenes can be obtained only by changing query data.
Existing web page thermodynamic diagrams have many excellent implementations, such as openlayer, leaflet, hundred degree thermodynamic diagrams, and the like. However, the following problems may exist: because the track data is formed by connecting sampling points in the moving process of the moving object, under the special conditions of lower sampling frequency or weaker signal providing capability of the moving object, and the like, the geographical interval between the sampling points is larger, the track data with poor continuity can appear, and when the track data is converted into thermal data, the prior art only processes the points in the track data, so that the problem of activity loss can appear.
Disclosure of Invention
The invention provides a thermodynamic diagram generation method, a thermodynamic diagram generation device, electronic equipment and a storage medium for track data, which are used for solving the defect of low fault tolerance rate of the track data in the prior art and improving the fault tolerance rate of the track data.
The invention provides a thermodynamic diagram generation method of track data, which comprises the following steps:
performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence;
projecting each trajectory line into a grid map, and counting the thermal value of each grid in the grid map, wherein the thermal value is determined based on the number of the trajectory lines passing through the corresponding grid;
and generating a track thermodynamic diagram based on the thermodynamic values of each grid in the grid map.
According to the thermodynamic diagram generation method of the track data, the grid map is determined based on the following steps:
determining a map level of a scene to be analyzed;
and carrying out grid division on the map corresponding to the scene to be analyzed based on the map grade to obtain the grid map.
According to the thermodynamic diagram generation method of track data provided by the invention, the mesh division is performed on the map corresponding to the scene to be analyzed based on the map level, so as to obtain the mesh map, and the method comprises the following steps:
determining the number of horizontal and vertical tiles required by the scene to be analyzed based on a preset tile map pyramid and the map level;
determining the geographical range represented by each pixel point in the scene to be analyzed based on preset tile resolution and the number of the transverse tiles and the longitudinal tiles;
and performing grid division on the map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain the grid map.
According to the thermodynamic diagram generating method of the track data provided by the invention, the generating of the track thermodynamic diagram based on the thermodynamic value of each grid in the grid map comprises the following steps:
generating thermal data based on the thermal value and the grid position of each grid in the grid map;
transmitting the thermodynamic data to a client for the client to generate the trajectory thermodynamic diagram based on the thermodynamic data.
According to the thermodynamic diagram generating method of track data provided by the invention, the thermodynamic data is generated based on the thermodynamic value and the grid position of each grid in the grid map, and the thermodynamic diagram generating method comprises the following steps:
and generating the thermal data based on the thermal value and the grid position of each grid with the thermal value larger than or equal to a preset thermal threshold in the grid map.
According to the thermodynamic diagram generation method of the track data provided by the invention, the thermodynamic data is transmitted to the client, and the thermodynamic diagram generation method comprises the following steps:
storing the thermal data in a buffer area;
and if a thermal data calling request sent by the client is received, extracting corresponding thermal data from the buffer area and transmitting the corresponding thermal data to the client.
According to the thermodynamic diagram generating method of the track data provided by the invention, each track point sequence to be processed is respectively subjected to track line fitting to obtain the track line corresponding to each track point sequence, and the method comprises the following steps:
and connecting lines between every two adjacent track points in each track sequence to obtain track lines corresponding to each track point sequence.
The invention also provides a thermodynamic diagram generating device of the track data, which comprises the following steps:
the acquisition module is used for respectively carrying out track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence;
a statistics module for projecting each trajectory line into a grid map, and counting the thermal value of each grid in the grid map, wherein the thermal value is determined based on the number of the trajectory lines passing through the corresponding grid;
and the generation module is used for generating a track thermodynamic diagram based on the thermodynamic value of each grid in the grid map.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the thermodynamic diagram generation method of trajectory data as described above when the program is executed.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the thermodynamic diagram generation method of trajectory data as described in any one of the above.
According to the thermodynamic diagram generating method, the device, the electronic equipment and the storage medium of the track data, the track line fitting is carried out on each track point sequence to be processed to obtain the track line corresponding to each track point sequence, the thermodynamic value of each grid in the grid map is counted based on the grid through which each track line passes, and the track thermodynamic diagram is generated, so that the problem of activity loss caused by processing track data with poor consistency in the prior art is avoided, and the fault tolerance rate of track data processing is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a thermodynamic diagram generating method of trajectory data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a thermodynamic diagram of a system according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a thermal data generation method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a thermodynamic diagram generating device for trajectory data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Because the track data is formed by connecting sampling points in the moving process of the moving object, under the special conditions of lower sampling frequency or weaker signal providing capability of the moving object, and the like, the geographical interval between the sampling points is larger, the track data with poor continuity can appear, and when the track data is converted into thermal data, the prior art only processes the points in the track data, so that the problem of activity loss can appear. In order to solve the problem, embodiments of the present invention provide a thermodynamic diagram generating method of track data, and fig. 1 is a schematic flow chart of the thermodynamic diagram generating method of track data provided by the embodiment of the present invention, as shown in fig. 1, where the method includes:
and 100, performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence.
Specifically, the trajectory point sequence is constructed from trajectory point positions of the moving object acquired at respective time points. The track point sequence generally comprises track point positions of corresponding moving objects at each time point, and the track point positions of each time point are arranged in order from front to back according to the acquisition time.
Because the continuity of the track sequence cannot be ensured by direct acquisition, the interval between two track point positions in the track sequence can be larger, and the problem can be improved by fitting the track line of every two adjacent track points in each track sequence, so that the track line corresponding to each track point sequence is obtained.
The track line fitting method may be to directly connect two adjacent track points, or fit according to a historical track of a moving object, or fit on the premise of avoiding obstacles based on an area where the geographic positions of the two adjacent track points are located and fixed obstacles in the area, for example, in the field of navigation, a track line of a ship sails usually follows a fixed rule, and the track line fitting may be performed according to a preset sailing rule, which is not particularly limited in the embodiment of the present invention.
Step 110, each trajectory line is projected into a grid map, and the thermal value of each grid in the grid map is counted, wherein the thermal value is determined based on the number of trajectory lines passing through the corresponding grid.
Specifically, dividing a map corresponding to a scene to be analyzed into grid cells according to plane coordinates or according to the longitude and latitude of the earth to obtain a grid map. On this basis, each trajectory line can be projected into a grid map, and the grid through which each trajectory line passes is determined, so that the number of trajectory lines passing through each grid can be counted, and the thermal value of each grid can be determined based on the number, for example, 10 trajectory lines passing through a certain grid, and the thermal value of the grid can be set to be 10. Here, the scene to be analyzed is a geographical range where the analysis of the trajectory thermodynamic diagram is required, for example, the trajectory activity range of a fishing boat on the indian ocean for 20 years is required to be visualized into the thermodynamic diagram, and accordingly, the fish shoal ecology of the indian ocean is analyzed, and the scene to be analyzed is referred to as the indian ocean.
Step 120, generating a trajectory thermodynamic diagram based on the thermodynamic values of each grid in the grid map.
Specifically, thermodynamic data is generated according to thermodynamic values of each grid in the grid map, so that a thermodynamic diagram drawing layer provided for a client draws a trajectory thermodynamic diagram. Here, the track thermodynamic diagram is a diagram showing the geospatial characteristics of track data in the form of special highlighting, and can represent the intensity and distribution trend of thermodynamic values in different colors.
According to the method provided by the embodiment of the invention, the trajectory line corresponding to each trajectory point sequence is obtained by performing trajectory line fitting on each trajectory point sequence to be processed, and the thermodynamic value of each grid in the grid map is counted based on the grid through which each trajectory line passes, so that the problem of activity loss caused by processing trajectory data with poor consistency in the prior art is avoided, and the fault tolerance rate of trajectory data processing is improved.
Based on any of the above embodiments, the grid map is determined based on the steps of:
determining a map level of a scene to be analyzed;
and based on the map grade, carrying out grid division on the map corresponding to the scene to be analyzed to obtain a grid map.
Specifically, the map level of the scene to be analyzed represents the size of the geographic range covered by the scene to be analyzed, and the larger the map level is, the smaller the geographic range covered by the scene to be analyzed corresponding to the map level is, for example, the scene to be analyzed is the global range, and the map level can be set to be level 0; the scene to be analyzed is a China coastal area, and the map grade can be set to be 10.
The map corresponding to the scene to be analyzed is the map of the geographic range covered by the scene to be analyzed. Specifically, when grid division is performed, the grid size corresponding to the map level or the step length of grid division can be determined according to the corresponding relation between the preset map level and the grid size, and then the map corresponding to the scene to be analyzed is divided into grid units according to the determined step length on the basis, so that the grid map is obtained.
According to the method provided by the embodiment of the invention, grid division is performed based on the map level, and the grid resolution of the thermodynamic diagram is limited in a controllable range, so that the maximum data size of the trajectory thermodynamic diagram does not exceed grid data corresponding to the map level, the limitation of the data size of the trajectory thermodynamic diagram is realized, and the reduction of network Input/Output (I/O) during the transmission of the trajectory thermodynamic diagram is facilitated.
Based on any of the above embodiments, based on the map level, performing grid division on a map corresponding to a scene to be analyzed to obtain a grid map, including:
determining the number of horizontal and vertical tiles required by a scene to be analyzed based on a preset tile map pyramid and map grades;
determining the geographical range of each pixel point representation in the scene to be analyzed based on preset tile resolution and the number of transverse and longitudinal tiles;
and carrying out grid division on the map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain a grid map.
Specifically, the preset tile map pyramid is a preset multi-resolution hierarchical model, and resolution is lower and lower from the bottom layer to the top layer of the tile pyramid, but the geographical range of the representation is unchanged. The preset tile resolution may be set arbitrarily as required, for example, 256×256 pixels or 128×128 pixels.
After obtaining the map level ml corresponding to the scene to be analyzed, the grid map can be obtained based on the following steps:
first of all,by presetting the tile map pyramid and the map grade ml, the world map can be calculated to be cut into 2 parts in the transverse and longitudinal directions ml *2 ml Block tiles, which can analyze the scene to be analyzed;
then, determining the geographical range represented by each pixel point in the scene to be analyzed based on the preset tile resolution and the number of horizontal and vertical tiles, for example, if the preset tile resolution is 256×256 pixels, the longitude of the geographical range represented by each pixel point in the scene to be analyzed is 360 °/(2) ml *256 Latitude 180 °/(2 ml *256);
And finally, taking the geographical range represented by each pixel point in the scene to be analyzed as a step length, and dividing the map corresponding to the scene to be analyzed into a plurality of grids to obtain the grid map.
Further, considering that the larger the map level is, the more the number of tiles is needed, the finer the grid division is, if the map level is too high, the problems of too large calculation amount and too slow processing efficiency exist, and aiming at the problems, the embodiment of the invention can preset the maximum map level, and if the map level corresponding to the scene to be analyzed exceeds the preset maximum map level, the maximum map level can be used as the map level corresponding to the scene to be analyzed, and the subsequent grid division processing can be performed.
According to the method provided by the embodiment of the invention, the geographical range represented by each pixel point in the scene to be analyzed is determined, the geographical range is taken as the step length, the grid map is obtained by carrying out grid division on the map corresponding to the scene to be analyzed, then the thermodynamic data is generated according to the thermodynamic value of each grid in the grid map, and the track thermodynamic diagram is drawn, so that the total amount of the thermodynamic data provided by the thermodynamic data interface cannot exceed the total amount of the divided grids, the total amount of the thermodynamic data can be effectively controlled, the network I/O consumption is reduced, the problem that CPU (Central Processing Unit ) consumption caused by drawing map elements by a large amount of the thermodynamic data is far beyond the machine load of the client, the client is caused to die temporarily, and no response occurs is avoided.
Based on any of the above embodiments, step 120 includes:
generating thermal data based on the thermal value and the grid position of each grid in the grid map;
the thermodynamic data is transmitted to the client for the client to generate a trajectory thermodynamic diagram based on the thermodynamic data.
Specifically, considering that the magnitude and distribution trend of thermodynamic values need to be presented on the thermodynamic diagram of the track, the embodiment of the invention generates thermodynamic data based on the thermodynamic values of each grid in the grid map and the positions of each grid in the grid map, and transmits the thermodynamic data to the client, so that the thermodynamic diagram drawing layer provided for the client generates the thermodynamic diagram of the track based on the thermodynamic data.
According to the method provided by the embodiment of the invention, a large amount of track data is aggregated and processed and converted into the thermal data, and the thermal data is transmitted to the client side so that the client side can generate the track thermodynamic diagram, so that the compression of the thermal data quantity is realized, and the drawing performance of the thermodynamic diagram is improved.
Based on any of the above embodiments, generating thermal data based on thermal values and grid positions of each grid in the grid map, comprising:
generating thermal data based on the thermal value and the grid position of each grid with the thermal value larger than or equal to a preset thermal threshold in the grid map.
Specifically, consider that if the thermal value of any grid in the grid map is too small, the number of trajectory lines that represent passing through that grid is 0 or negligible. In order to solve the problem, the embodiment of the invention judges the thermal value of each grid and the magnitude of the preset thermal threshold, and if the thermal value of any grid is lower than the preset thermal threshold, the thermal value of the grid and the grid position can be filtered. And after the data filtering is finished, the filtered thermodynamic value and the grid position are used as final thermodynamic data, and the final thermodynamic data are transmitted to a client for drawing a track thermodynamic diagram. Here, the preset thermal threshold may be set arbitrarily according to the service requirement, which is not particularly limited in the embodiment of the present invention.
According to the method provided by the embodiment of the invention, the filtered data are used as final thermal data by discarding the thermal value and the grid position of each grid with the thermal value lower than the preset thermal threshold, so that the data size of the thermal data is further reduced, and the system performance is improved.
Based on any of the above embodiments, transmitting thermal data to a client includes:
storing the thermal data in a buffer area;
and if the thermal data calling request sent by the client is received, extracting corresponding thermal data from the buffer area and transmitting the corresponding thermal data to the client.
In particular, considering that the scene to be analyzed has large difference, the corresponding track data is quite different, and the calculation force and the network I/O may have bottlenecks, and these factors all cause that the track data needs to be converted into the thermal data and take a few minutes to a few hours to be different, so that the unstable response can greatly influence the real-time effect of the thermodynamic diagram. Therefore, the embodiment of the invention adopts the scheme of the buffer area to replace the scheme of the prior art that the client acquires the thermodynamic data in real time to draw the thermodynamic diagram.
Fig. 2 is a schematic diagram of a system structure for thermodynamic diagram display provided by an embodiment of the present invention, as shown in fig. 2, thermodynamic data calculated by a cluster environment may be cached in a cache region, and when a response is required by a thermodynamic data call request sent by a client, corresponding thermodynamic data may be extracted from the cache region and transmitted to the client through a thermodynamic data interface, so that the client generates a trace thermodynamic diagram based on the thermodynamic data.
According to the method provided by the embodiment of the invention, the thermal data is stored in the buffer area, the buffer area provides the thermal data for the client, so that the data processing process of unstable time consumption in stripping from the interaction of the client is realized, the uncontrollable factor of time consumption in the calculation process of converting the track data into the thermal data is eliminated, a robust and high-performance thermal data interface is provided for the client, and the real-time drawing effect of thermodynamic diagrams is ensured.
Based on any of the above embodiments, step 100 includes:
and connecting lines between every two adjacent track points in each track sequence to obtain track lines corresponding to each track point sequence.
In particular, in order to reduce the amount of calculation, the manner of fitting the trajectory lines may be set such that two adjacent trajectory points are directly connected. On the basis, every two adjacent track points in each track sequence can be traversed, and the two adjacent track points are connected to form a track line, so that the track line corresponding to each track point sequence is obtained. Further, the traversing may be performed by sliding a window, where the window length is set to 2 and the sliding step is set to 1.
Based on any one of the above embodiments, fig. 3 is a flow chart of a thermal data generating method provided by the embodiment of the present invention, as shown in fig. 3, first, trace line fitting is performed on each trace point sequence to be processed, so as to obtain trace lines corresponding to each trace point sequence; determining the map level of the scene to be analyzed, and carrying out grid division on the map corresponding to the scene to be analyzed based on the map level to obtain a grid map. Next, each trajectory line is projected into the grid map, and the thermal value of each grid in the grid map is counted. And finally, generating thermal data based on the thermal value and the grid position of each grid in the grid map.
Based on any of the above method embodiments, fig. 4 is a schematic structural diagram of a thermodynamic diagram generating device for trajectory data according to an embodiment of the present invention, as shown in fig. 4, where the device includes:
the obtaining module 400 is configured to perform trace fitting on each trace point sequence to be processed, so as to obtain a trace line corresponding to each trace point sequence;
a statistics module 410 for projecting the trajectories into a grid map, counting thermal values for each grid in the grid map, the thermal values being determined based on the number of trajectories passing through the corresponding grid;
a generating module 420 is configured to generate a trajectory thermodynamic diagram based on the thermodynamic values of each grid in the grid map.
It should be noted that, the acquiring module 400, the statistics module 410, and the generating module 420 cooperate to execute a thermodynamic diagram generating method of the trajectory data in the above embodiment, and specific functions of the apparatus refer to the above embodiment of the thermodynamic diagram generating method of the trajectory data, which is not described herein.
According to the device provided by the embodiment of the invention, the trajectory line corresponding to each trajectory point sequence is obtained by performing trajectory line fitting on each trajectory point sequence to be processed, and the thermodynamic value of each grid in the grid map is counted based on the grid through which each trajectory line passes, so that the problem of activity loss caused by processing trajectory data with poor continuity in the prior art is avoided, and the fault tolerance rate of trajectory data processing is improved.
Based on any of the above embodiments, the grid map is determined based on the steps of:
determining a map level of a scene to be analyzed;
and based on the map grade, carrying out grid division on the map corresponding to the scene to be analyzed to obtain a grid map.
Based on any of the above embodiments, based on the map level, performing grid division on a map corresponding to a scene to be analyzed to obtain a grid map, including:
determining the number of horizontal and vertical tiles required by a scene to be analyzed based on a preset tile map pyramid and map grades;
determining the geographical range of each pixel point representation in the scene to be analyzed based on preset tile resolution and the number of transverse and longitudinal tiles;
and carrying out grid division on the map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain a grid map.
Based on any of the above embodiments, the generating module 420 is specifically configured to:
generating thermal data based on the thermal value and the grid position of each grid in the grid map;
the thermodynamic data is transmitted to the client for the client to generate a trajectory thermodynamic diagram based on the thermodynamic data.
Based on any of the above embodiments, in the generating module 420, the thermal data generating sub-module is configured to:
generating thermal data based on the thermal value and the grid position of each grid with the thermal value larger than or equal to a preset thermal threshold in the grid map.
Based on any of the above embodiments, in the generating module 420, transmitting the thermal data to the client includes:
storing the thermal data in a buffer area;
and if the thermal data calling request sent by the client is received, extracting corresponding thermal data from the buffer area and transmitting the corresponding thermal data to the client.
Based on any of the above embodiments, the obtaining module 400 is specifically configured to:
and connecting lines between every two adjacent track points in each track sequence to obtain track lines corresponding to each track point sequence.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a thermodynamic diagram generation method of trace data, the method comprising: performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; projecting each trajectory line into a grid map, counting the thermodynamic value of each grid in the grid map, wherein the thermodynamic value is determined based on the number of trajectory lines passing through the corresponding grid; a trajectory thermodynamic diagram is generated based on the thermodynamic values of each grid in the grid map.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing a thermodynamic diagram generation method of trajectory data provided by the above methods, the method comprising: performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; projecting each trajectory line into a grid map, counting the thermodynamic value of each grid in the grid map, wherein the thermodynamic value is determined based on the number of trajectory lines passing through the corresponding grid; a trajectory thermodynamic diagram is generated based on the thermodynamic values of each grid in the grid map.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the thermodynamic diagram generation method of trajectory data provided above, the method comprising: performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; projecting each trajectory line into a grid map, counting the thermodynamic value of each grid in the grid map, wherein the thermodynamic value is determined based on the number of trajectory lines passing through the corresponding grid; a trajectory thermodynamic diagram is generated based on the thermodynamic values of each grid in the grid map.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A thermodynamic diagram generation method of trajectory data, comprising:
performing track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; the track line fitting mode comprises the steps of directly connecting two adjacent track points, fitting according to the historical track of a moving object, and fitting on the basis of the area where the geographic positions of the two adjacent track points are located and fixed obstacles in the area on the premise of avoiding the obstacle;
projecting each trajectory line into a grid map, and counting the thermal value of each grid in the grid map, wherein the thermal value is determined based on the number of the trajectory lines passing through the corresponding grid;
generating a track thermodynamic diagram based on the thermodynamic values of each grid in the grid map;
the grid map is determined based on the steps of:
determining a map level of a scene to be analyzed;
based on the map grade, carrying out grid division on a map corresponding to the scene to be analyzed to obtain the grid map;
based on the map level, performing grid division on the map corresponding to the scene to be analyzed to obtain the grid map, including:
determining the number of horizontal and vertical tiles required by the scene to be analyzed based on a preset tile map pyramid and the map level;
determining the geographical range represented by each pixel point in the scene to be analyzed based on preset tile resolution and the number of the transverse tiles and the longitudinal tiles;
and performing grid division on the map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain the grid map.
2. The thermodynamic diagram generating method of trajectory data according to claim 1, wherein the generating a thermodynamic diagram of a trajectory based on thermodynamic values of each grid in the grid map includes:
generating thermal data based on the thermal value and the grid position of each grid in the grid map;
transmitting the thermodynamic data to a client for the client to generate the trajectory thermodynamic diagram based on the thermodynamic data.
3. The thermodynamic diagram generation method of trajectory data according to claim 2, wherein the generating thermodynamic data based on the thermodynamic values and grid positions of each grid in the grid map includes:
and generating the thermal data based on the thermal value and the grid position of each grid with the thermal value larger than or equal to a preset thermal threshold in the grid map.
4. The thermodynamic diagram generation method of trajectory data of claim 2, wherein the transmitting the thermodynamic data to a client comprises:
storing the thermal data in a buffer area;
and if a thermal data calling request sent by the client is received, extracting corresponding thermal data from the buffer area and transmitting the corresponding thermal data to the client.
5. The thermodynamic diagram generating method of trajectory data according to any one of claims 1 to 4, wherein the performing trajectory fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence includes:
and connecting lines between every two adjacent track points in each track sequence to obtain track lines corresponding to each track point sequence.
6. A thermodynamic diagram generation device for trajectory data, comprising:
the acquisition module is used for respectively carrying out track line fitting on each track point sequence to be processed to obtain a track line corresponding to each track point sequence; the track line fitting mode comprises the steps of directly connecting two adjacent track points, fitting according to the historical track of a moving object, and fitting on the basis of the area where the geographic positions of the two adjacent track points are located and fixed obstacles in the area on the premise of avoiding the obstacle;
a statistics module for projecting each trajectory line into a grid map, and counting the thermal value of each grid in the grid map, wherein the thermal value is determined based on the number of the trajectory lines passing through the corresponding grid;
the generation module is used for generating a track thermodynamic diagram based on the thermodynamic value of each grid in the grid map;
the grid map is determined based on the steps of:
determining a map level of a scene to be analyzed;
based on the map grade, carrying out grid division on a map corresponding to the scene to be analyzed to obtain the grid map;
based on the map level, performing grid division on the map corresponding to the scene to be analyzed to obtain the grid map, including:
determining the number of horizontal and vertical tiles required by the scene to be analyzed based on a preset tile map pyramid and the map level;
determining the geographical range represented by each pixel point in the scene to be analyzed based on preset tile resolution and the number of the transverse tiles and the longitudinal tiles;
and performing grid division on the map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain the grid map.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the thermodynamic diagram generation method of trajectory data as claimed in any one of claims 1 to 5 when the program is executed by the processor.
8. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the thermodynamic diagram generation method of trajectory data as claimed in any one of claims 1 to 5.
CN202110246975.2A 2021-03-05 2021-03-05 Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium Active CN112905729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110246975.2A CN112905729B (en) 2021-03-05 2021-03-05 Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110246975.2A CN112905729B (en) 2021-03-05 2021-03-05 Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112905729A CN112905729A (en) 2021-06-04
CN112905729B true CN112905729B (en) 2024-01-30

Family

ID=76107866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110246975.2A Active CN112905729B (en) 2021-03-05 2021-03-05 Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112905729B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119840B (en) * 2022-01-24 2022-04-08 清研捷运(天津)智能科技有限公司 Thermal flow diagram generation method for mass track data

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043850A (en) * 2010-12-20 2011-05-04 百度在线网络技术(北京)有限公司 Method and equipment for generating thermodynamic diagram
CN105808912A (en) * 2014-12-31 2016-07-27 中国科学院深圳先进技术研究院 Method and system for visually analyzing traffic track data
CN106708955A (en) * 2016-11-29 2017-05-24 浙江宇视科技有限公司 Thermodynamic diagram generation method and equipment
CN107358314A (en) * 2017-06-20 2017-11-17 深圳中兴网信科技有限公司 The processing method and system of a kind of thermodynamic chart
WO2018032938A1 (en) * 2016-08-19 2018-02-22 深圳奇迹智慧网络有限公司 Probe-based people flow warning and analyzing method and system
CN108460815A (en) * 2017-02-22 2018-08-28 腾讯科技(深圳)有限公司 Map road element edit methods and device
CN110060513A (en) * 2019-01-24 2019-07-26 中国民用航空飞行学院 Workload for air traffic controllers appraisal procedure based on historical trajectory data
CN110516708A (en) * 2019-07-23 2019-11-29 江苏大学 A kind of path prediction technique based on track and road network
CN110716935A (en) * 2019-10-09 2020-01-21 重庆市地理信息和遥感应用中心(重庆市测绘产品质量检验测试中心) Track data analysis and visualization method and system based on online taxi appointment travel
CN111062970A (en) * 2019-12-10 2020-04-24 广州电力工程监理有限公司 Track generation method and system based on thermodynamic diagram
CN111275791A (en) * 2020-01-20 2020-06-12 中国电子科技集团公司第十四研究所 Trajectory thermodynamic diagram generation method under multi-constraint condition
WO2020186770A1 (en) * 2019-03-21 2020-09-24 江苏智通交通科技有限公司 Visual method for analyzing taxi pick-up or drop-off features
CN111783675A (en) * 2020-07-03 2020-10-16 郑州迈拓信息技术有限公司 Intelligent city video self-adaptive HDR control method based on vehicle semantic perception
EP3738515A1 (en) * 2019-05-17 2020-11-18 Koninklijke Philips N.V. Ultrasound system and method for tracking movement of an object
CN112182408A (en) * 2020-10-28 2021-01-05 广东小天才科技有限公司 Action track presenting method, system, terminal equipment and storage medium
CN112258243A (en) * 2020-11-02 2021-01-22 黄日光 Accurate marketing evaluation system based on visual perception and operation data quantification
CN112380302A (en) * 2020-10-23 2021-02-19 北京建筑大学 Thermodynamic diagram generation method and device based on track data, electronic equipment and storage medium
CN112419123A (en) * 2020-11-20 2021-02-26 深圳市先创数字技术有限公司 People flow rate control method and system based on thermodynamic diagram algorithm and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043850A (en) * 2010-12-20 2011-05-04 百度在线网络技术(北京)有限公司 Method and equipment for generating thermodynamic diagram
CN105808912A (en) * 2014-12-31 2016-07-27 中国科学院深圳先进技术研究院 Method and system for visually analyzing traffic track data
WO2018032938A1 (en) * 2016-08-19 2018-02-22 深圳奇迹智慧网络有限公司 Probe-based people flow warning and analyzing method and system
CN106708955A (en) * 2016-11-29 2017-05-24 浙江宇视科技有限公司 Thermodynamic diagram generation method and equipment
CN108460815A (en) * 2017-02-22 2018-08-28 腾讯科技(深圳)有限公司 Map road element edit methods and device
CN107358314A (en) * 2017-06-20 2017-11-17 深圳中兴网信科技有限公司 The processing method and system of a kind of thermodynamic chart
CN110060513A (en) * 2019-01-24 2019-07-26 中国民用航空飞行学院 Workload for air traffic controllers appraisal procedure based on historical trajectory data
WO2020186770A1 (en) * 2019-03-21 2020-09-24 江苏智通交通科技有限公司 Visual method for analyzing taxi pick-up or drop-off features
EP3738515A1 (en) * 2019-05-17 2020-11-18 Koninklijke Philips N.V. Ultrasound system and method for tracking movement of an object
CN110516708A (en) * 2019-07-23 2019-11-29 江苏大学 A kind of path prediction technique based on track and road network
CN110716935A (en) * 2019-10-09 2020-01-21 重庆市地理信息和遥感应用中心(重庆市测绘产品质量检验测试中心) Track data analysis and visualization method and system based on online taxi appointment travel
CN111062970A (en) * 2019-12-10 2020-04-24 广州电力工程监理有限公司 Track generation method and system based on thermodynamic diagram
CN111275791A (en) * 2020-01-20 2020-06-12 中国电子科技集团公司第十四研究所 Trajectory thermodynamic diagram generation method under multi-constraint condition
CN111783675A (en) * 2020-07-03 2020-10-16 郑州迈拓信息技术有限公司 Intelligent city video self-adaptive HDR control method based on vehicle semantic perception
CN112380302A (en) * 2020-10-23 2021-02-19 北京建筑大学 Thermodynamic diagram generation method and device based on track data, electronic equipment and storage medium
CN112182408A (en) * 2020-10-28 2021-01-05 广东小天才科技有限公司 Action track presenting method, system, terminal equipment and storage medium
CN112258243A (en) * 2020-11-02 2021-01-22 黄日光 Accurate marketing evaluation system based on visual perception and operation data quantification
CN112419123A (en) * 2020-11-20 2021-02-26 深圳市先创数字技术有限公司 People flow rate control method and system based on thermodynamic diagram algorithm and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
surface roughness and thermo-mechanical force modeling for grinding operations with regular and circumferentially grooved wheels;D.Aslan等;journal of materials processing technology;第233卷;75-90 *
基于移动激光点云的轨道中线自动检测;许磊等;铁道勘察;第46卷(第6期);1-6 *

Also Published As

Publication number Publication date
CN112905729A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
JP6759475B2 (en) Ship detection methods and systems based on multidimensional features of the scene
CN109977523B (en) Online compression method and device for mass ship AIS trajectory data
CN112905729B (en) Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium
CN105931246A (en) Fabric flaw detection method based on wavelet transformation and genetic algorithm
CN113099242B (en) Power transmission line video monitoring data processing method and system
KR20220126264A (en) Video jitter detection method and device, electronic equipment and storage medium
CN115346171A (en) Power transmission line monitoring method, device, equipment and storage medium
CN114581856A (en) Agricultural unit motion state identification method and system based on Beidou system and cloud platform
CN113902830B (en) Method for generating track road network
CN113807184A (en) Obstacle detection method and device, electronic equipment and automatic driving vehicle
CN111696142A (en) Rapid face detection method and system
CN113920273B (en) Image processing method, device, electronic equipment and storage medium
CN115018730A (en) Method, device, equipment and medium for removing image stripe noise
Gong et al. Restoration algorithm of blurred UAV aerial image based on generative adversarial network
CN111537079A (en) Substation equipment running state monitoring system based on infrared imaging technology
CN113011338A (en) Lane line detection method and system
Yuan et al. Salient Object Detection Based on Improved PoolNet.
CN117389972B (en) Strip-shaped space data compression method and device, electronic equipment and storage medium
CN116188917B (en) Defect data generation model training method, defect data generation method and device
CN115830269B (en) Tunnel point cloud normal direction adjustment method, device, equipment and readable access medium
CN113963300B (en) Target detection method, device, electronic equipment and storage medium
CN113407839B (en) Travel mode determining method, device, equipment and storage medium
CN116402237B (en) Passenger flow prediction method and device, electronic equipment and medium
CN116260973B (en) Time domain filtering method and device, electronic equipment and storage medium
Wang et al. An optimal coverage model for the deployment of iot devices in feature-based video transmission systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant