CN112905729A - 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
CN112905729A
CN112905729A CN202110246975.2A CN202110246975A CN112905729A CN 112905729 A CN112905729 A CN 112905729A CN 202110246975 A CN202110246975 A CN 202110246975A CN 112905729 A CN112905729 A CN 112905729A
Authority
CN
China
Prior art keywords
trajectory
grid
map
thermodynamic
data
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.)
Granted
Application number
CN202110246975.2A
Other languages
Chinese (zh)
Other versions
CN112905729B (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

Images

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, electronic equipment and a storage medium of track data, wherein the method comprises the following steps: respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence; projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat value is determined based on the number of trajectory lines passing through the corresponding grid; and generating a track thermodynamic diagram based on the thermodynamic values of the grids 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 the track data with poor consistency in the prior art, and improve the fault tolerance rate of track data processing.

Description

Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of geographic information systems, in particular to a thermodynamic diagram generation method and device of track data, electronic equipment and a storage medium.
Background
With the rapid development of the internet, more and more GIS (Geographic Information System) related applications are converted into an online mode, and enterprises gradually accumulate a large amount of track 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. The industry experts can analyze historical change and forecast market conditions based on the method, and help enterprises to obtain accurate decisions.
Web page thermodynamic diagrams are undoubtedly a good type of trajectory visualization. The webpage real-time drawing mode has no client limit and high flexibility, and thermodynamic diagrams under different scenes can be obtained only by changing query data.
The existing webpage thermodynamic diagrams have many excellent implementation schemes, such as openlayer, leaf, hundred degree thermodynamic diagrams and the like. However, the following problems may occur: because the track data is formed by connecting sampling points in the moving process of the moving object, under the special conditions of low sampling frequency or weak signal providing capability of the moving object and the like, the geographical intervals among the sampling points are large, track data with poor consistency can be generated, and when the track data is converted into thermodynamic data, the problem that the activity is lost only when points in the track data are processed in the prior art is solved.
Disclosure of Invention
The invention provides a thermodynamic diagram generation method and device of track data, electronic equipment and a storage medium, which are used for overcoming the defect of low fault tolerance of the track data in the prior art and improving the fault tolerance of the track data.
The invention provides a thermodynamic diagram generation method of track data, which comprises the following steps:
respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence;
projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat value is determined based on the number of trajectory lines passing through the corresponding grid;
and generating a track thermodynamic diagram based on the thermodynamic values of the grids in the grid map.
According to the thermodynamic diagram generation method of the track data provided by the invention, the grid map is determined based on the following steps:
determining the map grade 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 the track data provided by the invention, the grid division is performed on the map corresponding to the scene to be analyzed based on the map grade to obtain the grid 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 grade;
determining the geographic range represented by each pixel point in the scene to be analyzed based on the preset tile resolution and the number of the horizontal and vertical 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 the grid map.
According to the thermodynamic diagram generation method of the track data provided by the invention, the generation of the track thermodynamic diagram based on the thermodynamic values of the grids in the grid map comprises the following steps:
generating thermal data based on the thermal force values and the grid positions of the grids 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 generation method of the track data provided by the invention, the generation of the thermodynamic data based on the thermodynamic values and the grid positions of the grids in the grid map 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 greater 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 transmitting the thermodynamic data to the client comprises the following steps:
storing the thermal data in a buffer area;
and if receiving a thermal data calling request sent by a client, extracting corresponding thermal data from the cache region and transmitting the thermal data to the client.
According to the thermodynamic diagram generation method of the track data provided by the invention, the track line fitting is respectively carried out on each track point sequence to be processed to obtain the track line corresponding to each track point sequence, and the method comprises the following steps:
and respectively connecting every two adjacent track points in each track sequence to obtain the track line corresponding to each track point sequence.
The invention also provides a thermodynamic diagram generation device of track data, comprising:
the acquisition module is used for respectively carrying out trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence;
the statistical module is used for projecting each trajectory line into a grid map and counting the heat value of each grid in the grid map, wherein the heat value is determined based on the number of the trajectory lines passing through the corresponding grid;
and the generating 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, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the thermodynamic diagram generation method of the trajectory data.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the thermodynamic diagram generation method of trajectory data as described in any one of the above.
According to the thermodynamic diagram generation method, device, electronic equipment and storage medium of the track data, the track line corresponding to each track point sequence is obtained by performing track line fitting on each track point sequence to be processed, the thermodynamic value of each grid in the grid map is counted based on the grids passed by each track line, and the track thermodynamic diagram is generated, so that the problem of activity loss caused by processing of the track data with poor continuity in the prior art is solved, and the fault tolerance rate of track data processing is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a thermodynamic diagram generation method for trajectory data according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a thermodynamic diagram showing a system provided by an embodiment of the invention;
FIG. 3 is a schematic flow chart diagram of a thermal data generation method provided by an embodiment of the invention;
fig. 4 is a schematic structural diagram of a thermodynamic diagram generation apparatus for trajectory data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the track data is formed by connecting sampling points in the moving process of the moving object, under the special conditions of low sampling frequency or weak signal providing capability of the moving object and the like, the geographical intervals among the sampling points are large, track data with poor consistency can be generated, and when the track data is converted into thermodynamic data, the problem that the activity is lost only when points in the track data are processed in the prior art is solved. In order to solve the problem, embodiments of the present invention provide a method for generating a thermodynamic diagram of track data, and fig. 1 is a schematic flow chart of the method for generating a thermodynamic diagram of track data provided by an embodiment of the present invention, as shown in fig. 1, the method includes:
and step 100, respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence.
Specifically, the sequence of trace points is constructed from the positions of the trace points of the moving object collected at each time point. The track point sequence generally includes track point positions of the corresponding moving object at each time point, and the track point positions of each time point are arranged according to the sequence of the acquisition time from front to back.
Because the continuity of the track sequence that the direct acquisition made can't guarantee, the interval between two track point positions in the track sequence is probably great, can improve above-mentioned problem through carrying out the trajectory line fitting with every two adjacent trajectory points in each track sequence to obtain the trajectory line that each trajectory point sequence corresponds.
Here, the way of the trajectory fitting may be to directly connect two adjacent trajectory points, or to perform the fitting according to a historical trajectory of the moving object, or to perform the trajectory fitting on the premise of avoiding obstacles based on an area where geographic positions of two adjacent trajectory points are located and a fixed obstacle in the area, for example, in the field of navigation, a course of a ship sailing usually follows a fixed rule, and the trajectory fitting may be performed according to a preset sailing rule, which is not specifically limited in the embodiment of the present invention.
And step 110, projecting each trajectory line into a grid map, and counting the heat power value of each grid in the grid map, wherein the heat power value is determined based on the number of the trajectory lines passing through the corresponding grid.
Specifically, a map corresponding to a scene to be analyzed is divided into grid cells according to plane coordinates or according to the longitude and latitude lines of the earth, so that a grid map is obtained. On the basis, each trajectory line can be projected into the grid map, 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 is determined based on the number, for example, if 10 trajectory lines pass through a certain grid, the thermal value of the grid can be set to 10. Here, the scene to be analyzed is a geographical area that needs to be analyzed by the trajectory thermodynamic diagram, for example, the trajectory activity range of a 20-year fishing boat on the indian ocean needs to be visualized as the thermodynamic diagram, and accordingly, the fish school ecology of the indian ocean is analyzed, so that the scene to be analyzed is referred to as the indian ocean.
And step 120, generating a track thermodynamic diagram based on the thermodynamic values of all grids in the grid map.
Specifically, thermal data is generated according to the thermal value of each grid in the grid map, so that a thermal map drawing layer provided for the client side draws the track thermal map. Here, the trajectory thermodynamic diagram is a diagram showing the geospatial characteristics of trajectory data in a special highlight form, and the magnitude and distribution trend of the thermal force values can be represented 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, the thermodynamic value of each grid in the grid map is calculated based on the grid through which each trajectory line passes, and the trajectory thermodynamic diagram is generated, so that the problem of activity loss caused by processing of trajectory data with poor continuity in the prior art is solved, 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 following steps:
determining the map grade 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 a grid map.
Specifically, the map grade 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 grade is, the smaller the geographic range covered by the scene to be analyzed corresponding to the map grade is, for example, the scene to be analyzed is a global range, and the map grade of the scene to be analyzed can be set to be 0 grade; the scene to be analyzed is a coastal region of China, and the map grade can be set to 10 grades.
And the map corresponding to the scene to be analyzed is the map of the geographical range covered by the scene to be analyzed. Specifically, when the grid is divided, the grid size corresponding to the map level or the step length during the grid division can be determined according to the preset corresponding relationship between the 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 as to obtain the grid map.
The method provided by the embodiment of the invention carries out grid division based on the map grade, and limits the grid resolution of the thermodynamic diagram within a controllable range, thereby ensuring that the data volume of the track thermodynamic diagram does not exceed the grid data corresponding to the map grade to the maximum extent, realizing the data volume limitation of the track thermodynamic diagram, and being beneficial to reducing the network I/O (Input/Output) during the transmission of the track thermodynamic diagram.
Based on any of the above embodiments, based on the map grade, performing mesh division on the map corresponding to the scene to be analyzed to obtain a mesh 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 a map grade;
determining the geographic range represented by each pixel point in the scene to be analyzed based on the preset tile resolution and the number of the horizontal and vertical 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 the resolution is lower from the bottom layer to the top layer of the tile pyramid, but the represented geographic range is unchanged. The preset tile resolution may be set arbitrarily according to the requirement, for example, 256 × 256 pixels or 128 × 128 pixels may be used.
After obtaining the map level ml corresponding to the scene to be analyzed, the grid map can be obtained based on the following steps:
firstly, by presetting tile map pyramid and map grade ml, the need of cutting the world map into 2 in the transverse and longitudinal directions can be calculatedml*2mlThe tiles are blocked, so that the scene to be analyzed can be analyzed;
then, based on the preset tile resolution and the number of the horizontal and vertical tiles, a geographic range represented by each pixel point in the scene to be analyzed is determined, for example, if the preset tile resolution is 256 × 256 pixels, the longitude of the geographic range represented by each pixel point in the scene to be analyzed is 360 °/(2)ml256) at 180 °/(2) latitudesml*256);
And finally, dividing the map corresponding to the scene to be analyzed into a plurality of grids by taking the geographical range represented by each pixel point in the scene to be analyzed as a step length, so as to obtain the grid map.
Further, considering that the larger the map grade is, the more the number of tiles required is, the more detailed the grid division is, and if the map grade is too high, the problem that the calculation amount is too large and the processing efficiency is too low exists, for this problem, the embodiment of the present invention may preset the maximum map grade, and if the map grade corresponding to the scene to be analyzed exceeds the preset maximum map grade, the maximum map grade may be used as the map grade corresponding to the scene to be analyzed to perform the subsequent grid division processing.
The method provided by the embodiment of the invention comprises the steps of determining the geographic range represented by each pixel point in a scene to be analyzed, carrying out grid division on a map corresponding to the scene to be analyzed by taking the geographic range as a step length to obtain a grid map, generating thermal data according to the thermal value of each grid in the grid map, and drawing a track thermodynamic diagram, so that the total amount of the thermal data provided by a thermal data interface does not exceed the total amount of the divided grids, the total amount of the thermal data can be effectively controlled, the consumption of network I/O (input/output) is reduced, and the problems that the consumption of a Central Processing Unit (CPU) is far more than the load of a client machine, the client is falsely dead and the client does not respond caused by drawing a large amount of map elements by the thermal data are solved.
Based on any of the above embodiments, step 120 includes:
generating thermal data based on the thermal force values and the grid positions of all grids in the grid map;
and transmitting the thermodynamic data to the client so that the client can generate a track thermodynamic diagram based on the thermodynamic data.
Specifically, in consideration of the strength and distribution trend of the thermal force value required to be presented on the trajectory thermodynamic diagram, the embodiment of the invention generates the thermodynamic data based on the thermal force value of each grid in the grid map and the position 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 trajectory thermodynamic diagram 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 converted into thermodynamic data, and the thermodynamic data is transmitted to the client so that the client can generate the track thermodynamic diagram, so that the compression of the thermodynamic data volume is realized, and the drawing performance of the thermodynamic diagram is improved.
Based on any of the above embodiments, generating thermal data based on the thermal force values and the grid positions of each grid in the grid map includes:
and generating thermal data based on the thermal value and the grid position of each grid with the thermal value more than or equal to the preset thermal threshold in the grid map.
Specifically, it is considered that if the thermal value of any one mesh in the mesh map is too small, the number of trajectory lines indicating that the mesh is passed through is 0 or can be ignored. Aiming at the problem, the embodiment of the invention judges the heat value of each grid and the size of the preset heat threshold value, and if the heat value of any grid is lower than the preset heat threshold value, the heat 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 are transmitted to the client side for drawing the track thermodynamic diagram. Here, the preset thermal threshold may be arbitrarily set according to a service requirement, and this is not specifically limited in the embodiment of the present invention.
According to the method provided by the embodiment of the invention, the heat value and the grid position of each grid with the heat value lower than the preset heat threshold are abandoned, and the filtered data is taken as the final heat data, so that the data volume of the heat data is further reduced, and the system performance is improved.
Based on any embodiment, the method for transmitting the thermal data to the client comprises the following steps:
storing the thermal data in a cache region;
and if receiving a thermal data calling request sent by the client, extracting corresponding thermal data from the buffer and transmitting the thermal data to the client.
Specifically, considering that the scene to be analyzed has a large difference, the corresponding trajectory data is also very different, and computational power and network I/O may have bottlenecks, which all cause that the conversion from trajectory data to thermodynamic data takes several minutes to several hours, and such unstable response greatly affects the real-time effect of drawing the thermodynamic diagram. Therefore, the embodiment of the invention adopts a scheme of the cache area to replace a 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 structural diagram of a system for displaying thermodynamic diagrams provided by an embodiment of the present invention, and 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 to be made in response to 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 trajectory thermodynamic diagram based on the thermodynamic data.
According to the method provided by the embodiment of the invention, the thermodynamic data is stored in the cache region, and the thermodynamic data is provided for the client terminal by the cache region, so that the processing process of stripping time-consuming unstable data from the interaction of the client terminal is realized, the uncontrollable time-consuming factor in the calculation process of converting the track data into the thermodynamic data is eliminated, a robust and high-performance thermodynamic data interface is provided for the client terminal, and the real-time drawing effect of the thermodynamic diagram is ensured.
Based on any of the above embodiments, step 100 includes:
and respectively connecting every two adjacent track points in each track sequence to obtain the track line corresponding to each track point sequence.
In particular, to reduce the amount of calculation, the way of fitting the trajectory line may be set to directly connect two adjacent trajectory points. 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 traversal mode may be a window sliding mode, wherein the window length is set to 2, and the sliding step size is set to 1.
Based on any of the above embodiments, fig. 3 is a schematic flow chart of the method for generating thermal data according to the embodiments of the present invention, and as shown in fig. 3, first, a trajectory line is fitted to each trajectory point sequence to be processed, so as to obtain a trajectory line corresponding to each trajectory point sequence; and determining the map grade 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 grade to obtain a grid map. Then, each trajectory line is projected into the grid map, and the heat value of each grid in the grid map is counted. And finally, generating thermal data based on the thermal force values and the grid positions of the grids in the grid map.
Based on any one of the above method embodiments, fig. 4 is a schematic structural diagram of an apparatus for generating thermodynamic diagrams of trajectory data according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
the obtaining module 400 is configured to perform trajectory line fitting on each trajectory point sequence to be processed, so as to obtain a trajectory line corresponding to each trajectory point sequence;
a statistic module 410, configured to project each trajectory line into a grid map, and count a thermal value of each grid in the grid map, where the thermal value is determined based on the number of trajectory lines passing through the corresponding grid;
and the generating module 420 is configured to generate a trajectory thermodynamic diagram based on the thermodynamic values of the grids in the grid map.
It should be noted that, the obtaining module 400, the statistical module 410, and the generating module 420 cooperate to execute a thermodynamic diagram generating method of trajectory data in the foregoing embodiment, and specific functions of the apparatus refer to the foregoing embodiment of the thermodynamic diagram generating method of trajectory data, which is not described herein again.
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, the thermodynamic value of each grid in the grid map is calculated based on the grids passed by each trajectory line, and the trajectory thermodynamic diagram is generated, so that the problem of activity loss caused by processing of trajectory data with poor continuity in the prior art is solved, 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 following steps:
determining the map grade 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 a grid map.
Based on any of the above embodiments, based on the map grade, performing mesh division on the map corresponding to the scene to be analyzed to obtain a mesh 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 a map grade;
determining the geographic range represented by each pixel point in the scene to be analyzed based on the preset tile resolution and the number of the horizontal and vertical 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 embodiments described above, the generating module 420 is specifically configured to:
generating thermal data based on the thermal force values and the grid positions of all grids in the grid map;
and transmitting the thermodynamic data to the client so that the client can generate a track thermodynamic diagram based on the thermodynamic data.
In the generating module 420, the thermal data generating submodule is configured to:
and generating thermal data based on the thermal value and the grid position of each grid with the thermal value more than or equal to the preset thermal threshold in the grid map.
According to any of the above embodiments, in the generating module 420, transmitting the thermal data to the client includes:
storing the thermal data in a cache region;
and if receiving a thermal data calling request sent by the client, extracting corresponding thermal data from the buffer and transmitting the thermal data to the client.
Based on any of the embodiments above, the obtaining module 400 is specifically configured to:
and respectively connecting every two adjacent track points in each track sequence to obtain the track line corresponding to each track point sequence.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. The processor 510 may invoke logic instructions in the memory 530 to perform a method of thermodynamic diagram generation of trajectory data, the method comprising: respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence; projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat 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 all grids in the grid map.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a magnetic disk or an optical disk, and 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, enable the computer to perform a method for generating a thermodynamic diagram of trajectory data provided by the above methods, the method comprising: respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence; projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat 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 all grids 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, implements a method of generating a thermodynamic diagram of trajectory data provided as above, the method comprising: respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence; projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat 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 all grids in the grid map.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for generating a thermodynamic diagram of trajectory data, comprising:
respectively performing trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence;
projecting each trajectory line into a grid map, and counting the heat value of each grid in the grid map, wherein the heat value is determined based on the number of trajectory lines passing through the corresponding grid;
and generating a track thermodynamic diagram based on the thermodynamic values of the grids in the grid map.
2. The thermodynamic diagram generation method for trajectory data according to claim 1, wherein the grid map is determined based on:
determining the map grade 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.
3. The method for generating thermodynamic diagram of trajectory data according to claim 2, wherein the gridding the map corresponding to the scene to be analyzed based on the map level to obtain the grid map comprises:
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 grade;
determining the geographic range represented by each pixel point in the scene to be analyzed based on the preset tile resolution and the number of the horizontal and vertical 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 the grid map.
4. The method for generating thermodynamic diagram of trajectory data according to claim 1, wherein generating a trajectory thermodynamic diagram based on thermodynamic values of respective grids in the grid map comprises:
generating thermal data based on the thermal force values and the grid positions of the grids 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.
5. The thermodynamic diagram generation method of trajectory data according to claim 4, wherein generating thermodynamic data based on the thermodynamic values and grid positions of the grids in the grid map comprises:
and generating the thermal data based on the thermal value and the grid position of each grid with the thermal value greater than or equal to a preset thermal threshold in the grid map.
6. The method of generating thermodynamic diagram of trajectory data according to claim 4, wherein the transmitting the thermodynamic data to a client comprises:
storing the thermal data in a buffer area;
and if receiving a thermal data calling request sent by a client, extracting corresponding thermal data from the cache region and transmitting the thermal data to the client.
7. The method for generating thermodynamic diagrams of trajectory data according to any one of claims 1 to 6, wherein the step of performing trajectory line fitting on each sequence of trajectory points to be processed to obtain a trajectory line corresponding to each sequence of trajectory points comprises:
and respectively connecting every two adjacent track points in each track sequence to obtain the track line corresponding to each track point sequence.
8. An apparatus for generating thermodynamic diagrams of trajectory data, comprising:
the acquisition module is used for respectively carrying out trajectory line fitting on each trajectory point sequence to be processed to obtain a trajectory line corresponding to each trajectory point sequence;
the statistical module is used for projecting each trajectory line into a grid map and counting the heat value of each grid in the grid map, wherein the heat value is determined based on the number of the trajectory lines passing through the corresponding grid;
and the generating module is used for generating a track thermodynamic diagram based on the thermodynamic value of each grid in the grid map.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the thermodynamic diagram generation method for trajectory data according to any one of claims 1 to 7 are implemented when the program is executed by the processor.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the steps of a thermodynamic diagram generation method for trajectory data according to any one of claims 1 to 7.
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 true CN112905729A (en) 2021-06-04
CN112905729B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119840A (en) * 2022-01-24 2022-03-01 清研捷运(天津)智能科技有限公司 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
D.ASLAN等: "surface roughness and thermo-mechanical force modeling for grinding operations with regular and circumferentially grooved wheels", JOURNAL OF MATERIALS PROCESSING TECHNOLOGY, vol. 233, pages 75 - 90 *
许磊等: "基于移动激光点云的轨道中线自动检测", 铁道勘察, vol. 46, no. 6, pages 1 - 6 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN112905729B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN109977523B (en) Online compression method and device for mass ship AIS trajectory data
CN109241846A (en) Change in time and space estimating and measuring method, device and the storage medium of remote sensing image
JP7267363B2 (en) Test method, device and equipment for traffic flow monitoring measurement system
CN102799898A (en) Efficient target identification processing method of high-resolution remote sensing image in context
CN113099242B (en) Power transmission line video monitoring data processing method and system
CN112905729B (en) Thermodynamic diagram generation method and device for track data, electronic equipment and storage medium
CN113902830B (en) Method for generating track road network
CN115203340A (en) Method, device, equipment and storage medium for determining companion relationship
CN115439753A (en) Steep river bank identification method and system based on DEM
CN113807184A (en) Obstacle detection method and device, electronic equipment and automatic driving vehicle
CN113326339A (en) GIS-based refined electric power weather forecast data display method and system
CN111696142A (en) Rapid face detection method and system
CN103900533A (en) Island resource dynamic monitoring method based on 3S technology
CN203882417U (en) Alarm system for landslide and debris flow based on IOT (Internet of Things)
CN103458032B (en) The method and system of a kind of spatial data accessing rule dynamic statistics and Information Compression
CN112486676B (en) Data sharing and distributing device based on edge calculation
CN113920273B (en) Image processing method, device, electronic equipment and storage medium
CN112596894B (en) Tracking method and device based on edge calculation
CN114140471A (en) Ground target semantic segmentation method based on helicopter airborne laser radar
CN111696330A (en) Classification method and system for wind disaster of power transmission line
CN204649576U (en) A kind of particle image real time processing system
EP3937125B1 (en) Method, apparatus for superimposing laser point clouds and high-precision map and electronic device
Li et al. TL-PVCNN: A Point Cloud Semantic Segmentation Framework on Transmission Line Scene
CN113963300B (en) Target detection method, device, electronic equipment and storage medium
CN114882292B (en) Remote sensing image ocean target identification method based on cross-sample attention mechanism graph neural network

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