A ship trajectory sketch generation method considering geographical features

By identifying and removing abnormal trajectory points and generating ship trajectory sketches using land references, the problem of unprocessed spatial relationships of geographical elements in trajectory compression is solved, achieving efficient trajectory compression and visualization optimization.

CN123160720APending Publication Date: 2026-11-24Chinese People's Liberation Army Cyberspace Force Information Engineering University
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611156692.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing trajectory compression methods do not consider the spatial relationships of geographic elements, resulting in errors in the intersection of trajectories and land, which affects the visualization effect.

Method used

By identifying and removing anomalous trajectory points, and using relevant land areas as a reference, a generalized trajectory is generated that retains the geometric features of the trajectory while taking into account the topological relationships of geographical elements. Anomalies are then deleted to form new trajectories at a small scale.

Benefits of technology

It improves the accuracy and visualization of trajectory compression, clearly reveals the overall geometric characteristics of ship trajectories and their relationship with geographical elements, reduces data volume, and enhances the aesthetics of the map.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160720A_ABST
    Figure CN123160720A_ABST
Patent Text Reader

Abstract

This invention relates to the field of geospatial data processing technology, and particularly to a method for generating ship trajectory sketches that takes into account geographical features. The method obtains relevant land areas within the activity range of the original ship trajectory based on the attributes of each trajectory point in the original trajectory. These trajectory point attributes include sampling time, longitude, and latitude. Using the relevant land areas as geographical element references, the method extracts semantic points of interaction between the original ship trajectory and geographical elements, and generates a generalized trajectory that retains the geometric features of the original ship trajectory while also considering the topological relationships of geographical elements. This invention uses the relevant land areas of the ship trajectory as geographical element references for trajectory anomaly handling and generalization, deleting abnormal trajectory points from different dimensions. During trajectory generalization, it forms new trajectories at a small scale by determining whether trajectory segments intersect with land areas, achieving reasonable compression and optimization of the original trajectory and meeting the needs of trajectory information transmission in low-resolution scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geographic spatiotemporal data processing technology, and in particular to a method for generating ship trajectory sketches that take into account geographical features. Background Technology

[0002] The improved accuracy of navigation and positioning systems has led to more accurate recording of ship trajectory information. Displaying trajectory data directly on a map background can precisely reflect the movement of the trajectory. However, this visualization method also has limitations. In certain applications requiring the description of low-resolution ship movement trajectories, such as news reports or navigational bulletins, directly displaying the original ship trajectory reveals geometrical details, which can interfere with the effective transmission of information and significantly affect the aesthetics of the map. To address these issues, it is necessary to generate a trajectory sketch from the original trajectory. A ship trajectory sketch is a small-scale trajectory with sparser points, formed by compressing the densely packed original trajectory. The function of a ship trajectory sketch is to quickly convey spatial relationships from a pattern and correlation perspective, promoting the transmission and mining of deeper information to reveal the overall geometric characteristics of the ship trajectory and the relationship between the trajectory and geographical elements from a broad perspective.

[0003] Currently, the main method for generating trajectory sketches is trajectory compression. Trajectory compression can reduce the amount of data, maintain the main features of the original data, improve data processing efficiency, and make the visualization more aesthetically pleasing and information transmission faster and more effective. Traditional trajectory compression methods mainly include the vertical distance method, light barriers, and the Douglas-Pockmark method. These methods can compress the trajectory to varying degrees while maintaining the trajectory's connecting feature points, but none of them consider the spatial relationship with geographic elements during compression. This can lead to errors where the compressed trajectory intersects with land, thus affecting the visualization effect of ship trajectories from a wide perspective. Summary of the Invention

[0004] To address the issues of existing trajectory compression methods that fail to consider spatial relationships with geographical elements and are prone to errors such as trajectory intersections with land, this invention provides a method for generating ship trajectory sketches that takes geographical features into account. It uses the land area related to the ship trajectory as a geographical element reference for trajectory anomaly handling and generalization, deletes abnormal trajectory points from different dimensions, and forms a new trajectory at a small scale by judging whether the trajectory segment intersects with the land area during trajectory generalization. This achieves reasonable compression and optimization of the original trajectory, meeting the needs of trajectory information transmission in low-resolution scenarios.

[0005] According to the design scheme provided by the present invention, on the one hand, a method for generating ship trajectory sketches that takes into account geographical features is provided, comprising:

[0006] Based on the attributes of each trajectory point in the original ship trajectory, the relevant land area within the activity range of the original ship trajectory is obtained. The trajectory point attributes include: sampling time, longitude, and latitude.

[0007] By using relevant land areas as geographic references, semantic points of interaction between the original ship trajectory and geographic elements are extracted, and a generalized trajectory is generated that retains the geometric features of the original ship trajectory while taking into account the topological relationships of geographic elements.

[0008] As a method for generating ship trajectory sketches that takes into account geographical features, the present invention further includes obtaining the relevant land area within the original trajectory activity range of the ship, including:

[0009] Based on the latitude and longitude of each trajectory point in the original trajectory of the ship, the coordinate range of the original trajectory is determined. The coordinate range of the original trajectory is represented by the maximum and minimum latitude and longitude coordinate values ​​of the trajectory points.

[0010] The outer surface region of the trajectory is determined based on the original trajectory coordinate range of the ship;

[0011] Determine the intersection of the circumscribed region and the known land area, and use the intersection as the land area range related to the trajectory.

[0012] As a method for generating ship trajectory sketches that takes into account geographical features, the circumscribed surface region of the trajectory is further represented as follows: Where left is the minimum longitude coordinate of the ship's original trajectory, bottom is the minimum latitude coordinate of the ship's original trajectory, right is the maximum longitude coordinate of the ship's original trajectory, and top is the maximum latitude coordinate of the ship's original trajectory.

[0013] As a method for generating ship trajectory sketches that takes into account geographical features, this invention further includes, before extracting semantic points of interaction between the original ship trajectory and geographical features:

[0014] Abnormal trajectory points in the original trajectory of a ship are identified and removed. The abnormal trajectory points include: trajectory points with abnormal attributes, trajectory points with abnormal latitude and longitude coordinates, trajectory points with abnormal positions, and trajectory points with abnormal speeds.

[0015] As a method for generating ship trajectory sketches that takes into account geographical features, the present invention further includes identifying abnormal trajectory points in the original ship trajectory, comprising:

[0016] If the attributes of a trajectory point in the original ship trajectory contain null values, then the trajectory point is marked as an attribute abnormal trajectory point;

[0017] If the coordinates of a point in the ship's original trajectory exceed the known range of Earth coordinates, then the corresponding point is marked as an abnormal trajectory point in latitude and longitude coordinates.

[0018] Confirm the topological relationship between the trajectory points in the original ship trajectory and the relevant land area. If the trajectory point falls into the surface geometry of the relevant land area, mark the current trajectory point as a trajectory point with an abnormal position.

[0019] Obtain the average speed of the trajectory points in the original ship trajectory. If the average speed of the trajectory point is greater than the known maximum speed of the ship, mark the trajectory point as a speed anomaly trajectory point.

[0020] As a method for generating ship trajectory sketches that takes into account geographical features, this invention further extracts semantic points of interaction between the original ship trajectory and geographical features, including:

[0021] Traverse each trajectory point in the original trajectory of the ship, confirm the distance between adjacent trajectory points, and determine whether the distance is within the preset minimum distance range, so as to extract the trajectory points whose adjacent distance is less than the preset minimum distance as the first semantic point;

[0022] Determine whether the geometric feature change of the trajectory point meets the threshold, and extract the trajectory points whose geometric feature change is less than the threshold as the second semantic points. The geometric feature change of the trajectory point is represented by the distance between the current trajectory point and the line connecting the adjacent trajectory points.

[0023] As a method for generating ship trajectory sketches that takes into account geographical features, the present invention further generates a generalized trajectory that retains the geometric features of the original ship trajectory while also taking into account the topological relationships of geographical elements, including:

[0024] For the extracted semantic points, determine whether the trajectory segment of the line connecting adjacent trajectory points intersects with the relevant land area. If the trajectory segment of the line connecting adjacent trajectory points does not intersect with the relevant land area, then mark the corresponding trajectory point as deleted.

[0025] Delete all marked trajectory points in the original ship trajectory and generate a new set of trajectory points to obtain a generalized trajectory based on the new set of trajectory points.

[0026] Furthermore, this invention also provides a ship trajectory sketch generation system that takes into account geographical features, comprising: a relevant land area determination module and a generalized trajectory generation module, wherein,

[0027] The relevant route determination module is used to obtain the relevant land area within the activity range of the ship's original trajectory based on the attributes of each trajectory point in the original trajectory. The trajectory point attributes include: sampling time, longitude, and latitude.

[0028] The generalized trajectory generation module is used to take relevant land areas as geographic element references, extract semantic points of interaction between the original ship trajectory and geographic elements, and generate a generalized trajectory that retains the geometric shape features of the original ship trajectory and takes into account the topological relationship of geographic elements.

[0029] The beneficial effects of this invention are:

[0030] 1. This invention calculates the relevant land area within the trajectory activity range and uses it as a geographical element reference for trajectory anomaly processing and generalization. Abnormal trajectory points are deleted from different dimensions. During the trajectory generalization process, it determines whether the trajectory segment intersects with the land area to form a small-scale new trajectory with point coefficients. It can quickly convey the spatial relationship pattern from the perspective of pattern and correlation, promote the deep-level information transmission, mining and optimization, and clearly reveal the overall geometric characteristics of ship trajectory and its relationship with geographical elements.

[0031] 2. This invention reduces the amount of original trajectory data through trajectory compression, significantly improving the aesthetics of the map while maintaining the main features of the trajectory, enhancing visualization and data processing effects, avoiding errors such as trajectory intersections with land caused by the failure to consider the spatial relationships of geographical elements in traditional methods, ensuring the accuracy of geographical relationships, and improving the reliability of the generated trajectory sketch. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the ship trajectory sketch generation process that takes geographical features into account in the embodiment.

[0033] Figure 2 This is a schematic diagram of the ship trajectory sketch generation algorithm in the embodiment;

[0034] Figure 3 This is a schematic diagram of the trajectory generalization process in the embodiment. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this invention clearer and more understandable, the invention will be further described in detail below with reference to the accompanying drawings and technical solutions.

[0036] In low-resolution applications such as news reporting and navigational bulletins, the geometrical details of raw ship tracks can interfere with effective information transmission and affect the aesthetics of the image. Traditional track compression methods (such as the vertical distance method, light barriers, and the Douglas-Pockmark method) do not consider the spatial relationship with geographic elements during the compression process, which can easily lead to errors such as tracks intersecting with land. Therefore, this invention provides an embodiment, see [link to embodiment]. Figure 1 As shown, a method for generating ship trajectory sketches that takes into account geographical features is provided, including:

[0037] S101. Obtain the relevant land area within the activity range of the ship's original trajectory based on the attributes of each trajectory point in the original trajectory. The trajectory point attributes include: sampling time, longitude, and latitude.

[0038] Specifically, the coordinate range of the original trajectory of the ship can be determined based on the latitude and longitude of each trajectory point in the original trajectory. The coordinate range of the original trajectory is represented by the maximum and minimum latitude and longitude coordinate values ​​of the trajectory points. The outer surface region of the trajectory is determined based on the coordinate range of the original trajectory of the ship. The intersection of the outer surface region and the known land area is determined, and the intersection is taken as the land area range related to the trajectory.

[0039] A trajectory consisting of points in a specific order can be represented as:

[0040]

[0041] in For the set of trajectory points The information of the i-th trajectory point includes the sampling time t, longitude x, and latitude y. The i-th trajectory point can be represented as:

[0042]

[0043] Where x and y are expressed in radians, and .

[0044] The coordinate range of the trajectory is:

[0045] Minimum longitude coordinates

[0046] Minimum latitude coordinates

[0047] Maximum longitude coordinates

[0048] Maximum latitude coordinates

[0049] The circumscribed region of the trajectory is determined based on the coordinates of the trajectory points. , It consists of the four corner points of the trajectory range:

[0050]

[0051] Further calculation With known land areas Intersecting parts , That is, the land area related to the trajectory.

[0052] S102. Using the relevant land area as a reference for geographical elements, extract the semantic points of the interaction between the original ship trajectory and geographical elements, and generate a generalized trajectory that retains the geometric features of the original ship trajectory and takes into account the topological relationship of geographical elements.

[0053] Specifically, abnormal trajectory points in the original trajectory of the ship can be identified first and then removed. The abnormal trajectory points include: trajectory points with abnormal attributes, trajectory points with abnormal latitude and longitude coordinates, trajectory points with abnormal positions, and trajectory points with abnormal speeds.

[0054] Specifically, if a trajectory point in the ship's original trajectory has a null value, the trajectory point is marked as an attribute anomalous trajectory point; if the coordinates of a trajectory point in the ship's original trajectory exceed the known range of Earth coordinates, the corresponding trajectory point is marked as a latitude and longitude coordinate anomalous trajectory point; the topological relationship between the trajectory point in the ship's original trajectory and the relevant land area is confirmed, and if the trajectory point falls into the surface geometry of the relevant land area, the current trajectory point is marked as a position anomalous trajectory point; the average speed of the trajectory point in the ship's original trajectory is obtained, and if the average speed of the trajectory point is greater than the known maximum speed of the ship, the trajectory point is marked as a speed anomalous trajectory point.

[0055] If at least one of the three attributes of sampling time t, longitude x, and latitude y is empty for any trajectory point, then that trajectory point is deleted. The coordinates of the trajectory points must be within the Earth's surface. ,like and If the point is found to be true, retain it; otherwise, discard it. For any trajectory point of a ship, it cannot appear on land. Associate each trajectory point with the land area... Topological relationship calculations are performed; if a trajectory point falls within the land surface geometry, the point is discarded; otherwise, it is retained. Due to limitations in ship motion performance, the ship's speed cannot exceed its maximum speed. Let any point on the trajectory and distance Then the trajectory point The average speed is:

[0056]

[0057] Due to trajectory points Since there are no trajectory points previously mentioned, we will directly use the trajectory points here. average velocity instead of trajectory point The average velocity. For each trajectory point. If its corresponding average speed If the condition is met, the point will be kept; otherwise, it will be deleted. This can be set here. The default value is 25.7 m / s.

[0058] The semantic points extracted from the interaction between the ship's original trajectory and geographic features can be designed to include:

[0059] Traverse each trajectory point in the original trajectory of the ship, confirm the distance between adjacent trajectory points, and determine whether the distance is within the preset minimum distance range, so as to extract the trajectory points whose adjacent distance is less than the preset minimum distance as the first semantic point;

[0060] Determine whether the geometric feature change of the trajectory point meets the threshold, and extract the trajectory points whose geometric feature change is less than the threshold as the second semantic points. The geometric feature change of the trajectory point is represented by the distance between the current trajectory point and the line connecting the adjacent trajectory points.

[0061] For the extracted semantic points, determine whether the trajectory segment of the line connecting adjacent trajectory points intersects with the relevant land area. If the trajectory segment of the line connecting adjacent trajectory points does not intersect with the relevant land area, then mark the corresponding trajectory point as deleted.

[0062] Delete all marked trajectory points in the original ship trajectory and generate a new set of trajectory points to obtain a generalized trajectory based on the new set of trajectory points.

[0063] By generalizing the trajectory, trajectory points that are too close to each other or whose geometric features are not obvious are eliminated. The specific steps of the algorithm are as follows: Figure 2 As shown, it can be summarized as including:

[0064] 1. Settings The initial value is 2;

[0065] 2. At the trajectory point Searching for distances in the preceding steps The most recent trajectory point that was not marked for deletion. ,calculate and distance ,like If the condition is met, proceed to step 4; otherwise, proceed to step 5. This is the minimum allowed distance between two adjacent trajectory points, with a default value of 1000 meters;

[0066] 3. Calculate the trajectory points to the straight line distance ,like If the condition is met, proceed to step 4; otherwise, proceed to step 5. This is the threshold for determining whether a trajectory point has obvious geometric features; the default value is 200 meters. Figure 3 As shown.

[0067] 4. Determine if a line is straight Whether or not If they intersect, then the trajectory points... If marked for deletion, proceed to step 5; otherwise, proceed directly to step 5.

[0068] 5. If If it's the second to last point, delete all marked trajectory points, generate a new set of trajectory points, and the algorithm ends; otherwise... Proceed to step 2.

[0069] Furthermore, based on the above method, this embodiment of the invention also provides a ship trajectory sketch generation system that takes into account geographical features, comprising: a relevant land area determination module and a generalized trajectory generation module, wherein,

[0070] The relevant route determination module is used to obtain the relevant land area within the activity range of the ship's original trajectory based on the attributes of each trajectory point in the original trajectory. The trajectory point attributes include: sampling time, longitude, and latitude.

[0071] The generalized trajectory generation module is used to take relevant land areas as geographic element references, extract semantic points of interaction between the original ship trajectory and geographic elements, and generate a generalized trajectory that retains the geometric shape features of the original ship trajectory and takes into account the topological relationship of geographic elements.

[0072] Unless otherwise specifically stated, the relative steps, numerical expressions, and values ​​of the components and steps described in these embodiments do not limit the scope of the invention.

[0073] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0074] The units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations are not considered to be beyond the scope of this invention.

[0075] Those skilled in the art will understand that all or part of the steps in the above methods can be implemented by a program instructing related hardware, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Optionally, all or part of the steps in the above embodiments can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiments can be implemented in hardware or as a software functional module. This invention is not limited to any particular combination of hardware and software.

[0076] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for generating ship trajectory sketches that takes into account geographical features, characterized in that, Include: Based on the attributes of each trajectory point in the original ship trajectory, the relevant land area within the activity range of the original ship trajectory is obtained. The trajectory point attributes include: sampling time, longitude, and latitude. By using relevant land areas as geographic references, semantic points of interaction between the original ship trajectory and geographic elements are extracted, and a generalized trajectory is generated that retains the geometric features of the original ship trajectory while taking into account the topological relationships of geographic elements.

2. The method for generating ship trajectory sketches taking into account geographical features according to claim 1, characterized in that, Obtain the relevant land area within the original trajectory range of the vessel, including: Based on the latitude and longitude of each trajectory point in the original trajectory of the ship, the coordinate range of the original trajectory is determined. The coordinate range of the original trajectory is represented by the maximum and minimum latitude and longitude coordinate values ​​of the trajectory points. The outer surface region of the trajectory is determined based on the original trajectory coordinate range of the ship; Determine the intersection of the circumscribed region and the known land area, and use the intersection as the land area range related to the trajectory.

3. The method for generating ship trajectory sketches taking into account geographical features according to claim 2, characterized in that, The circumscribed region of the trajectory is represented as Where left is the minimum longitude coordinate of the ship's original trajectory, bottom is the minimum latitude coordinate of the ship's original trajectory, right is the maximum longitude coordinate of the ship's original trajectory, and top is the maximum latitude coordinate of the ship's original trajectory.

4. The method for generating ship trajectory sketches taking into account geographical features according to claim 1, characterized in that, Before extracting semantic points of interaction between the ship's original trajectory and geographic features, the process also includes: Abnormal trajectory points in the original trajectory of a ship are identified and removed. The abnormal trajectory points include: trajectory points with abnormal attributes, trajectory points with abnormal latitude and longitude coordinates, trajectory points with abnormal positions, and trajectory points with abnormal speeds.

5. The method for generating ship trajectory sketches taking into account geographical features according to claim 4, characterized in that, Identifying anomalous trajectory points in the ship's original trajectory, including: If the attributes of a trajectory point in the original ship trajectory contain null values, then the trajectory point is marked as an attribute abnormal trajectory point; If the coordinates of a point in the ship's original trajectory exceed the known range of Earth coordinates, then the corresponding point is marked as an abnormal trajectory point in latitude and longitude coordinates. Confirm the topological relationship between the trajectory points in the original ship trajectory and the relevant land area. If the trajectory point falls into the surface geometry of the relevant land area, mark the current trajectory point as a trajectory point with an abnormal position. Obtain the average speed of the trajectory points in the original ship trajectory. If the average speed of the trajectory point is greater than the known maximum speed of the ship, mark the trajectory point as a speed anomaly trajectory point.

6. The method for generating ship trajectory sketches taking into account geographical features according to claim 1, characterized in that, Extract semantic points of the interaction between the ship's original trajectory and geographic features, including: Traverse each trajectory point in the original trajectory of the ship, confirm the distance between adjacent trajectory points, and determine whether the distance is within the preset minimum distance range, so as to extract the trajectory points whose adjacent distance is less than the preset minimum distance as the first semantic point; Determine whether the geometric feature change of the trajectory point meets the threshold, and extract the trajectory points whose geometric feature change is less than the threshold as the second semantic points. The geometric feature change of the trajectory point is represented by the distance between the current trajectory point and the line connecting the adjacent trajectory points.

7. The method for generating ship trajectory sketches taking into account geographical features according to claim 1, characterized in that, Generate a generalized trajectory that preserves the original geometric features of the ship's trajectory while also taking into account the topological relationships of geographical features, including: For the extracted semantic points, determine whether the trajectory segment of the line connecting adjacent trajectory points intersects with the relevant land area. If the trajectory segment of the line connecting adjacent trajectory points does not intersect with the relevant land area, then mark the corresponding trajectory point as deleted. Delete all marked trajectory points in the original ship trajectory and generate a new set of trajectory points to obtain a generalized trajectory based on the new set of trajectory points.

8. A system for generating ship trajectory sketches that takes into account geographical features, characterized in that, It includes: a relevant land area determination module and a generalized trajectory generation module, wherein, The relevant route determination module is used to obtain the relevant land area within the activity range of the ship's original trajectory based on the attributes of each trajectory point in the original trajectory. The trajectory point attributes include: sampling time, longitude, and latitude. The generalized trajectory generation module is used to take relevant land areas as geographic element references, extract semantic points of interaction between the original ship trajectory and geographic elements, and generate a generalized trajectory that retains the geometric shape features of the original ship trajectory and takes into account the topological relationship of geographic elements.

9. An electronic device, characterized in that, include: At least one processor, and a memory coupled to said at least one processor; The memory stores a computer program that can be executed by the at least one processor to implement the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, enables the implementation of the method as described in any one of claims 1 to 7.