《计算机应用》唯一官方网站 ›› 2024, Vol. 44 ›› Issue (1): 318-323.DOI: 10.11772/j.issn.1001-9081.2023010077

• 前沿与综合应用 • 上一篇    

基于三维空间面积划分的轨迹相似性度量算法

徐凯1, 高琦凯2(), 殷明1, 谭京京3   

  1. 1.上海国际航运研究中心(上海海事大学), 上海 200082
    2.上海海事大学 交通运输学院, 上海 201306
    3.上海汲致航运发展有限公司, 上海 200082
  • 收稿日期:2023-01-31 修回日期:2023-05-11 接受日期:2023-05-12 发布日期:2023-06-06 出版日期:2024-01-10
  • 通讯作者: 高琦凯
  • 作者简介:徐凯(1983—),男,上海人,高级工程师,博士,CCF会员,主要研究方向:港航相关的大数据、互联网+、物联网、信息化、区块链;
    殷明(1979—),男,上海人,教授,博士,主要研究方向:国际航运管理、港口管理、港航政策、航运实务与法规;
    谭京京(1989—),男,重庆人,硕士,主要研究方向:港航大数据处理、机器学习。
    第一联系人:高琦凯(1999—),男,山东临沂人,硕士研究生,主要研究方向:港航大数据、轨迹分析;
  • 基金资助:
    国家社会科学基金资助项目(20BJY177)

Trajectory similarity measurement algorithm based on three-dimensional space area division

Kai XU1, Qikai GAO2(), Ming YIN1, Jingjing TAN3   

  1. 1.Shanghai International Shipping Institute (Shanghai Maritime University),Shanghai 200082,China
    2.College of Transport and Communications,Shanghai Maritime University,Shanghai 201306,China
    3.Shanghai Jizhi Shipping Development Company Limited,Shanghai 200082,China
  • Received:2023-01-31 Revised:2023-05-11 Accepted:2023-05-12 Online:2023-06-06 Published:2024-01-10
  • Contact: Qikai GAO
  • About author:XU Kai, born in 1983, Ph. D., senior engineer. His research interests include port-related big data, Internet+, internet of things, informationization, blockchain.
    YIN Ming, born in 1979, Ph. D., professor. His research interests include international shipping management, port management, port and shipping policies.
    TAN Jingjing, born in 1989, M. S. His research interests include port and shipping big data processing, machine learning.
  • Supported by:
    National Social Science Foundation of China(20BJY177)

摘要:

针对大部分轨迹相似性度量算法无法区分方向相反轨迹的问题,提出了一种基于三维空间面积划分的三维三角分割(3TD)算法。首先,按照3TD算法的时间转换规则将轨迹集的绝对时间序列转变为相对时间序列;然后,在由经度、纬度以及时间三要素构成的三维空间坐标系中,通过划分规则将轨迹间面积分割成若干互不重叠的三角形,累加三角形面积并计算轨迹相似度;最后,在从船舶自动识别系统(AIS)收集的随机采样轨迹数据集上,与最长公共子序列(LCSS)算法和三角分割(TD)算法等进行了对比实验。实验结果表明:3TD算法对实验数据集中异向轨迹识别精确度达到100%;同时该算法面对海量数据集以及轨迹点部分缺失的数据集时,也能维持准确的度量结果以及较高的运算效率,能更好地适应异向轨迹相似度量工作。

关键词: 时空轨迹, 三维空间, 面积划分, 相似性度量, 轨迹方向

Abstract:

Aiming at the problem that most trajectory similarity measurement algorithms cannot distinguish the trajectories with opposite directions, a three-dimensional Triangulation Division (3TD) algorithm based on three-dimensional space area division was proposed. Firstly, the absolute time series of the trajectory set was transformed into the relative time series according to the time conversion rules of the 3TD algorithm. Then, in the three-dimensional space coordinate system composed of three elements of longitude, latitude, and time, the area between trajectories were divided into several non-overlapping triangles by partitioning rules, and the areas of the triangles were accumulated and the trajectory similarity was calculated. Finally, the proposed algorithm was compared with the Longest Common SubSequence (LCSS) algorithm and Triangle Division (TD) algorithm on the randomly sampled trajectory dataset collected from the ship Automatic Identification System (AIS). Experimental results show that the accuracy of the 3TD algorithm reaches 100%. At the same time, the proposed algorithm can also maintain accurate measurement results and high operation efficiency on massive datasets and datasets with partial missing trajectory points, which can better adapt to the similarity measurement of divergent trajectories.

Key words: space-time trajectory, three-dimensional space, area division, similarity measurement, trajectory direction

中图分类号: