A method, device and equipment for processing maritime target trajectory

Through multi-thread segmented query and continuous processing of maritime target spatio-temporal trajectory data, the problem of incomplete maritime target trajectories and large data volume is solved, the rapid query and rendering of trajectories is realized, and the integrity of trajectories and rendering efficiency are ensured.

CN117970313BActive Publication Date: 2024-10-18厦门海兰寰宇海洋信息科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311770964.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-10-18
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

Maritime target spatio-temporal data has problems such as incomplete trajectories and large data volume, resulting in slow query and slow rendering. Especially under the limitations of the sensing distance and accuracy of multiple acquisition devices, it is difficult to achieve fast and timely display of trajectories.

Method used

By obtaining the spatio-temporal trajectory data of maritime targets within a preset time period, multi-threaded segmented query and sorting are used to identify and connect overlapping trajectories, delete empty data, achieve deduplication and continuous processing of trajectories, and map the spliced ​​trajectories. Hierarchical compression, fast query and display.

Benefits of technology

It achieves the integrity and fast query of the trajectory, reduces the amount of data, improves the efficiency of front-end rendering, and ensures the smoothness and visual effects of the trajectory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117970313B_ABST
    Figure CN117970313B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and equipment for continuous processing of maritime target trajectories, the method comprising: obtaining spatiotemporal trajectory data of maritime targets within a preset time period, the trajectory data comprising at least one set of trajectory data corresponding to a target ship identifier within the preset time period; the set of trajectory data corresponds to one trajectory; continuous processing is performed on at least one set of trajectory data corresponding to the target ship identifier within the preset time period to obtain a target trajectory, the one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous. The scheme of the present invention can achieve deduplication, continuation and fast query of trajectories.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer information processing, and in particular to a method, device and equipment for processing maritime target trajectory connection. Background Art

[0002] In the activities of maritime targets, a large amount of spatiotemporal data of maritime targets is collected through various sensor devices such as radar, AIS (Automatic Identification System), Beidou, etc. However, in the application process, a target may have multiple data with similar spatiotemporal trajectories, and the same target may have incomplete target trajectories due to the limitations of sensing distance and accuracy of multiple collection devices. In addition, since a large amount of spatiotemporal trajectory data is usually generated after the maritime targets are stored, when querying the historical trajectory, there will be defects such as large data volume, slow query, large amount of data interaction with the front end, slow rendering, etc., and the trajectory cannot be displayed on the terminal device quickly and timely. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method, device and equipment for processing maritime target trajectories, so as to achieve deduplication, continuation and rapid query of trajectories.

[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0005] A method for processing a maritime target trajectory, comprising:

[0006] Acquire spatiotemporal trajectory data of a maritime target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to a target ship identifier within the preset time period; the set of trajectory data corresponds to one trajectory;

[0007] At least one set of trajectory data corresponding to the target ship identifier within a preset time period is processed successively to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous.

[0008] Optionally, obtaining the spatiotemporal trajectory data of the maritime target within a preset time period includes:

[0009] Get the time interval of the preset time period;

[0010] According to the time interval, query the spatiotemporal data in segments;

[0011] The queried spatiotemporal data are sorted in chronological order to obtain the target spatiotemporal trajectory data within a preset time period.

[0012] Optionally, querying the spatiotemporal data in segments according to the time interval includes:

[0013] When the time interval is greater than a preset threshold, the preset time period is segmented by day to obtain at least one time period;

[0014] The spatiotemporal data table or the spatiotemporal data compression table of at least one time period is queried simultaneously in a multi-threaded manner to obtain the spatiotemporal data.

[0015] Optionally, querying the spatiotemporal data in segments according to the time interval further includes:

[0016] When the time interval is less than the preset threshold, the preset time period is segmented by hour to obtain at least one time period;

[0017] The spatiotemporal data table of at least one time period is queried simultaneously in a multi-threaded manner to obtain spatiotemporal data.

[0018] Optionally, the at least one set of trajectory data corresponding to the target ship identifier within a preset time period is processed successively to obtain the target trajectory, including:

[0019] Grouping the target spatiotemporal trajectory data within the preset time period according to the ship identification;

[0020] Traverse each group of trajectory data to identify the continuation trajectory and the overlap trajectory corresponding to the target ship identification; the overlap trajectory is the trajectory generated by the counterfeit ship with the same identification as the target ship;

[0021] The identified duplicate ships are grouped according to their overlapping trajectories, and the grouped trajectory data are connected to obtain the target trajectory.

[0022] Optionally, each group of trajectory data is traversed to identify the continuous trajectory and the overlapping trajectory corresponding to the target ship identification, including:

[0023] Traverse each group of trajectory data, and when two adjacent trajectories overlap in time and the interval distance is greater than a preset value, the trajectory data is confirmed as an overlapping trajectory;

[0024] When two adjacent trajectories overlap in time and the interval distance is less than a preset value, the trajectory data is confirmed as a continuous trajectory.

[0025] Optionally, the identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track, including:

[0026] According to the data values ​​and time of the first track and the subsequent tracks of the grouped target ship, the empty data or the data with overlapping tracks are deleted to obtain the target track.

[0027] Optionally, the method for processing the trajectory of a maritime target further includes:

[0028] The obtained target trajectory is compressed according to the map level, and the compressed trajectory data is sent to the front end for rendering.

[0029] Optionally, the present invention further provides a marine target trajectory connection processing device, comprising:

[0030] An acquisition module, used to acquire spatiotemporal trajectory data of a marine target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to the target ship identifier within the preset time period; the set of trajectory data corresponds to one trajectory;

[0031] The continuation module is used to perform continuation processing on at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous.

[0032] The present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.

[0033] The above solution of the present invention includes at least the following beneficial effects:

[0034] The above scheme of the present invention obtains the spatiotemporal trajectory data of the marine target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to the target ship identification within the preset time period; the set of trajectory data corresponds to one trajectory; the at least one set of trajectory data corresponding to the target ship identification within the preset time period is processed in succession to obtain the target trajectory, wherein one target ship identification corresponds to one target trajectory, and the target trajectory is continuous. It can achieve the effect of displaying only one trajectory for one target, and simultaneously realize the rapid query of historical trajectory data and the rapid display of the subsequent target trajectory. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 1 is a flow chart of a method for processing a maritime target trajectory according to an embodiment of the present invention;

[0036] Figure 2 is an overall flow chart of a method for processing maritime target trajectory continuation according to an embodiment of the present invention;

[0037] Figure 3 1 is a schematic diagram before connection of a method for connecting and processing maritime target trajectories according to an embodiment of the present invention;

[0038] Figure 4 1 is a schematic diagram of a method for processing a trajectory of a target at sea after connection according to an embodiment of the present invention;

[0039] Figure 5is another schematic diagram before connection of the method for processing the trajectory of a target at sea according to an embodiment of the present invention;

[0040] Figure 6 is another schematic diagram after connection of the method for processing the trajectory of a target at sea according to an embodiment of the present invention;

[0041] Figure 7 It is a structural diagram of a marine target trajectory connection processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0043] like Figure 1 As shown, an embodiment of the present invention provides a method for processing a trajectory connection of a marine target, comprising:

[0044] Step 11, obtaining the spatiotemporal trajectory data of the marine target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to the target ship identification within the preset time period; the set of trajectory data corresponds to one trajectory;

[0045] Step 12: continuously process at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous.

[0046] In this embodiment, since the trajectories of AIS (Automatic Identification System) targets within a certain area are usually fused when realizing target trajectory fusion, when exceeding a certain area, it is usually divided into several areas for fusion calculation, but usually there are some overlaps between areas, resulting in the fusion of trajectories between adjacent areas, which may result in the same target (same Maritime Mobile Service Identity MMSI) having two similar but different trajectories, which are visually displayed as two targets. The present invention can perform continuous calculation based on the MMSI (Maritime Mobile Service Identity) number and multiple areas, so that two different trajectories are connected into one trajectory through cutting and continuous connection, so as to achieve the effect of displaying only one trajectory for one target.

[0047] In addition, currently, a large amount of spatiotemporal trajectory data is usually generated after the storage of marine targets. When querying historical trajectories, there will be defects such as large data volume, slow query, large amount of data interaction with the front end, slow rendering, etc. The present invention can quickly query historical trajectory data and compress the trajectory while maintaining the trajectory form, so as to realize the rapid display of historical trajectories.

[0048] Moreover, currently, the display of radar target trajectories can usually only display targets tracked by the same radar, and the ability to display the trajectory of the same radar target tracked by multiple radars is insufficient. The present invention uses the time and space position of the start of the radar target and the time and space position of the end of the nearby radar targets to make a judgment, thereby achieving the radar target connection effect.

[0049] In this embodiment, the target spatiotemporal trajectory data includes multiple sets of trajectory data of multiple ships within a preset time period. Due to multiple reasons such as fusion, multiple radars, and counterfeit ships, each ship may have multiple trajectory lines for the same target ship during this period. In this application, the multiple sets of trajectory data of the target ship obtained above are processed in succession to obtain a continuous target trajectory of the target ship.

[0050] In an optional embodiment of the present invention, step 11, obtaining the spatiotemporal trajectory data of the marine target within a preset time period, includes:

[0051] Step 111, obtaining the time interval of the preset time period;

[0052] Step 112, querying the spatiotemporal data in segments according to the time interval;

[0053] Step 113, sorting the queried spatiotemporal data in chronological order to obtain the target spatiotemporal trajectory data within a preset time period.

[0054] In this embodiment, for the AIS track, the start time of the preset time period is set to t s , the end time is t e , according to the start and end time, determine the time interval t'. Obtain the spatiotemporal data within the time interval from the database cluster, and sort the queried spatiotemporal data in chronological order to obtain the target spatiotemporal trajectory data.

[0055] In an optional embodiment of the present invention, step 112, querying the spatiotemporal data in segments according to the time interval, includes:

[0056] Step 1121, when the time interval is greater than a preset threshold, the preset time period is segmented by day to obtain at least one time period;

[0057] Step 1122, query the spatiotemporal data table or spatiotemporal data compression table of at least one time period simultaneously in a multi-threaded manner to obtain spatiotemporal data.

[0058] like Figure 2 As shown, in this embodiment, if the time interval of the target spatiotemporal trajectory data is greater than a preset threshold, the trajectory data is segmented by day. Preferably, the threshold is one day, and when the time interval t'>1 day, t s to e This period of time is divided into days to obtain the time period: [t s ,t1],[t1,t2],...,[t n-1 ,t n ],[t n ,t e ]. Obtain data from the database cluster through multi-threaded query, and obtain [t s ,t1],[t1,t2],...,[t n-1 ,t n ] Segmented time-space data compression table, obtain [t n ,t e ] time period, the spatiotemporal data table is a non-compressed table, and the query results are obtained. Generally speaking, t e -t n ≤30 minutes.

[0059] In an optional embodiment of the present invention, step 112, querying the spatiotemporal data in segments according to the time interval, further includes:

[0060] Step 1123, when the time interval is less than the preset threshold, the preset time period is segmented by hour to obtain at least one time period;

[0061] Step 1124, query the spatiotemporal data table of at least one time period simultaneously in a multi-threaded manner to obtain spatiotemporal data.

[0062] In this embodiment, when the time interval t'≤1 day, t s to e This period of time is divided into hours to obtain the time period: [t s ,t1],[t1,t2],...,[t n ,t e Then, the spatiotemporal data table is queried in the database cluster in a segmented manner through multi-threaded query to obtain the spatiotemporal data.

[0063] In an optional embodiment of the present invention, step 12, continuously processing at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain the target trajectory, includes:

[0064] Step 121, grouping the target spatiotemporal trajectory data within the preset time period according to the ship identification;

[0065] Step 122, traverse each group of trajectory data to identify the continued trajectory and the overlapping trajectory corresponding to the target ship identifier; the overlapping trajectory is the trajectory generated by the counterfeit ship with the same license plate as the target ship identifier;

[0066] Step 123, grouping the identified overlapping tracks of the counterfeit ships, connecting the grouped track data, and obtaining the target track.

[0067] In this embodiment, the acquired spatiotemporal data are grouped according to the ship identification ID to obtain a set of trajectory data under each ship identification ID, and each set of trajectory data is also sorted according to the above-mentioned chronological order. Then, all trajectory data are traversed to identify the continued trajectory and the overlapped trajectory. The continued trajectory is the trajectory that needs to be processed continuously due to the overlap of multiple radar identification or fusion areas. The overlapped trajectory is the different trajectories corresponding to the same identification generated by the counterfeit ship. The counterfeit ship is a ship with the same ship identification ID as the target ship, but with a different actual target.

[0068] In an optional embodiment of the present invention, step 122, traversing each group of trajectory data to identify the continuous trajectory and the overlapping trajectory corresponding to the target ship identifier, includes:

[0069] Step 1221, traverse each group of trajectory data, and when two adjacent trajectories overlap in time and the interval distance is greater than a preset value, confirm the trajectory data as an overlapping trajectory;

[0070] Step 1222: when two adjacent trajectories overlap in time and the interval distance is less than a preset value, the trajectory data is confirmed as a continuous trajectory.

[0071] In this embodiment, for two adjacent tracks, when the two adjacent tracks overlap in time, the first condition of a continuous track or an overlapping track is met. Further, the interval distance d between the two adjacent tracks is calculated. When the interval distance d>1 nautical mile, the track is confirmed as an overlapping track, that is, the track generated by a counterfeit ship. When d≤1 nautical mile, the track is confirmed as a continuous track. It should be noted that this judgment method requires the radar to acquire the target with an accuracy of less than 1 nautical mile. When the radar accuracy value is adjusted, the track interval distance can be adjusted.

[0072] In an optional embodiment of the present invention, step 12, grouping the identified overlapping tracks of the counterfeit ships, and connecting the grouped track data to obtain the target track, includes:

[0073] Step 121: According to the data values and time of the first trajectory and the subsequent trajectory of the grouped target ships, delete the null data or the overlapping trajectory data to obtain the target trajectory.

[0074] In this embodiment, for the subsequent trajectory and the overlapping trajectory identified above, continue to group them, strip the overlapping trajectory of the cloaked ship from the group of the target ship, re-group the trajectory of the cloaked ship, and separately continue the connection of the trajectory of the cloaked ship.

[0075] Perform a continuous loop judgment on the grouped trajectories. Let the first trajectory be track1 and the subsequent trajectory be track2. If one of the track1 and track2 is null data, return the track with data to complete the connection of track1 and track2.

[0076] Otherwise, judge whether there is a repetition in time between track1 and track2. As Figure 3 shown, there is a partial repetition in time between track1 and track2, where d1 represents the distance from the start time point position of track2 to track1, and d2 represents the distance from the end time point position of track1 to track2. If d1 < d2, then as Figure 4 shown, continue the connection according to the position of the start time of track2, and at the same time clean up the spatio-temporal data at the subsequent time points of track1 to keep it as a complete trajectory. If d1 > d2, then continue the connection according to the position of the end point of track1 and clear the redundant trajectory points of track2.

[0077] As Figure 5 shown, if track1 and track2 are in an inclusion relationship in time, and the time [t0, t1] of track1 completely includes the time [t2, t3] of track2, then directly take track1 as the connection result and delete track2. The connection result is as Figure 6 shown.

[0078] In an alternative embodiment of the present invention, it further includes:

[0079] Compress the obtained target trajectory according to the map level, and send the compressed trajectory data to the front end for rendering.

[0080] In this embodiment, to improve the display efficiency of the front-end page, a trajectory compression method is also provided. Compress the connected target trajectory according to the compression algorithm, and no compression is performed within 100 points.

[0081] Configure the compression parameters according to the map level, and determine the corresponding compression distance and interval time according to the map level of the target trajectory. The map level table is shown in Table 1 below:

[0082] Table 1, map level table

[0083] Map level zoom Distance(meters) Interval interval (seconds) 5 100000 7200 6 60000 7200 7 30000 7200 8 15000 7200 9 10000 7200 10 5000 3600 11 3000 1800 12 1500 1200 13 1000 600 14 500 600 15 250 600 16 100 600 17 80 600 18 40 300 19 20 200

[0084] The map level is a known parameter. Two adjacent track points p1 and p2 are calculated. The time difference between the two track points p1 and p2 is △t, and the interval distance is △d. When △t is less than the target interval time $interval, and △d is less than the target distance $distance, then point p2 is compressed. When △t is greater than or equal to the target interval time $interval, or △d is greater than or equal to the target distance $distance, then point p2 is retained.

[0085] The compressed trajectory is further compressed and parsed into WKT format, and then returned to the front end for rendering.

[0086] The present application also provides a method for processing the RADAR track, which is similar to the AIS track data query method for obtaining track data. The track start point is taken as an input condition to obtain the target ID that may be continued.

[0087] (1) Draw a radius d according to the time-space position of the starting point, and obtain the targets that disappear in this area as the targets that can be continued through time and radius;

[0088] (2) Calculate the confidence level of the connection by using time, radius, speed, heading, and target length, and take the target with a confidence level greater than 60% as the target that can be connected;

[0089] (3) Return the connectable target as a connect attribute.

[0090] The returned continuation feature is the continuable trajectory. After the continuation operation, the target trajectory can be obtained. Just like the compression method of AIS trajectory, the target trajectory is further compressed and returned to the front-end for rendering.

[0091] The present invention uses multithreading to query the cluster spatiotemporal database by time segment, can accurately query the target trajectory data in a short time, and group the queried data ID, and at the same time determine the grouped trajectory data to continue the trajectory, compress the trajectory points of the continued trajectory, and quickly complete the output and display of the entire trajectory. It solves the following problems in the prior art:

[0092] 1. The trajectories generated when navigating in multiple overlapping areas for the same target activity cannot be fused into a smooth trajectory. When the same target is acquired across multiple fusion areas or multiple radars, two side-by-side trajectories will appear;

[0093] 2. It is slow to obtain trajectory data for the same target from a large amount of data, resulting in untimely front-end response;

[0094] 3. A large amount of spatiotemporal data is obtained for the same target query. The longitude and latitude points of the spatiotemporal data obtained are very dense. The amount of data rendered on the front end is large, resulting in problems such as freezes.

[0095] 4. The motion trajectory of a single radar target is not drawn completely, and the source of the target is often not traceable.

[0096] The following technical effects are achieved:

[0097] 1. The two trajectories of the same target are fused and connected in time and space, and the redundant trajectories are intercepted to ensure the integrity of the trajectory and the smoothness of the trajectory connection;

[0098] 2. Compress the trajectory at the map level, distance and time dimensions to improve compression efficiency, increase transmission efficiency and reduce the pressure on front-end rendering, and ensure the characteristics of the trajectory and visual rendering effects.

[0099] like Figure 7 As shown, the present invention further provides a marine target trajectory connection processing device 70, comprising:

[0100] An acquisition module 71 is used to acquire spatiotemporal trajectory data of a marine target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to the target ship identifier within the preset time period; the set of trajectory data corresponds to one trajectory;

[0101] The continuation module 72 is used to perform continuation processing on at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectories are continuous.

[0102] Optionally, obtaining the spatiotemporal trajectory data of the maritime target within a preset time period includes:

[0103] Get the time interval of the preset time period;

[0104] According to the time interval, query the spatiotemporal data in segments;

[0105] The queried spatiotemporal data are sorted in chronological order to obtain the target spatiotemporal trajectory data within a preset time period.

[0106] Optionally, querying the spatiotemporal data in segments according to the time interval includes:

[0107] When the time interval is greater than a preset threshold, the preset time period is segmented by day to obtain at least one time period;

[0108] The spatiotemporal data table or the spatiotemporal data compression table of at least one time period is queried simultaneously in a multi-threaded manner to obtain the spatiotemporal data.

[0109] Optionally, querying the spatiotemporal data in segments according to the time interval further includes:

[0110] When the time interval is less than the preset threshold, the preset time period is segmented by hour to obtain at least one time period;

[0111] The spatiotemporal data table of at least one time period is queried simultaneously in a multi-threaded manner to obtain spatiotemporal data.

[0112] Optionally, the at least one set of trajectory data corresponding to the target ship identifier within a preset time period is processed successively to obtain the target trajectory, including:

[0113] Grouping the target spatiotemporal trajectory data within the preset time period according to the ship identification;

[0114] Traverse each group of trajectory data to identify the continuation trajectory and the overlap trajectory corresponding to the target ship identification; the overlap trajectory is the trajectory generated by the counterfeit ship with the same identification as the target ship;

[0115] The identified duplicate ships are grouped according to their overlapping trajectories, and the grouped trajectory data are connected to obtain the target trajectory.

[0116] Optionally, each group of trajectory data is traversed to identify the continuous trajectory and the overlapping trajectory corresponding to the target ship identification, including:

[0117] Traverse each group of trajectory data, and when two adjacent trajectories overlap in time and the interval distance is greater than a preset value, the trajectory data is confirmed as an overlapping trajectory;

[0118] When two adjacent trajectories overlap in time and the interval distance is less than a preset value, the trajectory data is confirmed as a continuous trajectory.

[0119] Optionally, the identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track, including:

[0120] According to the data values ​​and time of the first track and the subsequent tracks of the grouped target ship, the empty data or the data with overlapping tracks are deleted to obtain the target track.

[0121] Optionally, the method for processing the trajectory of a maritime target further includes:

[0122] The obtained target trajectory is compressed according to the map level, and the compressed trajectory data is sent to the front end for rendering.

[0123] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0124] The embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0125] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0127] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0130] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0131] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0132] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0133] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing maritime target trajectory continuation, characterized in that: include: Acquire spatiotemporal trajectory data of a maritime target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to a target ship identifier within the preset time period; The set of trajectory data corresponds to a trajectory; Continuously processing at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous; The step of processing at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain the target trajectory includes: Grouping the target spatiotemporal trajectory data within the preset time period according to the ship identification; Traverse each group of trajectory data to identify the continuation trajectory and the overlap trajectory corresponding to the target ship identification; the overlap trajectory is the trajectory generated by the counterfeit ship with the same identification as the target ship; The identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track; Among them, each group of trajectory data is traversed to identify the continuous trajectory and overlapping trajectory corresponding to the target ship identification, including: Traverse each group of trajectory data, and when two adjacent trajectories overlap in time and the interval distance is greater than a preset value, the trajectory data is confirmed as an overlapping trajectory; When two adjacent trajectories overlap in time and the interval distance is less than a preset value, the trajectory data is confirmed as a continuous trajectory; The identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track, including: According to the data values ​​and times of the first track and the subsequent tracks of the grouped target ship, the empty data or the data with overlapping tracks are deleted to obtain the target track; The identified continued tracks and overlapping tracks are further grouped, the overlapping tracks of the counterfeit ships are separated from the target ship's grouping, the tracks of the counterfeit ships are regrouped, and the tracks of the counterfeit ships are connected separately; A continuation cycle is performed for the grouped tracks, the first track is track1, and the continuation track is track2; if one of track1 and track2 is empty data, the track with data is returned to complete the continuation of track1 and track2; Otherwise, determine whether track1 and track2 overlap in time; when track1 and track2 overlap partially in time, if the distance from the start time point of track2 to track1 is less than the distance from the end time point of track1 to track2, continue according to the position of the start time of track2, and clean up the spatiotemporal data of the subsequent time points of track1; if the distance from the start time point of track2 to track1 is greater than the distance from the end time point of track1 to track2, continue according to the position of the end point of track1, and clear out the redundant track points of track2; If track1 and track2 are in a temporal inclusion relationship, and the time of track1 [t0, t1] completely includes the time of track2 [t2, t3], then track1 is directly taken as the continuation result and track2 is deleted.

2. The method for processing the trajectory of a marine target according to claim 1, characterized in that: Obtain the spatiotemporal trajectory data of maritime targets within a preset time period, including: Get the time interval of the preset time period; According to the time interval, query the spatiotemporal data in segments; The queried spatiotemporal data are sorted in chronological order to obtain the target spatiotemporal trajectory data within a preset time period.

3. The method for processing the trajectory of a marine target according to claim 2, characterized in that: According to the time interval, the spatiotemporal data is queried in segments, including: When the time interval is greater than a preset threshold, the preset time period is segmented by day to obtain at least one time period; The spatiotemporal data table or the spatiotemporal data compression table of at least one time period is queried simultaneously in a multi-threaded manner to obtain the spatiotemporal data.

4. The method for processing the trajectory of a marine target according to claim 2, characterized in that: According to the time interval, the spatiotemporal data is queried in segments, further comprising: When the time interval is less than the preset threshold, the preset time period is segmented by hour to obtain at least one time period; The spatiotemporal data table of at least one time period is queried simultaneously in a multi-threaded manner to obtain spatiotemporal data.

5. The method for processing the trajectory of a marine target according to any one of claims 1 to 4, characterized in that: Also includes: The obtained target trajectory is compressed according to the map level, and the compressed trajectory data is sent to the front end for rendering.

6. A device for processing the trajectory of a marine target, characterized in that: include: An acquisition module, used to acquire spatiotemporal trajectory data of a marine target within a preset time period, wherein the trajectory data includes at least one set of trajectory data corresponding to the target ship identifier within the preset time period; the set of trajectory data corresponds to one trajectory; A continuation module, used for performing continuation processing on at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain a target trajectory, wherein one target ship identifier corresponds to one target trajectory, and the target trajectory is continuous; The step of processing at least one set of trajectory data corresponding to the target ship identifier within a preset time period to obtain the target trajectory includes: Grouping the target spatiotemporal trajectory data within the preset time period according to the ship identification; Traverse each group of trajectory data to identify the continuation trajectory and the overlap trajectory corresponding to the target ship identification; the overlap trajectory is the trajectory generated by the counterfeit ship with the same identification as the target ship; The identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track; Among them, each group of trajectory data is traversed to identify the continuous trajectory and overlapping trajectory corresponding to the target ship identification, including: Traverse each group of trajectory data, and when two adjacent trajectories overlap in time and the interval distance is greater than a preset value, the trajectory data is confirmed as an overlapping trajectory; When two adjacent trajectories overlap in time and the interval distance is less than a preset value, the trajectory data is confirmed as a continuous trajectory; The identified overlapping tracks of the counterfeit ships are grouped, and the grouped track data are connected to obtain the target track, including: According to the data values ​​and times of the first track and the subsequent tracks of the grouped target ship, the empty data or the data with overlapping tracks are deleted to obtain the target track; The identified continued tracks and overlapping tracks are further grouped, the overlapping tracks of the counterfeit ships are separated from the target ship's group, the tracks of the counterfeit ships are regrouped, and the tracks of the counterfeit ships are connected separately; A continuation cycle is performed for the grouped tracks, the first track is track1, and the continuation track is track2; if one of track1 and track2 is empty data, the track with data is returned to complete the continuation of track1 and track2; Otherwise, determine whether track1 and track2 overlap in time; when track1 and track2 overlap partially in time, if the distance from the start time point of track2 to track1 is less than the distance from the end time point of track1 to track2, continue according to the position of the start time of track2, and clean up the spatiotemporal data of the subsequent time points of track1; if the distance from the start time point of track2 to track1 is greater than the distance from the end time point of track1 to track2, continue according to the position of the end point of track1, and clear out the redundant track points of track2; If track1 and track2 are in a temporal inclusion relationship, and the time of track1 [t0, t1] completely includes the time of track2 [t2, t3], then track1 is directly taken as the continuation result and track2 is deleted.

7. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Track splicing method, track splicing device and electronic equipment

    CN116012405A